Subversion Repositories SmartDukaan

Rev

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

Rev Author Line No. Line
5944 mandeep.dh 1
#
2
# Autogenerated by Thrift Compiler (0.7.0)
3
#
4
# DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
5
#
6
 
7
from thrift.Thrift import *
8
import shop2020.thriftpy.generic.GenericService
9
from ttypes import *
10
from thrift.Thrift import TProcessor
11
from thrift.transport import TTransport
12
from thrift.protocol import TBinaryProtocol, TProtocol
13
try:
14
  from thrift.protocol import fastbinary
15
except:
16
  fastbinary = None
17
 
18
 
19
class Iface(shop2020.thriftpy.generic.GenericService.Iface):
20
  def addItem(self, item):
21
    """
22
    Availability and inventory attributes
23
 
24
    Parameters:
25
     - item
26
    """
27
    pass
28
 
29
  def updateItem(self, item):
30
    """
31
    Parameters:
32
     - item
33
    """
34
    pass
35
 
36
  def isActive(self, itemId):
37
    """
38
    Checks if the item given to the corresponding itemId is active. If it's active,
39
    whether it's risky and if it's risky, its inventory position.
40
 
41
    Parameters:
42
     - itemId
43
    """
44
    pass
45
 
7438 amit.gupta 46
  def getItemsStatus(self, itemIds):
47
    """
48
    Parameters:
49
     - itemIds
50
    """
51
    pass
52
 
5944 mandeep.dh 53
  def getItemStatusDescription(self, itemId):
54
    """
55
    Parameters:
56
     - itemId
57
    """
58
    pass
59
 
60
  def startItemOn(self, item_id, timestamp):
61
    """
62
    Parameters:
63
     - item_id
64
     - timestamp
65
    """
66
    pass
67
 
68
  def retireItemOn(self, item_id, timestamp):
69
    """
70
    Parameters:
71
     - item_id
72
     - timestamp
73
    """
74
    pass
75
 
76
  def changeItemStatus(self, item_id, timestamp, newstatus):
77
    """
78
    Parameters:
79
     - item_id
80
     - timestamp
81
     - newstatus
82
    """
83
    pass
84
 
85
  def getItem(self, item_id):
86
    """
87
    Parameters:
88
     - item_id
89
    """
90
    pass
91
 
13493 amit.gupta 92
  def getItems(self, item_ids):
93
    """
94
    Parameters:
95
     - item_ids
96
    """
97
    pass
98
 
5944 mandeep.dh 99
  def getItemsByCatalogId(self, catalog_item_id):
100
    """
101
    Parameters:
102
     - catalog_item_id
103
    """
104
    pass
105
 
106
  def getValidItemsByCatalogId(self, catalog_item_id):
107
    """
108
    Parameters:
109
     - catalog_item_id
110
    """
111
    pass
112
 
113
  def getAllItems(self, isActive):
114
    """
115
    Parameters:
116
     - isActive
117
    """
118
    pass
119
 
120
  def getAllItemsByStatus(self, itemStatus):
121
    """
122
    Parameters:
123
     - itemStatus
124
    """
125
    pass
126
 
9253 rajveer 127
  def markItemAsContentComplete(self, entityId, category, brand, modelName, modelNumber, isAndroid):
5944 mandeep.dh 128
    """
129
    Parameters:
130
     - entityId
131
     - category
132
     - brand
133
     - modelName
134
     - modelNumber
9253 rajveer 135
     - isAndroid
5944 mandeep.dh 136
    """
137
    pass
138
 
12567 amit.gupta 139
  def getVatRates(self, itemId, categoryId):
140
    """
141
    Parameters:
142
     - itemId
143
     - categoryId
144
    """
145
    pass
146
 
5944 mandeep.dh 147
  def getAllItemsInRange(self, offset, limit):
148
    """
149
    Gets at most 'limit' items starting at the given offset. Returns an empty list if there are no more items at the given offset.
150
 
151
    Parameters:
152
     - offset
153
     - limit
154
    """
155
    pass
156
 
157
  def getAllItemsByStatusInRange(self, itemStatus, offset, limit):
158
    """
159
    Gets at most 'limit' items starting at the given offset in the given status. Returns an empty list if there are no more items at the given offset.
160
 
161
    Parameters:
162
     - itemStatus
163
     - offset
164
     - limit
165
    """
166
    pass
167
 
168
  def getItemCountByStatus(self, useStatus, itemStatus):
169
    """
170
    Gets a count of all items by status
171
 
172
    Parameters:
173
     - useStatus
174
     - itemStatus
175
    """
176
    pass
177
 
178
  def getBestSellers(self, ):
179
    pass
180
 
181
  def getBestSellersCatalogIds(self, beginIndex, totalItems, brand, category):
182
    """
183
    Parameters:
184
     - beginIndex
185
     - totalItems
186
     - brand
187
     - category
188
    """
189
    pass
190
 
191
  def getBestSellersCount(self, ):
192
    pass
193
 
194
  def getBestDeals(self, ):
195
    pass
196
 
197
  def getBestDealsCatalogIds(self, beginIndex, totalItems, brand, category):
198
    """
199
    Parameters:
200
     - beginIndex
201
     - totalItems
202
     - brand
203
     - category
204
    """
205
    pass
206
 
207
  def getBestDealsCount(self, ):
208
    pass
209
 
210
  def getComingSoon(self, ):
211
    pass
212
 
213
  def getComingSoonCatalogIds(self, beginIndex, totalItems, brand, category):
214
    """
215
    Parameters:
216
     - beginIndex
217
     - totalItems
218
     - brand
219
     - category
220
    """
221
    pass
222
 
223
  def getComingSoonCount(self, ):
224
    pass
225
 
226
  def getLatestArrivals(self, ):
227
    """
228
    Returns a list of items sorted in the descending order by start date.
229
    The list is limited to the 'latest_arrivals_count' configuraiton parameter.
230
    """
231
    pass
232
 
233
  def getLatestArrivalsCatalogIds(self, beginIndex, totalItems, brand, categories):
234
    """
235
    Returns the list of catalog ids of latest arrivals in the given categories of the given brand.
236
    To ignore the categories, pass the list as empty. To ignore brand, pass it as null.
237
 
238
    Parameters:
239
     - beginIndex
240
     - totalItems
241
     - brand
242
     - categories
243
    """
244
    pass
245
 
246
  def getLatestArrivalsCount(self, ):
247
    """
248
    Get the total number of latest arrivals we are willing to show.
249
    The count's upper bound is the 'latest_arrivals_count' configuraiton parameter.
250
    """
251
    pass
252
 
253
  def generateNewEntityID(self, ):
254
    pass
255
 
256
  def addCategory(self, category):
257
    """
258
    All category related functions
259
 
260
    Parameters:
261
     - category
262
    """
263
    pass
264
 
265
  def getCategory(self, id):
266
    """
267
    Parameters:
268
     - id
269
    """
270
    pass
271
 
272
  def getAllCategories(self, ):
273
    pass
274
 
275
  def getAllSimilarItems(self, itemId):
276
    """
277
    Returns the list of similar items.
278
 
279
    Parameters:
280
     - itemId
281
    """
282
    pass
283
 
284
  def addSimilarItem(self, itemId, catalogItemId):
285
    """
286
    Adds similar item.
287
 
288
    Parameters:
289
     - itemId
290
     - catalogItemId
291
    """
292
    pass
293
 
6512 kshitij.so 294
  def addTag(self, displayName, itemId):
295
    """
296
    Tag Related
297
 
298
    Parameters:
299
     - displayName
300
     - itemId
301
    """
302
    pass
303
 
304
  def deleteEntityTag(self, displayName, itemId):
305
    """
306
    Parameters:
307
     - displayName
308
     - itemId
309
    """
310
    pass
311
 
312
  def deleteTag(self, displayName):
313
    """
314
    Parameters:
315
     - displayName
316
    """
317
    pass
318
 
319
  def getAllTags(self, ):
320
    pass
321
 
322
  def getAllEntitiesByTagName(self, displayName):
323
    """
324
    Parameters:
325
     - displayName
326
    """
327
    pass
328
 
6845 amit.gupta 329
  def getAllEntityTags(self, ):
330
    pass
331
 
8590 kshitij.so 332
  def addBanner(self, bannerCongregate):
6850 kshitij.so 333
    """
8579 kshitij.so 334
    Banner Related
335
 
6850 kshitij.so 336
    Parameters:
8590 kshitij.so 337
     - bannerCongregate
6850 kshitij.so 338
    """
339
    pass
340
 
8579 kshitij.so 341
  def updateBanner(self, banner):
342
    """
343
    Parameters:
344
     - banner
345
    """
346
    pass
347
 
6850 kshitij.so 348
  def getAllBanners(self, ):
349
    pass
350
 
9155 kshitij.so 351
  def deleteBanner(self, bannerName, bannerType):
6850 kshitij.so 352
    """
353
    Parameters:
354
     - bannerName
9155 kshitij.so 355
     - bannerType
6850 kshitij.so 356
    """
357
    pass
358
 
9155 kshitij.so 359
  def getBannerDetails(self, bannerName, bannerType):
6850 kshitij.so 360
    """
361
    Parameters:
362
     - bannerName
9155 kshitij.so 363
     - bannerType
6850 kshitij.so 364
    """
365
    pass
366
 
367
  def getActiveBanners(self, ):
368
    pass
369
 
8579 kshitij.so 370
  def addBannerMap(self, bannerMaps):
6849 kshitij.so 371
    """
372
    Parameters:
8579 kshitij.so 373
     - bannerMaps
6849 kshitij.so 374
    """
375
    pass
376
 
8579 kshitij.so 377
  def updateBannerMap(self, bannerMap):
378
    """
379
    Parameters:
380
     - bannerMap
381
    """
382
    pass
383
 
6849 kshitij.so 384
  def deleteBannerMap(self, bannerName):
385
    """
386
    Parameters:
387
     - bannerName
388
    """
389
    pass
390
 
9155 kshitij.so 391
  def getBannerMapDetails(self, bannerName, bannerType):
6849 kshitij.so 392
    """
393
    Parameters:
394
     - bannerName
9155 kshitij.so 395
     - bannerType
6849 kshitij.so 396
    """
397
    pass
398
 
8579 kshitij.so 399
  def addBannerUri(self, bannerUriMappings):
400
    """
401
    Parameters:
402
     - bannerUriMappings
403
    """
404
    pass
405
 
9155 kshitij.so 406
  def getUriMapping(self, bannerName, bannerType):
8579 kshitij.so 407
    """
408
    Parameters:
409
     - bannerName
9155 kshitij.so 410
     - bannerType
8579 kshitij.so 411
    """
412
    pass
413
 
414
  def addCampaign(self, campaign):
415
    """
416
    Parameters:
417
     - campaign
418
    """
419
    pass
420
 
421
  def getCampaigns(self, campaignName):
422
    """
423
    Parameters:
424
     - campaignName
425
    """
426
    pass
427
 
428
  def deleteCampaign(self, campaignId):
429
    """
430
    Parameters:
431
     - campaignId
432
    """
433
    pass
434
 
435
  def getAllCampaigns(self, ):
436
    pass
437
 
9155 kshitij.so 438
  def getActiveBannersForMobileSite(self, ):
439
    pass
440
 
5944 mandeep.dh 441
  def deleteSimilarItem(self, itemId, catalogItemId):
442
    """
443
    Delete similar item.
444
 
445
    Parameters:
446
     - itemId
447
     - catalogItemId
448
    """
449
    pass
450
 
451
  def checkSimilarItem(self, brand, modelNumber, modelName, color):
452
    """
453
    Checks if similar item exists (with same Brand, ModelNumber, ModelName, Color)
454
    If yes, returns the itemId else returns 0
455
 
456
    Parameters:
457
     - brand
458
     - modelNumber
459
     - modelName
460
     - color
461
    """
462
    pass
463
 
464
  def validateRiskyStatus(self, itemId):
465
    """
466
    Check wether item is risky and change status if inventory is not available for risky items
467
 
468
    Parameters:
469
     - itemId
470
    """
471
    pass
472
 
473
  def changeItemRiskyFlag(self, itemId, risky):
474
    """
475
    Marks/Unmarks an item as risky. This flag is used for automatic marking of an item as INACTIVE in case of zero inventory.
476
 
477
    Parameters:
478
     - itemId
479
     - risky
480
    """
481
    pass
482
 
483
  def getItemsByRiskyFlag(self, ):
484
    """
485
    Returns list of items marked as risky.
486
    """
487
    pass
488
 
489
  def getItemsForMasterSheet(self, category, brand):
490
    """
491
    Returns list of items with any status except PHASED_OUT and filtered by category, brand.
492
 
493
    Parameters:
494
     - category
495
     - brand
496
    """
497
    pass
498
 
499
  def getSimilarItemsCatalogIds(self, beginIndex, totalItems, itemId):
500
    """
501
    Returns list of catalog ids of items with same similarity index as of the given itemId
502
 
503
    Parameters:
504
     - beginIndex
505
     - totalItems
506
     - itemId
507
    """
508
    pass
509
 
510
  def addProductNotification(self, itemId, email):
511
    """
512
    Add user requests for out of stock items. Once user will ask for notify me an entry will
513
 
514
    Parameters:
515
     - itemId
516
     - email
517
    """
518
    pass
519
 
520
  def sendProductNotifications(self, ):
521
    """
522
    Send the product notifications to the users for items which has stock.
523
    """
524
    pass
525
 
526
  def getAllBrandsByCategory(self, categoryId):
527
    """
528
    Returns list of brand names for a given category Id
529
 
530
    Parameters:
531
     - categoryId
532
    """
533
    pass
534
 
535
  def getAllBrands(self, ):
536
    """
537
    Returns list of brand names
538
    """
539
    pass
540
 
541
  def getAllSources(self, ):
542
    """
543
    Return list of all sources
544
    """
545
    pass
546
 
547
  def getItemPricingBySource(self, itemId, sourceId):
548
    """
549
    Returns the pricing information of an item. If no information is found, exception will be thrown.
550
 
551
    Parameters:
552
     - itemId
553
     - sourceId
554
    """
555
    pass
556
 
557
  def addSourceItemPricing(self, sourceItemPricing):
558
    """
559
    Adds prices to be displayed corresponding to the item if user comes from a source.
560
    If item is not found or source is not found, it will throw exception.
561
 
562
    Parameters:
563
     - sourceItemPricing
564
    """
565
    pass
566
 
567
  def getAllSourcePricing(self, itemId):
568
    """
569
    Returns the list of source pricing information of an item.
570
    Raises an exception if item not found corresponding to itemId
571
 
572
    Parameters:
573
     - itemId
574
    """
575
    pass
576
 
577
  def getItemForSource(self, item_id, sourceId):
578
    """
579
    Get the item for a given itemId and sourceId. MRP and sellingPrice will be updated for source if we have different prices for source.
580
 
581
    Parameters:
582
     - item_id
583
     - sourceId
584
    """
585
    pass
586
 
587
  def searchItemsInRange(self, searchTerms, offset, limit):
588
    """
589
    Searches items matching the the given terms in the catalog and returns results within the specified range.
590
 
591
    Parameters:
592
     - searchTerms
593
     - offset
594
     - limit
595
    """
596
    pass
597
 
598
  def getSearchResultCount(self, searchTerms):
599
    """
600
    Gets the count of search results for the given search terms so that the user can go through all the pages.
601
 
602
    Parameters:
603
     - searchTerms
604
    """
605
    pass
606
 
607
  def getProductNotifications(self, startDateTime):
608
    """
609
    Returns a list of product notifications added after a supplied datetime
610
 
611
    Parameters:
612
     - startDateTime
613
    """
614
    pass
615
 
7897 amar.kumar 616
  def getProductNotificationRequestCount(self, startDateTime, categoryId):
5944 mandeep.dh 617
    """
618
    Returns a list of count of requests for product notification against each item
619
 
620
    Parameters:
621
     - startDateTime
7897 amar.kumar 622
     - categoryId
5944 mandeep.dh 623
    """
624
    pass
625
 
626
  def addAuthorizationLog(self, itemId, username, reason):
627
    """
628
    This method adds a log to authorize table with Item Id, username who authorized the change, reason.
629
 
630
    Parameters:
631
     - itemId
632
     - username
633
     - reason
634
    """
635
    pass
636
 
637
  def addupdateVoucherForItem(self, catalog_item_id, voucherType, voucherAmount):
638
    """
639
    Parameters:
640
     - catalog_item_id
641
     - voucherType
642
     - voucherAmount
643
    """
644
    pass
645
 
646
  def deleteVoucherForItem(self, catalog_item_id, voucherType):
647
    """
648
    Parameters:
649
     - catalog_item_id
650
     - voucherType
651
    """
652
    pass
653
 
654
  def getVoucherAmount(self, itemId, voucherType):
655
    """
656
    Parameters:
657
     - itemId
658
     - voucherType
659
    """
660
    pass
661
 
662
  def getAllItemVouchers(self, itemId):
663
    """
664
    Parameters:
665
     - itemId
666
    """
667
    pass
668
 
669
  def isValidCatalogItemId(self, catalog_item_id):
670
    """
671
    Parameters:
672
     - catalog_item_id
673
    """
674
    pass
675
 
7330 amit.gupta 676
  def getVatPercentageForItem(self, itemId, stateId, price):
6039 amit.gupta 677
    """
678
    Parameters:
679
     - itemId
7330 amit.gupta 680
     - stateId
6039 amit.gupta 681
     - price
682
    """
683
    pass
5944 mandeep.dh 684
 
6039 amit.gupta 685
  def getVatAmountForItem(self, itemId, price):
686
    """
687
    Parameters:
688
     - itemId
689
     - price
690
    """
691
    pass
692
 
6531 vikram.rag 693
  def getAllIgnoredInventoryUpdateItemsList(self, offset, limit):
694
    """
695
    Parameters:
696
     - offset
697
     - limit
698
    """
699
    pass
6039 amit.gupta 700
 
6821 amar.kumar 701
  def getAllAliveItems(self, ):
702
    pass
703
 
6921 anupam.sin 704
  def getInsuranceAmount(self, itemId, price, insurerId, quantity):
6805 anupam.sin 705
    """
706
    This method returns the insurance amount needed to insure the given item for a given quantity.
6531 vikram.rag 707
 
6805 anupam.sin 708
    Parameters:
709
     - itemId
6921 anupam.sin 710
     - price
6805 anupam.sin 711
     - insurerId
712
     - quantity
713
    """
714
    pass
715
 
716
  def getInsurer(self, insurerId):
717
    """
718
    Parameters:
719
     - insurerId
720
    """
721
    pass
722
 
6838 vikram.rag 723
  def getAllInsurers(self, ):
724
    pass
6805 anupam.sin 725
 
6962 rajveer 726
  def updateInsuranceDeclaredAmount(self, insurerId, amount):
727
    """
728
    Parameters:
729
     - insurerId
730
     - amount
731
    """
732
    pass
6838 vikram.rag 733
 
7190 amar.kumar 734
  def getFreebieForItem(self, itemId):
735
    """
736
    Parameters:
737
     - itemId
738
    """
739
    pass
6962 rajveer 740
 
7190 amar.kumar 741
  def addOrUpdateFreebieForItem(self, freebieItem):
742
    """
743
    Parameters:
744
     - freebieItem
745
    """
746
    pass
747
 
7272 amit.gupta 748
  def addOrUpdateBrandInfo(self, brandInfo):
749
    """
750
    Parameters:
751
     - brandInfo
752
    """
753
    pass
754
 
755
  def getBrandInfo(self, ):
756
    pass
757
 
7256 rajveer 758
  def getStorePricing(self, itemId):
759
    """
760
    Parameters:
761
     - itemId
762
    """
763
    pass
7190 amar.kumar 764
 
7306 rajveer 765
  def getStorePricings(self, itemIds):
766
    """
767
    Parameters:
768
     - itemIds
769
    """
770
    pass
771
 
7382 rajveer 772
  def updateStorePricing(self, sp, allColors):
7265 rajveer 773
    """
774
    Parameters:
775
     - sp
7382 rajveer 776
     - allColors
7265 rajveer 777
    """
778
    pass
7256 rajveer 779
 
7281 kshitij.so 780
  def getAllAmazonListedItems(self, ):
781
    pass
7265 rajveer 782
 
8619 kshitij.so 783
  def searchAmazonItems(self, searchTerm, offset, limit):
784
    """
785
    Parameters:
786
     - searchTerm
787
     - offset
788
     - limit
789
    """
790
    pass
791
 
792
  def getAmazonSearchResultCount(self, searchTerm):
793
    """
794
    Parameters:
795
     - searchTerm
796
    """
797
    pass
798
 
799
  def getCountForAmazonlistedItems(self, ):
800
    pass
801
 
7281 kshitij.so 802
  def getAmazonItemDetails(self, itemId):
803
    """
804
    Parameters:
805
     - itemId
806
    """
807
    pass
808
 
8168 kshitij.so 809
  def updateAmazonItemDetails(self, amazonlisted):
7281 kshitij.so 810
    """
811
    Parameters:
8168 kshitij.so 812
     - amazonlisted
7281 kshitij.so 813
    """
814
    pass
815
 
816
  def addAmazonItem(self, amazonlisted):
817
    """
818
    Parameters:
819
     - amazonlisted
820
    """
821
    pass
822
 
7291 vikram.rag 823
  def getAsinItems(self, ):
824
    pass
7281 kshitij.so 825
 
7291 vikram.rag 826
  def getAllFbaListedItems(self, ):
827
    pass
828
 
829
  def getAllNonFbaListedItems(self, ):
830
    pass
831
 
7460 kshitij.so 832
  def updateItemInventory(self, itemId, holdInventory, defaultInventory):
833
    """
834
    Parameters:
835
     - itemId
836
     - holdInventory
837
     - defaultInventory
838
    """
839
    pass
7291 vikram.rag 840
 
7770 kshitij.so 841
  def updateTimestampForAmazonFeeds(self, type, sku, timestamp):
842
    """
843
    Parameters:
844
     - type
845
     - sku
846
     - timestamp
847
    """
848
    pass
7460 kshitij.so 849
 
7897 amar.kumar 850
  def getAllParentCategories(self, ):
851
    pass
7770 kshitij.so 852
 
7977 kshitij.so 853
  def addPageViewEvent(self, pageViewEvents):
854
    """
855
    Parameters:
856
     - pageViewEvents
857
    """
858
    pass
7897 amar.kumar 859
 
7977 kshitij.so 860
  def addCartEvent(self, cartEvents):
861
    """
862
    Parameters:
863
     - cartEvents
864
    """
865
    pass
866
 
8182 amar.kumar 867
  def addEbayItem(self, ebayItem):
868
    """
869
    Parameters:
870
     - ebayItem
871
    """
872
    pass
873
 
874
  def getEbayItem(self, listingId):
875
    """
876
    Parameters:
877
     - listingId
878
    """
879
    pass
880
 
881
  def updateEbayItem(self, ebayItem):
882
    """
883
    Parameters:
884
     - ebayItem
885
    """
886
    pass
887
 
8139 kshitij.so 888
  def getAmazonListedItems(self, offset, limit):
889
    """
890
    Parameters:
891
     - offset
892
     - limit
893
    """
894
    pass
7977 kshitij.so 895
 
8168 kshitij.so 896
  def updateAmazonAttributesInBulk(self, amazonlisted):
897
    """
898
    Parameters:
899
     - amazonlisted
900
    """
901
    pass
8139 kshitij.so 902
 
8379 vikram.rag 903
  def getAllItemstoListOnFba(self, ):
904
    pass
8168 kshitij.so 905
 
8379 vikram.rag 906
  def getAllItemstoListOnNonFba(self, ):
907
    pass
908
 
8619 kshitij.so 909
  def updateAsin(self, item):
910
    """
911
    Parameters:
912
     - item
913
    """
914
    pass
8616 vikram.rag 915
 
8739 vikram.rag 916
  def addOrUpdateSnapdealItem(self, snapdealitem):
917
    """
918
    Parameters:
919
     - snapdealitem
920
    """
921
    pass
8619 kshitij.so 922
 
8739 vikram.rag 923
  def getSnapdealItem(self, item_id):
924
    """
925
    Parameters:
926
     - item_id
927
    """
928
    pass
929
 
9242 kshitij.so 930
  def getSnapdealItemDetails(self, item_id):
931
    """
932
    Parameters:
933
     - item_id
934
    """
935
    pass
936
 
8739 vikram.rag 937
  def getAllSnapdealItems(self, ):
938
    pass
939
 
9242 kshitij.so 940
  def getSnapdealItems(self, offset, limit):
941
    """
942
    Parameters:
943
     - offset
944
     - limit
945
    """
946
    pass
8739 vikram.rag 947
 
9242 kshitij.so 948
  def searchSnapdealItems(self, searchTerm, offset, limit):
949
    """
950
    Parameters:
951
     - searchTerm
952
     - offset
953
     - limit
954
    """
955
    pass
956
 
957
  def getCountForSnapdealItems(self, ):
958
    pass
959
 
960
  def getSnapdealSearchResultCount(self, searchTerm):
961
    """
962
    Parameters:
963
     - searchTerm
964
    """
965
    pass
966
 
9299 kshitij.so 967
  def getPrefferedInsurerForItem(self, itemId, insurerType):
968
    """
969
    Parameters:
970
     - itemId
971
     - insurerType
972
    """
973
    pass
9242 kshitij.so 974
 
9456 vikram.rag 975
  def getSnapdealItembySkuAtSnapdeal(self, skuAtSnapdeal):
976
    """
977
    Parameters:
978
     - skuAtSnapdeal
979
    """
980
    pass
9299 kshitij.so 981
 
9621 manish.sha 982
  def getProductFeedSubmit(self, catalogItemId):
983
    """
984
    Parameters:
985
     - catalogItemId
986
    """
987
    pass
9456 vikram.rag 988
 
9621 manish.sha 989
  def addProductFeedSubmit(self, productFeedSubmit):
990
    """
991
    Parameters:
992
     - productFeedSubmit
993
    """
994
    pass
995
 
996
  def updateProductFeedSubmit(self, productFeedSubmit):
997
    """
998
    Parameters:
999
     - productFeedSubmit
1000
    """
1001
    pass
1002
 
1003
  def deleteProductFeedSubmit(self, catalogItemId):
1004
    """
1005
    Parameters:
1006
     - catalogItemId
1007
    """
1008
    pass
1009
 
1010
  def getAllProductFeedSubmit(self, ):
1011
    pass
1012
 
9724 kshitij.so 1013
  def getMarketplacedetailsForItem(self, itemId, sourceId):
1014
    """
1015
    Parameters:
1016
     - itemId
1017
     - sourceId
1018
    """
1019
    pass
9621 manish.sha 1020
 
9724 kshitij.so 1021
  def updateMarketplaceAttributesForItem(self, marketPlaceItem):
1022
    """
1023
    Parameters:
1024
     - marketPlaceItem
1025
    """
1026
    pass
1027
 
9779 kshitij.so 1028
  def getCostingForMarketplace(self, source, item_id):
1029
    """
1030
    Parameters:
1031
     - source
1032
     - item_id
1033
    """
1034
    pass
1035
 
9776 vikram.rag 1036
  def getMarketPlaceItemsForPriceUpdate(self, source):
1037
    """
1038
    Parameters:
1039
     - source
1040
    """
1041
    pass
9724 kshitij.so 1042
 
9816 kshitij.so 1043
  def updateMarketPlacePriceUpdateStatus(self, skulist, timestamp, source):
9776 vikram.rag 1044
    """
1045
    Parameters:
1046
     - skulist
1047
     - timestamp
9816 kshitij.so 1048
     - source
9776 vikram.rag 1049
    """
1050
    pass
1051
 
9861 rajveer 1052
  def updateItemHoldInventory(self, itemHoldMap):
1053
    """
1054
    Parameters:
1055
     - itemHoldMap
1056
    """
1057
    pass
9776 vikram.rag 1058
 
9895 vikram.rag 1059
  def updateNlcAtMarketplaces(self, item_id, vendor_id, nlc):
1060
    """
1061
    Parameters:
1062
     - item_id
1063
     - vendor_id
1064
     - nlc
1065
    """
1066
    pass
9861 rajveer 1067
 
9945 vikram.rag 1068
  def getAllFlipkartItems(self, ):
1069
    pass
9895 vikram.rag 1070
 
10097 kshitij.so 1071
  def addOrUpdateFlipkartItem(self, flipkartitem):
1072
    """
1073
    Parameters:
1074
     - flipkartitem
1075
    """
1076
    pass
9945 vikram.rag 1077
 
10097 kshitij.so 1078
  def getFlipkartItem(self, item_id):
1079
    """
1080
    Parameters:
1081
     - item_id
1082
    """
1083
    pass
1084
 
1085
  def getFlipkartItemDetails(self, item_id):
1086
    """
1087
    Parameters:
1088
     - item_id
1089
    """
1090
    pass
1091
 
1092
  def getFlipkartItems(self, offset, limit):
1093
    """
1094
    Parameters:
1095
     - offset
1096
     - limit
1097
    """
1098
    pass
1099
 
1100
  def searchFlipkartItems(self, searchTerm, offset, limit):
1101
    """
1102
    Parameters:
1103
     - searchTerm
1104
     - offset
1105
     - limit
1106
    """
1107
    pass
1108
 
1109
  def getCountForFlipkartItems(self, ):
1110
    pass
1111
 
1112
  def getFlipkartSearchResultCount(self, searchTerm):
1113
    """
1114
    Parameters:
1115
     - searchTerm
1116
    """
1117
    pass
1118
 
1119
  def getAllFkItems(self, ):
1120
    pass
1121
 
10140 vikram.rag 1122
  def getFlipkartItemBySkyAtFlipkart(self, sku):
1123
    """
1124
    Parameters:
1125
     - sku
1126
    """
1127
    pass
10097 kshitij.so 1128
 
11015 kshitij.so 1129
  def getMarketplaceHistory(self, source, offset, itemId):
1130
    """
1131
    Parameters:
1132
     - source
1133
     - offset
1134
     - itemId
1135
    """
1136
    pass
1137
 
10909 vikram.rag 1138
  def getAllFbbListedItems(self, ):
1139
    pass
10140 vikram.rag 1140
 
10924 vikram.rag 1141
  def getAllFbbPricingItems(self, ):
1142
    pass
10909 vikram.rag 1143
 
11015 kshitij.so 1144
  def getCountForMarketplaceHistory(self, source, itemId):
1145
    """
1146
    Parameters:
1147
     - source
1148
     - itemId
1149
    """
1150
    pass
10924 vikram.rag 1151
 
11015 kshitij.so 1152
  def getMarketplaceHistoryByDate(self, source, startDate, endDate, offset, limit, itemId):
1153
    """
1154
    Parameters:
1155
     - source
1156
     - startDate
1157
     - endDate
1158
     - offset
1159
     - limit
1160
     - itemId
1161
    """
1162
    pass
1163
 
11531 vikram.rag 1164
  def getPrivateDealDetails(self, item_id):
1165
    """
1166
    Parameters:
1167
     - item_id
1168
    """
1169
    pass
11015 kshitij.so 1170
 
11531 vikram.rag 1171
  def getPrivateDealItems(self, offset, limit):
1172
    """
1173
    Parameters:
1174
     - offset
1175
     - limit
1176
    """
1177
    pass
1178
 
11653 amit.gupta 1179
  def getAllActivePrivateDeals(self, itemIds, daysDelta):
1180
    """
1181
    Parameters:
1182
     - itemIds
1183
     - daysDelta
1184
    """
11592 amit.gupta 1185
    pass
1186
 
11531 vikram.rag 1187
  def addOrUpdatePrivateDeal(self, privateDeal):
1188
    """
1189
    Parameters:
1190
     - privateDeal
1191
    """
1192
    pass
1193
 
11635 vikram.rag 1194
  def getPrivateDealsCatalogIds(self, beginIndex, totalItems):
1195
    """
1196
    Parameters:
1197
     - beginIndex
1198
     - totalItems
1199
    """
1200
    pass
11531 vikram.rag 1201
 
11645 amit.gupta 1202
  def getPrivateDealsCount(self, ):
1203
    pass
11635 vikram.rag 1204
 
11905 kshitij.so 1205
  def getAmazonOutSyncItems(self, item_id):
1206
    """
1207
    Parameters:
1208
     - item_id
1209
    """
1210
    pass
11645 amit.gupta 1211
 
11905 kshitij.so 1212
  def getAllPrivateDealsComparison(self, ):
1213
    pass
1214
 
12133 kshitij.so 1215
  def getAllSnapdealMarketplaceItem(self, ):
1216
    pass
11905 kshitij.so 1217
 
12133 kshitij.so 1218
  def getAllFlipkartMarketplaceItem(self, ):
1219
    pass
1220
 
12243 kshitij.so 1221
  def addCompetitorScraping(self, competitorPricingMap):
1222
    """
1223
    Parameters:
1224
     - competitorPricingMap
1225
    """
1226
    pass
12133 kshitij.so 1227
 
12243 kshitij.so 1228
  def getPreviousCompetitorScraping(self, delta):
1229
    """
1230
    Parameters:
1231
     - delta
1232
    """
1233
    pass
1234
 
12256 kshitij.so 1235
  def getUploadResultById(self, uploadId):
1236
    """
1237
    Parameters:
1238
     - uploadId
1239
    """
1240
    pass
12243 kshitij.so 1241
 
12363 kshitij.so 1242
  def addAmazonPromotion(self, amazonPromotions):
1243
    """
1244
    Parameters:
1245
     - amazonPromotions
1246
    """
1247
    pass
12256 kshitij.so 1248
 
12363 kshitij.so 1249
  def getAmazonPromotion(self, startDate, endDate):
1250
    """
1251
    Parameters:
1252
     - startDate
1253
     - endDate
1254
    """
1255
    pass
1256
 
1257
  def updateAmazonPromotion(self, amazonPromotions):
1258
    """
1259
    Parameters:
1260
     - amazonPromotions
1261
    """
1262
    pass
1263
 
12567 amit.gupta 1264
  def markPartiallyActive(self, itemId, categoryId):
1265
    """
1266
    Parameters:
1267
     - itemId
1268
     - categoryId
1269
    """
1270
    pass
12363 kshitij.so 1271
 
12567 amit.gupta 1272
  def updateItemStateVat(self, itemId, statevat):
1273
    """
1274
    Parameters:
1275
     - itemId
1276
     - statevat
1277
    """
1278
    pass
1279
 
12620 amit.gupta 1280
  def getExAffiliateItemInfo(self, ):
1281
    pass
12567 amit.gupta 1282
 
12888 kshitij.so 1283
  def getAllItemstoListOnFbg(self, ):
1284
    pass
12620 amit.gupta 1285
 
12892 kshitij.so 1286
  def getAllFbgListedItems(self, ):
1287
    pass
12888 kshitij.so 1288
 
13136 amit.gupta 1289
  def checkServices(self, lines):
1290
    """
1291
    Parameters:
1292
     - lines
1293
    """
1294
    pass
12892 kshitij.so 1295
 
13709 manish.sha 1296
  def addHsItem(self, hsItems):
1297
    """
1298
    Parameters:
1299
     - hsItems
1300
    """
1301
    pass
13136 amit.gupta 1302
 
13709 manish.sha 1303
  def getHsItem(self, hsItemId):
1304
    """
1305
    Parameters:
1306
     - hsItemId
1307
    """
1308
    pass
1309
 
1310
  def updateHsItem(self, hsItem):
1311
    """
1312
    Parameters:
1313
     - hsItem
1314
    """
1315
    pass
1316
 
14182 kshitij.so 1317
  def getPricingForDtr(self, catalogItemId):
1318
    """
1319
    Parameters:
1320
     - catalogItemId
1321
    """
1322
    pass
13709 manish.sha 1323
 
15702 kshitij.so 1324
  def getAllItemstoListOnFbd(self, ):
1325
    pass
14182 kshitij.so 1326
 
15706 kshitij.so 1327
  def getAllFbdListedItems(self, ):
1328
    pass
15702 kshitij.so 1329
 
18150 kshitij.so 1330
  def getBulkPricingForItems(self, itemIds):
1331
    """
1332
    Parameters:
1333
     - itemIds
1334
    """
1335
    pass
15706 kshitij.so 1336
 
18150 kshitij.so 1337
  def addBulkPricingForItem(self, bulkItemPricing):
1338
    """
1339
    Parameters:
1340
     - bulkItemPricing
1341
    """
1342
    pass
1343
 
1344
  def deleteBulkPricingForItemById(self, id):
1345
    """
1346
    Parameters:
1347
     - id
1348
    """
1349
    pass
1350
 
1351
  def deleteBulkPricingForItem(self, item_id):
1352
    """
1353
    Parameters:
1354
     - item_id
1355
    """
1356
    pass
1357
 
1358
  def getBulkPricingByItemId(self, item_id):
1359
    """
1360
    Parameters:
1361
     - item_id
1362
    """
1363
    pass
1364
 
18602 kshitij.so 1365
  def updateBulkPricesOnProduction(self, item_id, bulkItemPricingList):
1366
    """
1367
    Parameters:
1368
     - item_id
1369
     - bulkItemPricingList
1370
    """
1371
    pass
18150 kshitij.so 1372
 
18764 kshitij.so 1373
  def getCartByValue(self, cartIds):
1374
    """
1375
    Parameters:
1376
     - cartIds
1377
    """
1378
    pass
18602 kshitij.so 1379
 
19247 kshitij.so 1380
  def updateItemPricing(self, itemPricingList):
1381
    """
1382
    Parameters:
1383
     - itemPricingList
1384
    """
1385
    pass
18764 kshitij.so 1386
 
19686 kshitij.so 1387
  def bulkUpdateCatalog(self, bulkUploadCatalog):
1388
    """
1389
    Parameters:
1390
     - bulkUploadCatalog
1391
    """
1392
    pass
19247 kshitij.so 1393
 
19714 manish.sha 1394
  def getWarrantyInfoForItem(self, catalogItemId, itemCondition):
19691 manish.sha 1395
    """
1396
    Parameters:
19714 manish.sha 1397
     - catalogItemId
19691 manish.sha 1398
     - itemCondition
1399
    """
1400
    pass
19686 kshitij.so 1401
 
19714 manish.sha 1402
  def getWarrantyInfoForItemList(self, catalogItemIds, itemCondition):
1403
    """
1404
    Parameters:
1405
     - catalogItemIds
1406
     - itemCondition
1407
    """
1408
    pass
19691 manish.sha 1409
 
21838 amit.gupta 1410
  def getGstRatesByState(self, stateId):
1411
    """
1412
    Parameters:
1413
     - stateId
1414
    """
1415
    pass
19714 manish.sha 1416
 
21838 amit.gupta 1417
  def getInterStateGstRates(self, ):
1418
    pass
1419
 
1420
  def getHsnCodesByCategory(self, categoryId):
1421
    """
1422
    Parameters:
1423
     - categoryId
1424
    """
1425
    pass
1426
 
1427
 
5944 mandeep.dh 1428
class Client(shop2020.thriftpy.generic.GenericService.Client, Iface):
1429
  def __init__(self, iprot, oprot=None):
1430
    shop2020.thriftpy.generic.GenericService.Client.__init__(self, iprot, oprot)
1431
 
1432
  def addItem(self, item):
1433
    """
1434
    Availability and inventory attributes
1435
 
1436
    Parameters:
1437
     - item
1438
    """
1439
    self.send_addItem(item)
1440
    return self.recv_addItem()
1441
 
1442
  def send_addItem(self, item):
1443
    self._oprot.writeMessageBegin('addItem', TMessageType.CALL, self._seqid)
1444
    args = addItem_args()
1445
    args.item = item
1446
    args.write(self._oprot)
1447
    self._oprot.writeMessageEnd()
1448
    self._oprot.trans.flush()
1449
 
1450
  def recv_addItem(self, ):
1451
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
1452
    if mtype == TMessageType.EXCEPTION:
1453
      x = TApplicationException()
1454
      x.read(self._iprot)
1455
      self._iprot.readMessageEnd()
1456
      raise x
1457
    result = addItem_result()
1458
    result.read(self._iprot)
1459
    self._iprot.readMessageEnd()
1460
    if result.success is not None:
1461
      return result.success
1462
    if result.cex is not None:
1463
      raise result.cex
1464
    raise TApplicationException(TApplicationException.MISSING_RESULT, "addItem failed: unknown result");
1465
 
1466
  def updateItem(self, item):
1467
    """
1468
    Parameters:
1469
     - item
1470
    """
1471
    self.send_updateItem(item)
1472
    return self.recv_updateItem()
1473
 
1474
  def send_updateItem(self, item):
1475
    self._oprot.writeMessageBegin('updateItem', TMessageType.CALL, self._seqid)
1476
    args = updateItem_args()
1477
    args.item = item
1478
    args.write(self._oprot)
1479
    self._oprot.writeMessageEnd()
1480
    self._oprot.trans.flush()
1481
 
1482
  def recv_updateItem(self, ):
1483
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
1484
    if mtype == TMessageType.EXCEPTION:
1485
      x = TApplicationException()
1486
      x.read(self._iprot)
1487
      self._iprot.readMessageEnd()
1488
      raise x
1489
    result = updateItem_result()
1490
    result.read(self._iprot)
1491
    self._iprot.readMessageEnd()
1492
    if result.success is not None:
1493
      return result.success
1494
    if result.cex is not None:
1495
      raise result.cex
1496
    raise TApplicationException(TApplicationException.MISSING_RESULT, "updateItem failed: unknown result");
1497
 
1498
  def isActive(self, itemId):
1499
    """
1500
    Checks if the item given to the corresponding itemId is active. If it's active,
1501
    whether it's risky and if it's risky, its inventory position.
1502
 
1503
    Parameters:
1504
     - itemId
1505
    """
1506
    self.send_isActive(itemId)
1507
    return self.recv_isActive()
1508
 
1509
  def send_isActive(self, itemId):
1510
    self._oprot.writeMessageBegin('isActive', TMessageType.CALL, self._seqid)
1511
    args = isActive_args()
1512
    args.itemId = itemId
1513
    args.write(self._oprot)
1514
    self._oprot.writeMessageEnd()
1515
    self._oprot.trans.flush()
1516
 
1517
  def recv_isActive(self, ):
1518
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
1519
    if mtype == TMessageType.EXCEPTION:
1520
      x = TApplicationException()
1521
      x.read(self._iprot)
1522
      self._iprot.readMessageEnd()
1523
      raise x
1524
    result = isActive_result()
1525
    result.read(self._iprot)
1526
    self._iprot.readMessageEnd()
1527
    if result.success is not None:
1528
      return result.success
1529
    if result.isex is not None:
1530
      raise result.isex
1531
    raise TApplicationException(TApplicationException.MISSING_RESULT, "isActive failed: unknown result");
1532
 
7438 amit.gupta 1533
  def getItemsStatus(self, itemIds):
1534
    """
1535
    Parameters:
1536
     - itemIds
1537
    """
1538
    self.send_getItemsStatus(itemIds)
1539
    return self.recv_getItemsStatus()
1540
 
1541
  def send_getItemsStatus(self, itemIds):
1542
    self._oprot.writeMessageBegin('getItemsStatus', TMessageType.CALL, self._seqid)
1543
    args = getItemsStatus_args()
1544
    args.itemIds = itemIds
1545
    args.write(self._oprot)
1546
    self._oprot.writeMessageEnd()
1547
    self._oprot.trans.flush()
1548
 
1549
  def recv_getItemsStatus(self, ):
1550
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
1551
    if mtype == TMessageType.EXCEPTION:
1552
      x = TApplicationException()
1553
      x.read(self._iprot)
1554
      self._iprot.readMessageEnd()
1555
      raise x
1556
    result = getItemsStatus_result()
1557
    result.read(self._iprot)
1558
    self._iprot.readMessageEnd()
1559
    if result.success is not None:
1560
      return result.success
1561
    if result.isex is not None:
1562
      raise result.isex
1563
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getItemsStatus failed: unknown result");
1564
 
5944 mandeep.dh 1565
  def getItemStatusDescription(self, itemId):
1566
    """
1567
    Parameters:
1568
     - itemId
1569
    """
1570
    self.send_getItemStatusDescription(itemId)
1571
    return self.recv_getItemStatusDescription()
1572
 
1573
  def send_getItemStatusDescription(self, itemId):
1574
    self._oprot.writeMessageBegin('getItemStatusDescription', TMessageType.CALL, self._seqid)
1575
    args = getItemStatusDescription_args()
1576
    args.itemId = itemId
1577
    args.write(self._oprot)
1578
    self._oprot.writeMessageEnd()
1579
    self._oprot.trans.flush()
1580
 
1581
  def recv_getItemStatusDescription(self, ):
1582
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
1583
    if mtype == TMessageType.EXCEPTION:
1584
      x = TApplicationException()
1585
      x.read(self._iprot)
1586
      self._iprot.readMessageEnd()
1587
      raise x
1588
    result = getItemStatusDescription_result()
1589
    result.read(self._iprot)
1590
    self._iprot.readMessageEnd()
1591
    if result.success is not None:
1592
      return result.success
1593
    if result.isex is not None:
1594
      raise result.isex
1595
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getItemStatusDescription failed: unknown result");
1596
 
1597
  def startItemOn(self, item_id, timestamp):
1598
    """
1599
    Parameters:
1600
     - item_id
1601
     - timestamp
1602
    """
1603
    self.send_startItemOn(item_id, timestamp)
1604
    self.recv_startItemOn()
1605
 
1606
  def send_startItemOn(self, item_id, timestamp):
1607
    self._oprot.writeMessageBegin('startItemOn', TMessageType.CALL, self._seqid)
1608
    args = startItemOn_args()
1609
    args.item_id = item_id
1610
    args.timestamp = timestamp
1611
    args.write(self._oprot)
1612
    self._oprot.writeMessageEnd()
1613
    self._oprot.trans.flush()
1614
 
1615
  def recv_startItemOn(self, ):
1616
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
1617
    if mtype == TMessageType.EXCEPTION:
1618
      x = TApplicationException()
1619
      x.read(self._iprot)
1620
      self._iprot.readMessageEnd()
1621
      raise x
1622
    result = startItemOn_result()
1623
    result.read(self._iprot)
1624
    self._iprot.readMessageEnd()
1625
    if result.cex is not None:
1626
      raise result.cex
1627
    return
1628
 
1629
  def retireItemOn(self, item_id, timestamp):
1630
    """
1631
    Parameters:
1632
     - item_id
1633
     - timestamp
1634
    """
1635
    self.send_retireItemOn(item_id, timestamp)
1636
    self.recv_retireItemOn()
1637
 
1638
  def send_retireItemOn(self, item_id, timestamp):
1639
    self._oprot.writeMessageBegin('retireItemOn', TMessageType.CALL, self._seqid)
1640
    args = retireItemOn_args()
1641
    args.item_id = item_id
1642
    args.timestamp = timestamp
1643
    args.write(self._oprot)
1644
    self._oprot.writeMessageEnd()
1645
    self._oprot.trans.flush()
1646
 
1647
  def recv_retireItemOn(self, ):
1648
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
1649
    if mtype == TMessageType.EXCEPTION:
1650
      x = TApplicationException()
1651
      x.read(self._iprot)
1652
      self._iprot.readMessageEnd()
1653
      raise x
1654
    result = retireItemOn_result()
1655
    result.read(self._iprot)
1656
    self._iprot.readMessageEnd()
1657
    if result.cex is not None:
1658
      raise result.cex
1659
    return
1660
 
1661
  def changeItemStatus(self, item_id, timestamp, newstatus):
1662
    """
1663
    Parameters:
1664
     - item_id
1665
     - timestamp
1666
     - newstatus
1667
    """
1668
    self.send_changeItemStatus(item_id, timestamp, newstatus)
1669
    self.recv_changeItemStatus()
1670
 
1671
  def send_changeItemStatus(self, item_id, timestamp, newstatus):
1672
    self._oprot.writeMessageBegin('changeItemStatus', TMessageType.CALL, self._seqid)
1673
    args = changeItemStatus_args()
1674
    args.item_id = item_id
1675
    args.timestamp = timestamp
1676
    args.newstatus = newstatus
1677
    args.write(self._oprot)
1678
    self._oprot.writeMessageEnd()
1679
    self._oprot.trans.flush()
1680
 
1681
  def recv_changeItemStatus(self, ):
1682
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
1683
    if mtype == TMessageType.EXCEPTION:
1684
      x = TApplicationException()
1685
      x.read(self._iprot)
1686
      self._iprot.readMessageEnd()
1687
      raise x
1688
    result = changeItemStatus_result()
1689
    result.read(self._iprot)
1690
    self._iprot.readMessageEnd()
1691
    if result.cex is not None:
1692
      raise result.cex
1693
    return
1694
 
1695
  def getItem(self, item_id):
1696
    """
1697
    Parameters:
1698
     - item_id
1699
    """
1700
    self.send_getItem(item_id)
1701
    return self.recv_getItem()
1702
 
1703
  def send_getItem(self, item_id):
1704
    self._oprot.writeMessageBegin('getItem', TMessageType.CALL, self._seqid)
1705
    args = getItem_args()
1706
    args.item_id = item_id
1707
    args.write(self._oprot)
1708
    self._oprot.writeMessageEnd()
1709
    self._oprot.trans.flush()
1710
 
1711
  def recv_getItem(self, ):
1712
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
1713
    if mtype == TMessageType.EXCEPTION:
1714
      x = TApplicationException()
1715
      x.read(self._iprot)
1716
      self._iprot.readMessageEnd()
1717
      raise x
1718
    result = getItem_result()
1719
    result.read(self._iprot)
1720
    self._iprot.readMessageEnd()
1721
    if result.success is not None:
1722
      return result.success
1723
    if result.cex is not None:
1724
      raise result.cex
1725
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getItem failed: unknown result");
1726
 
13493 amit.gupta 1727
  def getItems(self, item_ids):
1728
    """
1729
    Parameters:
1730
     - item_ids
1731
    """
1732
    self.send_getItems(item_ids)
1733
    return self.recv_getItems()
1734
 
1735
  def send_getItems(self, item_ids):
1736
    self._oprot.writeMessageBegin('getItems', TMessageType.CALL, self._seqid)
1737
    args = getItems_args()
1738
    args.item_ids = item_ids
1739
    args.write(self._oprot)
1740
    self._oprot.writeMessageEnd()
1741
    self._oprot.trans.flush()
1742
 
1743
  def recv_getItems(self, ):
1744
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
1745
    if mtype == TMessageType.EXCEPTION:
1746
      x = TApplicationException()
1747
      x.read(self._iprot)
1748
      self._iprot.readMessageEnd()
1749
      raise x
1750
    result = getItems_result()
1751
    result.read(self._iprot)
1752
    self._iprot.readMessageEnd()
1753
    if result.success is not None:
1754
      return result.success
1755
    if result.cex is not None:
1756
      raise result.cex
1757
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getItems failed: unknown result");
1758
 
5944 mandeep.dh 1759
  def getItemsByCatalogId(self, catalog_item_id):
1760
    """
1761
    Parameters:
1762
     - catalog_item_id
1763
    """
1764
    self.send_getItemsByCatalogId(catalog_item_id)
1765
    return self.recv_getItemsByCatalogId()
1766
 
1767
  def send_getItemsByCatalogId(self, catalog_item_id):
1768
    self._oprot.writeMessageBegin('getItemsByCatalogId', TMessageType.CALL, self._seqid)
1769
    args = getItemsByCatalogId_args()
1770
    args.catalog_item_id = catalog_item_id
1771
    args.write(self._oprot)
1772
    self._oprot.writeMessageEnd()
1773
    self._oprot.trans.flush()
1774
 
1775
  def recv_getItemsByCatalogId(self, ):
1776
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
1777
    if mtype == TMessageType.EXCEPTION:
1778
      x = TApplicationException()
1779
      x.read(self._iprot)
1780
      self._iprot.readMessageEnd()
1781
      raise x
1782
    result = getItemsByCatalogId_result()
1783
    result.read(self._iprot)
1784
    self._iprot.readMessageEnd()
1785
    if result.success is not None:
1786
      return result.success
1787
    if result.cex is not None:
1788
      raise result.cex
1789
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getItemsByCatalogId failed: unknown result");
1790
 
1791
  def getValidItemsByCatalogId(self, catalog_item_id):
1792
    """
1793
    Parameters:
1794
     - catalog_item_id
1795
    """
1796
    self.send_getValidItemsByCatalogId(catalog_item_id)
1797
    return self.recv_getValidItemsByCatalogId()
1798
 
1799
  def send_getValidItemsByCatalogId(self, catalog_item_id):
1800
    self._oprot.writeMessageBegin('getValidItemsByCatalogId', TMessageType.CALL, self._seqid)
1801
    args = getValidItemsByCatalogId_args()
1802
    args.catalog_item_id = catalog_item_id
1803
    args.write(self._oprot)
1804
    self._oprot.writeMessageEnd()
1805
    self._oprot.trans.flush()
1806
 
1807
  def recv_getValidItemsByCatalogId(self, ):
1808
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
1809
    if mtype == TMessageType.EXCEPTION:
1810
      x = TApplicationException()
1811
      x.read(self._iprot)
1812
      self._iprot.readMessageEnd()
1813
      raise x
1814
    result = getValidItemsByCatalogId_result()
1815
    result.read(self._iprot)
1816
    self._iprot.readMessageEnd()
1817
    if result.success is not None:
1818
      return result.success
1819
    if result.cex is not None:
1820
      raise result.cex
1821
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getValidItemsByCatalogId failed: unknown result");
1822
 
1823
  def getAllItems(self, isActive):
1824
    """
1825
    Parameters:
1826
     - isActive
1827
    """
1828
    self.send_getAllItems(isActive)
1829
    return self.recv_getAllItems()
1830
 
1831
  def send_getAllItems(self, isActive):
1832
    self._oprot.writeMessageBegin('getAllItems', TMessageType.CALL, self._seqid)
1833
    args = getAllItems_args()
1834
    args.isActive = isActive
1835
    args.write(self._oprot)
1836
    self._oprot.writeMessageEnd()
1837
    self._oprot.trans.flush()
1838
 
1839
  def recv_getAllItems(self, ):
1840
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
1841
    if mtype == TMessageType.EXCEPTION:
1842
      x = TApplicationException()
1843
      x.read(self._iprot)
1844
      self._iprot.readMessageEnd()
1845
      raise x
1846
    result = getAllItems_result()
1847
    result.read(self._iprot)
1848
    self._iprot.readMessageEnd()
1849
    if result.success is not None:
1850
      return result.success
1851
    if result.cex is not None:
1852
      raise result.cex
1853
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAllItems failed: unknown result");
1854
 
1855
  def getAllItemsByStatus(self, itemStatus):
1856
    """
1857
    Parameters:
1858
     - itemStatus
1859
    """
1860
    self.send_getAllItemsByStatus(itemStatus)
1861
    return self.recv_getAllItemsByStatus()
1862
 
1863
  def send_getAllItemsByStatus(self, itemStatus):
1864
    self._oprot.writeMessageBegin('getAllItemsByStatus', TMessageType.CALL, self._seqid)
1865
    args = getAllItemsByStatus_args()
1866
    args.itemStatus = itemStatus
1867
    args.write(self._oprot)
1868
    self._oprot.writeMessageEnd()
1869
    self._oprot.trans.flush()
1870
 
1871
  def recv_getAllItemsByStatus(self, ):
1872
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
1873
    if mtype == TMessageType.EXCEPTION:
1874
      x = TApplicationException()
1875
      x.read(self._iprot)
1876
      self._iprot.readMessageEnd()
1877
      raise x
1878
    result = getAllItemsByStatus_result()
1879
    result.read(self._iprot)
1880
    self._iprot.readMessageEnd()
1881
    if result.success is not None:
1882
      return result.success
1883
    if result.cex is not None:
1884
      raise result.cex
1885
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAllItemsByStatus failed: unknown result");
1886
 
9253 rajveer 1887
  def markItemAsContentComplete(self, entityId, category, brand, modelName, modelNumber, isAndroid):
5944 mandeep.dh 1888
    """
1889
    Parameters:
1890
     - entityId
1891
     - category
1892
     - brand
1893
     - modelName
1894
     - modelNumber
9253 rajveer 1895
     - isAndroid
5944 mandeep.dh 1896
    """
9253 rajveer 1897
    self.send_markItemAsContentComplete(entityId, category, brand, modelName, modelNumber, isAndroid)
5944 mandeep.dh 1898
    return self.recv_markItemAsContentComplete()
1899
 
9253 rajveer 1900
  def send_markItemAsContentComplete(self, entityId, category, brand, modelName, modelNumber, isAndroid):
5944 mandeep.dh 1901
    self._oprot.writeMessageBegin('markItemAsContentComplete', TMessageType.CALL, self._seqid)
1902
    args = markItemAsContentComplete_args()
1903
    args.entityId = entityId
1904
    args.category = category
1905
    args.brand = brand
1906
    args.modelName = modelName
1907
    args.modelNumber = modelNumber
9253 rajveer 1908
    args.isAndroid = isAndroid
5944 mandeep.dh 1909
    args.write(self._oprot)
1910
    self._oprot.writeMessageEnd()
1911
    self._oprot.trans.flush()
1912
 
1913
  def recv_markItemAsContentComplete(self, ):
1914
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
1915
    if mtype == TMessageType.EXCEPTION:
1916
      x = TApplicationException()
1917
      x.read(self._iprot)
1918
      self._iprot.readMessageEnd()
1919
      raise x
1920
    result = markItemAsContentComplete_result()
1921
    result.read(self._iprot)
1922
    self._iprot.readMessageEnd()
1923
    if result.success is not None:
1924
      return result.success
1925
    if result.cex is not None:
1926
      raise result.cex
1927
    raise TApplicationException(TApplicationException.MISSING_RESULT, "markItemAsContentComplete failed: unknown result");
1928
 
12567 amit.gupta 1929
  def getVatRates(self, itemId, categoryId):
1930
    """
1931
    Parameters:
1932
     - itemId
1933
     - categoryId
1934
    """
1935
    self.send_getVatRates(itemId, categoryId)
1936
    return self.recv_getVatRates()
1937
 
1938
  def send_getVatRates(self, itemId, categoryId):
1939
    self._oprot.writeMessageBegin('getVatRates', TMessageType.CALL, self._seqid)
1940
    args = getVatRates_args()
1941
    args.itemId = itemId
1942
    args.categoryId = categoryId
1943
    args.write(self._oprot)
1944
    self._oprot.writeMessageEnd()
1945
    self._oprot.trans.flush()
1946
 
1947
  def recv_getVatRates(self, ):
1948
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
1949
    if mtype == TMessageType.EXCEPTION:
1950
      x = TApplicationException()
1951
      x.read(self._iprot)
1952
      self._iprot.readMessageEnd()
1953
      raise x
1954
    result = getVatRates_result()
1955
    result.read(self._iprot)
1956
    self._iprot.readMessageEnd()
1957
    if result.success is not None:
1958
      return result.success
1959
    if result.cex is not None:
1960
      raise result.cex
1961
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getVatRates failed: unknown result");
1962
 
5944 mandeep.dh 1963
  def getAllItemsInRange(self, offset, limit):
1964
    """
1965
    Gets at most 'limit' items starting at the given offset. Returns an empty list if there are no more items at the given offset.
1966
 
1967
    Parameters:
1968
     - offset
1969
     - limit
1970
    """
1971
    self.send_getAllItemsInRange(offset, limit)
1972
    return self.recv_getAllItemsInRange()
1973
 
1974
  def send_getAllItemsInRange(self, offset, limit):
1975
    self._oprot.writeMessageBegin('getAllItemsInRange', TMessageType.CALL, self._seqid)
1976
    args = getAllItemsInRange_args()
1977
    args.offset = offset
1978
    args.limit = limit
1979
    args.write(self._oprot)
1980
    self._oprot.writeMessageEnd()
1981
    self._oprot.trans.flush()
1982
 
1983
  def recv_getAllItemsInRange(self, ):
1984
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
1985
    if mtype == TMessageType.EXCEPTION:
1986
      x = TApplicationException()
1987
      x.read(self._iprot)
1988
      self._iprot.readMessageEnd()
1989
      raise x
1990
    result = getAllItemsInRange_result()
1991
    result.read(self._iprot)
1992
    self._iprot.readMessageEnd()
1993
    if result.success is not None:
1994
      return result.success
1995
    if result.cex is not None:
1996
      raise result.cex
1997
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAllItemsInRange failed: unknown result");
1998
 
1999
  def getAllItemsByStatusInRange(self, itemStatus, offset, limit):
2000
    """
2001
    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.
2002
 
2003
    Parameters:
2004
     - itemStatus
2005
     - offset
2006
     - limit
2007
    """
2008
    self.send_getAllItemsByStatusInRange(itemStatus, offset, limit)
2009
    return self.recv_getAllItemsByStatusInRange()
2010
 
2011
  def send_getAllItemsByStatusInRange(self, itemStatus, offset, limit):
2012
    self._oprot.writeMessageBegin('getAllItemsByStatusInRange', TMessageType.CALL, self._seqid)
2013
    args = getAllItemsByStatusInRange_args()
2014
    args.itemStatus = itemStatus
2015
    args.offset = offset
2016
    args.limit = limit
2017
    args.write(self._oprot)
2018
    self._oprot.writeMessageEnd()
2019
    self._oprot.trans.flush()
2020
 
2021
  def recv_getAllItemsByStatusInRange(self, ):
2022
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
2023
    if mtype == TMessageType.EXCEPTION:
2024
      x = TApplicationException()
2025
      x.read(self._iprot)
2026
      self._iprot.readMessageEnd()
2027
      raise x
2028
    result = getAllItemsByStatusInRange_result()
2029
    result.read(self._iprot)
2030
    self._iprot.readMessageEnd()
2031
    if result.success is not None:
2032
      return result.success
2033
    if result.cex is not None:
2034
      raise result.cex
2035
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAllItemsByStatusInRange failed: unknown result");
2036
 
2037
  def getItemCountByStatus(self, useStatus, itemStatus):
2038
    """
2039
    Gets a count of all items by status
2040
 
2041
    Parameters:
2042
     - useStatus
2043
     - itemStatus
2044
    """
2045
    self.send_getItemCountByStatus(useStatus, itemStatus)
2046
    return self.recv_getItemCountByStatus()
2047
 
2048
  def send_getItemCountByStatus(self, useStatus, itemStatus):
2049
    self._oprot.writeMessageBegin('getItemCountByStatus', TMessageType.CALL, self._seqid)
2050
    args = getItemCountByStatus_args()
2051
    args.useStatus = useStatus
2052
    args.itemStatus = itemStatus
2053
    args.write(self._oprot)
2054
    self._oprot.writeMessageEnd()
2055
    self._oprot.trans.flush()
2056
 
2057
  def recv_getItemCountByStatus(self, ):
2058
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
2059
    if mtype == TMessageType.EXCEPTION:
2060
      x = TApplicationException()
2061
      x.read(self._iprot)
2062
      self._iprot.readMessageEnd()
2063
      raise x
2064
    result = getItemCountByStatus_result()
2065
    result.read(self._iprot)
2066
    self._iprot.readMessageEnd()
2067
    if result.success is not None:
2068
      return result.success
2069
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getItemCountByStatus failed: unknown result");
2070
 
2071
  def getBestSellers(self, ):
2072
    self.send_getBestSellers()
2073
    return self.recv_getBestSellers()
2074
 
2075
  def send_getBestSellers(self, ):
2076
    self._oprot.writeMessageBegin('getBestSellers', TMessageType.CALL, self._seqid)
2077
    args = getBestSellers_args()
2078
    args.write(self._oprot)
2079
    self._oprot.writeMessageEnd()
2080
    self._oprot.trans.flush()
2081
 
2082
  def recv_getBestSellers(self, ):
2083
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
2084
    if mtype == TMessageType.EXCEPTION:
2085
      x = TApplicationException()
2086
      x.read(self._iprot)
2087
      self._iprot.readMessageEnd()
2088
      raise x
2089
    result = getBestSellers_result()
2090
    result.read(self._iprot)
2091
    self._iprot.readMessageEnd()
2092
    if result.success is not None:
2093
      return result.success
2094
    if result.isex is not None:
2095
      raise result.isex
2096
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getBestSellers failed: unknown result");
2097
 
2098
  def getBestSellersCatalogIds(self, beginIndex, totalItems, brand, category):
2099
    """
2100
    Parameters:
2101
     - beginIndex
2102
     - totalItems
2103
     - brand
2104
     - category
2105
    """
2106
    self.send_getBestSellersCatalogIds(beginIndex, totalItems, brand, category)
2107
    return self.recv_getBestSellersCatalogIds()
2108
 
2109
  def send_getBestSellersCatalogIds(self, beginIndex, totalItems, brand, category):
2110
    self._oprot.writeMessageBegin('getBestSellersCatalogIds', TMessageType.CALL, self._seqid)
2111
    args = getBestSellersCatalogIds_args()
2112
    args.beginIndex = beginIndex
2113
    args.totalItems = totalItems
2114
    args.brand = brand
2115
    args.category = category
2116
    args.write(self._oprot)
2117
    self._oprot.writeMessageEnd()
2118
    self._oprot.trans.flush()
2119
 
2120
  def recv_getBestSellersCatalogIds(self, ):
2121
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
2122
    if mtype == TMessageType.EXCEPTION:
2123
      x = TApplicationException()
2124
      x.read(self._iprot)
2125
      self._iprot.readMessageEnd()
2126
      raise x
2127
    result = getBestSellersCatalogIds_result()
2128
    result.read(self._iprot)
2129
    self._iprot.readMessageEnd()
2130
    if result.success is not None:
2131
      return result.success
2132
    if result.cex is not None:
2133
      raise result.cex
2134
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getBestSellersCatalogIds failed: unknown result");
2135
 
2136
  def getBestSellersCount(self, ):
2137
    self.send_getBestSellersCount()
2138
    return self.recv_getBestSellersCount()
2139
 
2140
  def send_getBestSellersCount(self, ):
2141
    self._oprot.writeMessageBegin('getBestSellersCount', TMessageType.CALL, self._seqid)
2142
    args = getBestSellersCount_args()
2143
    args.write(self._oprot)
2144
    self._oprot.writeMessageEnd()
2145
    self._oprot.trans.flush()
2146
 
2147
  def recv_getBestSellersCount(self, ):
2148
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
2149
    if mtype == TMessageType.EXCEPTION:
2150
      x = TApplicationException()
2151
      x.read(self._iprot)
2152
      self._iprot.readMessageEnd()
2153
      raise x
2154
    result = getBestSellersCount_result()
2155
    result.read(self._iprot)
2156
    self._iprot.readMessageEnd()
2157
    if result.success is not None:
2158
      return result.success
2159
    if result.cex is not None:
2160
      raise result.cex
2161
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getBestSellersCount failed: unknown result");
2162
 
2163
  def getBestDeals(self, ):
2164
    self.send_getBestDeals()
2165
    return self.recv_getBestDeals()
2166
 
2167
  def send_getBestDeals(self, ):
2168
    self._oprot.writeMessageBegin('getBestDeals', TMessageType.CALL, self._seqid)
2169
    args = getBestDeals_args()
2170
    args.write(self._oprot)
2171
    self._oprot.writeMessageEnd()
2172
    self._oprot.trans.flush()
2173
 
2174
  def recv_getBestDeals(self, ):
2175
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
2176
    if mtype == TMessageType.EXCEPTION:
2177
      x = TApplicationException()
2178
      x.read(self._iprot)
2179
      self._iprot.readMessageEnd()
2180
      raise x
2181
    result = getBestDeals_result()
2182
    result.read(self._iprot)
2183
    self._iprot.readMessageEnd()
2184
    if result.success is not None:
2185
      return result.success
2186
    if result.isex is not None:
2187
      raise result.isex
2188
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getBestDeals failed: unknown result");
2189
 
2190
  def getBestDealsCatalogIds(self, beginIndex, totalItems, brand, category):
2191
    """
2192
    Parameters:
2193
     - beginIndex
2194
     - totalItems
2195
     - brand
2196
     - category
2197
    """
2198
    self.send_getBestDealsCatalogIds(beginIndex, totalItems, brand, category)
2199
    return self.recv_getBestDealsCatalogIds()
2200
 
2201
  def send_getBestDealsCatalogIds(self, beginIndex, totalItems, brand, category):
2202
    self._oprot.writeMessageBegin('getBestDealsCatalogIds', TMessageType.CALL, self._seqid)
2203
    args = getBestDealsCatalogIds_args()
2204
    args.beginIndex = beginIndex
2205
    args.totalItems = totalItems
2206
    args.brand = brand
2207
    args.category = category
2208
    args.write(self._oprot)
2209
    self._oprot.writeMessageEnd()
2210
    self._oprot.trans.flush()
2211
 
2212
  def recv_getBestDealsCatalogIds(self, ):
2213
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
2214
    if mtype == TMessageType.EXCEPTION:
2215
      x = TApplicationException()
2216
      x.read(self._iprot)
2217
      self._iprot.readMessageEnd()
2218
      raise x
2219
    result = getBestDealsCatalogIds_result()
2220
    result.read(self._iprot)
2221
    self._iprot.readMessageEnd()
2222
    if result.success is not None:
2223
      return result.success
2224
    if result.cex is not None:
2225
      raise result.cex
2226
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getBestDealsCatalogIds failed: unknown result");
2227
 
2228
  def getBestDealsCount(self, ):
2229
    self.send_getBestDealsCount()
2230
    return self.recv_getBestDealsCount()
2231
 
2232
  def send_getBestDealsCount(self, ):
2233
    self._oprot.writeMessageBegin('getBestDealsCount', TMessageType.CALL, self._seqid)
2234
    args = getBestDealsCount_args()
2235
    args.write(self._oprot)
2236
    self._oprot.writeMessageEnd()
2237
    self._oprot.trans.flush()
2238
 
2239
  def recv_getBestDealsCount(self, ):
2240
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
2241
    if mtype == TMessageType.EXCEPTION:
2242
      x = TApplicationException()
2243
      x.read(self._iprot)
2244
      self._iprot.readMessageEnd()
2245
      raise x
2246
    result = getBestDealsCount_result()
2247
    result.read(self._iprot)
2248
    self._iprot.readMessageEnd()
2249
    if result.success is not None:
2250
      return result.success
2251
    if result.cex is not None:
2252
      raise result.cex
2253
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getBestDealsCount failed: unknown result");
2254
 
2255
  def getComingSoon(self, ):
2256
    self.send_getComingSoon()
2257
    return self.recv_getComingSoon()
2258
 
2259
  def send_getComingSoon(self, ):
2260
    self._oprot.writeMessageBegin('getComingSoon', TMessageType.CALL, self._seqid)
2261
    args = getComingSoon_args()
2262
    args.write(self._oprot)
2263
    self._oprot.writeMessageEnd()
2264
    self._oprot.trans.flush()
2265
 
2266
  def recv_getComingSoon(self, ):
2267
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
2268
    if mtype == TMessageType.EXCEPTION:
2269
      x = TApplicationException()
2270
      x.read(self._iprot)
2271
      self._iprot.readMessageEnd()
2272
      raise x
2273
    result = getComingSoon_result()
2274
    result.read(self._iprot)
2275
    self._iprot.readMessageEnd()
2276
    if result.success is not None:
2277
      return result.success
2278
    if result.isex is not None:
2279
      raise result.isex
2280
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getComingSoon failed: unknown result");
2281
 
2282
  def getComingSoonCatalogIds(self, beginIndex, totalItems, brand, category):
2283
    """
2284
    Parameters:
2285
     - beginIndex
2286
     - totalItems
2287
     - brand
2288
     - category
2289
    """
2290
    self.send_getComingSoonCatalogIds(beginIndex, totalItems, brand, category)
2291
    return self.recv_getComingSoonCatalogIds()
2292
 
2293
  def send_getComingSoonCatalogIds(self, beginIndex, totalItems, brand, category):
2294
    self._oprot.writeMessageBegin('getComingSoonCatalogIds', TMessageType.CALL, self._seqid)
2295
    args = getComingSoonCatalogIds_args()
2296
    args.beginIndex = beginIndex
2297
    args.totalItems = totalItems
2298
    args.brand = brand
2299
    args.category = category
2300
    args.write(self._oprot)
2301
    self._oprot.writeMessageEnd()
2302
    self._oprot.trans.flush()
2303
 
2304
  def recv_getComingSoonCatalogIds(self, ):
2305
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
2306
    if mtype == TMessageType.EXCEPTION:
2307
      x = TApplicationException()
2308
      x.read(self._iprot)
2309
      self._iprot.readMessageEnd()
2310
      raise x
2311
    result = getComingSoonCatalogIds_result()
2312
    result.read(self._iprot)
2313
    self._iprot.readMessageEnd()
2314
    if result.success is not None:
2315
      return result.success
2316
    if result.cex is not None:
2317
      raise result.cex
2318
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getComingSoonCatalogIds failed: unknown result");
2319
 
2320
  def getComingSoonCount(self, ):
2321
    self.send_getComingSoonCount()
2322
    return self.recv_getComingSoonCount()
2323
 
2324
  def send_getComingSoonCount(self, ):
2325
    self._oprot.writeMessageBegin('getComingSoonCount', TMessageType.CALL, self._seqid)
2326
    args = getComingSoonCount_args()
2327
    args.write(self._oprot)
2328
    self._oprot.writeMessageEnd()
2329
    self._oprot.trans.flush()
2330
 
2331
  def recv_getComingSoonCount(self, ):
2332
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
2333
    if mtype == TMessageType.EXCEPTION:
2334
      x = TApplicationException()
2335
      x.read(self._iprot)
2336
      self._iprot.readMessageEnd()
2337
      raise x
2338
    result = getComingSoonCount_result()
2339
    result.read(self._iprot)
2340
    self._iprot.readMessageEnd()
2341
    if result.success is not None:
2342
      return result.success
2343
    if result.cex is not None:
2344
      raise result.cex
2345
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getComingSoonCount failed: unknown result");
2346
 
2347
  def getLatestArrivals(self, ):
2348
    """
2349
    Returns a list of items sorted in the descending order by start date.
2350
    The list is limited to the 'latest_arrivals_count' configuraiton parameter.
2351
    """
2352
    self.send_getLatestArrivals()
2353
    return self.recv_getLatestArrivals()
2354
 
2355
  def send_getLatestArrivals(self, ):
2356
    self._oprot.writeMessageBegin('getLatestArrivals', TMessageType.CALL, self._seqid)
2357
    args = getLatestArrivals_args()
2358
    args.write(self._oprot)
2359
    self._oprot.writeMessageEnd()
2360
    self._oprot.trans.flush()
2361
 
2362
  def recv_getLatestArrivals(self, ):
2363
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
2364
    if mtype == TMessageType.EXCEPTION:
2365
      x = TApplicationException()
2366
      x.read(self._iprot)
2367
      self._iprot.readMessageEnd()
2368
      raise x
2369
    result = getLatestArrivals_result()
2370
    result.read(self._iprot)
2371
    self._iprot.readMessageEnd()
2372
    if result.success is not None:
2373
      return result.success
2374
    if result.isex is not None:
2375
      raise result.isex
2376
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getLatestArrivals failed: unknown result");
2377
 
2378
  def getLatestArrivalsCatalogIds(self, beginIndex, totalItems, brand, categories):
2379
    """
2380
    Returns the list of catalog ids of latest arrivals in the given categories of the given brand.
2381
    To ignore the categories, pass the list as empty. To ignore brand, pass it as null.
2382
 
2383
    Parameters:
2384
     - beginIndex
2385
     - totalItems
2386
     - brand
2387
     - categories
2388
    """
2389
    self.send_getLatestArrivalsCatalogIds(beginIndex, totalItems, brand, categories)
2390
    return self.recv_getLatestArrivalsCatalogIds()
2391
 
2392
  def send_getLatestArrivalsCatalogIds(self, beginIndex, totalItems, brand, categories):
2393
    self._oprot.writeMessageBegin('getLatestArrivalsCatalogIds', TMessageType.CALL, self._seqid)
2394
    args = getLatestArrivalsCatalogIds_args()
2395
    args.beginIndex = beginIndex
2396
    args.totalItems = totalItems
2397
    args.brand = brand
2398
    args.categories = categories
2399
    args.write(self._oprot)
2400
    self._oprot.writeMessageEnd()
2401
    self._oprot.trans.flush()
2402
 
2403
  def recv_getLatestArrivalsCatalogIds(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 = getLatestArrivalsCatalogIds_result()
2411
    result.read(self._iprot)
2412
    self._iprot.readMessageEnd()
2413
    if result.success is not None:
2414
      return result.success
2415
    if result.cex is not None:
2416
      raise result.cex
2417
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getLatestArrivalsCatalogIds failed: unknown result");
2418
 
2419
  def getLatestArrivalsCount(self, ):
2420
    """
2421
    Get the total number of latest arrivals we are willing to show.
2422
    The count's upper bound is the 'latest_arrivals_count' configuraiton parameter.
2423
    """
2424
    self.send_getLatestArrivalsCount()
2425
    return self.recv_getLatestArrivalsCount()
2426
 
2427
  def send_getLatestArrivalsCount(self, ):
2428
    self._oprot.writeMessageBegin('getLatestArrivalsCount', TMessageType.CALL, self._seqid)
2429
    args = getLatestArrivalsCount_args()
2430
    args.write(self._oprot)
2431
    self._oprot.writeMessageEnd()
2432
    self._oprot.trans.flush()
2433
 
2434
  def recv_getLatestArrivalsCount(self, ):
2435
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
2436
    if mtype == TMessageType.EXCEPTION:
2437
      x = TApplicationException()
2438
      x.read(self._iprot)
2439
      self._iprot.readMessageEnd()
2440
      raise x
2441
    result = getLatestArrivalsCount_result()
2442
    result.read(self._iprot)
2443
    self._iprot.readMessageEnd()
2444
    if result.success is not None:
2445
      return result.success
2446
    if result.cex is not None:
2447
      raise result.cex
2448
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getLatestArrivalsCount failed: unknown result");
2449
 
2450
  def generateNewEntityID(self, ):
2451
    self.send_generateNewEntityID()
2452
    return self.recv_generateNewEntityID()
2453
 
2454
  def send_generateNewEntityID(self, ):
2455
    self._oprot.writeMessageBegin('generateNewEntityID', TMessageType.CALL, self._seqid)
2456
    args = generateNewEntityID_args()
2457
    args.write(self._oprot)
2458
    self._oprot.writeMessageEnd()
2459
    self._oprot.trans.flush()
2460
 
2461
  def recv_generateNewEntityID(self, ):
2462
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
2463
    if mtype == TMessageType.EXCEPTION:
2464
      x = TApplicationException()
2465
      x.read(self._iprot)
2466
      self._iprot.readMessageEnd()
2467
      raise x
2468
    result = generateNewEntityID_result()
2469
    result.read(self._iprot)
2470
    self._iprot.readMessageEnd()
2471
    if result.success is not None:
2472
      return result.success
2473
    raise TApplicationException(TApplicationException.MISSING_RESULT, "generateNewEntityID failed: unknown result");
2474
 
2475
  def addCategory(self, category):
2476
    """
2477
    All category related functions
2478
 
2479
    Parameters:
2480
     - category
2481
    """
2482
    self.send_addCategory(category)
2483
    return self.recv_addCategory()
2484
 
2485
  def send_addCategory(self, category):
2486
    self._oprot.writeMessageBegin('addCategory', TMessageType.CALL, self._seqid)
2487
    args = addCategory_args()
2488
    args.category = category
2489
    args.write(self._oprot)
2490
    self._oprot.writeMessageEnd()
2491
    self._oprot.trans.flush()
2492
 
2493
  def recv_addCategory(self, ):
2494
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
2495
    if mtype == TMessageType.EXCEPTION:
2496
      x = TApplicationException()
2497
      x.read(self._iprot)
2498
      self._iprot.readMessageEnd()
2499
      raise x
2500
    result = addCategory_result()
2501
    result.read(self._iprot)
2502
    self._iprot.readMessageEnd()
2503
    if result.success is not None:
2504
      return result.success
2505
    raise TApplicationException(TApplicationException.MISSING_RESULT, "addCategory failed: unknown result");
2506
 
2507
  def getCategory(self, id):
2508
    """
2509
    Parameters:
2510
     - id
2511
    """
2512
    self.send_getCategory(id)
2513
    return self.recv_getCategory()
2514
 
2515
  def send_getCategory(self, id):
2516
    self._oprot.writeMessageBegin('getCategory', TMessageType.CALL, self._seqid)
2517
    args = getCategory_args()
2518
    args.id = id
2519
    args.write(self._oprot)
2520
    self._oprot.writeMessageEnd()
2521
    self._oprot.trans.flush()
2522
 
2523
  def recv_getCategory(self, ):
2524
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
2525
    if mtype == TMessageType.EXCEPTION:
2526
      x = TApplicationException()
2527
      x.read(self._iprot)
2528
      self._iprot.readMessageEnd()
2529
      raise x
2530
    result = getCategory_result()
2531
    result.read(self._iprot)
2532
    self._iprot.readMessageEnd()
2533
    if result.success is not None:
2534
      return result.success
2535
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getCategory failed: unknown result");
2536
 
2537
  def getAllCategories(self, ):
2538
    self.send_getAllCategories()
2539
    return self.recv_getAllCategories()
2540
 
2541
  def send_getAllCategories(self, ):
2542
    self._oprot.writeMessageBegin('getAllCategories', TMessageType.CALL, self._seqid)
2543
    args = getAllCategories_args()
2544
    args.write(self._oprot)
2545
    self._oprot.writeMessageEnd()
2546
    self._oprot.trans.flush()
2547
 
2548
  def recv_getAllCategories(self, ):
2549
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
2550
    if mtype == TMessageType.EXCEPTION:
2551
      x = TApplicationException()
2552
      x.read(self._iprot)
2553
      self._iprot.readMessageEnd()
2554
      raise x
2555
    result = getAllCategories_result()
2556
    result.read(self._iprot)
2557
    self._iprot.readMessageEnd()
2558
    if result.success is not None:
2559
      return result.success
2560
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAllCategories failed: unknown result");
2561
 
2562
  def getAllSimilarItems(self, itemId):
2563
    """
2564
    Returns the list of similar items.
2565
 
2566
    Parameters:
2567
     - itemId
2568
    """
2569
    self.send_getAllSimilarItems(itemId)
2570
    return self.recv_getAllSimilarItems()
2571
 
2572
  def send_getAllSimilarItems(self, itemId):
2573
    self._oprot.writeMessageBegin('getAllSimilarItems', TMessageType.CALL, self._seqid)
2574
    args = getAllSimilarItems_args()
2575
    args.itemId = itemId
2576
    args.write(self._oprot)
2577
    self._oprot.writeMessageEnd()
2578
    self._oprot.trans.flush()
2579
 
2580
  def recv_getAllSimilarItems(self, ):
2581
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
2582
    if mtype == TMessageType.EXCEPTION:
2583
      x = TApplicationException()
2584
      x.read(self._iprot)
2585
      self._iprot.readMessageEnd()
2586
      raise x
2587
    result = getAllSimilarItems_result()
2588
    result.read(self._iprot)
2589
    self._iprot.readMessageEnd()
2590
    if result.success is not None:
2591
      return result.success
2592
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAllSimilarItems failed: unknown result");
2593
 
2594
  def addSimilarItem(self, itemId, catalogItemId):
2595
    """
2596
    Adds similar item.
2597
 
2598
    Parameters:
2599
     - itemId
2600
     - catalogItemId
2601
    """
2602
    self.send_addSimilarItem(itemId, catalogItemId)
2603
    return self.recv_addSimilarItem()
2604
 
2605
  def send_addSimilarItem(self, itemId, catalogItemId):
2606
    self._oprot.writeMessageBegin('addSimilarItem', TMessageType.CALL, self._seqid)
2607
    args = addSimilarItem_args()
2608
    args.itemId = itemId
2609
    args.catalogItemId = catalogItemId
2610
    args.write(self._oprot)
2611
    self._oprot.writeMessageEnd()
2612
    self._oprot.trans.flush()
2613
 
2614
  def recv_addSimilarItem(self, ):
2615
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
2616
    if mtype == TMessageType.EXCEPTION:
2617
      x = TApplicationException()
2618
      x.read(self._iprot)
2619
      self._iprot.readMessageEnd()
2620
      raise x
2621
    result = addSimilarItem_result()
2622
    result.read(self._iprot)
2623
    self._iprot.readMessageEnd()
2624
    if result.success is not None:
2625
      return result.success
2626
    if result.cex is not None:
2627
      raise result.cex
2628
    raise TApplicationException(TApplicationException.MISSING_RESULT, "addSimilarItem failed: unknown result");
2629
 
6512 kshitij.so 2630
  def addTag(self, displayName, itemId):
2631
    """
2632
    Tag Related
2633
 
2634
    Parameters:
2635
     - displayName
2636
     - itemId
2637
    """
2638
    self.send_addTag(displayName, itemId)
2639
    return self.recv_addTag()
2640
 
2641
  def send_addTag(self, displayName, itemId):
2642
    self._oprot.writeMessageBegin('addTag', TMessageType.CALL, self._seqid)
2643
    args = addTag_args()
2644
    args.displayName = displayName
2645
    args.itemId = itemId
2646
    args.write(self._oprot)
2647
    self._oprot.writeMessageEnd()
2648
    self._oprot.trans.flush()
2649
 
2650
  def recv_addTag(self, ):
2651
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
2652
    if mtype == TMessageType.EXCEPTION:
2653
      x = TApplicationException()
2654
      x.read(self._iprot)
2655
      self._iprot.readMessageEnd()
2656
      raise x
2657
    result = addTag_result()
2658
    result.read(self._iprot)
2659
    self._iprot.readMessageEnd()
2660
    if result.success is not None:
2661
      return result.success
2662
    raise TApplicationException(TApplicationException.MISSING_RESULT, "addTag failed: unknown result");
2663
 
2664
  def deleteEntityTag(self, displayName, itemId):
2665
    """
2666
    Parameters:
2667
     - displayName
2668
     - itemId
2669
    """
2670
    self.send_deleteEntityTag(displayName, itemId)
2671
    return self.recv_deleteEntityTag()
2672
 
2673
  def send_deleteEntityTag(self, displayName, itemId):
2674
    self._oprot.writeMessageBegin('deleteEntityTag', TMessageType.CALL, self._seqid)
2675
    args = deleteEntityTag_args()
2676
    args.displayName = displayName
2677
    args.itemId = itemId
2678
    args.write(self._oprot)
2679
    self._oprot.writeMessageEnd()
2680
    self._oprot.trans.flush()
2681
 
2682
  def recv_deleteEntityTag(self, ):
2683
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
2684
    if mtype == TMessageType.EXCEPTION:
2685
      x = TApplicationException()
2686
      x.read(self._iprot)
2687
      self._iprot.readMessageEnd()
2688
      raise x
2689
    result = deleteEntityTag_result()
2690
    result.read(self._iprot)
2691
    self._iprot.readMessageEnd()
2692
    if result.success is not None:
2693
      return result.success
2694
    raise TApplicationException(TApplicationException.MISSING_RESULT, "deleteEntityTag failed: unknown result");
2695
 
2696
  def deleteTag(self, displayName):
2697
    """
2698
    Parameters:
2699
     - displayName
2700
    """
2701
    self.send_deleteTag(displayName)
2702
    return self.recv_deleteTag()
2703
 
2704
  def send_deleteTag(self, displayName):
2705
    self._oprot.writeMessageBegin('deleteTag', TMessageType.CALL, self._seqid)
2706
    args = deleteTag_args()
2707
    args.displayName = displayName
2708
    args.write(self._oprot)
2709
    self._oprot.writeMessageEnd()
2710
    self._oprot.trans.flush()
2711
 
2712
  def recv_deleteTag(self, ):
2713
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
2714
    if mtype == TMessageType.EXCEPTION:
2715
      x = TApplicationException()
2716
      x.read(self._iprot)
2717
      self._iprot.readMessageEnd()
2718
      raise x
2719
    result = deleteTag_result()
2720
    result.read(self._iprot)
2721
    self._iprot.readMessageEnd()
2722
    if result.success is not None:
2723
      return result.success
2724
    raise TApplicationException(TApplicationException.MISSING_RESULT, "deleteTag failed: unknown result");
2725
 
2726
  def getAllTags(self, ):
2727
    self.send_getAllTags()
2728
    return self.recv_getAllTags()
2729
 
2730
  def send_getAllTags(self, ):
2731
    self._oprot.writeMessageBegin('getAllTags', TMessageType.CALL, self._seqid)
2732
    args = getAllTags_args()
2733
    args.write(self._oprot)
2734
    self._oprot.writeMessageEnd()
2735
    self._oprot.trans.flush()
2736
 
2737
  def recv_getAllTags(self, ):
2738
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
2739
    if mtype == TMessageType.EXCEPTION:
2740
      x = TApplicationException()
2741
      x.read(self._iprot)
2742
      self._iprot.readMessageEnd()
2743
      raise x
2744
    result = getAllTags_result()
2745
    result.read(self._iprot)
2746
    self._iprot.readMessageEnd()
2747
    if result.success is not None:
2748
      return result.success
2749
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAllTags failed: unknown result");
2750
 
2751
  def getAllEntitiesByTagName(self, displayName):
2752
    """
2753
    Parameters:
2754
     - displayName
2755
    """
2756
    self.send_getAllEntitiesByTagName(displayName)
2757
    return self.recv_getAllEntitiesByTagName()
2758
 
2759
  def send_getAllEntitiesByTagName(self, displayName):
2760
    self._oprot.writeMessageBegin('getAllEntitiesByTagName', TMessageType.CALL, self._seqid)
2761
    args = getAllEntitiesByTagName_args()
2762
    args.displayName = displayName
2763
    args.write(self._oprot)
2764
    self._oprot.writeMessageEnd()
2765
    self._oprot.trans.flush()
2766
 
2767
  def recv_getAllEntitiesByTagName(self, ):
2768
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
2769
    if mtype == TMessageType.EXCEPTION:
2770
      x = TApplicationException()
2771
      x.read(self._iprot)
2772
      self._iprot.readMessageEnd()
2773
      raise x
2774
    result = getAllEntitiesByTagName_result()
2775
    result.read(self._iprot)
2776
    self._iprot.readMessageEnd()
2777
    if result.success is not None:
2778
      return result.success
2779
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAllEntitiesByTagName failed: unknown result");
2780
 
6845 amit.gupta 2781
  def getAllEntityTags(self, ):
2782
    self.send_getAllEntityTags()
2783
    return self.recv_getAllEntityTags()
2784
 
2785
  def send_getAllEntityTags(self, ):
2786
    self._oprot.writeMessageBegin('getAllEntityTags', TMessageType.CALL, self._seqid)
2787
    args = getAllEntityTags_args()
2788
    args.write(self._oprot)
2789
    self._oprot.writeMessageEnd()
2790
    self._oprot.trans.flush()
2791
 
2792
  def recv_getAllEntityTags(self, ):
2793
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
2794
    if mtype == TMessageType.EXCEPTION:
2795
      x = TApplicationException()
2796
      x.read(self._iprot)
2797
      self._iprot.readMessageEnd()
2798
      raise x
2799
    result = getAllEntityTags_result()
2800
    result.read(self._iprot)
2801
    self._iprot.readMessageEnd()
2802
    if result.success is not None:
2803
      return result.success
2804
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAllEntityTags failed: unknown result");
2805
 
8590 kshitij.so 2806
  def addBanner(self, bannerCongregate):
6850 kshitij.so 2807
    """
8579 kshitij.so 2808
    Banner Related
2809
 
6850 kshitij.so 2810
    Parameters:
8590 kshitij.so 2811
     - bannerCongregate
6850 kshitij.so 2812
    """
8590 kshitij.so 2813
    self.send_addBanner(bannerCongregate)
10097 kshitij.so 2814
    return self.recv_addBanner()
6850 kshitij.so 2815
 
8590 kshitij.so 2816
  def send_addBanner(self, bannerCongregate):
6850 kshitij.so 2817
    self._oprot.writeMessageBegin('addBanner', TMessageType.CALL, self._seqid)
2818
    args = addBanner_args()
8590 kshitij.so 2819
    args.bannerCongregate = bannerCongregate
6850 kshitij.so 2820
    args.write(self._oprot)
2821
    self._oprot.writeMessageEnd()
2822
    self._oprot.trans.flush()
2823
 
2824
  def recv_addBanner(self, ):
2825
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
2826
    if mtype == TMessageType.EXCEPTION:
2827
      x = TApplicationException()
2828
      x.read(self._iprot)
2829
      self._iprot.readMessageEnd()
2830
      raise x
2831
    result = addBanner_result()
2832
    result.read(self._iprot)
2833
    self._iprot.readMessageEnd()
10097 kshitij.so 2834
    if result.success is not None:
2835
      return result.success
2836
    raise TApplicationException(TApplicationException.MISSING_RESULT, "addBanner failed: unknown result");
6850 kshitij.so 2837
 
8579 kshitij.so 2838
  def updateBanner(self, banner):
2839
    """
2840
    Parameters:
2841
     - banner
2842
    """
2843
    self.send_updateBanner(banner)
2844
    return self.recv_updateBanner()
2845
 
2846
  def send_updateBanner(self, banner):
2847
    self._oprot.writeMessageBegin('updateBanner', TMessageType.CALL, self._seqid)
2848
    args = updateBanner_args()
2849
    args.banner = banner
2850
    args.write(self._oprot)
2851
    self._oprot.writeMessageEnd()
2852
    self._oprot.trans.flush()
2853
 
2854
  def recv_updateBanner(self, ):
2855
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
2856
    if mtype == TMessageType.EXCEPTION:
2857
      x = TApplicationException()
2858
      x.read(self._iprot)
2859
      self._iprot.readMessageEnd()
2860
      raise x
2861
    result = updateBanner_result()
2862
    result.read(self._iprot)
2863
    self._iprot.readMessageEnd()
2864
    if result.success is not None:
2865
      return result.success
2866
    raise TApplicationException(TApplicationException.MISSING_RESULT, "updateBanner failed: unknown result");
2867
 
6850 kshitij.so 2868
  def getAllBanners(self, ):
2869
    self.send_getAllBanners()
2870
    return self.recv_getAllBanners()
2871
 
2872
  def send_getAllBanners(self, ):
2873
    self._oprot.writeMessageBegin('getAllBanners', TMessageType.CALL, self._seqid)
2874
    args = getAllBanners_args()
2875
    args.write(self._oprot)
2876
    self._oprot.writeMessageEnd()
2877
    self._oprot.trans.flush()
2878
 
2879
  def recv_getAllBanners(self, ):
2880
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
2881
    if mtype == TMessageType.EXCEPTION:
2882
      x = TApplicationException()
2883
      x.read(self._iprot)
2884
      self._iprot.readMessageEnd()
2885
      raise x
2886
    result = getAllBanners_result()
2887
    result.read(self._iprot)
2888
    self._iprot.readMessageEnd()
2889
    if result.success is not None:
2890
      return result.success
2891
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAllBanners failed: unknown result");
2892
 
9155 kshitij.so 2893
  def deleteBanner(self, bannerName, bannerType):
6850 kshitij.so 2894
    """
2895
    Parameters:
2896
     - bannerName
9155 kshitij.so 2897
     - bannerType
6850 kshitij.so 2898
    """
9155 kshitij.so 2899
    self.send_deleteBanner(bannerName, bannerType)
6850 kshitij.so 2900
    return self.recv_deleteBanner()
2901
 
9155 kshitij.so 2902
  def send_deleteBanner(self, bannerName, bannerType):
6850 kshitij.so 2903
    self._oprot.writeMessageBegin('deleteBanner', TMessageType.CALL, self._seqid)
2904
    args = deleteBanner_args()
2905
    args.bannerName = bannerName
9155 kshitij.so 2906
    args.bannerType = bannerType
6850 kshitij.so 2907
    args.write(self._oprot)
2908
    self._oprot.writeMessageEnd()
2909
    self._oprot.trans.flush()
2910
 
2911
  def recv_deleteBanner(self, ):
2912
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
2913
    if mtype == TMessageType.EXCEPTION:
2914
      x = TApplicationException()
2915
      x.read(self._iprot)
2916
      self._iprot.readMessageEnd()
2917
      raise x
2918
    result = deleteBanner_result()
2919
    result.read(self._iprot)
2920
    self._iprot.readMessageEnd()
2921
    if result.success is not None:
2922
      return result.success
2923
    raise TApplicationException(TApplicationException.MISSING_RESULT, "deleteBanner failed: unknown result");
2924
 
9155 kshitij.so 2925
  def getBannerDetails(self, bannerName, bannerType):
6850 kshitij.so 2926
    """
2927
    Parameters:
2928
     - bannerName
9155 kshitij.so 2929
     - bannerType
6850 kshitij.so 2930
    """
9155 kshitij.so 2931
    self.send_getBannerDetails(bannerName, bannerType)
6850 kshitij.so 2932
    return self.recv_getBannerDetails()
2933
 
9155 kshitij.so 2934
  def send_getBannerDetails(self, bannerName, bannerType):
6850 kshitij.so 2935
    self._oprot.writeMessageBegin('getBannerDetails', TMessageType.CALL, self._seqid)
2936
    args = getBannerDetails_args()
2937
    args.bannerName = bannerName
9155 kshitij.so 2938
    args.bannerType = bannerType
6850 kshitij.so 2939
    args.write(self._oprot)
2940
    self._oprot.writeMessageEnd()
2941
    self._oprot.trans.flush()
2942
 
2943
  def recv_getBannerDetails(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 = getBannerDetails_result()
2951
    result.read(self._iprot)
2952
    self._iprot.readMessageEnd()
2953
    if result.success is not None:
2954
      return result.success
2955
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getBannerDetails failed: unknown result");
2956
 
2957
  def getActiveBanners(self, ):
2958
    self.send_getActiveBanners()
2959
    return self.recv_getActiveBanners()
2960
 
2961
  def send_getActiveBanners(self, ):
2962
    self._oprot.writeMessageBegin('getActiveBanners', TMessageType.CALL, self._seqid)
2963
    args = getActiveBanners_args()
2964
    args.write(self._oprot)
2965
    self._oprot.writeMessageEnd()
2966
    self._oprot.trans.flush()
2967
 
2968
  def recv_getActiveBanners(self, ):
2969
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
2970
    if mtype == TMessageType.EXCEPTION:
2971
      x = TApplicationException()
2972
      x.read(self._iprot)
2973
      self._iprot.readMessageEnd()
2974
      raise x
2975
    result = getActiveBanners_result()
2976
    result.read(self._iprot)
2977
    self._iprot.readMessageEnd()
2978
    if result.success is not None:
2979
      return result.success
2980
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getActiveBanners failed: unknown result");
2981
 
8579 kshitij.so 2982
  def addBannerMap(self, bannerMaps):
6849 kshitij.so 2983
    """
2984
    Parameters:
8579 kshitij.so 2985
     - bannerMaps
6849 kshitij.so 2986
    """
8579 kshitij.so 2987
    self.send_addBannerMap(bannerMaps)
6849 kshitij.so 2988
    return self.recv_addBannerMap()
2989
 
8579 kshitij.so 2990
  def send_addBannerMap(self, bannerMaps):
6849 kshitij.so 2991
    self._oprot.writeMessageBegin('addBannerMap', TMessageType.CALL, self._seqid)
2992
    args = addBannerMap_args()
8579 kshitij.so 2993
    args.bannerMaps = bannerMaps
6849 kshitij.so 2994
    args.write(self._oprot)
2995
    self._oprot.writeMessageEnd()
2996
    self._oprot.trans.flush()
2997
 
2998
  def recv_addBannerMap(self, ):
2999
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
3000
    if mtype == TMessageType.EXCEPTION:
3001
      x = TApplicationException()
3002
      x.read(self._iprot)
3003
      self._iprot.readMessageEnd()
3004
      raise x
3005
    result = addBannerMap_result()
3006
    result.read(self._iprot)
3007
    self._iprot.readMessageEnd()
3008
    if result.success is not None:
3009
      return result.success
3010
    raise TApplicationException(TApplicationException.MISSING_RESULT, "addBannerMap failed: unknown result");
3011
 
8579 kshitij.so 3012
  def updateBannerMap(self, bannerMap):
3013
    """
3014
    Parameters:
3015
     - bannerMap
3016
    """
3017
    self.send_updateBannerMap(bannerMap)
3018
    return self.recv_updateBannerMap()
3019
 
3020
  def send_updateBannerMap(self, bannerMap):
3021
    self._oprot.writeMessageBegin('updateBannerMap', TMessageType.CALL, self._seqid)
3022
    args = updateBannerMap_args()
3023
    args.bannerMap = bannerMap
3024
    args.write(self._oprot)
3025
    self._oprot.writeMessageEnd()
3026
    self._oprot.trans.flush()
3027
 
3028
  def recv_updateBannerMap(self, ):
3029
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
3030
    if mtype == TMessageType.EXCEPTION:
3031
      x = TApplicationException()
3032
      x.read(self._iprot)
3033
      self._iprot.readMessageEnd()
3034
      raise x
3035
    result = updateBannerMap_result()
3036
    result.read(self._iprot)
3037
    self._iprot.readMessageEnd()
3038
    if result.success is not None:
3039
      return result.success
3040
    raise TApplicationException(TApplicationException.MISSING_RESULT, "updateBannerMap failed: unknown result");
3041
 
6849 kshitij.so 3042
  def deleteBannerMap(self, bannerName):
3043
    """
3044
    Parameters:
3045
     - bannerName
3046
    """
3047
    self.send_deleteBannerMap(bannerName)
3048
    return self.recv_deleteBannerMap()
3049
 
3050
  def send_deleteBannerMap(self, bannerName):
3051
    self._oprot.writeMessageBegin('deleteBannerMap', TMessageType.CALL, self._seqid)
3052
    args = deleteBannerMap_args()
3053
    args.bannerName = bannerName
3054
    args.write(self._oprot)
3055
    self._oprot.writeMessageEnd()
3056
    self._oprot.trans.flush()
3057
 
3058
  def recv_deleteBannerMap(self, ):
3059
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
3060
    if mtype == TMessageType.EXCEPTION:
3061
      x = TApplicationException()
3062
      x.read(self._iprot)
3063
      self._iprot.readMessageEnd()
3064
      raise x
3065
    result = deleteBannerMap_result()
3066
    result.read(self._iprot)
3067
    self._iprot.readMessageEnd()
3068
    if result.success is not None:
3069
      return result.success
3070
    raise TApplicationException(TApplicationException.MISSING_RESULT, "deleteBannerMap failed: unknown result");
3071
 
9155 kshitij.so 3072
  def getBannerMapDetails(self, bannerName, bannerType):
6849 kshitij.so 3073
    """
3074
    Parameters:
3075
     - bannerName
9155 kshitij.so 3076
     - bannerType
6849 kshitij.so 3077
    """
9155 kshitij.so 3078
    self.send_getBannerMapDetails(bannerName, bannerType)
6849 kshitij.so 3079
    return self.recv_getBannerMapDetails()
3080
 
9155 kshitij.so 3081
  def send_getBannerMapDetails(self, bannerName, bannerType):
6849 kshitij.so 3082
    self._oprot.writeMessageBegin('getBannerMapDetails', TMessageType.CALL, self._seqid)
3083
    args = getBannerMapDetails_args()
3084
    args.bannerName = bannerName
9155 kshitij.so 3085
    args.bannerType = bannerType
6849 kshitij.so 3086
    args.write(self._oprot)
3087
    self._oprot.writeMessageEnd()
3088
    self._oprot.trans.flush()
3089
 
3090
  def recv_getBannerMapDetails(self, ):
3091
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
3092
    if mtype == TMessageType.EXCEPTION:
3093
      x = TApplicationException()
3094
      x.read(self._iprot)
3095
      self._iprot.readMessageEnd()
3096
      raise x
3097
    result = getBannerMapDetails_result()
3098
    result.read(self._iprot)
3099
    self._iprot.readMessageEnd()
3100
    if result.success is not None:
3101
      return result.success
3102
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getBannerMapDetails failed: unknown result");
3103
 
8579 kshitij.so 3104
  def addBannerUri(self, bannerUriMappings):
3105
    """
3106
    Parameters:
3107
     - bannerUriMappings
3108
    """
3109
    self.send_addBannerUri(bannerUriMappings)
3110
    self.recv_addBannerUri()
3111
 
3112
  def send_addBannerUri(self, bannerUriMappings):
3113
    self._oprot.writeMessageBegin('addBannerUri', TMessageType.CALL, self._seqid)
3114
    args = addBannerUri_args()
3115
    args.bannerUriMappings = bannerUriMappings
3116
    args.write(self._oprot)
3117
    self._oprot.writeMessageEnd()
3118
    self._oprot.trans.flush()
3119
 
3120
  def recv_addBannerUri(self, ):
3121
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
3122
    if mtype == TMessageType.EXCEPTION:
3123
      x = TApplicationException()
3124
      x.read(self._iprot)
3125
      self._iprot.readMessageEnd()
3126
      raise x
3127
    result = addBannerUri_result()
3128
    result.read(self._iprot)
3129
    self._iprot.readMessageEnd()
3130
    return
3131
 
9155 kshitij.so 3132
  def getUriMapping(self, bannerName, bannerType):
8579 kshitij.so 3133
    """
3134
    Parameters:
3135
     - bannerName
9155 kshitij.so 3136
     - bannerType
8579 kshitij.so 3137
    """
9155 kshitij.so 3138
    self.send_getUriMapping(bannerName, bannerType)
8579 kshitij.so 3139
    return self.recv_getUriMapping()
3140
 
9155 kshitij.so 3141
  def send_getUriMapping(self, bannerName, bannerType):
8579 kshitij.so 3142
    self._oprot.writeMessageBegin('getUriMapping', TMessageType.CALL, self._seqid)
3143
    args = getUriMapping_args()
3144
    args.bannerName = bannerName
9155 kshitij.so 3145
    args.bannerType = bannerType
8579 kshitij.so 3146
    args.write(self._oprot)
3147
    self._oprot.writeMessageEnd()
3148
    self._oprot.trans.flush()
3149
 
3150
  def recv_getUriMapping(self, ):
3151
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
3152
    if mtype == TMessageType.EXCEPTION:
3153
      x = TApplicationException()
3154
      x.read(self._iprot)
3155
      self._iprot.readMessageEnd()
3156
      raise x
3157
    result = getUriMapping_result()
3158
    result.read(self._iprot)
3159
    self._iprot.readMessageEnd()
3160
    if result.success is not None:
3161
      return result.success
3162
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getUriMapping failed: unknown result");
3163
 
3164
  def addCampaign(self, campaign):
3165
    """
3166
    Parameters:
3167
     - campaign
3168
    """
3169
    self.send_addCampaign(campaign)
3170
    self.recv_addCampaign()
3171
 
3172
  def send_addCampaign(self, campaign):
3173
    self._oprot.writeMessageBegin('addCampaign', TMessageType.CALL, self._seqid)
3174
    args = addCampaign_args()
3175
    args.campaign = campaign
3176
    args.write(self._oprot)
3177
    self._oprot.writeMessageEnd()
3178
    self._oprot.trans.flush()
3179
 
3180
  def recv_addCampaign(self, ):
3181
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
3182
    if mtype == TMessageType.EXCEPTION:
3183
      x = TApplicationException()
3184
      x.read(self._iprot)
3185
      self._iprot.readMessageEnd()
3186
      raise x
3187
    result = addCampaign_result()
3188
    result.read(self._iprot)
3189
    self._iprot.readMessageEnd()
3190
    return
3191
 
3192
  def getCampaigns(self, campaignName):
3193
    """
3194
    Parameters:
3195
     - campaignName
3196
    """
3197
    self.send_getCampaigns(campaignName)
3198
    return self.recv_getCampaigns()
3199
 
3200
  def send_getCampaigns(self, campaignName):
3201
    self._oprot.writeMessageBegin('getCampaigns', TMessageType.CALL, self._seqid)
3202
    args = getCampaigns_args()
3203
    args.campaignName = campaignName
3204
    args.write(self._oprot)
3205
    self._oprot.writeMessageEnd()
3206
    self._oprot.trans.flush()
3207
 
3208
  def recv_getCampaigns(self, ):
3209
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
3210
    if mtype == TMessageType.EXCEPTION:
3211
      x = TApplicationException()
3212
      x.read(self._iprot)
3213
      self._iprot.readMessageEnd()
3214
      raise x
3215
    result = getCampaigns_result()
3216
    result.read(self._iprot)
3217
    self._iprot.readMessageEnd()
3218
    if result.success is not None:
3219
      return result.success
3220
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getCampaigns failed: unknown result");
3221
 
3222
  def deleteCampaign(self, campaignId):
3223
    """
3224
    Parameters:
3225
     - campaignId
3226
    """
3227
    self.send_deleteCampaign(campaignId)
3228
    self.recv_deleteCampaign()
3229
 
3230
  def send_deleteCampaign(self, campaignId):
3231
    self._oprot.writeMessageBegin('deleteCampaign', TMessageType.CALL, self._seqid)
3232
    args = deleteCampaign_args()
3233
    args.campaignId = campaignId
3234
    args.write(self._oprot)
3235
    self._oprot.writeMessageEnd()
3236
    self._oprot.trans.flush()
3237
 
3238
  def recv_deleteCampaign(self, ):
3239
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
3240
    if mtype == TMessageType.EXCEPTION:
3241
      x = TApplicationException()
3242
      x.read(self._iprot)
3243
      self._iprot.readMessageEnd()
3244
      raise x
3245
    result = deleteCampaign_result()
3246
    result.read(self._iprot)
3247
    self._iprot.readMessageEnd()
3248
    return
3249
 
3250
  def getAllCampaigns(self, ):
3251
    self.send_getAllCampaigns()
3252
    return self.recv_getAllCampaigns()
3253
 
3254
  def send_getAllCampaigns(self, ):
3255
    self._oprot.writeMessageBegin('getAllCampaigns', TMessageType.CALL, self._seqid)
3256
    args = getAllCampaigns_args()
3257
    args.write(self._oprot)
3258
    self._oprot.writeMessageEnd()
3259
    self._oprot.trans.flush()
3260
 
3261
  def recv_getAllCampaigns(self, ):
3262
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
3263
    if mtype == TMessageType.EXCEPTION:
3264
      x = TApplicationException()
3265
      x.read(self._iprot)
3266
      self._iprot.readMessageEnd()
3267
      raise x
3268
    result = getAllCampaigns_result()
3269
    result.read(self._iprot)
3270
    self._iprot.readMessageEnd()
3271
    if result.success is not None:
3272
      return result.success
3273
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAllCampaigns failed: unknown result");
3274
 
9155 kshitij.so 3275
  def getActiveBannersForMobileSite(self, ):
3276
    self.send_getActiveBannersForMobileSite()
3277
    return self.recv_getActiveBannersForMobileSite()
3278
 
3279
  def send_getActiveBannersForMobileSite(self, ):
3280
    self._oprot.writeMessageBegin('getActiveBannersForMobileSite', TMessageType.CALL, self._seqid)
3281
    args = getActiveBannersForMobileSite_args()
3282
    args.write(self._oprot)
3283
    self._oprot.writeMessageEnd()
3284
    self._oprot.trans.flush()
3285
 
3286
  def recv_getActiveBannersForMobileSite(self, ):
3287
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
3288
    if mtype == TMessageType.EXCEPTION:
3289
      x = TApplicationException()
3290
      x.read(self._iprot)
3291
      self._iprot.readMessageEnd()
3292
      raise x
3293
    result = getActiveBannersForMobileSite_result()
3294
    result.read(self._iprot)
3295
    self._iprot.readMessageEnd()
3296
    if result.success is not None:
3297
      return result.success
3298
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getActiveBannersForMobileSite failed: unknown result");
3299
 
5944 mandeep.dh 3300
  def deleteSimilarItem(self, itemId, catalogItemId):
3301
    """
3302
    Delete similar item.
3303
 
3304
    Parameters:
3305
     - itemId
3306
     - catalogItemId
3307
    """
3308
    self.send_deleteSimilarItem(itemId, catalogItemId)
3309
    return self.recv_deleteSimilarItem()
3310
 
3311
  def send_deleteSimilarItem(self, itemId, catalogItemId):
3312
    self._oprot.writeMessageBegin('deleteSimilarItem', TMessageType.CALL, self._seqid)
3313
    args = deleteSimilarItem_args()
3314
    args.itemId = itemId
3315
    args.catalogItemId = catalogItemId
3316
    args.write(self._oprot)
3317
    self._oprot.writeMessageEnd()
3318
    self._oprot.trans.flush()
3319
 
3320
  def recv_deleteSimilarItem(self, ):
3321
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
3322
    if mtype == TMessageType.EXCEPTION:
3323
      x = TApplicationException()
3324
      x.read(self._iprot)
3325
      self._iprot.readMessageEnd()
3326
      raise x
3327
    result = deleteSimilarItem_result()
3328
    result.read(self._iprot)
3329
    self._iprot.readMessageEnd()
3330
    if result.success is not None:
3331
      return result.success
3332
    if result.cex is not None:
3333
      raise result.cex
3334
    raise TApplicationException(TApplicationException.MISSING_RESULT, "deleteSimilarItem failed: unknown result");
3335
 
3336
  def checkSimilarItem(self, brand, modelNumber, modelName, color):
3337
    """
3338
    Checks if similar item exists (with same Brand, ModelNumber, ModelName, Color)
3339
    If yes, returns the itemId else returns 0
3340
 
3341
    Parameters:
3342
     - brand
3343
     - modelNumber
3344
     - modelName
3345
     - color
3346
    """
3347
    self.send_checkSimilarItem(brand, modelNumber, modelName, color)
3348
    return self.recv_checkSimilarItem()
3349
 
3350
  def send_checkSimilarItem(self, brand, modelNumber, modelName, color):
3351
    self._oprot.writeMessageBegin('checkSimilarItem', TMessageType.CALL, self._seqid)
3352
    args = checkSimilarItem_args()
3353
    args.brand = brand
3354
    args.modelNumber = modelNumber
3355
    args.modelName = modelName
3356
    args.color = color
3357
    args.write(self._oprot)
3358
    self._oprot.writeMessageEnd()
3359
    self._oprot.trans.flush()
3360
 
3361
  def recv_checkSimilarItem(self, ):
3362
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
3363
    if mtype == TMessageType.EXCEPTION:
3364
      x = TApplicationException()
3365
      x.read(self._iprot)
3366
      self._iprot.readMessageEnd()
3367
      raise x
3368
    result = checkSimilarItem_result()
3369
    result.read(self._iprot)
3370
    self._iprot.readMessageEnd()
3371
    if result.success is not None:
3372
      return result.success
3373
    raise TApplicationException(TApplicationException.MISSING_RESULT, "checkSimilarItem failed: unknown result");
3374
 
3375
  def validateRiskyStatus(self, itemId):
3376
    """
3377
    Check wether item is risky and change status if inventory is not available for risky items
3378
 
3379
    Parameters:
3380
     - itemId
3381
    """
3382
    self.send_validateRiskyStatus(itemId)
3383
    self.recv_validateRiskyStatus()
3384
 
3385
  def send_validateRiskyStatus(self, itemId):
3386
    self._oprot.writeMessageBegin('validateRiskyStatus', TMessageType.CALL, self._seqid)
3387
    args = validateRiskyStatus_args()
3388
    args.itemId = itemId
3389
    args.write(self._oprot)
3390
    self._oprot.writeMessageEnd()
3391
    self._oprot.trans.flush()
3392
 
3393
  def recv_validateRiskyStatus(self, ):
3394
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
3395
    if mtype == TMessageType.EXCEPTION:
3396
      x = TApplicationException()
3397
      x.read(self._iprot)
3398
      self._iprot.readMessageEnd()
3399
      raise x
3400
    result = validateRiskyStatus_result()
3401
    result.read(self._iprot)
3402
    self._iprot.readMessageEnd()
3403
    return
3404
 
3405
  def changeItemRiskyFlag(self, itemId, risky):
3406
    """
3407
    Marks/Unmarks an item as risky. This flag is used for automatic marking of an item as INACTIVE in case of zero inventory.
3408
 
3409
    Parameters:
3410
     - itemId
3411
     - risky
3412
    """
3413
    self.send_changeItemRiskyFlag(itemId, risky)
3414
    self.recv_changeItemRiskyFlag()
3415
 
3416
  def send_changeItemRiskyFlag(self, itemId, risky):
3417
    self._oprot.writeMessageBegin('changeItemRiskyFlag', TMessageType.CALL, self._seqid)
3418
    args = changeItemRiskyFlag_args()
3419
    args.itemId = itemId
3420
    args.risky = risky
3421
    args.write(self._oprot)
3422
    self._oprot.writeMessageEnd()
3423
    self._oprot.trans.flush()
3424
 
3425
  def recv_changeItemRiskyFlag(self, ):
3426
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
3427
    if mtype == TMessageType.EXCEPTION:
3428
      x = TApplicationException()
3429
      x.read(self._iprot)
3430
      self._iprot.readMessageEnd()
3431
      raise x
3432
    result = changeItemRiskyFlag_result()
3433
    result.read(self._iprot)
3434
    self._iprot.readMessageEnd()
3435
    return
3436
 
3437
  def getItemsByRiskyFlag(self, ):
3438
    """
3439
    Returns list of items marked as risky.
3440
    """
3441
    self.send_getItemsByRiskyFlag()
3442
    return self.recv_getItemsByRiskyFlag()
3443
 
3444
  def send_getItemsByRiskyFlag(self, ):
3445
    self._oprot.writeMessageBegin('getItemsByRiskyFlag', TMessageType.CALL, self._seqid)
3446
    args = getItemsByRiskyFlag_args()
3447
    args.write(self._oprot)
3448
    self._oprot.writeMessageEnd()
3449
    self._oprot.trans.flush()
3450
 
3451
  def recv_getItemsByRiskyFlag(self, ):
3452
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
3453
    if mtype == TMessageType.EXCEPTION:
3454
      x = TApplicationException()
3455
      x.read(self._iprot)
3456
      self._iprot.readMessageEnd()
3457
      raise x
3458
    result = getItemsByRiskyFlag_result()
3459
    result.read(self._iprot)
3460
    self._iprot.readMessageEnd()
3461
    if result.success is not None:
3462
      return result.success
3463
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getItemsByRiskyFlag failed: unknown result");
3464
 
3465
  def getItemsForMasterSheet(self, category, brand):
3466
    """
3467
    Returns list of items with any status except PHASED_OUT and filtered by category, brand.
3468
 
3469
    Parameters:
3470
     - category
3471
     - brand
3472
    """
3473
    self.send_getItemsForMasterSheet(category, brand)
3474
    return self.recv_getItemsForMasterSheet()
3475
 
3476
  def send_getItemsForMasterSheet(self, category, brand):
3477
    self._oprot.writeMessageBegin('getItemsForMasterSheet', TMessageType.CALL, self._seqid)
3478
    args = getItemsForMasterSheet_args()
3479
    args.category = category
3480
    args.brand = brand
3481
    args.write(self._oprot)
3482
    self._oprot.writeMessageEnd()
3483
    self._oprot.trans.flush()
3484
 
3485
  def recv_getItemsForMasterSheet(self, ):
3486
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
3487
    if mtype == TMessageType.EXCEPTION:
3488
      x = TApplicationException()
3489
      x.read(self._iprot)
3490
      self._iprot.readMessageEnd()
3491
      raise x
3492
    result = getItemsForMasterSheet_result()
3493
    result.read(self._iprot)
3494
    self._iprot.readMessageEnd()
3495
    if result.success is not None:
3496
      return result.success
3497
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getItemsForMasterSheet failed: unknown result");
3498
 
3499
  def getSimilarItemsCatalogIds(self, beginIndex, totalItems, itemId):
3500
    """
3501
    Returns list of catalog ids of items with same similarity index as of the given itemId
3502
 
3503
    Parameters:
3504
     - beginIndex
3505
     - totalItems
3506
     - itemId
3507
    """
3508
    self.send_getSimilarItemsCatalogIds(beginIndex, totalItems, itemId)
3509
    return self.recv_getSimilarItemsCatalogIds()
3510
 
3511
  def send_getSimilarItemsCatalogIds(self, beginIndex, totalItems, itemId):
3512
    self._oprot.writeMessageBegin('getSimilarItemsCatalogIds', TMessageType.CALL, self._seqid)
3513
    args = getSimilarItemsCatalogIds_args()
3514
    args.beginIndex = beginIndex
3515
    args.totalItems = totalItems
3516
    args.itemId = itemId
3517
    args.write(self._oprot)
3518
    self._oprot.writeMessageEnd()
3519
    self._oprot.trans.flush()
3520
 
3521
  def recv_getSimilarItemsCatalogIds(self, ):
3522
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
3523
    if mtype == TMessageType.EXCEPTION:
3524
      x = TApplicationException()
3525
      x.read(self._iprot)
3526
      self._iprot.readMessageEnd()
3527
      raise x
3528
    result = getSimilarItemsCatalogIds_result()
3529
    result.read(self._iprot)
3530
    self._iprot.readMessageEnd()
3531
    if result.success is not None:
3532
      return result.success
3533
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getSimilarItemsCatalogIds failed: unknown result");
3534
 
3535
  def addProductNotification(self, itemId, email):
3536
    """
3537
    Add user requests for out of stock items. Once user will ask for notify me an entry will
3538
 
3539
    Parameters:
3540
     - itemId
3541
     - email
3542
    """
3543
    self.send_addProductNotification(itemId, email)
3544
    return self.recv_addProductNotification()
3545
 
3546
  def send_addProductNotification(self, itemId, email):
3547
    self._oprot.writeMessageBegin('addProductNotification', TMessageType.CALL, self._seqid)
3548
    args = addProductNotification_args()
3549
    args.itemId = itemId
3550
    args.email = email
3551
    args.write(self._oprot)
3552
    self._oprot.writeMessageEnd()
3553
    self._oprot.trans.flush()
3554
 
3555
  def recv_addProductNotification(self, ):
3556
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
3557
    if mtype == TMessageType.EXCEPTION:
3558
      x = TApplicationException()
3559
      x.read(self._iprot)
3560
      self._iprot.readMessageEnd()
3561
      raise x
3562
    result = addProductNotification_result()
3563
    result.read(self._iprot)
3564
    self._iprot.readMessageEnd()
3565
    if result.success is not None:
3566
      return result.success
3567
    raise TApplicationException(TApplicationException.MISSING_RESULT, "addProductNotification failed: unknown result");
3568
 
3569
  def sendProductNotifications(self, ):
3570
    """
3571
    Send the product notifications to the users for items which has stock.
3572
    """
3573
    self.send_sendProductNotifications()
3574
    return self.recv_sendProductNotifications()
3575
 
3576
  def send_sendProductNotifications(self, ):
3577
    self._oprot.writeMessageBegin('sendProductNotifications', TMessageType.CALL, self._seqid)
3578
    args = sendProductNotifications_args()
3579
    args.write(self._oprot)
3580
    self._oprot.writeMessageEnd()
3581
    self._oprot.trans.flush()
3582
 
3583
  def recv_sendProductNotifications(self, ):
3584
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
3585
    if mtype == TMessageType.EXCEPTION:
3586
      x = TApplicationException()
3587
      x.read(self._iprot)
3588
      self._iprot.readMessageEnd()
3589
      raise x
3590
    result = sendProductNotifications_result()
3591
    result.read(self._iprot)
3592
    self._iprot.readMessageEnd()
3593
    if result.success is not None:
3594
      return result.success
3595
    raise TApplicationException(TApplicationException.MISSING_RESULT, "sendProductNotifications failed: unknown result");
3596
 
3597
  def getAllBrandsByCategory(self, categoryId):
3598
    """
3599
    Returns list of brand names for a given category Id
3600
 
3601
    Parameters:
3602
     - categoryId
3603
    """
3604
    self.send_getAllBrandsByCategory(categoryId)
3605
    return self.recv_getAllBrandsByCategory()
3606
 
3607
  def send_getAllBrandsByCategory(self, categoryId):
3608
    self._oprot.writeMessageBegin('getAllBrandsByCategory', TMessageType.CALL, self._seqid)
3609
    args = getAllBrandsByCategory_args()
3610
    args.categoryId = categoryId
3611
    args.write(self._oprot)
3612
    self._oprot.writeMessageEnd()
3613
    self._oprot.trans.flush()
3614
 
3615
  def recv_getAllBrandsByCategory(self, ):
3616
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
3617
    if mtype == TMessageType.EXCEPTION:
3618
      x = TApplicationException()
3619
      x.read(self._iprot)
3620
      self._iprot.readMessageEnd()
3621
      raise x
3622
    result = getAllBrandsByCategory_result()
3623
    result.read(self._iprot)
3624
    self._iprot.readMessageEnd()
3625
    if result.success is not None:
3626
      return result.success
3627
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAllBrandsByCategory failed: unknown result");
3628
 
3629
  def getAllBrands(self, ):
3630
    """
3631
    Returns list of brand names
3632
    """
3633
    self.send_getAllBrands()
3634
    return self.recv_getAllBrands()
3635
 
3636
  def send_getAllBrands(self, ):
3637
    self._oprot.writeMessageBegin('getAllBrands', TMessageType.CALL, self._seqid)
3638
    args = getAllBrands_args()
3639
    args.write(self._oprot)
3640
    self._oprot.writeMessageEnd()
3641
    self._oprot.trans.flush()
3642
 
3643
  def recv_getAllBrands(self, ):
3644
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
3645
    if mtype == TMessageType.EXCEPTION:
3646
      x = TApplicationException()
3647
      x.read(self._iprot)
3648
      self._iprot.readMessageEnd()
3649
      raise x
3650
    result = getAllBrands_result()
3651
    result.read(self._iprot)
3652
    self._iprot.readMessageEnd()
3653
    if result.success is not None:
3654
      return result.success
3655
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAllBrands failed: unknown result");
3656
 
3657
  def getAllSources(self, ):
3658
    """
3659
    Return list of all sources
3660
    """
3661
    self.send_getAllSources()
3662
    return self.recv_getAllSources()
3663
 
3664
  def send_getAllSources(self, ):
3665
    self._oprot.writeMessageBegin('getAllSources', TMessageType.CALL, self._seqid)
3666
    args = getAllSources_args()
3667
    args.write(self._oprot)
3668
    self._oprot.writeMessageEnd()
3669
    self._oprot.trans.flush()
3670
 
3671
  def recv_getAllSources(self, ):
3672
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
3673
    if mtype == TMessageType.EXCEPTION:
3674
      x = TApplicationException()
3675
      x.read(self._iprot)
3676
      self._iprot.readMessageEnd()
3677
      raise x
3678
    result = getAllSources_result()
3679
    result.read(self._iprot)
3680
    self._iprot.readMessageEnd()
3681
    if result.success is not None:
3682
      return result.success
3683
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAllSources failed: unknown result");
3684
 
3685
  def getItemPricingBySource(self, itemId, sourceId):
3686
    """
3687
    Returns the pricing information of an item. If no information is found, exception will be thrown.
3688
 
3689
    Parameters:
3690
     - itemId
3691
     - sourceId
3692
    """
3693
    self.send_getItemPricingBySource(itemId, sourceId)
3694
    return self.recv_getItemPricingBySource()
3695
 
3696
  def send_getItemPricingBySource(self, itemId, sourceId):
3697
    self._oprot.writeMessageBegin('getItemPricingBySource', TMessageType.CALL, self._seqid)
3698
    args = getItemPricingBySource_args()
3699
    args.itemId = itemId
3700
    args.sourceId = sourceId
3701
    args.write(self._oprot)
3702
    self._oprot.writeMessageEnd()
3703
    self._oprot.trans.flush()
3704
 
3705
  def recv_getItemPricingBySource(self, ):
3706
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
3707
    if mtype == TMessageType.EXCEPTION:
3708
      x = TApplicationException()
3709
      x.read(self._iprot)
3710
      self._iprot.readMessageEnd()
3711
      raise x
3712
    result = getItemPricingBySource_result()
3713
    result.read(self._iprot)
3714
    self._iprot.readMessageEnd()
3715
    if result.success is not None:
3716
      return result.success
3717
    if result.cex is not None:
3718
      raise result.cex
3719
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getItemPricingBySource failed: unknown result");
3720
 
3721
  def addSourceItemPricing(self, sourceItemPricing):
3722
    """
3723
    Adds prices to be displayed corresponding to the item if user comes from a source.
3724
    If item is not found or source is not found, it will throw exception.
3725
 
3726
    Parameters:
3727
     - sourceItemPricing
3728
    """
3729
    self.send_addSourceItemPricing(sourceItemPricing)
3730
    self.recv_addSourceItemPricing()
3731
 
3732
  def send_addSourceItemPricing(self, sourceItemPricing):
3733
    self._oprot.writeMessageBegin('addSourceItemPricing', TMessageType.CALL, self._seqid)
3734
    args = addSourceItemPricing_args()
3735
    args.sourceItemPricing = sourceItemPricing
3736
    args.write(self._oprot)
3737
    self._oprot.writeMessageEnd()
3738
    self._oprot.trans.flush()
3739
 
3740
  def recv_addSourceItemPricing(self, ):
3741
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
3742
    if mtype == TMessageType.EXCEPTION:
3743
      x = TApplicationException()
3744
      x.read(self._iprot)
3745
      self._iprot.readMessageEnd()
3746
      raise x
3747
    result = addSourceItemPricing_result()
3748
    result.read(self._iprot)
3749
    self._iprot.readMessageEnd()
3750
    if result.cex is not None:
3751
      raise result.cex
3752
    return
3753
 
3754
  def getAllSourcePricing(self, itemId):
3755
    """
3756
    Returns the list of source pricing information of an item.
3757
    Raises an exception if item not found corresponding to itemId
3758
 
3759
    Parameters:
3760
     - itemId
3761
    """
3762
    self.send_getAllSourcePricing(itemId)
3763
    return self.recv_getAllSourcePricing()
3764
 
3765
  def send_getAllSourcePricing(self, itemId):
3766
    self._oprot.writeMessageBegin('getAllSourcePricing', TMessageType.CALL, self._seqid)
3767
    args = getAllSourcePricing_args()
3768
    args.itemId = itemId
3769
    args.write(self._oprot)
3770
    self._oprot.writeMessageEnd()
3771
    self._oprot.trans.flush()
3772
 
3773
  def recv_getAllSourcePricing(self, ):
3774
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
3775
    if mtype == TMessageType.EXCEPTION:
3776
      x = TApplicationException()
3777
      x.read(self._iprot)
3778
      self._iprot.readMessageEnd()
3779
      raise x
3780
    result = getAllSourcePricing_result()
3781
    result.read(self._iprot)
3782
    self._iprot.readMessageEnd()
3783
    if result.success is not None:
3784
      return result.success
3785
    if result.cex is not None:
3786
      raise result.cex
3787
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAllSourcePricing failed: unknown result");
3788
 
3789
  def getItemForSource(self, item_id, sourceId):
3790
    """
3791
    Get the item for a given itemId and sourceId. MRP and sellingPrice will be updated for source if we have different prices for source.
3792
 
3793
    Parameters:
3794
     - item_id
3795
     - sourceId
3796
    """
3797
    self.send_getItemForSource(item_id, sourceId)
3798
    return self.recv_getItemForSource()
3799
 
3800
  def send_getItemForSource(self, item_id, sourceId):
3801
    self._oprot.writeMessageBegin('getItemForSource', TMessageType.CALL, self._seqid)
3802
    args = getItemForSource_args()
3803
    args.item_id = item_id
3804
    args.sourceId = sourceId
3805
    args.write(self._oprot)
3806
    self._oprot.writeMessageEnd()
3807
    self._oprot.trans.flush()
3808
 
3809
  def recv_getItemForSource(self, ):
3810
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
3811
    if mtype == TMessageType.EXCEPTION:
3812
      x = TApplicationException()
3813
      x.read(self._iprot)
3814
      self._iprot.readMessageEnd()
3815
      raise x
3816
    result = getItemForSource_result()
3817
    result.read(self._iprot)
3818
    self._iprot.readMessageEnd()
3819
    if result.success is not None:
3820
      return result.success
3821
    if result.cex is not None:
3822
      raise result.cex
3823
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getItemForSource failed: unknown result");
3824
 
3825
  def searchItemsInRange(self, searchTerms, offset, limit):
3826
    """
3827
    Searches items matching the the given terms in the catalog and returns results within the specified range.
3828
 
3829
    Parameters:
3830
     - searchTerms
3831
     - offset
3832
     - limit
3833
    """
3834
    self.send_searchItemsInRange(searchTerms, offset, limit)
3835
    return self.recv_searchItemsInRange()
3836
 
3837
  def send_searchItemsInRange(self, searchTerms, offset, limit):
3838
    self._oprot.writeMessageBegin('searchItemsInRange', TMessageType.CALL, self._seqid)
3839
    args = searchItemsInRange_args()
3840
    args.searchTerms = searchTerms
3841
    args.offset = offset
3842
    args.limit = limit
3843
    args.write(self._oprot)
3844
    self._oprot.writeMessageEnd()
3845
    self._oprot.trans.flush()
3846
 
3847
  def recv_searchItemsInRange(self, ):
3848
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
3849
    if mtype == TMessageType.EXCEPTION:
3850
      x = TApplicationException()
3851
      x.read(self._iprot)
3852
      self._iprot.readMessageEnd()
3853
      raise x
3854
    result = searchItemsInRange_result()
3855
    result.read(self._iprot)
3856
    self._iprot.readMessageEnd()
3857
    if result.success is not None:
3858
      return result.success
3859
    raise TApplicationException(TApplicationException.MISSING_RESULT, "searchItemsInRange failed: unknown result");
3860
 
3861
  def getSearchResultCount(self, searchTerms):
3862
    """
3863
    Gets the count of search results for the given search terms so that the user can go through all the pages.
3864
 
3865
    Parameters:
3866
     - searchTerms
3867
    """
3868
    self.send_getSearchResultCount(searchTerms)
3869
    return self.recv_getSearchResultCount()
3870
 
3871
  def send_getSearchResultCount(self, searchTerms):
3872
    self._oprot.writeMessageBegin('getSearchResultCount', TMessageType.CALL, self._seqid)
3873
    args = getSearchResultCount_args()
3874
    args.searchTerms = searchTerms
3875
    args.write(self._oprot)
3876
    self._oprot.writeMessageEnd()
3877
    self._oprot.trans.flush()
3878
 
3879
  def recv_getSearchResultCount(self, ):
3880
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
3881
    if mtype == TMessageType.EXCEPTION:
3882
      x = TApplicationException()
3883
      x.read(self._iprot)
3884
      self._iprot.readMessageEnd()
3885
      raise x
3886
    result = getSearchResultCount_result()
3887
    result.read(self._iprot)
3888
    self._iprot.readMessageEnd()
3889
    if result.success is not None:
3890
      return result.success
3891
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getSearchResultCount failed: unknown result");
3892
 
3893
  def getProductNotifications(self, startDateTime):
3894
    """
3895
    Returns a list of product notifications added after a supplied datetime
3896
 
3897
    Parameters:
3898
     - startDateTime
3899
    """
3900
    self.send_getProductNotifications(startDateTime)
3901
    return self.recv_getProductNotifications()
3902
 
3903
  def send_getProductNotifications(self, startDateTime):
3904
    self._oprot.writeMessageBegin('getProductNotifications', TMessageType.CALL, self._seqid)
3905
    args = getProductNotifications_args()
3906
    args.startDateTime = startDateTime
3907
    args.write(self._oprot)
3908
    self._oprot.writeMessageEnd()
3909
    self._oprot.trans.flush()
3910
 
3911
  def recv_getProductNotifications(self, ):
3912
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
3913
    if mtype == TMessageType.EXCEPTION:
3914
      x = TApplicationException()
3915
      x.read(self._iprot)
3916
      self._iprot.readMessageEnd()
3917
      raise x
3918
    result = getProductNotifications_result()
3919
    result.read(self._iprot)
3920
    self._iprot.readMessageEnd()
3921
    if result.success is not None:
3922
      return result.success
3923
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getProductNotifications failed: unknown result");
3924
 
7897 amar.kumar 3925
  def getProductNotificationRequestCount(self, startDateTime, categoryId):
5944 mandeep.dh 3926
    """
3927
    Returns a list of count of requests for product notification against each item
3928
 
3929
    Parameters:
3930
     - startDateTime
7897 amar.kumar 3931
     - categoryId
5944 mandeep.dh 3932
    """
7897 amar.kumar 3933
    self.send_getProductNotificationRequestCount(startDateTime, categoryId)
5944 mandeep.dh 3934
    return self.recv_getProductNotificationRequestCount()
3935
 
7897 amar.kumar 3936
  def send_getProductNotificationRequestCount(self, startDateTime, categoryId):
5944 mandeep.dh 3937
    self._oprot.writeMessageBegin('getProductNotificationRequestCount', TMessageType.CALL, self._seqid)
3938
    args = getProductNotificationRequestCount_args()
3939
    args.startDateTime = startDateTime
7897 amar.kumar 3940
    args.categoryId = categoryId
5944 mandeep.dh 3941
    args.write(self._oprot)
3942
    self._oprot.writeMessageEnd()
3943
    self._oprot.trans.flush()
3944
 
3945
  def recv_getProductNotificationRequestCount(self, ):
3946
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
3947
    if mtype == TMessageType.EXCEPTION:
3948
      x = TApplicationException()
3949
      x.read(self._iprot)
3950
      self._iprot.readMessageEnd()
3951
      raise x
3952
    result = getProductNotificationRequestCount_result()
3953
    result.read(self._iprot)
3954
    self._iprot.readMessageEnd()
3955
    if result.success is not None:
3956
      return result.success
3957
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getProductNotificationRequestCount failed: unknown result");
3958
 
3959
  def addAuthorizationLog(self, itemId, username, reason):
3960
    """
3961
    This method adds a log to authorize table with Item Id, username who authorized the change, reason.
3962
 
3963
    Parameters:
3964
     - itemId
3965
     - username
3966
     - reason
3967
    """
3968
    self.send_addAuthorizationLog(itemId, username, reason)
3969
    return self.recv_addAuthorizationLog()
3970
 
3971
  def send_addAuthorizationLog(self, itemId, username, reason):
3972
    self._oprot.writeMessageBegin('addAuthorizationLog', TMessageType.CALL, self._seqid)
3973
    args = addAuthorizationLog_args()
3974
    args.itemId = itemId
3975
    args.username = username
3976
    args.reason = reason
3977
    args.write(self._oprot)
3978
    self._oprot.writeMessageEnd()
3979
    self._oprot.trans.flush()
3980
 
3981
  def recv_addAuthorizationLog(self, ):
3982
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
3983
    if mtype == TMessageType.EXCEPTION:
3984
      x = TApplicationException()
3985
      x.read(self._iprot)
3986
      self._iprot.readMessageEnd()
3987
      raise x
3988
    result = addAuthorizationLog_result()
3989
    result.read(self._iprot)
3990
    self._iprot.readMessageEnd()
3991
    if result.success is not None:
3992
      return result.success
3993
    if result.cex is not None:
3994
      raise result.cex
3995
    raise TApplicationException(TApplicationException.MISSING_RESULT, "addAuthorizationLog failed: unknown result");
3996
 
3997
  def addupdateVoucherForItem(self, catalog_item_id, voucherType, voucherAmount):
3998
    """
3999
    Parameters:
4000
     - catalog_item_id
4001
     - voucherType
4002
     - voucherAmount
4003
    """
4004
    self.send_addupdateVoucherForItem(catalog_item_id, voucherType, voucherAmount)
4005
    return self.recv_addupdateVoucherForItem()
4006
 
4007
  def send_addupdateVoucherForItem(self, catalog_item_id, voucherType, voucherAmount):
4008
    self._oprot.writeMessageBegin('addupdateVoucherForItem', TMessageType.CALL, self._seqid)
4009
    args = addupdateVoucherForItem_args()
4010
    args.catalog_item_id = catalog_item_id
4011
    args.voucherType = voucherType
4012
    args.voucherAmount = voucherAmount
4013
    args.write(self._oprot)
4014
    self._oprot.writeMessageEnd()
4015
    self._oprot.trans.flush()
4016
 
4017
  def recv_addupdateVoucherForItem(self, ):
4018
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
4019
    if mtype == TMessageType.EXCEPTION:
4020
      x = TApplicationException()
4021
      x.read(self._iprot)
4022
      self._iprot.readMessageEnd()
4023
      raise x
4024
    result = addupdateVoucherForItem_result()
4025
    result.read(self._iprot)
4026
    self._iprot.readMessageEnd()
4027
    if result.success is not None:
4028
      return result.success
4029
    if result.cex is not None:
4030
      raise result.cex
4031
    raise TApplicationException(TApplicationException.MISSING_RESULT, "addupdateVoucherForItem failed: unknown result");
4032
 
4033
  def deleteVoucherForItem(self, catalog_item_id, voucherType):
4034
    """
4035
    Parameters:
4036
     - catalog_item_id
4037
     - voucherType
4038
    """
4039
    self.send_deleteVoucherForItem(catalog_item_id, voucherType)
4040
    return self.recv_deleteVoucherForItem()
4041
 
4042
  def send_deleteVoucherForItem(self, catalog_item_id, voucherType):
4043
    self._oprot.writeMessageBegin('deleteVoucherForItem', TMessageType.CALL, self._seqid)
4044
    args = deleteVoucherForItem_args()
4045
    args.catalog_item_id = catalog_item_id
4046
    args.voucherType = voucherType
4047
    args.write(self._oprot)
4048
    self._oprot.writeMessageEnd()
4049
    self._oprot.trans.flush()
4050
 
4051
  def recv_deleteVoucherForItem(self, ):
4052
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
4053
    if mtype == TMessageType.EXCEPTION:
4054
      x = TApplicationException()
4055
      x.read(self._iprot)
4056
      self._iprot.readMessageEnd()
4057
      raise x
4058
    result = deleteVoucherForItem_result()
4059
    result.read(self._iprot)
4060
    self._iprot.readMessageEnd()
4061
    if result.success is not None:
4062
      return result.success
4063
    if result.cex is not None:
4064
      raise result.cex
4065
    raise TApplicationException(TApplicationException.MISSING_RESULT, "deleteVoucherForItem failed: unknown result");
4066
 
4067
  def getVoucherAmount(self, itemId, voucherType):
4068
    """
4069
    Parameters:
4070
     - itemId
4071
     - voucherType
4072
    """
4073
    self.send_getVoucherAmount(itemId, voucherType)
4074
    return self.recv_getVoucherAmount()
4075
 
4076
  def send_getVoucherAmount(self, itemId, voucherType):
4077
    self._oprot.writeMessageBegin('getVoucherAmount', TMessageType.CALL, self._seqid)
4078
    args = getVoucherAmount_args()
4079
    args.itemId = itemId
4080
    args.voucherType = voucherType
4081
    args.write(self._oprot)
4082
    self._oprot.writeMessageEnd()
4083
    self._oprot.trans.flush()
4084
 
4085
  def recv_getVoucherAmount(self, ):
4086
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
4087
    if mtype == TMessageType.EXCEPTION:
4088
      x = TApplicationException()
4089
      x.read(self._iprot)
4090
      self._iprot.readMessageEnd()
4091
      raise x
4092
    result = getVoucherAmount_result()
4093
    result.read(self._iprot)
4094
    self._iprot.readMessageEnd()
4095
    if result.success is not None:
4096
      return result.success
4097
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getVoucherAmount failed: unknown result");
4098
 
4099
  def getAllItemVouchers(self, itemId):
4100
    """
4101
    Parameters:
4102
     - itemId
4103
    """
4104
    self.send_getAllItemVouchers(itemId)
4105
    return self.recv_getAllItemVouchers()
4106
 
4107
  def send_getAllItemVouchers(self, itemId):
4108
    self._oprot.writeMessageBegin('getAllItemVouchers', TMessageType.CALL, self._seqid)
4109
    args = getAllItemVouchers_args()
4110
    args.itemId = itemId
4111
    args.write(self._oprot)
4112
    self._oprot.writeMessageEnd()
4113
    self._oprot.trans.flush()
4114
 
4115
  def recv_getAllItemVouchers(self, ):
4116
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
4117
    if mtype == TMessageType.EXCEPTION:
4118
      x = TApplicationException()
4119
      x.read(self._iprot)
4120
      self._iprot.readMessageEnd()
4121
      raise x
4122
    result = getAllItemVouchers_result()
4123
    result.read(self._iprot)
4124
    self._iprot.readMessageEnd()
4125
    if result.success is not None:
4126
      return result.success
4127
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAllItemVouchers failed: unknown result");
4128
 
4129
  def isValidCatalogItemId(self, catalog_item_id):
4130
    """
4131
    Parameters:
4132
     - catalog_item_id
4133
    """
4134
    self.send_isValidCatalogItemId(catalog_item_id)
4135
    return self.recv_isValidCatalogItemId()
4136
 
4137
  def send_isValidCatalogItemId(self, catalog_item_id):
4138
    self._oprot.writeMessageBegin('isValidCatalogItemId', TMessageType.CALL, self._seqid)
4139
    args = isValidCatalogItemId_args()
4140
    args.catalog_item_id = catalog_item_id
4141
    args.write(self._oprot)
4142
    self._oprot.writeMessageEnd()
4143
    self._oprot.trans.flush()
4144
 
4145
  def recv_isValidCatalogItemId(self, ):
4146
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
4147
    if mtype == TMessageType.EXCEPTION:
4148
      x = TApplicationException()
4149
      x.read(self._iprot)
4150
      self._iprot.readMessageEnd()
4151
      raise x
4152
    result = isValidCatalogItemId_result()
4153
    result.read(self._iprot)
4154
    self._iprot.readMessageEnd()
4155
    if result.success is not None:
4156
      return result.success
4157
    raise TApplicationException(TApplicationException.MISSING_RESULT, "isValidCatalogItemId failed: unknown result");
4158
 
7330 amit.gupta 4159
  def getVatPercentageForItem(self, itemId, stateId, price):
6039 amit.gupta 4160
    """
4161
    Parameters:
4162
     - itemId
7330 amit.gupta 4163
     - stateId
6039 amit.gupta 4164
     - price
4165
    """
7330 amit.gupta 4166
    self.send_getVatPercentageForItem(itemId, stateId, price)
6039 amit.gupta 4167
    return self.recv_getVatPercentageForItem()
5944 mandeep.dh 4168
 
7330 amit.gupta 4169
  def send_getVatPercentageForItem(self, itemId, stateId, price):
6039 amit.gupta 4170
    self._oprot.writeMessageBegin('getVatPercentageForItem', TMessageType.CALL, self._seqid)
4171
    args = getVatPercentageForItem_args()
4172
    args.itemId = itemId
7330 amit.gupta 4173
    args.stateId = stateId
6039 amit.gupta 4174
    args.price = price
4175
    args.write(self._oprot)
4176
    self._oprot.writeMessageEnd()
4177
    self._oprot.trans.flush()
4178
 
4179
  def recv_getVatPercentageForItem(self, ):
4180
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
4181
    if mtype == TMessageType.EXCEPTION:
4182
      x = TApplicationException()
4183
      x.read(self._iprot)
4184
      self._iprot.readMessageEnd()
4185
      raise x
4186
    result = getVatPercentageForItem_result()
4187
    result.read(self._iprot)
4188
    self._iprot.readMessageEnd()
4189
    if result.success is not None:
4190
      return result.success
7340 amit.gupta 4191
    if result.cex is not None:
4192
      raise result.cex
6039 amit.gupta 4193
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getVatPercentageForItem failed: unknown result");
4194
 
4195
  def getVatAmountForItem(self, itemId, price):
4196
    """
4197
    Parameters:
4198
     - itemId
4199
     - price
4200
    """
4201
    self.send_getVatAmountForItem(itemId, price)
4202
    return self.recv_getVatAmountForItem()
4203
 
4204
  def send_getVatAmountForItem(self, itemId, price):
4205
    self._oprot.writeMessageBegin('getVatAmountForItem', TMessageType.CALL, self._seqid)
4206
    args = getVatAmountForItem_args()
4207
    args.itemId = itemId
4208
    args.price = price
4209
    args.write(self._oprot)
4210
    self._oprot.writeMessageEnd()
4211
    self._oprot.trans.flush()
4212
 
4213
  def recv_getVatAmountForItem(self, ):
4214
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
4215
    if mtype == TMessageType.EXCEPTION:
4216
      x = TApplicationException()
4217
      x.read(self._iprot)
4218
      self._iprot.readMessageEnd()
4219
      raise x
4220
    result = getVatAmountForItem_result()
4221
    result.read(self._iprot)
4222
    self._iprot.readMessageEnd()
4223
    if result.success is not None:
4224
      return result.success
4225
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getVatAmountForItem failed: unknown result");
4226
 
6531 vikram.rag 4227
  def getAllIgnoredInventoryUpdateItemsList(self, offset, limit):
4228
    """
4229
    Parameters:
4230
     - offset
4231
     - limit
4232
    """
4233
    self.send_getAllIgnoredInventoryUpdateItemsList(offset, limit)
4234
    return self.recv_getAllIgnoredInventoryUpdateItemsList()
6039 amit.gupta 4235
 
6531 vikram.rag 4236
  def send_getAllIgnoredInventoryUpdateItemsList(self, offset, limit):
4237
    self._oprot.writeMessageBegin('getAllIgnoredInventoryUpdateItemsList', TMessageType.CALL, self._seqid)
4238
    args = getAllIgnoredInventoryUpdateItemsList_args()
4239
    args.offset = offset
4240
    args.limit = limit
4241
    args.write(self._oprot)
4242
    self._oprot.writeMessageEnd()
4243
    self._oprot.trans.flush()
4244
 
4245
  def recv_getAllIgnoredInventoryUpdateItemsList(self, ):
4246
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
4247
    if mtype == TMessageType.EXCEPTION:
4248
      x = TApplicationException()
4249
      x.read(self._iprot)
4250
      self._iprot.readMessageEnd()
4251
      raise x
4252
    result = getAllIgnoredInventoryUpdateItemsList_result()
4253
    result.read(self._iprot)
4254
    self._iprot.readMessageEnd()
4255
    if result.success is not None:
4256
      return result.success
4257
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAllIgnoredInventoryUpdateItemsList failed: unknown result");
4258
 
6821 amar.kumar 4259
  def getAllAliveItems(self, ):
4260
    self.send_getAllAliveItems()
4261
    return self.recv_getAllAliveItems()
4262
 
4263
  def send_getAllAliveItems(self, ):
4264
    self._oprot.writeMessageBegin('getAllAliveItems', TMessageType.CALL, self._seqid)
4265
    args = getAllAliveItems_args()
4266
    args.write(self._oprot)
4267
    self._oprot.writeMessageEnd()
4268
    self._oprot.trans.flush()
4269
 
4270
  def recv_getAllAliveItems(self, ):
4271
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
4272
    if mtype == TMessageType.EXCEPTION:
4273
      x = TApplicationException()
4274
      x.read(self._iprot)
4275
      self._iprot.readMessageEnd()
4276
      raise x
4277
    result = getAllAliveItems_result()
4278
    result.read(self._iprot)
4279
    self._iprot.readMessageEnd()
4280
    if result.success is not None:
4281
      return result.success
4282
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAllAliveItems failed: unknown result");
4283
 
6921 anupam.sin 4284
  def getInsuranceAmount(self, itemId, price, insurerId, quantity):
6805 anupam.sin 4285
    """
4286
    This method returns the insurance amount needed to insure the given item for a given quantity.
6531 vikram.rag 4287
 
6805 anupam.sin 4288
    Parameters:
4289
     - itemId
6921 anupam.sin 4290
     - price
6805 anupam.sin 4291
     - insurerId
4292
     - quantity
4293
    """
6921 anupam.sin 4294
    self.send_getInsuranceAmount(itemId, price, insurerId, quantity)
6805 anupam.sin 4295
    return self.recv_getInsuranceAmount()
4296
 
6921 anupam.sin 4297
  def send_getInsuranceAmount(self, itemId, price, insurerId, quantity):
6805 anupam.sin 4298
    self._oprot.writeMessageBegin('getInsuranceAmount', TMessageType.CALL, self._seqid)
4299
    args = getInsuranceAmount_args()
4300
    args.itemId = itemId
6921 anupam.sin 4301
    args.price = price
6805 anupam.sin 4302
    args.insurerId = insurerId
4303
    args.quantity = quantity
4304
    args.write(self._oprot)
4305
    self._oprot.writeMessageEnd()
4306
    self._oprot.trans.flush()
4307
 
4308
  def recv_getInsuranceAmount(self, ):
4309
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
4310
    if mtype == TMessageType.EXCEPTION:
4311
      x = TApplicationException()
4312
      x.read(self._iprot)
4313
      self._iprot.readMessageEnd()
4314
      raise x
4315
    result = getInsuranceAmount_result()
4316
    result.read(self._iprot)
4317
    self._iprot.readMessageEnd()
4318
    if result.success is not None:
4319
      return result.success
4320
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getInsuranceAmount failed: unknown result");
4321
 
4322
  def getInsurer(self, insurerId):
4323
    """
4324
    Parameters:
4325
     - insurerId
4326
    """
4327
    self.send_getInsurer(insurerId)
4328
    return self.recv_getInsurer()
4329
 
4330
  def send_getInsurer(self, insurerId):
4331
    self._oprot.writeMessageBegin('getInsurer', TMessageType.CALL, self._seqid)
4332
    args = getInsurer_args()
4333
    args.insurerId = insurerId
4334
    args.write(self._oprot)
4335
    self._oprot.writeMessageEnd()
4336
    self._oprot.trans.flush()
4337
 
4338
  def recv_getInsurer(self, ):
4339
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
4340
    if mtype == TMessageType.EXCEPTION:
4341
      x = TApplicationException()
4342
      x.read(self._iprot)
4343
      self._iprot.readMessageEnd()
4344
      raise x
4345
    result = getInsurer_result()
4346
    result.read(self._iprot)
4347
    self._iprot.readMessageEnd()
4348
    if result.success is not None:
4349
      return result.success
4350
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getInsurer failed: unknown result");
4351
 
6838 vikram.rag 4352
  def getAllInsurers(self, ):
4353
    self.send_getAllInsurers()
4354
    return self.recv_getAllInsurers()
6805 anupam.sin 4355
 
6838 vikram.rag 4356
  def send_getAllInsurers(self, ):
4357
    self._oprot.writeMessageBegin('getAllInsurers', TMessageType.CALL, self._seqid)
4358
    args = getAllInsurers_args()
4359
    args.write(self._oprot)
4360
    self._oprot.writeMessageEnd()
4361
    self._oprot.trans.flush()
4362
 
4363
  def recv_getAllInsurers(self, ):
4364
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
4365
    if mtype == TMessageType.EXCEPTION:
4366
      x = TApplicationException()
4367
      x.read(self._iprot)
4368
      self._iprot.readMessageEnd()
4369
      raise x
4370
    result = getAllInsurers_result()
4371
    result.read(self._iprot)
4372
    self._iprot.readMessageEnd()
4373
    if result.success is not None:
4374
      return result.success
4375
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAllInsurers failed: unknown result");
4376
 
6962 rajveer 4377
  def updateInsuranceDeclaredAmount(self, insurerId, amount):
4378
    """
4379
    Parameters:
4380
     - insurerId
4381
     - amount
4382
    """
4383
    self.send_updateInsuranceDeclaredAmount(insurerId, amount)
4384
    self.recv_updateInsuranceDeclaredAmount()
6838 vikram.rag 4385
 
6962 rajveer 4386
  def send_updateInsuranceDeclaredAmount(self, insurerId, amount):
4387
    self._oprot.writeMessageBegin('updateInsuranceDeclaredAmount', TMessageType.CALL, self._seqid)
4388
    args = updateInsuranceDeclaredAmount_args()
4389
    args.insurerId = insurerId
4390
    args.amount = amount
4391
    args.write(self._oprot)
4392
    self._oprot.writeMessageEnd()
4393
    self._oprot.trans.flush()
4394
 
4395
  def recv_updateInsuranceDeclaredAmount(self, ):
4396
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
4397
    if mtype == TMessageType.EXCEPTION:
4398
      x = TApplicationException()
4399
      x.read(self._iprot)
4400
      self._iprot.readMessageEnd()
4401
      raise x
4402
    result = updateInsuranceDeclaredAmount_result()
4403
    result.read(self._iprot)
4404
    self._iprot.readMessageEnd()
4405
    return
4406
 
7190 amar.kumar 4407
  def getFreebieForItem(self, itemId):
4408
    """
4409
    Parameters:
4410
     - itemId
4411
    """
4412
    self.send_getFreebieForItem(itemId)
4413
    return self.recv_getFreebieForItem()
6962 rajveer 4414
 
7190 amar.kumar 4415
  def send_getFreebieForItem(self, itemId):
4416
    self._oprot.writeMessageBegin('getFreebieForItem', TMessageType.CALL, self._seqid)
4417
    args = getFreebieForItem_args()
4418
    args.itemId = itemId
4419
    args.write(self._oprot)
4420
    self._oprot.writeMessageEnd()
4421
    self._oprot.trans.flush()
4422
 
4423
  def recv_getFreebieForItem(self, ):
4424
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
4425
    if mtype == TMessageType.EXCEPTION:
4426
      x = TApplicationException()
4427
      x.read(self._iprot)
4428
      self._iprot.readMessageEnd()
4429
      raise x
4430
    result = getFreebieForItem_result()
4431
    result.read(self._iprot)
4432
    self._iprot.readMessageEnd()
4433
    if result.success is not None:
4434
      return result.success
4435
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getFreebieForItem failed: unknown result");
4436
 
4437
  def addOrUpdateFreebieForItem(self, freebieItem):
4438
    """
4439
    Parameters:
4440
     - freebieItem
4441
    """
4442
    self.send_addOrUpdateFreebieForItem(freebieItem)
4443
    self.recv_addOrUpdateFreebieForItem()
4444
 
4445
  def send_addOrUpdateFreebieForItem(self, freebieItem):
4446
    self._oprot.writeMessageBegin('addOrUpdateFreebieForItem', TMessageType.CALL, self._seqid)
4447
    args = addOrUpdateFreebieForItem_args()
4448
    args.freebieItem = freebieItem
4449
    args.write(self._oprot)
4450
    self._oprot.writeMessageEnd()
4451
    self._oprot.trans.flush()
4452
 
4453
  def recv_addOrUpdateFreebieForItem(self, ):
4454
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
4455
    if mtype == TMessageType.EXCEPTION:
4456
      x = TApplicationException()
4457
      x.read(self._iprot)
4458
      self._iprot.readMessageEnd()
4459
      raise x
4460
    result = addOrUpdateFreebieForItem_result()
4461
    result.read(self._iprot)
4462
    self._iprot.readMessageEnd()
4463
    return
4464
 
7272 amit.gupta 4465
  def addOrUpdateBrandInfo(self, brandInfo):
4466
    """
4467
    Parameters:
4468
     - brandInfo
4469
    """
4470
    self.send_addOrUpdateBrandInfo(brandInfo)
4471
    self.recv_addOrUpdateBrandInfo()
4472
 
4473
  def send_addOrUpdateBrandInfo(self, brandInfo):
4474
    self._oprot.writeMessageBegin('addOrUpdateBrandInfo', TMessageType.CALL, self._seqid)
4475
    args = addOrUpdateBrandInfo_args()
4476
    args.brandInfo = brandInfo
4477
    args.write(self._oprot)
4478
    self._oprot.writeMessageEnd()
4479
    self._oprot.trans.flush()
4480
 
4481
  def recv_addOrUpdateBrandInfo(self, ):
4482
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
4483
    if mtype == TMessageType.EXCEPTION:
4484
      x = TApplicationException()
4485
      x.read(self._iprot)
4486
      self._iprot.readMessageEnd()
4487
      raise x
4488
    result = addOrUpdateBrandInfo_result()
4489
    result.read(self._iprot)
4490
    self._iprot.readMessageEnd()
4491
    return
4492
 
4493
  def getBrandInfo(self, ):
4494
    self.send_getBrandInfo()
4495
    return self.recv_getBrandInfo()
4496
 
4497
  def send_getBrandInfo(self, ):
4498
    self._oprot.writeMessageBegin('getBrandInfo', TMessageType.CALL, self._seqid)
4499
    args = getBrandInfo_args()
4500
    args.write(self._oprot)
4501
    self._oprot.writeMessageEnd()
4502
    self._oprot.trans.flush()
4503
 
4504
  def recv_getBrandInfo(self, ):
4505
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
4506
    if mtype == TMessageType.EXCEPTION:
4507
      x = TApplicationException()
4508
      x.read(self._iprot)
4509
      self._iprot.readMessageEnd()
4510
      raise x
4511
    result = getBrandInfo_result()
4512
    result.read(self._iprot)
4513
    self._iprot.readMessageEnd()
4514
    if result.success is not None:
4515
      return result.success
4516
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getBrandInfo failed: unknown result");
4517
 
7256 rajveer 4518
  def getStorePricing(self, itemId):
4519
    """
4520
    Parameters:
4521
     - itemId
4522
    """
4523
    self.send_getStorePricing(itemId)
4524
    return self.recv_getStorePricing()
7190 amar.kumar 4525
 
7256 rajveer 4526
  def send_getStorePricing(self, itemId):
4527
    self._oprot.writeMessageBegin('getStorePricing', TMessageType.CALL, self._seqid)
4528
    args = getStorePricing_args()
4529
    args.itemId = itemId
4530
    args.write(self._oprot)
4531
    self._oprot.writeMessageEnd()
4532
    self._oprot.trans.flush()
4533
 
4534
  def recv_getStorePricing(self, ):
4535
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
4536
    if mtype == TMessageType.EXCEPTION:
4537
      x = TApplicationException()
4538
      x.read(self._iprot)
4539
      self._iprot.readMessageEnd()
4540
      raise x
4541
    result = getStorePricing_result()
4542
    result.read(self._iprot)
4543
    self._iprot.readMessageEnd()
4544
    if result.success is not None:
4545
      return result.success
4546
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getStorePricing failed: unknown result");
4547
 
7306 rajveer 4548
  def getStorePricings(self, itemIds):
4549
    """
4550
    Parameters:
4551
     - itemIds
4552
    """
4553
    self.send_getStorePricings(itemIds)
4554
    return self.recv_getStorePricings()
4555
 
4556
  def send_getStorePricings(self, itemIds):
4557
    self._oprot.writeMessageBegin('getStorePricings', TMessageType.CALL, self._seqid)
4558
    args = getStorePricings_args()
4559
    args.itemIds = itemIds
4560
    args.write(self._oprot)
4561
    self._oprot.writeMessageEnd()
4562
    self._oprot.trans.flush()
4563
 
4564
  def recv_getStorePricings(self, ):
4565
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
4566
    if mtype == TMessageType.EXCEPTION:
4567
      x = TApplicationException()
4568
      x.read(self._iprot)
4569
      self._iprot.readMessageEnd()
4570
      raise x
4571
    result = getStorePricings_result()
4572
    result.read(self._iprot)
4573
    self._iprot.readMessageEnd()
4574
    if result.success is not None:
4575
      return result.success
4576
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getStorePricings failed: unknown result");
4577
 
7382 rajveer 4578
  def updateStorePricing(self, sp, allColors):
7265 rajveer 4579
    """
4580
    Parameters:
4581
     - sp
7382 rajveer 4582
     - allColors
7265 rajveer 4583
    """
7382 rajveer 4584
    self.send_updateStorePricing(sp, allColors)
7265 rajveer 4585
    self.recv_updateStorePricing()
7256 rajveer 4586
 
7382 rajveer 4587
  def send_updateStorePricing(self, sp, allColors):
7265 rajveer 4588
    self._oprot.writeMessageBegin('updateStorePricing', TMessageType.CALL, self._seqid)
4589
    args = updateStorePricing_args()
4590
    args.sp = sp
7382 rajveer 4591
    args.allColors = allColors
7265 rajveer 4592
    args.write(self._oprot)
4593
    self._oprot.writeMessageEnd()
4594
    self._oprot.trans.flush()
4595
 
4596
  def recv_updateStorePricing(self, ):
4597
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
4598
    if mtype == TMessageType.EXCEPTION:
4599
      x = TApplicationException()
4600
      x.read(self._iprot)
4601
      self._iprot.readMessageEnd()
4602
      raise x
4603
    result = updateStorePricing_result()
4604
    result.read(self._iprot)
4605
    self._iprot.readMessageEnd()
4606
    return
4607
 
7281 kshitij.so 4608
  def getAllAmazonListedItems(self, ):
4609
    self.send_getAllAmazonListedItems()
4610
    return self.recv_getAllAmazonListedItems()
7265 rajveer 4611
 
7281 kshitij.so 4612
  def send_getAllAmazonListedItems(self, ):
4613
    self._oprot.writeMessageBegin('getAllAmazonListedItems', TMessageType.CALL, self._seqid)
4614
    args = getAllAmazonListedItems_args()
4615
    args.write(self._oprot)
4616
    self._oprot.writeMessageEnd()
4617
    self._oprot.trans.flush()
4618
 
4619
  def recv_getAllAmazonListedItems(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 = getAllAmazonListedItems_result()
4627
    result.read(self._iprot)
4628
    self._iprot.readMessageEnd()
4629
    if result.success is not None:
4630
      return result.success
4631
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAllAmazonListedItems failed: unknown result");
4632
 
8619 kshitij.so 4633
  def searchAmazonItems(self, searchTerm, offset, limit):
4634
    """
4635
    Parameters:
4636
     - searchTerm
4637
     - offset
4638
     - limit
4639
    """
4640
    self.send_searchAmazonItems(searchTerm, offset, limit)
4641
    return self.recv_searchAmazonItems()
4642
 
4643
  def send_searchAmazonItems(self, searchTerm, offset, limit):
4644
    self._oprot.writeMessageBegin('searchAmazonItems', TMessageType.CALL, self._seqid)
4645
    args = searchAmazonItems_args()
4646
    args.searchTerm = searchTerm
4647
    args.offset = offset
4648
    args.limit = limit
4649
    args.write(self._oprot)
4650
    self._oprot.writeMessageEnd()
4651
    self._oprot.trans.flush()
4652
 
4653
  def recv_searchAmazonItems(self, ):
4654
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
4655
    if mtype == TMessageType.EXCEPTION:
4656
      x = TApplicationException()
4657
      x.read(self._iprot)
4658
      self._iprot.readMessageEnd()
4659
      raise x
4660
    result = searchAmazonItems_result()
4661
    result.read(self._iprot)
4662
    self._iprot.readMessageEnd()
4663
    if result.success is not None:
4664
      return result.success
4665
    raise TApplicationException(TApplicationException.MISSING_RESULT, "searchAmazonItems failed: unknown result");
4666
 
4667
  def getAmazonSearchResultCount(self, searchTerm):
4668
    """
4669
    Parameters:
4670
     - searchTerm
4671
    """
4672
    self.send_getAmazonSearchResultCount(searchTerm)
4673
    return self.recv_getAmazonSearchResultCount()
4674
 
4675
  def send_getAmazonSearchResultCount(self, searchTerm):
4676
    self._oprot.writeMessageBegin('getAmazonSearchResultCount', TMessageType.CALL, self._seqid)
4677
    args = getAmazonSearchResultCount_args()
4678
    args.searchTerm = searchTerm
4679
    args.write(self._oprot)
4680
    self._oprot.writeMessageEnd()
4681
    self._oprot.trans.flush()
4682
 
4683
  def recv_getAmazonSearchResultCount(self, ):
4684
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
4685
    if mtype == TMessageType.EXCEPTION:
4686
      x = TApplicationException()
4687
      x.read(self._iprot)
4688
      self._iprot.readMessageEnd()
4689
      raise x
4690
    result = getAmazonSearchResultCount_result()
4691
    result.read(self._iprot)
4692
    self._iprot.readMessageEnd()
4693
    if result.success is not None:
4694
      return result.success
4695
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAmazonSearchResultCount failed: unknown result");
4696
 
4697
  def getCountForAmazonlistedItems(self, ):
4698
    self.send_getCountForAmazonlistedItems()
4699
    return self.recv_getCountForAmazonlistedItems()
4700
 
4701
  def send_getCountForAmazonlistedItems(self, ):
4702
    self._oprot.writeMessageBegin('getCountForAmazonlistedItems', TMessageType.CALL, self._seqid)
4703
    args = getCountForAmazonlistedItems_args()
4704
    args.write(self._oprot)
4705
    self._oprot.writeMessageEnd()
4706
    self._oprot.trans.flush()
4707
 
4708
  def recv_getCountForAmazonlistedItems(self, ):
4709
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
4710
    if mtype == TMessageType.EXCEPTION:
4711
      x = TApplicationException()
4712
      x.read(self._iprot)
4713
      self._iprot.readMessageEnd()
4714
      raise x
4715
    result = getCountForAmazonlistedItems_result()
4716
    result.read(self._iprot)
4717
    self._iprot.readMessageEnd()
4718
    if result.success is not None:
4719
      return result.success
4720
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getCountForAmazonlistedItems failed: unknown result");
4721
 
7281 kshitij.so 4722
  def getAmazonItemDetails(self, itemId):
4723
    """
4724
    Parameters:
4725
     - itemId
4726
    """
4727
    self.send_getAmazonItemDetails(itemId)
4728
    return self.recv_getAmazonItemDetails()
4729
 
4730
  def send_getAmazonItemDetails(self, itemId):
4731
    self._oprot.writeMessageBegin('getAmazonItemDetails', TMessageType.CALL, self._seqid)
4732
    args = getAmazonItemDetails_args()
4733
    args.itemId = itemId
4734
    args.write(self._oprot)
4735
    self._oprot.writeMessageEnd()
4736
    self._oprot.trans.flush()
4737
 
4738
  def recv_getAmazonItemDetails(self, ):
4739
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
4740
    if mtype == TMessageType.EXCEPTION:
4741
      x = TApplicationException()
4742
      x.read(self._iprot)
4743
      self._iprot.readMessageEnd()
4744
      raise x
4745
    result = getAmazonItemDetails_result()
4746
    result.read(self._iprot)
4747
    self._iprot.readMessageEnd()
4748
    if result.success is not None:
4749
      return result.success
4750
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAmazonItemDetails failed: unknown result");
4751
 
8168 kshitij.so 4752
  def updateAmazonItemDetails(self, amazonlisted):
7281 kshitij.so 4753
    """
4754
    Parameters:
8168 kshitij.so 4755
     - amazonlisted
7281 kshitij.so 4756
    """
8168 kshitij.so 4757
    self.send_updateAmazonItemDetails(amazonlisted)
7281 kshitij.so 4758
    self.recv_updateAmazonItemDetails()
4759
 
8168 kshitij.so 4760
  def send_updateAmazonItemDetails(self, amazonlisted):
7281 kshitij.so 4761
    self._oprot.writeMessageBegin('updateAmazonItemDetails', TMessageType.CALL, self._seqid)
4762
    args = updateAmazonItemDetails_args()
8168 kshitij.so 4763
    args.amazonlisted = amazonlisted
7281 kshitij.so 4764
    args.write(self._oprot)
4765
    self._oprot.writeMessageEnd()
4766
    self._oprot.trans.flush()
4767
 
4768
  def recv_updateAmazonItemDetails(self, ):
4769
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
4770
    if mtype == TMessageType.EXCEPTION:
4771
      x = TApplicationException()
4772
      x.read(self._iprot)
4773
      self._iprot.readMessageEnd()
4774
      raise x
4775
    result = updateAmazonItemDetails_result()
4776
    result.read(self._iprot)
4777
    self._iprot.readMessageEnd()
4778
    return
4779
 
4780
  def addAmazonItem(self, amazonlisted):
4781
    """
4782
    Parameters:
4783
     - amazonlisted
4784
    """
4785
    self.send_addAmazonItem(amazonlisted)
4786
    self.recv_addAmazonItem()
4787
 
4788
  def send_addAmazonItem(self, amazonlisted):
4789
    self._oprot.writeMessageBegin('addAmazonItem', TMessageType.CALL, self._seqid)
4790
    args = addAmazonItem_args()
4791
    args.amazonlisted = amazonlisted
4792
    args.write(self._oprot)
4793
    self._oprot.writeMessageEnd()
4794
    self._oprot.trans.flush()
4795
 
4796
  def recv_addAmazonItem(self, ):
4797
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
4798
    if mtype == TMessageType.EXCEPTION:
4799
      x = TApplicationException()
4800
      x.read(self._iprot)
4801
      self._iprot.readMessageEnd()
4802
      raise x
4803
    result = addAmazonItem_result()
4804
    result.read(self._iprot)
4805
    self._iprot.readMessageEnd()
4806
    return
4807
 
7291 vikram.rag 4808
  def getAsinItems(self, ):
4809
    self.send_getAsinItems()
4810
    return self.recv_getAsinItems()
7281 kshitij.so 4811
 
7291 vikram.rag 4812
  def send_getAsinItems(self, ):
4813
    self._oprot.writeMessageBegin('getAsinItems', TMessageType.CALL, self._seqid)
4814
    args = getAsinItems_args()
4815
    args.write(self._oprot)
4816
    self._oprot.writeMessageEnd()
4817
    self._oprot.trans.flush()
4818
 
4819
  def recv_getAsinItems(self, ):
4820
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
4821
    if mtype == TMessageType.EXCEPTION:
4822
      x = TApplicationException()
4823
      x.read(self._iprot)
4824
      self._iprot.readMessageEnd()
4825
      raise x
4826
    result = getAsinItems_result()
4827
    result.read(self._iprot)
4828
    self._iprot.readMessageEnd()
4829
    if result.success is not None:
4830
      return result.success
4831
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAsinItems failed: unknown result");
4832
 
4833
  def getAllFbaListedItems(self, ):
4834
    self.send_getAllFbaListedItems()
4835
    return self.recv_getAllFbaListedItems()
4836
 
4837
  def send_getAllFbaListedItems(self, ):
4838
    self._oprot.writeMessageBegin('getAllFbaListedItems', TMessageType.CALL, self._seqid)
4839
    args = getAllFbaListedItems_args()
4840
    args.write(self._oprot)
4841
    self._oprot.writeMessageEnd()
4842
    self._oprot.trans.flush()
4843
 
4844
  def recv_getAllFbaListedItems(self, ):
4845
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
4846
    if mtype == TMessageType.EXCEPTION:
4847
      x = TApplicationException()
4848
      x.read(self._iprot)
4849
      self._iprot.readMessageEnd()
4850
      raise x
4851
    result = getAllFbaListedItems_result()
4852
    result.read(self._iprot)
4853
    self._iprot.readMessageEnd()
4854
    if result.success is not None:
4855
      return result.success
4856
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAllFbaListedItems failed: unknown result");
4857
 
4858
  def getAllNonFbaListedItems(self, ):
4859
    self.send_getAllNonFbaListedItems()
4860
    return self.recv_getAllNonFbaListedItems()
4861
 
4862
  def send_getAllNonFbaListedItems(self, ):
4863
    self._oprot.writeMessageBegin('getAllNonFbaListedItems', TMessageType.CALL, self._seqid)
4864
    args = getAllNonFbaListedItems_args()
4865
    args.write(self._oprot)
4866
    self._oprot.writeMessageEnd()
4867
    self._oprot.trans.flush()
4868
 
4869
  def recv_getAllNonFbaListedItems(self, ):
4870
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
4871
    if mtype == TMessageType.EXCEPTION:
4872
      x = TApplicationException()
4873
      x.read(self._iprot)
4874
      self._iprot.readMessageEnd()
4875
      raise x
4876
    result = getAllNonFbaListedItems_result()
4877
    result.read(self._iprot)
4878
    self._iprot.readMessageEnd()
4879
    if result.success is not None:
4880
      return result.success
4881
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAllNonFbaListedItems failed: unknown result");
4882
 
7460 kshitij.so 4883
  def updateItemInventory(self, itemId, holdInventory, defaultInventory):
4884
    """
4885
    Parameters:
4886
     - itemId
4887
     - holdInventory
4888
     - defaultInventory
4889
    """
4890
    self.send_updateItemInventory(itemId, holdInventory, defaultInventory)
4891
    return self.recv_updateItemInventory()
7291 vikram.rag 4892
 
7460 kshitij.so 4893
  def send_updateItemInventory(self, itemId, holdInventory, defaultInventory):
4894
    self._oprot.writeMessageBegin('updateItemInventory', TMessageType.CALL, self._seqid)
4895
    args = updateItemInventory_args()
4896
    args.itemId = itemId
4897
    args.holdInventory = holdInventory
4898
    args.defaultInventory = defaultInventory
4899
    args.write(self._oprot)
4900
    self._oprot.writeMessageEnd()
4901
    self._oprot.trans.flush()
4902
 
4903
  def recv_updateItemInventory(self, ):
4904
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
4905
    if mtype == TMessageType.EXCEPTION:
4906
      x = TApplicationException()
4907
      x.read(self._iprot)
4908
      self._iprot.readMessageEnd()
4909
      raise x
4910
    result = updateItemInventory_result()
4911
    result.read(self._iprot)
4912
    self._iprot.readMessageEnd()
4913
    if result.success is not None:
4914
      return result.success
4915
    raise TApplicationException(TApplicationException.MISSING_RESULT, "updateItemInventory failed: unknown result");
4916
 
7770 kshitij.so 4917
  def updateTimestampForAmazonFeeds(self, type, sku, timestamp):
4918
    """
4919
    Parameters:
4920
     - type
4921
     - sku
4922
     - timestamp
4923
    """
4924
    self.send_updateTimestampForAmazonFeeds(type, sku, timestamp)
4925
    return self.recv_updateTimestampForAmazonFeeds()
7460 kshitij.so 4926
 
7770 kshitij.so 4927
  def send_updateTimestampForAmazonFeeds(self, type, sku, timestamp):
4928
    self._oprot.writeMessageBegin('updateTimestampForAmazonFeeds', TMessageType.CALL, self._seqid)
4929
    args = updateTimestampForAmazonFeeds_args()
4930
    args.type = type
4931
    args.sku = sku
4932
    args.timestamp = timestamp
4933
    args.write(self._oprot)
4934
    self._oprot.writeMessageEnd()
4935
    self._oprot.trans.flush()
4936
 
4937
  def recv_updateTimestampForAmazonFeeds(self, ):
4938
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
4939
    if mtype == TMessageType.EXCEPTION:
4940
      x = TApplicationException()
4941
      x.read(self._iprot)
4942
      self._iprot.readMessageEnd()
4943
      raise x
4944
    result = updateTimestampForAmazonFeeds_result()
4945
    result.read(self._iprot)
4946
    self._iprot.readMessageEnd()
4947
    if result.success is not None:
4948
      return result.success
4949
    raise TApplicationException(TApplicationException.MISSING_RESULT, "updateTimestampForAmazonFeeds failed: unknown result");
4950
 
7897 amar.kumar 4951
  def getAllParentCategories(self, ):
4952
    self.send_getAllParentCategories()
4953
    return self.recv_getAllParentCategories()
7770 kshitij.so 4954
 
7897 amar.kumar 4955
  def send_getAllParentCategories(self, ):
4956
    self._oprot.writeMessageBegin('getAllParentCategories', TMessageType.CALL, self._seqid)
4957
    args = getAllParentCategories_args()
4958
    args.write(self._oprot)
4959
    self._oprot.writeMessageEnd()
4960
    self._oprot.trans.flush()
4961
 
4962
  def recv_getAllParentCategories(self, ):
4963
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
4964
    if mtype == TMessageType.EXCEPTION:
4965
      x = TApplicationException()
4966
      x.read(self._iprot)
4967
      self._iprot.readMessageEnd()
4968
      raise x
4969
    result = getAllParentCategories_result()
4970
    result.read(self._iprot)
4971
    self._iprot.readMessageEnd()
4972
    if result.success is not None:
4973
      return result.success
4974
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAllParentCategories failed: unknown result");
4975
 
7977 kshitij.so 4976
  def addPageViewEvent(self, pageViewEvents):
4977
    """
4978
    Parameters:
4979
     - pageViewEvents
4980
    """
4981
    self.send_addPageViewEvent(pageViewEvents)
4982
    self.recv_addPageViewEvent()
7897 amar.kumar 4983
 
7977 kshitij.so 4984
  def send_addPageViewEvent(self, pageViewEvents):
4985
    self._oprot.writeMessageBegin('addPageViewEvent', TMessageType.CALL, self._seqid)
4986
    args = addPageViewEvent_args()
4987
    args.pageViewEvents = pageViewEvents
4988
    args.write(self._oprot)
4989
    self._oprot.writeMessageEnd()
4990
    self._oprot.trans.flush()
4991
 
4992
  def recv_addPageViewEvent(self, ):
4993
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
4994
    if mtype == TMessageType.EXCEPTION:
4995
      x = TApplicationException()
4996
      x.read(self._iprot)
4997
      self._iprot.readMessageEnd()
4998
      raise x
4999
    result = addPageViewEvent_result()
5000
    result.read(self._iprot)
5001
    self._iprot.readMessageEnd()
5002
    return
5003
 
5004
  def addCartEvent(self, cartEvents):
5005
    """
5006
    Parameters:
5007
     - cartEvents
5008
    """
5009
    self.send_addCartEvent(cartEvents)
5010
    self.recv_addCartEvent()
5011
 
5012
  def send_addCartEvent(self, cartEvents):
5013
    self._oprot.writeMessageBegin('addCartEvent', TMessageType.CALL, self._seqid)
5014
    args = addCartEvent_args()
5015
    args.cartEvents = cartEvents
5016
    args.write(self._oprot)
5017
    self._oprot.writeMessageEnd()
5018
    self._oprot.trans.flush()
5019
 
5020
  def recv_addCartEvent(self, ):
5021
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
5022
    if mtype == TMessageType.EXCEPTION:
5023
      x = TApplicationException()
5024
      x.read(self._iprot)
5025
      self._iprot.readMessageEnd()
5026
      raise x
5027
    result = addCartEvent_result()
5028
    result.read(self._iprot)
5029
    self._iprot.readMessageEnd()
5030
    return
5031
 
8182 amar.kumar 5032
  def addEbayItem(self, ebayItem):
5033
    """
5034
    Parameters:
5035
     - ebayItem
5036
    """
5037
    self.send_addEbayItem(ebayItem)
5038
    self.recv_addEbayItem()
5039
 
5040
  def send_addEbayItem(self, ebayItem):
5041
    self._oprot.writeMessageBegin('addEbayItem', TMessageType.CALL, self._seqid)
5042
    args = addEbayItem_args()
5043
    args.ebayItem = ebayItem
5044
    args.write(self._oprot)
5045
    self._oprot.writeMessageEnd()
5046
    self._oprot.trans.flush()
5047
 
5048
  def recv_addEbayItem(self, ):
5049
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
5050
    if mtype == TMessageType.EXCEPTION:
5051
      x = TApplicationException()
5052
      x.read(self._iprot)
5053
      self._iprot.readMessageEnd()
5054
      raise x
5055
    result = addEbayItem_result()
5056
    result.read(self._iprot)
5057
    self._iprot.readMessageEnd()
5058
    return
5059
 
5060
  def getEbayItem(self, listingId):
5061
    """
5062
    Parameters:
5063
     - listingId
5064
    """
5065
    self.send_getEbayItem(listingId)
5066
    return self.recv_getEbayItem()
5067
 
5068
  def send_getEbayItem(self, listingId):
5069
    self._oprot.writeMessageBegin('getEbayItem', TMessageType.CALL, self._seqid)
5070
    args = getEbayItem_args()
5071
    args.listingId = listingId
5072
    args.write(self._oprot)
5073
    self._oprot.writeMessageEnd()
5074
    self._oprot.trans.flush()
5075
 
5076
  def recv_getEbayItem(self, ):
5077
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
5078
    if mtype == TMessageType.EXCEPTION:
5079
      x = TApplicationException()
5080
      x.read(self._iprot)
5081
      self._iprot.readMessageEnd()
5082
      raise x
5083
    result = getEbayItem_result()
5084
    result.read(self._iprot)
5085
    self._iprot.readMessageEnd()
5086
    if result.success is not None:
5087
      return result.success
5088
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getEbayItem failed: unknown result");
5089
 
5090
  def updateEbayItem(self, ebayItem):
5091
    """
5092
    Parameters:
5093
     - ebayItem
5094
    """
5095
    self.send_updateEbayItem(ebayItem)
5096
    self.recv_updateEbayItem()
5097
 
5098
  def send_updateEbayItem(self, ebayItem):
5099
    self._oprot.writeMessageBegin('updateEbayItem', TMessageType.CALL, self._seqid)
5100
    args = updateEbayItem_args()
5101
    args.ebayItem = ebayItem
5102
    args.write(self._oprot)
5103
    self._oprot.writeMessageEnd()
5104
    self._oprot.trans.flush()
5105
 
5106
  def recv_updateEbayItem(self, ):
5107
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
5108
    if mtype == TMessageType.EXCEPTION:
5109
      x = TApplicationException()
5110
      x.read(self._iprot)
5111
      self._iprot.readMessageEnd()
5112
      raise x
5113
    result = updateEbayItem_result()
5114
    result.read(self._iprot)
5115
    self._iprot.readMessageEnd()
5116
    return
5117
 
8139 kshitij.so 5118
  def getAmazonListedItems(self, offset, limit):
5119
    """
5120
    Parameters:
5121
     - offset
5122
     - limit
5123
    """
5124
    self.send_getAmazonListedItems(offset, limit)
5125
    return self.recv_getAmazonListedItems()
7977 kshitij.so 5126
 
8139 kshitij.so 5127
  def send_getAmazonListedItems(self, offset, limit):
5128
    self._oprot.writeMessageBegin('getAmazonListedItems', TMessageType.CALL, self._seqid)
5129
    args = getAmazonListedItems_args()
5130
    args.offset = offset
5131
    args.limit = limit
5132
    args.write(self._oprot)
5133
    self._oprot.writeMessageEnd()
5134
    self._oprot.trans.flush()
5135
 
5136
  def recv_getAmazonListedItems(self, ):
5137
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
5138
    if mtype == TMessageType.EXCEPTION:
5139
      x = TApplicationException()
5140
      x.read(self._iprot)
5141
      self._iprot.readMessageEnd()
5142
      raise x
5143
    result = getAmazonListedItems_result()
5144
    result.read(self._iprot)
5145
    self._iprot.readMessageEnd()
5146
    if result.success is not None:
5147
      return result.success
5148
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAmazonListedItems failed: unknown result");
5149
 
8168 kshitij.so 5150
  def updateAmazonAttributesInBulk(self, amazonlisted):
5151
    """
5152
    Parameters:
5153
     - amazonlisted
5154
    """
5155
    self.send_updateAmazonAttributesInBulk(amazonlisted)
5156
    return self.recv_updateAmazonAttributesInBulk()
8139 kshitij.so 5157
 
8168 kshitij.so 5158
  def send_updateAmazonAttributesInBulk(self, amazonlisted):
5159
    self._oprot.writeMessageBegin('updateAmazonAttributesInBulk', TMessageType.CALL, self._seqid)
5160
    args = updateAmazonAttributesInBulk_args()
5161
    args.amazonlisted = amazonlisted
5162
    args.write(self._oprot)
5163
    self._oprot.writeMessageEnd()
5164
    self._oprot.trans.flush()
5165
 
5166
  def recv_updateAmazonAttributesInBulk(self, ):
5167
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
5168
    if mtype == TMessageType.EXCEPTION:
5169
      x = TApplicationException()
5170
      x.read(self._iprot)
5171
      self._iprot.readMessageEnd()
5172
      raise x
5173
    result = updateAmazonAttributesInBulk_result()
5174
    result.read(self._iprot)
5175
    self._iprot.readMessageEnd()
5176
    if result.success is not None:
5177
      return result.success
5178
    raise TApplicationException(TApplicationException.MISSING_RESULT, "updateAmazonAttributesInBulk failed: unknown result");
5179
 
8379 vikram.rag 5180
  def getAllItemstoListOnFba(self, ):
5181
    self.send_getAllItemstoListOnFba()
5182
    return self.recv_getAllItemstoListOnFba()
8168 kshitij.so 5183
 
8379 vikram.rag 5184
  def send_getAllItemstoListOnFba(self, ):
5185
    self._oprot.writeMessageBegin('getAllItemstoListOnFba', TMessageType.CALL, self._seqid)
5186
    args = getAllItemstoListOnFba_args()
5187
    args.write(self._oprot)
5188
    self._oprot.writeMessageEnd()
5189
    self._oprot.trans.flush()
5190
 
5191
  def recv_getAllItemstoListOnFba(self, ):
5192
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
5193
    if mtype == TMessageType.EXCEPTION:
5194
      x = TApplicationException()
5195
      x.read(self._iprot)
5196
      self._iprot.readMessageEnd()
5197
      raise x
5198
    result = getAllItemstoListOnFba_result()
5199
    result.read(self._iprot)
5200
    self._iprot.readMessageEnd()
5201
    if result.success is not None:
5202
      return result.success
5203
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAllItemstoListOnFba failed: unknown result");
5204
 
5205
  def getAllItemstoListOnNonFba(self, ):
5206
    self.send_getAllItemstoListOnNonFba()
5207
    return self.recv_getAllItemstoListOnNonFba()
5208
 
5209
  def send_getAllItemstoListOnNonFba(self, ):
5210
    self._oprot.writeMessageBegin('getAllItemstoListOnNonFba', TMessageType.CALL, self._seqid)
5211
    args = getAllItemstoListOnNonFba_args()
5212
    args.write(self._oprot)
5213
    self._oprot.writeMessageEnd()
5214
    self._oprot.trans.flush()
5215
 
5216
  def recv_getAllItemstoListOnNonFba(self, ):
5217
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
5218
    if mtype == TMessageType.EXCEPTION:
5219
      x = TApplicationException()
5220
      x.read(self._iprot)
5221
      self._iprot.readMessageEnd()
5222
      raise x
5223
    result = getAllItemstoListOnNonFba_result()
5224
    result.read(self._iprot)
5225
    self._iprot.readMessageEnd()
5226
    if result.success is not None:
5227
      return result.success
5228
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAllItemstoListOnNonFba failed: unknown result");
5229
 
8619 kshitij.so 5230
  def updateAsin(self, item):
5231
    """
5232
    Parameters:
5233
     - item
5234
    """
5235
    self.send_updateAsin(item)
5236
    self.recv_updateAsin()
8616 vikram.rag 5237
 
8619 kshitij.so 5238
  def send_updateAsin(self, item):
5239
    self._oprot.writeMessageBegin('updateAsin', TMessageType.CALL, self._seqid)
5240
    args = updateAsin_args()
5241
    args.item = item
5242
    args.write(self._oprot)
5243
    self._oprot.writeMessageEnd()
5244
    self._oprot.trans.flush()
5245
 
5246
  def recv_updateAsin(self, ):
5247
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
5248
    if mtype == TMessageType.EXCEPTION:
5249
      x = TApplicationException()
5250
      x.read(self._iprot)
5251
      self._iprot.readMessageEnd()
5252
      raise x
5253
    result = updateAsin_result()
5254
    result.read(self._iprot)
5255
    self._iprot.readMessageEnd()
5256
    return
5257
 
8739 vikram.rag 5258
  def addOrUpdateSnapdealItem(self, snapdealitem):
5259
    """
5260
    Parameters:
5261
     - snapdealitem
5262
    """
5263
    self.send_addOrUpdateSnapdealItem(snapdealitem)
5264
    return self.recv_addOrUpdateSnapdealItem()
8619 kshitij.so 5265
 
8739 vikram.rag 5266
  def send_addOrUpdateSnapdealItem(self, snapdealitem):
5267
    self._oprot.writeMessageBegin('addOrUpdateSnapdealItem', TMessageType.CALL, self._seqid)
5268
    args = addOrUpdateSnapdealItem_args()
5269
    args.snapdealitem = snapdealitem
5270
    args.write(self._oprot)
5271
    self._oprot.writeMessageEnd()
5272
    self._oprot.trans.flush()
5273
 
5274
  def recv_addOrUpdateSnapdealItem(self, ):
5275
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
5276
    if mtype == TMessageType.EXCEPTION:
5277
      x = TApplicationException()
5278
      x.read(self._iprot)
5279
      self._iprot.readMessageEnd()
5280
      raise x
5281
    result = addOrUpdateSnapdealItem_result()
5282
    result.read(self._iprot)
5283
    self._iprot.readMessageEnd()
5284
    if result.success is not None:
5285
      return result.success
5286
    raise TApplicationException(TApplicationException.MISSING_RESULT, "addOrUpdateSnapdealItem failed: unknown result");
5287
 
5288
  def getSnapdealItem(self, item_id):
5289
    """
5290
    Parameters:
5291
     - item_id
5292
    """
5293
    self.send_getSnapdealItem(item_id)
5294
    return self.recv_getSnapdealItem()
5295
 
5296
  def send_getSnapdealItem(self, item_id):
5297
    self._oprot.writeMessageBegin('getSnapdealItem', TMessageType.CALL, self._seqid)
5298
    args = getSnapdealItem_args()
5299
    args.item_id = item_id
5300
    args.write(self._oprot)
5301
    self._oprot.writeMessageEnd()
5302
    self._oprot.trans.flush()
5303
 
5304
  def recv_getSnapdealItem(self, ):
5305
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
5306
    if mtype == TMessageType.EXCEPTION:
5307
      x = TApplicationException()
5308
      x.read(self._iprot)
5309
      self._iprot.readMessageEnd()
5310
      raise x
5311
    result = getSnapdealItem_result()
5312
    result.read(self._iprot)
5313
    self._iprot.readMessageEnd()
5314
    if result.success is not None:
5315
      return result.success
5316
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getSnapdealItem failed: unknown result");
5317
 
9242 kshitij.so 5318
  def getSnapdealItemDetails(self, item_id):
5319
    """
5320
    Parameters:
5321
     - item_id
5322
    """
5323
    self.send_getSnapdealItemDetails(item_id)
5324
    return self.recv_getSnapdealItemDetails()
5325
 
5326
  def send_getSnapdealItemDetails(self, item_id):
5327
    self._oprot.writeMessageBegin('getSnapdealItemDetails', TMessageType.CALL, self._seqid)
5328
    args = getSnapdealItemDetails_args()
5329
    args.item_id = item_id
5330
    args.write(self._oprot)
5331
    self._oprot.writeMessageEnd()
5332
    self._oprot.trans.flush()
5333
 
5334
  def recv_getSnapdealItemDetails(self, ):
5335
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
5336
    if mtype == TMessageType.EXCEPTION:
5337
      x = TApplicationException()
5338
      x.read(self._iprot)
5339
      self._iprot.readMessageEnd()
5340
      raise x
5341
    result = getSnapdealItemDetails_result()
5342
    result.read(self._iprot)
5343
    self._iprot.readMessageEnd()
5344
    if result.success is not None:
5345
      return result.success
5346
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getSnapdealItemDetails failed: unknown result");
5347
 
8739 vikram.rag 5348
  def getAllSnapdealItems(self, ):
5349
    self.send_getAllSnapdealItems()
5350
    return self.recv_getAllSnapdealItems()
5351
 
5352
  def send_getAllSnapdealItems(self, ):
5353
    self._oprot.writeMessageBegin('getAllSnapdealItems', TMessageType.CALL, self._seqid)
5354
    args = getAllSnapdealItems_args()
5355
    args.write(self._oprot)
5356
    self._oprot.writeMessageEnd()
5357
    self._oprot.trans.flush()
5358
 
5359
  def recv_getAllSnapdealItems(self, ):
5360
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
5361
    if mtype == TMessageType.EXCEPTION:
5362
      x = TApplicationException()
5363
      x.read(self._iprot)
5364
      self._iprot.readMessageEnd()
5365
      raise x
5366
    result = getAllSnapdealItems_result()
5367
    result.read(self._iprot)
5368
    self._iprot.readMessageEnd()
5369
    if result.success is not None:
5370
      return result.success
5371
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAllSnapdealItems failed: unknown result");
5372
 
9242 kshitij.so 5373
  def getSnapdealItems(self, offset, limit):
5374
    """
5375
    Parameters:
5376
     - offset
5377
     - limit
5378
    """
5379
    self.send_getSnapdealItems(offset, limit)
5380
    return self.recv_getSnapdealItems()
8739 vikram.rag 5381
 
9242 kshitij.so 5382
  def send_getSnapdealItems(self, offset, limit):
5383
    self._oprot.writeMessageBegin('getSnapdealItems', TMessageType.CALL, self._seqid)
5384
    args = getSnapdealItems_args()
5385
    args.offset = offset
5386
    args.limit = limit
5387
    args.write(self._oprot)
5388
    self._oprot.writeMessageEnd()
5389
    self._oprot.trans.flush()
5390
 
5391
  def recv_getSnapdealItems(self, ):
5392
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
5393
    if mtype == TMessageType.EXCEPTION:
5394
      x = TApplicationException()
5395
      x.read(self._iprot)
5396
      self._iprot.readMessageEnd()
5397
      raise x
5398
    result = getSnapdealItems_result()
5399
    result.read(self._iprot)
5400
    self._iprot.readMessageEnd()
5401
    if result.success is not None:
5402
      return result.success
5403
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getSnapdealItems failed: unknown result");
5404
 
5405
  def searchSnapdealItems(self, searchTerm, offset, limit):
5406
    """
5407
    Parameters:
5408
     - searchTerm
5409
     - offset
5410
     - limit
5411
    """
5412
    self.send_searchSnapdealItems(searchTerm, offset, limit)
5413
    return self.recv_searchSnapdealItems()
5414
 
5415
  def send_searchSnapdealItems(self, searchTerm, offset, limit):
5416
    self._oprot.writeMessageBegin('searchSnapdealItems', TMessageType.CALL, self._seqid)
5417
    args = searchSnapdealItems_args()
5418
    args.searchTerm = searchTerm
5419
    args.offset = offset
5420
    args.limit = limit
5421
    args.write(self._oprot)
5422
    self._oprot.writeMessageEnd()
5423
    self._oprot.trans.flush()
5424
 
5425
  def recv_searchSnapdealItems(self, ):
5426
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
5427
    if mtype == TMessageType.EXCEPTION:
5428
      x = TApplicationException()
5429
      x.read(self._iprot)
5430
      self._iprot.readMessageEnd()
5431
      raise x
5432
    result = searchSnapdealItems_result()
5433
    result.read(self._iprot)
5434
    self._iprot.readMessageEnd()
5435
    if result.success is not None:
5436
      return result.success
5437
    raise TApplicationException(TApplicationException.MISSING_RESULT, "searchSnapdealItems failed: unknown result");
5438
 
5439
  def getCountForSnapdealItems(self, ):
5440
    self.send_getCountForSnapdealItems()
5441
    return self.recv_getCountForSnapdealItems()
5442
 
5443
  def send_getCountForSnapdealItems(self, ):
5444
    self._oprot.writeMessageBegin('getCountForSnapdealItems', TMessageType.CALL, self._seqid)
5445
    args = getCountForSnapdealItems_args()
5446
    args.write(self._oprot)
5447
    self._oprot.writeMessageEnd()
5448
    self._oprot.trans.flush()
5449
 
5450
  def recv_getCountForSnapdealItems(self, ):
5451
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
5452
    if mtype == TMessageType.EXCEPTION:
5453
      x = TApplicationException()
5454
      x.read(self._iprot)
5455
      self._iprot.readMessageEnd()
5456
      raise x
5457
    result = getCountForSnapdealItems_result()
5458
    result.read(self._iprot)
5459
    self._iprot.readMessageEnd()
5460
    if result.success is not None:
5461
      return result.success
5462
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getCountForSnapdealItems failed: unknown result");
5463
 
5464
  def getSnapdealSearchResultCount(self, searchTerm):
5465
    """
5466
    Parameters:
5467
     - searchTerm
5468
    """
5469
    self.send_getSnapdealSearchResultCount(searchTerm)
5470
    return self.recv_getSnapdealSearchResultCount()
5471
 
5472
  def send_getSnapdealSearchResultCount(self, searchTerm):
5473
    self._oprot.writeMessageBegin('getSnapdealSearchResultCount', TMessageType.CALL, self._seqid)
5474
    args = getSnapdealSearchResultCount_args()
5475
    args.searchTerm = searchTerm
5476
    args.write(self._oprot)
5477
    self._oprot.writeMessageEnd()
5478
    self._oprot.trans.flush()
5479
 
5480
  def recv_getSnapdealSearchResultCount(self, ):
5481
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
5482
    if mtype == TMessageType.EXCEPTION:
5483
      x = TApplicationException()
5484
      x.read(self._iprot)
5485
      self._iprot.readMessageEnd()
5486
      raise x
5487
    result = getSnapdealSearchResultCount_result()
5488
    result.read(self._iprot)
5489
    self._iprot.readMessageEnd()
5490
    if result.success is not None:
5491
      return result.success
5492
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getSnapdealSearchResultCount failed: unknown result");
5493
 
9299 kshitij.so 5494
  def getPrefferedInsurerForItem(self, itemId, insurerType):
5495
    """
5496
    Parameters:
5497
     - itemId
5498
     - insurerType
5499
    """
5500
    self.send_getPrefferedInsurerForItem(itemId, insurerType)
5501
    return self.recv_getPrefferedInsurerForItem()
9242 kshitij.so 5502
 
9299 kshitij.so 5503
  def send_getPrefferedInsurerForItem(self, itemId, insurerType):
5504
    self._oprot.writeMessageBegin('getPrefferedInsurerForItem', TMessageType.CALL, self._seqid)
5505
    args = getPrefferedInsurerForItem_args()
5506
    args.itemId = itemId
5507
    args.insurerType = insurerType
5508
    args.write(self._oprot)
5509
    self._oprot.writeMessageEnd()
5510
    self._oprot.trans.flush()
5511
 
5512
  def recv_getPrefferedInsurerForItem(self, ):
5513
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
5514
    if mtype == TMessageType.EXCEPTION:
5515
      x = TApplicationException()
5516
      x.read(self._iprot)
5517
      self._iprot.readMessageEnd()
5518
      raise x
5519
    result = getPrefferedInsurerForItem_result()
5520
    result.read(self._iprot)
5521
    self._iprot.readMessageEnd()
5522
    if result.success is not None:
5523
      return result.success
5524
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getPrefferedInsurerForItem failed: unknown result");
5525
 
9456 vikram.rag 5526
  def getSnapdealItembySkuAtSnapdeal(self, skuAtSnapdeal):
5527
    """
5528
    Parameters:
5529
     - skuAtSnapdeal
5530
    """
5531
    self.send_getSnapdealItembySkuAtSnapdeal(skuAtSnapdeal)
5532
    return self.recv_getSnapdealItembySkuAtSnapdeal()
9299 kshitij.so 5533
 
9456 vikram.rag 5534
  def send_getSnapdealItembySkuAtSnapdeal(self, skuAtSnapdeal):
5535
    self._oprot.writeMessageBegin('getSnapdealItembySkuAtSnapdeal', TMessageType.CALL, self._seqid)
5536
    args = getSnapdealItembySkuAtSnapdeal_args()
5537
    args.skuAtSnapdeal = skuAtSnapdeal
5538
    args.write(self._oprot)
5539
    self._oprot.writeMessageEnd()
5540
    self._oprot.trans.flush()
5541
 
5542
  def recv_getSnapdealItembySkuAtSnapdeal(self, ):
5543
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
5544
    if mtype == TMessageType.EXCEPTION:
5545
      x = TApplicationException()
5546
      x.read(self._iprot)
5547
      self._iprot.readMessageEnd()
5548
      raise x
5549
    result = getSnapdealItembySkuAtSnapdeal_result()
5550
    result.read(self._iprot)
5551
    self._iprot.readMessageEnd()
5552
    if result.success is not None:
5553
      return result.success
5554
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getSnapdealItembySkuAtSnapdeal failed: unknown result");
5555
 
9621 manish.sha 5556
  def getProductFeedSubmit(self, catalogItemId):
5557
    """
5558
    Parameters:
5559
     - catalogItemId
5560
    """
5561
    self.send_getProductFeedSubmit(catalogItemId)
5562
    return self.recv_getProductFeedSubmit()
9456 vikram.rag 5563
 
9621 manish.sha 5564
  def send_getProductFeedSubmit(self, catalogItemId):
5565
    self._oprot.writeMessageBegin('getProductFeedSubmit', TMessageType.CALL, self._seqid)
5566
    args = getProductFeedSubmit_args()
5567
    args.catalogItemId = catalogItemId
5568
    args.write(self._oprot)
5569
    self._oprot.writeMessageEnd()
5570
    self._oprot.trans.flush()
5571
 
5572
  def recv_getProductFeedSubmit(self, ):
5573
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
5574
    if mtype == TMessageType.EXCEPTION:
5575
      x = TApplicationException()
5576
      x.read(self._iprot)
5577
      self._iprot.readMessageEnd()
5578
      raise x
5579
    result = getProductFeedSubmit_result()
5580
    result.read(self._iprot)
5581
    self._iprot.readMessageEnd()
5582
    if result.success is not None:
5583
      return result.success
5584
    if result.cex is not None:
5585
      raise result.cex
5586
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getProductFeedSubmit failed: unknown result");
5587
 
5588
  def addProductFeedSubmit(self, productFeedSubmit):
5589
    """
5590
    Parameters:
5591
     - productFeedSubmit
5592
    """
5593
    self.send_addProductFeedSubmit(productFeedSubmit)
5594
    return self.recv_addProductFeedSubmit()
5595
 
5596
  def send_addProductFeedSubmit(self, productFeedSubmit):
5597
    self._oprot.writeMessageBegin('addProductFeedSubmit', TMessageType.CALL, self._seqid)
5598
    args = addProductFeedSubmit_args()
5599
    args.productFeedSubmit = productFeedSubmit
5600
    args.write(self._oprot)
5601
    self._oprot.writeMessageEnd()
5602
    self._oprot.trans.flush()
5603
 
5604
  def recv_addProductFeedSubmit(self, ):
5605
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
5606
    if mtype == TMessageType.EXCEPTION:
5607
      x = TApplicationException()
5608
      x.read(self._iprot)
5609
      self._iprot.readMessageEnd()
5610
      raise x
5611
    result = addProductFeedSubmit_result()
5612
    result.read(self._iprot)
5613
    self._iprot.readMessageEnd()
5614
    if result.success is not None:
5615
      return result.success
5616
    if result.cex is not None:
5617
      raise result.cex
5618
    raise TApplicationException(TApplicationException.MISSING_RESULT, "addProductFeedSubmit failed: unknown result");
5619
 
5620
  def updateProductFeedSubmit(self, productFeedSubmit):
5621
    """
5622
    Parameters:
5623
     - productFeedSubmit
5624
    """
5625
    self.send_updateProductFeedSubmit(productFeedSubmit)
5626
    return self.recv_updateProductFeedSubmit()
5627
 
5628
  def send_updateProductFeedSubmit(self, productFeedSubmit):
5629
    self._oprot.writeMessageBegin('updateProductFeedSubmit', TMessageType.CALL, self._seqid)
5630
    args = updateProductFeedSubmit_args()
5631
    args.productFeedSubmit = productFeedSubmit
5632
    args.write(self._oprot)
5633
    self._oprot.writeMessageEnd()
5634
    self._oprot.trans.flush()
5635
 
5636
  def recv_updateProductFeedSubmit(self, ):
5637
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
5638
    if mtype == TMessageType.EXCEPTION:
5639
      x = TApplicationException()
5640
      x.read(self._iprot)
5641
      self._iprot.readMessageEnd()
5642
      raise x
5643
    result = updateProductFeedSubmit_result()
5644
    result.read(self._iprot)
5645
    self._iprot.readMessageEnd()
5646
    if result.success is not None:
5647
      return result.success
5648
    if result.cex is not None:
5649
      raise result.cex
5650
    raise TApplicationException(TApplicationException.MISSING_RESULT, "updateProductFeedSubmit failed: unknown result");
5651
 
5652
  def deleteProductFeedSubmit(self, catalogItemId):
5653
    """
5654
    Parameters:
5655
     - catalogItemId
5656
    """
5657
    self.send_deleteProductFeedSubmit(catalogItemId)
5658
    return self.recv_deleteProductFeedSubmit()
5659
 
5660
  def send_deleteProductFeedSubmit(self, catalogItemId):
5661
    self._oprot.writeMessageBegin('deleteProductFeedSubmit', TMessageType.CALL, self._seqid)
5662
    args = deleteProductFeedSubmit_args()
5663
    args.catalogItemId = catalogItemId
5664
    args.write(self._oprot)
5665
    self._oprot.writeMessageEnd()
5666
    self._oprot.trans.flush()
5667
 
5668
  def recv_deleteProductFeedSubmit(self, ):
5669
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
5670
    if mtype == TMessageType.EXCEPTION:
5671
      x = TApplicationException()
5672
      x.read(self._iprot)
5673
      self._iprot.readMessageEnd()
5674
      raise x
5675
    result = deleteProductFeedSubmit_result()
5676
    result.read(self._iprot)
5677
    self._iprot.readMessageEnd()
5678
    if result.success is not None:
5679
      return result.success
5680
    if result.cex is not None:
5681
      raise result.cex
5682
    raise TApplicationException(TApplicationException.MISSING_RESULT, "deleteProductFeedSubmit failed: unknown result");
5683
 
5684
  def getAllProductFeedSubmit(self, ):
5685
    self.send_getAllProductFeedSubmit()
5686
    return self.recv_getAllProductFeedSubmit()
5687
 
5688
  def send_getAllProductFeedSubmit(self, ):
5689
    self._oprot.writeMessageBegin('getAllProductFeedSubmit', TMessageType.CALL, self._seqid)
5690
    args = getAllProductFeedSubmit_args()
5691
    args.write(self._oprot)
5692
    self._oprot.writeMessageEnd()
5693
    self._oprot.trans.flush()
5694
 
5695
  def recv_getAllProductFeedSubmit(self, ):
5696
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
5697
    if mtype == TMessageType.EXCEPTION:
5698
      x = TApplicationException()
5699
      x.read(self._iprot)
5700
      self._iprot.readMessageEnd()
5701
      raise x
5702
    result = getAllProductFeedSubmit_result()
5703
    result.read(self._iprot)
5704
    self._iprot.readMessageEnd()
5705
    if result.success is not None:
5706
      return result.success
5707
    if result.cex is not None:
5708
      raise result.cex
5709
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAllProductFeedSubmit failed: unknown result");
5710
 
9724 kshitij.so 5711
  def getMarketplacedetailsForItem(self, itemId, sourceId):
5712
    """
5713
    Parameters:
5714
     - itemId
5715
     - sourceId
5716
    """
5717
    self.send_getMarketplacedetailsForItem(itemId, sourceId)
5718
    return self.recv_getMarketplacedetailsForItem()
9621 manish.sha 5719
 
9724 kshitij.so 5720
  def send_getMarketplacedetailsForItem(self, itemId, sourceId):
5721
    self._oprot.writeMessageBegin('getMarketplacedetailsForItem', TMessageType.CALL, self._seqid)
5722
    args = getMarketplacedetailsForItem_args()
5723
    args.itemId = itemId
5724
    args.sourceId = sourceId
5725
    args.write(self._oprot)
5726
    self._oprot.writeMessageEnd()
5727
    self._oprot.trans.flush()
5728
 
5729
  def recv_getMarketplacedetailsForItem(self, ):
5730
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
5731
    if mtype == TMessageType.EXCEPTION:
5732
      x = TApplicationException()
5733
      x.read(self._iprot)
5734
      self._iprot.readMessageEnd()
5735
      raise x
5736
    result = getMarketplacedetailsForItem_result()
5737
    result.read(self._iprot)
5738
    self._iprot.readMessageEnd()
5739
    if result.success is not None:
5740
      return result.success
5741
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getMarketplacedetailsForItem failed: unknown result");
5742
 
5743
  def updateMarketplaceAttributesForItem(self, marketPlaceItem):
5744
    """
5745
    Parameters:
5746
     - marketPlaceItem
5747
    """
5748
    self.send_updateMarketplaceAttributesForItem(marketPlaceItem)
5749
    return self.recv_updateMarketplaceAttributesForItem()
5750
 
5751
  def send_updateMarketplaceAttributesForItem(self, marketPlaceItem):
5752
    self._oprot.writeMessageBegin('updateMarketplaceAttributesForItem', TMessageType.CALL, self._seqid)
5753
    args = updateMarketplaceAttributesForItem_args()
5754
    args.marketPlaceItem = marketPlaceItem
5755
    args.write(self._oprot)
5756
    self._oprot.writeMessageEnd()
5757
    self._oprot.trans.flush()
5758
 
5759
  def recv_updateMarketplaceAttributesForItem(self, ):
5760
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
5761
    if mtype == TMessageType.EXCEPTION:
5762
      x = TApplicationException()
5763
      x.read(self._iprot)
5764
      self._iprot.readMessageEnd()
5765
      raise x
5766
    result = updateMarketplaceAttributesForItem_result()
5767
    result.read(self._iprot)
5768
    self._iprot.readMessageEnd()
5769
    if result.success is not None:
5770
      return result.success
5771
    raise TApplicationException(TApplicationException.MISSING_RESULT, "updateMarketplaceAttributesForItem failed: unknown result");
5772
 
9779 kshitij.so 5773
  def getCostingForMarketplace(self, source, item_id):
5774
    """
5775
    Parameters:
5776
     - source
5777
     - item_id
5778
    """
5779
    self.send_getCostingForMarketplace(source, item_id)
5780
    return self.recv_getCostingForMarketplace()
5781
 
5782
  def send_getCostingForMarketplace(self, source, item_id):
5783
    self._oprot.writeMessageBegin('getCostingForMarketplace', TMessageType.CALL, self._seqid)
5784
    args = getCostingForMarketplace_args()
5785
    args.source = source
5786
    args.item_id = item_id
5787
    args.write(self._oprot)
5788
    self._oprot.writeMessageEnd()
5789
    self._oprot.trans.flush()
5790
 
5791
  def recv_getCostingForMarketplace(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 = getCostingForMarketplace_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, "getCostingForMarketplace failed: unknown result");
5804
 
9776 vikram.rag 5805
  def getMarketPlaceItemsForPriceUpdate(self, source):
5806
    """
5807
    Parameters:
5808
     - source
5809
    """
5810
    self.send_getMarketPlaceItemsForPriceUpdate(source)
5811
    return self.recv_getMarketPlaceItemsForPriceUpdate()
9724 kshitij.so 5812
 
9776 vikram.rag 5813
  def send_getMarketPlaceItemsForPriceUpdate(self, source):
5814
    self._oprot.writeMessageBegin('getMarketPlaceItemsForPriceUpdate', TMessageType.CALL, self._seqid)
5815
    args = getMarketPlaceItemsForPriceUpdate_args()
5816
    args.source = source
5817
    args.write(self._oprot)
5818
    self._oprot.writeMessageEnd()
5819
    self._oprot.trans.flush()
5820
 
5821
  def recv_getMarketPlaceItemsForPriceUpdate(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 = getMarketPlaceItemsForPriceUpdate_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, "getMarketPlaceItemsForPriceUpdate failed: unknown result");
5834
 
9816 kshitij.so 5835
  def updateMarketPlacePriceUpdateStatus(self, skulist, timestamp, source):
9776 vikram.rag 5836
    """
5837
    Parameters:
5838
     - skulist
5839
     - timestamp
9816 kshitij.so 5840
     - source
9776 vikram.rag 5841
    """
9816 kshitij.so 5842
    self.send_updateMarketPlacePriceUpdateStatus(skulist, timestamp, source)
9776 vikram.rag 5843
    self.recv_updateMarketPlacePriceUpdateStatus()
5844
 
9816 kshitij.so 5845
  def send_updateMarketPlacePriceUpdateStatus(self, skulist, timestamp, source):
9776 vikram.rag 5846
    self._oprot.writeMessageBegin('updateMarketPlacePriceUpdateStatus', TMessageType.CALL, self._seqid)
5847
    args = updateMarketPlacePriceUpdateStatus_args()
5848
    args.skulist = skulist
5849
    args.timestamp = timestamp
9816 kshitij.so 5850
    args.source = source
9776 vikram.rag 5851
    args.write(self._oprot)
5852
    self._oprot.writeMessageEnd()
5853
    self._oprot.trans.flush()
5854
 
5855
  def recv_updateMarketPlacePriceUpdateStatus(self, ):
5856
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
5857
    if mtype == TMessageType.EXCEPTION:
5858
      x = TApplicationException()
5859
      x.read(self._iprot)
5860
      self._iprot.readMessageEnd()
5861
      raise x
5862
    result = updateMarketPlacePriceUpdateStatus_result()
5863
    result.read(self._iprot)
5864
    self._iprot.readMessageEnd()
5865
    return
5866
 
9861 rajveer 5867
  def updateItemHoldInventory(self, itemHoldMap):
5868
    """
5869
    Parameters:
5870
     - itemHoldMap
5871
    """
5872
    self.send_updateItemHoldInventory(itemHoldMap)
5873
    self.recv_updateItemHoldInventory()
9776 vikram.rag 5874
 
9861 rajveer 5875
  def send_updateItemHoldInventory(self, itemHoldMap):
5876
    self._oprot.writeMessageBegin('updateItemHoldInventory', TMessageType.CALL, self._seqid)
5877
    args = updateItemHoldInventory_args()
5878
    args.itemHoldMap = itemHoldMap
5879
    args.write(self._oprot)
5880
    self._oprot.writeMessageEnd()
5881
    self._oprot.trans.flush()
5882
 
5883
  def recv_updateItemHoldInventory(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 = updateItemHoldInventory_result()
5891
    result.read(self._iprot)
5892
    self._iprot.readMessageEnd()
5893
    return
5894
 
9895 vikram.rag 5895
  def updateNlcAtMarketplaces(self, item_id, vendor_id, nlc):
5896
    """
5897
    Parameters:
5898
     - item_id
5899
     - vendor_id
5900
     - nlc
5901
    """
5902
    self.send_updateNlcAtMarketplaces(item_id, vendor_id, nlc)
5903
    self.recv_updateNlcAtMarketplaces()
9861 rajveer 5904
 
9895 vikram.rag 5905
  def send_updateNlcAtMarketplaces(self, item_id, vendor_id, nlc):
5906
    self._oprot.writeMessageBegin('updateNlcAtMarketplaces', TMessageType.CALL, self._seqid)
5907
    args = updateNlcAtMarketplaces_args()
5908
    args.item_id = item_id
5909
    args.vendor_id = vendor_id
5910
    args.nlc = nlc
5911
    args.write(self._oprot)
5912
    self._oprot.writeMessageEnd()
5913
    self._oprot.trans.flush()
5914
 
5915
  def recv_updateNlcAtMarketplaces(self, ):
5916
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
5917
    if mtype == TMessageType.EXCEPTION:
5918
      x = TApplicationException()
5919
      x.read(self._iprot)
5920
      self._iprot.readMessageEnd()
5921
      raise x
5922
    result = updateNlcAtMarketplaces_result()
5923
    result.read(self._iprot)
5924
    self._iprot.readMessageEnd()
5925
    return
5926
 
9945 vikram.rag 5927
  def getAllFlipkartItems(self, ):
5928
    self.send_getAllFlipkartItems()
5929
    return self.recv_getAllFlipkartItems()
9895 vikram.rag 5930
 
9945 vikram.rag 5931
  def send_getAllFlipkartItems(self, ):
5932
    self._oprot.writeMessageBegin('getAllFlipkartItems', TMessageType.CALL, self._seqid)
5933
    args = getAllFlipkartItems_args()
5934
    args.write(self._oprot)
5935
    self._oprot.writeMessageEnd()
5936
    self._oprot.trans.flush()
5937
 
5938
  def recv_getAllFlipkartItems(self, ):
5939
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
5940
    if mtype == TMessageType.EXCEPTION:
5941
      x = TApplicationException()
5942
      x.read(self._iprot)
5943
      self._iprot.readMessageEnd()
5944
      raise x
5945
    result = getAllFlipkartItems_result()
5946
    result.read(self._iprot)
5947
    self._iprot.readMessageEnd()
5948
    if result.success is not None:
5949
      return result.success
5950
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAllFlipkartItems failed: unknown result");
5951
 
10097 kshitij.so 5952
  def addOrUpdateFlipkartItem(self, flipkartitem):
5953
    """
5954
    Parameters:
5955
     - flipkartitem
5956
    """
5957
    self.send_addOrUpdateFlipkartItem(flipkartitem)
5958
    return self.recv_addOrUpdateFlipkartItem()
9945 vikram.rag 5959
 
10097 kshitij.so 5960
  def send_addOrUpdateFlipkartItem(self, flipkartitem):
5961
    self._oprot.writeMessageBegin('addOrUpdateFlipkartItem', TMessageType.CALL, self._seqid)
5962
    args = addOrUpdateFlipkartItem_args()
5963
    args.flipkartitem = flipkartitem
5964
    args.write(self._oprot)
5965
    self._oprot.writeMessageEnd()
5966
    self._oprot.trans.flush()
5967
 
5968
  def recv_addOrUpdateFlipkartItem(self, ):
5969
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
5970
    if mtype == TMessageType.EXCEPTION:
5971
      x = TApplicationException()
5972
      x.read(self._iprot)
5973
      self._iprot.readMessageEnd()
5974
      raise x
5975
    result = addOrUpdateFlipkartItem_result()
5976
    result.read(self._iprot)
5977
    self._iprot.readMessageEnd()
5978
    if result.success is not None:
5979
      return result.success
5980
    raise TApplicationException(TApplicationException.MISSING_RESULT, "addOrUpdateFlipkartItem failed: unknown result");
5981
 
5982
  def getFlipkartItem(self, item_id):
5983
    """
5984
    Parameters:
5985
     - item_id
5986
    """
5987
    self.send_getFlipkartItem(item_id)
5988
    return self.recv_getFlipkartItem()
5989
 
5990
  def send_getFlipkartItem(self, item_id):
5991
    self._oprot.writeMessageBegin('getFlipkartItem', TMessageType.CALL, self._seqid)
5992
    args = getFlipkartItem_args()
5993
    args.item_id = item_id
5994
    args.write(self._oprot)
5995
    self._oprot.writeMessageEnd()
5996
    self._oprot.trans.flush()
5997
 
5998
  def recv_getFlipkartItem(self, ):
5999
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
6000
    if mtype == TMessageType.EXCEPTION:
6001
      x = TApplicationException()
6002
      x.read(self._iprot)
6003
      self._iprot.readMessageEnd()
6004
      raise x
6005
    result = getFlipkartItem_result()
6006
    result.read(self._iprot)
6007
    self._iprot.readMessageEnd()
6008
    if result.success is not None:
6009
      return result.success
6010
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getFlipkartItem failed: unknown result");
6011
 
6012
  def getFlipkartItemDetails(self, item_id):
6013
    """
6014
    Parameters:
6015
     - item_id
6016
    """
6017
    self.send_getFlipkartItemDetails(item_id)
6018
    return self.recv_getFlipkartItemDetails()
6019
 
6020
  def send_getFlipkartItemDetails(self, item_id):
6021
    self._oprot.writeMessageBegin('getFlipkartItemDetails', TMessageType.CALL, self._seqid)
6022
    args = getFlipkartItemDetails_args()
6023
    args.item_id = item_id
6024
    args.write(self._oprot)
6025
    self._oprot.writeMessageEnd()
6026
    self._oprot.trans.flush()
6027
 
6028
  def recv_getFlipkartItemDetails(self, ):
6029
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
6030
    if mtype == TMessageType.EXCEPTION:
6031
      x = TApplicationException()
6032
      x.read(self._iprot)
6033
      self._iprot.readMessageEnd()
6034
      raise x
6035
    result = getFlipkartItemDetails_result()
6036
    result.read(self._iprot)
6037
    self._iprot.readMessageEnd()
6038
    if result.success is not None:
6039
      return result.success
6040
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getFlipkartItemDetails failed: unknown result");
6041
 
6042
  def getFlipkartItems(self, offset, limit):
6043
    """
6044
    Parameters:
6045
     - offset
6046
     - limit
6047
    """
6048
    self.send_getFlipkartItems(offset, limit)
6049
    return self.recv_getFlipkartItems()
6050
 
6051
  def send_getFlipkartItems(self, offset, limit):
6052
    self._oprot.writeMessageBegin('getFlipkartItems', TMessageType.CALL, self._seqid)
6053
    args = getFlipkartItems_args()
6054
    args.offset = offset
6055
    args.limit = limit
6056
    args.write(self._oprot)
6057
    self._oprot.writeMessageEnd()
6058
    self._oprot.trans.flush()
6059
 
6060
  def recv_getFlipkartItems(self, ):
6061
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
6062
    if mtype == TMessageType.EXCEPTION:
6063
      x = TApplicationException()
6064
      x.read(self._iprot)
6065
      self._iprot.readMessageEnd()
6066
      raise x
6067
    result = getFlipkartItems_result()
6068
    result.read(self._iprot)
6069
    self._iprot.readMessageEnd()
6070
    if result.success is not None:
6071
      return result.success
6072
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getFlipkartItems failed: unknown result");
6073
 
6074
  def searchFlipkartItems(self, searchTerm, offset, limit):
6075
    """
6076
    Parameters:
6077
     - searchTerm
6078
     - offset
6079
     - limit
6080
    """
6081
    self.send_searchFlipkartItems(searchTerm, offset, limit)
6082
    return self.recv_searchFlipkartItems()
6083
 
6084
  def send_searchFlipkartItems(self, searchTerm, offset, limit):
6085
    self._oprot.writeMessageBegin('searchFlipkartItems', TMessageType.CALL, self._seqid)
6086
    args = searchFlipkartItems_args()
6087
    args.searchTerm = searchTerm
6088
    args.offset = offset
6089
    args.limit = limit
6090
    args.write(self._oprot)
6091
    self._oprot.writeMessageEnd()
6092
    self._oprot.trans.flush()
6093
 
6094
  def recv_searchFlipkartItems(self, ):
6095
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
6096
    if mtype == TMessageType.EXCEPTION:
6097
      x = TApplicationException()
6098
      x.read(self._iprot)
6099
      self._iprot.readMessageEnd()
6100
      raise x
6101
    result = searchFlipkartItems_result()
6102
    result.read(self._iprot)
6103
    self._iprot.readMessageEnd()
6104
    if result.success is not None:
6105
      return result.success
6106
    raise TApplicationException(TApplicationException.MISSING_RESULT, "searchFlipkartItems failed: unknown result");
6107
 
6108
  def getCountForFlipkartItems(self, ):
6109
    self.send_getCountForFlipkartItems()
6110
    return self.recv_getCountForFlipkartItems()
6111
 
6112
  def send_getCountForFlipkartItems(self, ):
6113
    self._oprot.writeMessageBegin('getCountForFlipkartItems', TMessageType.CALL, self._seqid)
6114
    args = getCountForFlipkartItems_args()
6115
    args.write(self._oprot)
6116
    self._oprot.writeMessageEnd()
6117
    self._oprot.trans.flush()
6118
 
6119
  def recv_getCountForFlipkartItems(self, ):
6120
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
6121
    if mtype == TMessageType.EXCEPTION:
6122
      x = TApplicationException()
6123
      x.read(self._iprot)
6124
      self._iprot.readMessageEnd()
6125
      raise x
6126
    result = getCountForFlipkartItems_result()
6127
    result.read(self._iprot)
6128
    self._iprot.readMessageEnd()
6129
    if result.success is not None:
6130
      return result.success
6131
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getCountForFlipkartItems failed: unknown result");
6132
 
6133
  def getFlipkartSearchResultCount(self, searchTerm):
6134
    """
6135
    Parameters:
6136
     - searchTerm
6137
    """
6138
    self.send_getFlipkartSearchResultCount(searchTerm)
6139
    return self.recv_getFlipkartSearchResultCount()
6140
 
6141
  def send_getFlipkartSearchResultCount(self, searchTerm):
6142
    self._oprot.writeMessageBegin('getFlipkartSearchResultCount', TMessageType.CALL, self._seqid)
6143
    args = getFlipkartSearchResultCount_args()
6144
    args.searchTerm = searchTerm
6145
    args.write(self._oprot)
6146
    self._oprot.writeMessageEnd()
6147
    self._oprot.trans.flush()
6148
 
6149
  def recv_getFlipkartSearchResultCount(self, ):
6150
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
6151
    if mtype == TMessageType.EXCEPTION:
6152
      x = TApplicationException()
6153
      x.read(self._iprot)
6154
      self._iprot.readMessageEnd()
6155
      raise x
6156
    result = getFlipkartSearchResultCount_result()
6157
    result.read(self._iprot)
6158
    self._iprot.readMessageEnd()
6159
    if result.success is not None:
6160
      return result.success
6161
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getFlipkartSearchResultCount failed: unknown result");
6162
 
6163
  def getAllFkItems(self, ):
6164
    self.send_getAllFkItems()
6165
    return self.recv_getAllFkItems()
6166
 
6167
  def send_getAllFkItems(self, ):
6168
    self._oprot.writeMessageBegin('getAllFkItems', TMessageType.CALL, self._seqid)
6169
    args = getAllFkItems_args()
6170
    args.write(self._oprot)
6171
    self._oprot.writeMessageEnd()
6172
    self._oprot.trans.flush()
6173
 
6174
  def recv_getAllFkItems(self, ):
6175
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
6176
    if mtype == TMessageType.EXCEPTION:
6177
      x = TApplicationException()
6178
      x.read(self._iprot)
6179
      self._iprot.readMessageEnd()
6180
      raise x
6181
    result = getAllFkItems_result()
6182
    result.read(self._iprot)
6183
    self._iprot.readMessageEnd()
6184
    if result.success is not None:
6185
      return result.success
6186
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAllFkItems failed: unknown result");
6187
 
10140 vikram.rag 6188
  def getFlipkartItemBySkyAtFlipkart(self, sku):
6189
    """
6190
    Parameters:
6191
     - sku
6192
    """
6193
    self.send_getFlipkartItemBySkyAtFlipkart(sku)
6194
    return self.recv_getFlipkartItemBySkyAtFlipkart()
10097 kshitij.so 6195
 
10140 vikram.rag 6196
  def send_getFlipkartItemBySkyAtFlipkart(self, sku):
6197
    self._oprot.writeMessageBegin('getFlipkartItemBySkyAtFlipkart', TMessageType.CALL, self._seqid)
6198
    args = getFlipkartItemBySkyAtFlipkart_args()
6199
    args.sku = sku
6200
    args.write(self._oprot)
6201
    self._oprot.writeMessageEnd()
6202
    self._oprot.trans.flush()
6203
 
6204
  def recv_getFlipkartItemBySkyAtFlipkart(self, ):
6205
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
6206
    if mtype == TMessageType.EXCEPTION:
6207
      x = TApplicationException()
6208
      x.read(self._iprot)
6209
      self._iprot.readMessageEnd()
6210
      raise x
6211
    result = getFlipkartItemBySkyAtFlipkart_result()
6212
    result.read(self._iprot)
6213
    self._iprot.readMessageEnd()
6214
    if result.success is not None:
6215
      return result.success
6216
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getFlipkartItemBySkyAtFlipkart failed: unknown result");
6217
 
11015 kshitij.so 6218
  def getMarketplaceHistory(self, source, offset, itemId):
6219
    """
6220
    Parameters:
6221
     - source
6222
     - offset
6223
     - itemId
6224
    """
6225
    self.send_getMarketplaceHistory(source, offset, itemId)
6226
    return self.recv_getMarketplaceHistory()
6227
 
6228
  def send_getMarketplaceHistory(self, source, offset, itemId):
6229
    self._oprot.writeMessageBegin('getMarketplaceHistory', TMessageType.CALL, self._seqid)
6230
    args = getMarketplaceHistory_args()
6231
    args.source = source
6232
    args.offset = offset
6233
    args.itemId = itemId
6234
    args.write(self._oprot)
6235
    self._oprot.writeMessageEnd()
6236
    self._oprot.trans.flush()
6237
 
6238
  def recv_getMarketplaceHistory(self, ):
6239
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
6240
    if mtype == TMessageType.EXCEPTION:
6241
      x = TApplicationException()
6242
      x.read(self._iprot)
6243
      self._iprot.readMessageEnd()
6244
      raise x
6245
    result = getMarketplaceHistory_result()
6246
    result.read(self._iprot)
6247
    self._iprot.readMessageEnd()
6248
    if result.success is not None:
6249
      return result.success
6250
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getMarketplaceHistory failed: unknown result");
6251
 
10909 vikram.rag 6252
  def getAllFbbListedItems(self, ):
6253
    self.send_getAllFbbListedItems()
6254
    return self.recv_getAllFbbListedItems()
10140 vikram.rag 6255
 
10909 vikram.rag 6256
  def send_getAllFbbListedItems(self, ):
6257
    self._oprot.writeMessageBegin('getAllFbbListedItems', TMessageType.CALL, self._seqid)
6258
    args = getAllFbbListedItems_args()
6259
    args.write(self._oprot)
6260
    self._oprot.writeMessageEnd()
6261
    self._oprot.trans.flush()
6262
 
6263
  def recv_getAllFbbListedItems(self, ):
6264
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
6265
    if mtype == TMessageType.EXCEPTION:
6266
      x = TApplicationException()
6267
      x.read(self._iprot)
6268
      self._iprot.readMessageEnd()
6269
      raise x
6270
    result = getAllFbbListedItems_result()
6271
    result.read(self._iprot)
6272
    self._iprot.readMessageEnd()
6273
    if result.success is not None:
6274
      return result.success
6275
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAllFbbListedItems failed: unknown result");
6276
 
10924 vikram.rag 6277
  def getAllFbbPricingItems(self, ):
6278
    self.send_getAllFbbPricingItems()
6279
    return self.recv_getAllFbbPricingItems()
10909 vikram.rag 6280
 
10924 vikram.rag 6281
  def send_getAllFbbPricingItems(self, ):
6282
    self._oprot.writeMessageBegin('getAllFbbPricingItems', TMessageType.CALL, self._seqid)
6283
    args = getAllFbbPricingItems_args()
6284
    args.write(self._oprot)
6285
    self._oprot.writeMessageEnd()
6286
    self._oprot.trans.flush()
6287
 
6288
  def recv_getAllFbbPricingItems(self, ):
6289
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
6290
    if mtype == TMessageType.EXCEPTION:
6291
      x = TApplicationException()
6292
      x.read(self._iprot)
6293
      self._iprot.readMessageEnd()
6294
      raise x
6295
    result = getAllFbbPricingItems_result()
6296
    result.read(self._iprot)
6297
    self._iprot.readMessageEnd()
6298
    if result.success is not None:
6299
      return result.success
6300
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAllFbbPricingItems failed: unknown result");
6301
 
11015 kshitij.so 6302
  def getCountForMarketplaceHistory(self, source, itemId):
6303
    """
6304
    Parameters:
6305
     - source
6306
     - itemId
6307
    """
6308
    self.send_getCountForMarketplaceHistory(source, itemId)
6309
    return self.recv_getCountForMarketplaceHistory()
10924 vikram.rag 6310
 
11015 kshitij.so 6311
  def send_getCountForMarketplaceHistory(self, source, itemId):
6312
    self._oprot.writeMessageBegin('getCountForMarketplaceHistory', TMessageType.CALL, self._seqid)
6313
    args = getCountForMarketplaceHistory_args()
6314
    args.source = source
6315
    args.itemId = itemId
6316
    args.write(self._oprot)
6317
    self._oprot.writeMessageEnd()
6318
    self._oprot.trans.flush()
6319
 
6320
  def recv_getCountForMarketplaceHistory(self, ):
6321
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
6322
    if mtype == TMessageType.EXCEPTION:
6323
      x = TApplicationException()
6324
      x.read(self._iprot)
6325
      self._iprot.readMessageEnd()
6326
      raise x
6327
    result = getCountForMarketplaceHistory_result()
6328
    result.read(self._iprot)
6329
    self._iprot.readMessageEnd()
6330
    if result.success is not None:
6331
      return result.success
6332
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getCountForMarketplaceHistory failed: unknown result");
6333
 
6334
  def getMarketplaceHistoryByDate(self, source, startDate, endDate, offset, limit, itemId):
6335
    """
6336
    Parameters:
6337
     - source
6338
     - startDate
6339
     - endDate
6340
     - offset
6341
     - limit
6342
     - itemId
6343
    """
6344
    self.send_getMarketplaceHistoryByDate(source, startDate, endDate, offset, limit, itemId)
6345
    return self.recv_getMarketplaceHistoryByDate()
6346
 
6347
  def send_getMarketplaceHistoryByDate(self, source, startDate, endDate, offset, limit, itemId):
6348
    self._oprot.writeMessageBegin('getMarketplaceHistoryByDate', TMessageType.CALL, self._seqid)
6349
    args = getMarketplaceHistoryByDate_args()
6350
    args.source = source
6351
    args.startDate = startDate
6352
    args.endDate = endDate
6353
    args.offset = offset
6354
    args.limit = limit
6355
    args.itemId = itemId
6356
    args.write(self._oprot)
6357
    self._oprot.writeMessageEnd()
6358
    self._oprot.trans.flush()
6359
 
6360
  def recv_getMarketplaceHistoryByDate(self, ):
6361
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
6362
    if mtype == TMessageType.EXCEPTION:
6363
      x = TApplicationException()
6364
      x.read(self._iprot)
6365
      self._iprot.readMessageEnd()
6366
      raise x
6367
    result = getMarketplaceHistoryByDate_result()
6368
    result.read(self._iprot)
6369
    self._iprot.readMessageEnd()
6370
    if result.success is not None:
6371
      return result.success
6372
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getMarketplaceHistoryByDate failed: unknown result");
6373
 
11531 vikram.rag 6374
  def getPrivateDealDetails(self, item_id):
6375
    """
6376
    Parameters:
6377
     - item_id
6378
    """
6379
    self.send_getPrivateDealDetails(item_id)
6380
    return self.recv_getPrivateDealDetails()
11015 kshitij.so 6381
 
11531 vikram.rag 6382
  def send_getPrivateDealDetails(self, item_id):
6383
    self._oprot.writeMessageBegin('getPrivateDealDetails', TMessageType.CALL, self._seqid)
6384
    args = getPrivateDealDetails_args()
6385
    args.item_id = item_id
6386
    args.write(self._oprot)
6387
    self._oprot.writeMessageEnd()
6388
    self._oprot.trans.flush()
6389
 
6390
  def recv_getPrivateDealDetails(self, ):
6391
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
6392
    if mtype == TMessageType.EXCEPTION:
6393
      x = TApplicationException()
6394
      x.read(self._iprot)
6395
      self._iprot.readMessageEnd()
6396
      raise x
6397
    result = getPrivateDealDetails_result()
6398
    result.read(self._iprot)
6399
    self._iprot.readMessageEnd()
6400
    if result.success is not None:
6401
      return result.success
6402
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getPrivateDealDetails failed: unknown result");
6403
 
6404
  def getPrivateDealItems(self, offset, limit):
6405
    """
6406
    Parameters:
6407
     - offset
6408
     - limit
6409
    """
6410
    self.send_getPrivateDealItems(offset, limit)
6411
    return self.recv_getPrivateDealItems()
6412
 
6413
  def send_getPrivateDealItems(self, offset, limit):
6414
    self._oprot.writeMessageBegin('getPrivateDealItems', TMessageType.CALL, self._seqid)
6415
    args = getPrivateDealItems_args()
6416
    args.offset = offset
6417
    args.limit = limit
6418
    args.write(self._oprot)
6419
    self._oprot.writeMessageEnd()
6420
    self._oprot.trans.flush()
6421
 
6422
  def recv_getPrivateDealItems(self, ):
6423
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
6424
    if mtype == TMessageType.EXCEPTION:
6425
      x = TApplicationException()
6426
      x.read(self._iprot)
6427
      self._iprot.readMessageEnd()
6428
      raise x
6429
    result = getPrivateDealItems_result()
6430
    result.read(self._iprot)
6431
    self._iprot.readMessageEnd()
6432
    if result.success is not None:
6433
      return result.success
6434
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getPrivateDealItems failed: unknown result");
6435
 
11653 amit.gupta 6436
  def getAllActivePrivateDeals(self, itemIds, daysDelta):
6437
    """
6438
    Parameters:
6439
     - itemIds
6440
     - daysDelta
6441
    """
6442
    self.send_getAllActivePrivateDeals(itemIds, daysDelta)
11592 amit.gupta 6443
    return self.recv_getAllActivePrivateDeals()
6444
 
11653 amit.gupta 6445
  def send_getAllActivePrivateDeals(self, itemIds, daysDelta):
11592 amit.gupta 6446
    self._oprot.writeMessageBegin('getAllActivePrivateDeals', TMessageType.CALL, self._seqid)
6447
    args = getAllActivePrivateDeals_args()
11653 amit.gupta 6448
    args.itemIds = itemIds
6449
    args.daysDelta = daysDelta
11592 amit.gupta 6450
    args.write(self._oprot)
6451
    self._oprot.writeMessageEnd()
6452
    self._oprot.trans.flush()
6453
 
6454
  def recv_getAllActivePrivateDeals(self, ):
6455
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
6456
    if mtype == TMessageType.EXCEPTION:
6457
      x = TApplicationException()
6458
      x.read(self._iprot)
6459
      self._iprot.readMessageEnd()
6460
      raise x
6461
    result = getAllActivePrivateDeals_result()
6462
    result.read(self._iprot)
6463
    self._iprot.readMessageEnd()
6464
    if result.success is not None:
6465
      return result.success
6466
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAllActivePrivateDeals failed: unknown result");
6467
 
11531 vikram.rag 6468
  def addOrUpdatePrivateDeal(self, privateDeal):
6469
    """
6470
    Parameters:
6471
     - privateDeal
6472
    """
6473
    self.send_addOrUpdatePrivateDeal(privateDeal)
6474
    return self.recv_addOrUpdatePrivateDeal()
6475
 
6476
  def send_addOrUpdatePrivateDeal(self, privateDeal):
6477
    self._oprot.writeMessageBegin('addOrUpdatePrivateDeal', TMessageType.CALL, self._seqid)
6478
    args = addOrUpdatePrivateDeal_args()
6479
    args.privateDeal = privateDeal
6480
    args.write(self._oprot)
6481
    self._oprot.writeMessageEnd()
6482
    self._oprot.trans.flush()
6483
 
6484
  def recv_addOrUpdatePrivateDeal(self, ):
6485
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
6486
    if mtype == TMessageType.EXCEPTION:
6487
      x = TApplicationException()
6488
      x.read(self._iprot)
6489
      self._iprot.readMessageEnd()
6490
      raise x
6491
    result = addOrUpdatePrivateDeal_result()
6492
    result.read(self._iprot)
6493
    self._iprot.readMessageEnd()
6494
    if result.success is not None:
6495
      return result.success
6496
    raise TApplicationException(TApplicationException.MISSING_RESULT, "addOrUpdatePrivateDeal failed: unknown result");
6497
 
11635 vikram.rag 6498
  def getPrivateDealsCatalogIds(self, beginIndex, totalItems):
6499
    """
6500
    Parameters:
6501
     - beginIndex
6502
     - totalItems
6503
    """
6504
    self.send_getPrivateDealsCatalogIds(beginIndex, totalItems)
6505
    return self.recv_getPrivateDealsCatalogIds()
11531 vikram.rag 6506
 
11635 vikram.rag 6507
  def send_getPrivateDealsCatalogIds(self, beginIndex, totalItems):
6508
    self._oprot.writeMessageBegin('getPrivateDealsCatalogIds', TMessageType.CALL, self._seqid)
6509
    args = getPrivateDealsCatalogIds_args()
6510
    args.beginIndex = beginIndex
6511
    args.totalItems = totalItems
6512
    args.write(self._oprot)
6513
    self._oprot.writeMessageEnd()
6514
    self._oprot.trans.flush()
6515
 
6516
  def recv_getPrivateDealsCatalogIds(self, ):
6517
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
6518
    if mtype == TMessageType.EXCEPTION:
6519
      x = TApplicationException()
6520
      x.read(self._iprot)
6521
      self._iprot.readMessageEnd()
6522
      raise x
6523
    result = getPrivateDealsCatalogIds_result()
6524
    result.read(self._iprot)
6525
    self._iprot.readMessageEnd()
6526
    if result.success is not None:
6527
      return result.success
6528
    if result.cex is not None:
6529
      raise result.cex
6530
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getPrivateDealsCatalogIds failed: unknown result");
6531
 
11645 amit.gupta 6532
  def getPrivateDealsCount(self, ):
6533
    self.send_getPrivateDealsCount()
6534
    return self.recv_getPrivateDealsCount()
11635 vikram.rag 6535
 
11645 amit.gupta 6536
  def send_getPrivateDealsCount(self, ):
6537
    self._oprot.writeMessageBegin('getPrivateDealsCount', TMessageType.CALL, self._seqid)
6538
    args = getPrivateDealsCount_args()
6539
    args.write(self._oprot)
6540
    self._oprot.writeMessageEnd()
6541
    self._oprot.trans.flush()
6542
 
6543
  def recv_getPrivateDealsCount(self, ):
6544
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
6545
    if mtype == TMessageType.EXCEPTION:
6546
      x = TApplicationException()
6547
      x.read(self._iprot)
6548
      self._iprot.readMessageEnd()
6549
      raise x
6550
    result = getPrivateDealsCount_result()
6551
    result.read(self._iprot)
6552
    self._iprot.readMessageEnd()
6553
    if result.success is not None:
6554
      return result.success
6555
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getPrivateDealsCount failed: unknown result");
6556
 
11905 kshitij.so 6557
  def getAmazonOutSyncItems(self, item_id):
6558
    """
6559
    Parameters:
6560
     - item_id
6561
    """
6562
    self.send_getAmazonOutSyncItems(item_id)
6563
    return self.recv_getAmazonOutSyncItems()
11645 amit.gupta 6564
 
11905 kshitij.so 6565
  def send_getAmazonOutSyncItems(self, item_id):
6566
    self._oprot.writeMessageBegin('getAmazonOutSyncItems', TMessageType.CALL, self._seqid)
6567
    args = getAmazonOutSyncItems_args()
6568
    args.item_id = item_id
6569
    args.write(self._oprot)
6570
    self._oprot.writeMessageEnd()
6571
    self._oprot.trans.flush()
6572
 
6573
  def recv_getAmazonOutSyncItems(self, ):
6574
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
6575
    if mtype == TMessageType.EXCEPTION:
6576
      x = TApplicationException()
6577
      x.read(self._iprot)
6578
      self._iprot.readMessageEnd()
6579
      raise x
6580
    result = getAmazonOutSyncItems_result()
6581
    result.read(self._iprot)
6582
    self._iprot.readMessageEnd()
6583
    if result.success is not None:
6584
      return result.success
6585
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAmazonOutSyncItems failed: unknown result");
6586
 
6587
  def getAllPrivateDealsComparison(self, ):
6588
    self.send_getAllPrivateDealsComparison()
6589
    return self.recv_getAllPrivateDealsComparison()
6590
 
6591
  def send_getAllPrivateDealsComparison(self, ):
6592
    self._oprot.writeMessageBegin('getAllPrivateDealsComparison', TMessageType.CALL, self._seqid)
6593
    args = getAllPrivateDealsComparison_args()
6594
    args.write(self._oprot)
6595
    self._oprot.writeMessageEnd()
6596
    self._oprot.trans.flush()
6597
 
6598
  def recv_getAllPrivateDealsComparison(self, ):
6599
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
6600
    if mtype == TMessageType.EXCEPTION:
6601
      x = TApplicationException()
6602
      x.read(self._iprot)
6603
      self._iprot.readMessageEnd()
6604
      raise x
6605
    result = getAllPrivateDealsComparison_result()
6606
    result.read(self._iprot)
6607
    self._iprot.readMessageEnd()
6608
    if result.success is not None:
6609
      return result.success
6610
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAllPrivateDealsComparison failed: unknown result");
6611
 
12133 kshitij.so 6612
  def getAllSnapdealMarketplaceItem(self, ):
6613
    self.send_getAllSnapdealMarketplaceItem()
6614
    return self.recv_getAllSnapdealMarketplaceItem()
11905 kshitij.so 6615
 
12133 kshitij.so 6616
  def send_getAllSnapdealMarketplaceItem(self, ):
6617
    self._oprot.writeMessageBegin('getAllSnapdealMarketplaceItem', TMessageType.CALL, self._seqid)
6618
    args = getAllSnapdealMarketplaceItem_args()
6619
    args.write(self._oprot)
6620
    self._oprot.writeMessageEnd()
6621
    self._oprot.trans.flush()
6622
 
6623
  def recv_getAllSnapdealMarketplaceItem(self, ):
6624
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
6625
    if mtype == TMessageType.EXCEPTION:
6626
      x = TApplicationException()
6627
      x.read(self._iprot)
6628
      self._iprot.readMessageEnd()
6629
      raise x
6630
    result = getAllSnapdealMarketplaceItem_result()
6631
    result.read(self._iprot)
6632
    self._iprot.readMessageEnd()
6633
    if result.success is not None:
6634
      return result.success
6635
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAllSnapdealMarketplaceItem failed: unknown result");
6636
 
6637
  def getAllFlipkartMarketplaceItem(self, ):
6638
    self.send_getAllFlipkartMarketplaceItem()
6639
    return self.recv_getAllFlipkartMarketplaceItem()
6640
 
6641
  def send_getAllFlipkartMarketplaceItem(self, ):
6642
    self._oprot.writeMessageBegin('getAllFlipkartMarketplaceItem', TMessageType.CALL, self._seqid)
6643
    args = getAllFlipkartMarketplaceItem_args()
6644
    args.write(self._oprot)
6645
    self._oprot.writeMessageEnd()
6646
    self._oprot.trans.flush()
6647
 
6648
  def recv_getAllFlipkartMarketplaceItem(self, ):
6649
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
6650
    if mtype == TMessageType.EXCEPTION:
6651
      x = TApplicationException()
6652
      x.read(self._iprot)
6653
      self._iprot.readMessageEnd()
6654
      raise x
6655
    result = getAllFlipkartMarketplaceItem_result()
6656
    result.read(self._iprot)
6657
    self._iprot.readMessageEnd()
6658
    if result.success is not None:
6659
      return result.success
6660
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAllFlipkartMarketplaceItem failed: unknown result");
6661
 
12243 kshitij.so 6662
  def addCompetitorScraping(self, competitorPricingMap):
6663
    """
6664
    Parameters:
6665
     - competitorPricingMap
6666
    """
6667
    self.send_addCompetitorScraping(competitorPricingMap)
6668
    self.recv_addCompetitorScraping()
12133 kshitij.so 6669
 
12243 kshitij.so 6670
  def send_addCompetitorScraping(self, competitorPricingMap):
6671
    self._oprot.writeMessageBegin('addCompetitorScraping', TMessageType.CALL, self._seqid)
6672
    args = addCompetitorScraping_args()
6673
    args.competitorPricingMap = competitorPricingMap
6674
    args.write(self._oprot)
6675
    self._oprot.writeMessageEnd()
6676
    self._oprot.trans.flush()
6677
 
6678
  def recv_addCompetitorScraping(self, ):
6679
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
6680
    if mtype == TMessageType.EXCEPTION:
6681
      x = TApplicationException()
6682
      x.read(self._iprot)
6683
      self._iprot.readMessageEnd()
6684
      raise x
6685
    result = addCompetitorScraping_result()
6686
    result.read(self._iprot)
6687
    self._iprot.readMessageEnd()
6688
    return
6689
 
6690
  def getPreviousCompetitorScraping(self, delta):
6691
    """
6692
    Parameters:
6693
     - delta
6694
    """
6695
    self.send_getPreviousCompetitorScraping(delta)
6696
    return self.recv_getPreviousCompetitorScraping()
6697
 
6698
  def send_getPreviousCompetitorScraping(self, delta):
6699
    self._oprot.writeMessageBegin('getPreviousCompetitorScraping', TMessageType.CALL, self._seqid)
6700
    args = getPreviousCompetitorScraping_args()
6701
    args.delta = delta
6702
    args.write(self._oprot)
6703
    self._oprot.writeMessageEnd()
6704
    self._oprot.trans.flush()
6705
 
6706
  def recv_getPreviousCompetitorScraping(self, ):
6707
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
6708
    if mtype == TMessageType.EXCEPTION:
6709
      x = TApplicationException()
6710
      x.read(self._iprot)
6711
      self._iprot.readMessageEnd()
6712
      raise x
6713
    result = getPreviousCompetitorScraping_result()
6714
    result.read(self._iprot)
6715
    self._iprot.readMessageEnd()
6716
    if result.success is not None:
6717
      return result.success
6718
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getPreviousCompetitorScraping failed: unknown result");
6719
 
12256 kshitij.so 6720
  def getUploadResultById(self, uploadId):
6721
    """
6722
    Parameters:
6723
     - uploadId
6724
    """
6725
    self.send_getUploadResultById(uploadId)
6726
    return self.recv_getUploadResultById()
12243 kshitij.so 6727
 
12256 kshitij.so 6728
  def send_getUploadResultById(self, uploadId):
6729
    self._oprot.writeMessageBegin('getUploadResultById', TMessageType.CALL, self._seqid)
6730
    args = getUploadResultById_args()
6731
    args.uploadId = uploadId
6732
    args.write(self._oprot)
6733
    self._oprot.writeMessageEnd()
6734
    self._oprot.trans.flush()
6735
 
6736
  def recv_getUploadResultById(self, ):
6737
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
6738
    if mtype == TMessageType.EXCEPTION:
6739
      x = TApplicationException()
6740
      x.read(self._iprot)
6741
      self._iprot.readMessageEnd()
6742
      raise x
6743
    result = getUploadResultById_result()
6744
    result.read(self._iprot)
6745
    self._iprot.readMessageEnd()
6746
    if result.success is not None:
6747
      return result.success
6748
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getUploadResultById failed: unknown result");
6749
 
12363 kshitij.so 6750
  def addAmazonPromotion(self, amazonPromotions):
6751
    """
6752
    Parameters:
6753
     - amazonPromotions
6754
    """
6755
    self.send_addAmazonPromotion(amazonPromotions)
6756
    return self.recv_addAmazonPromotion()
12256 kshitij.so 6757
 
12363 kshitij.so 6758
  def send_addAmazonPromotion(self, amazonPromotions):
6759
    self._oprot.writeMessageBegin('addAmazonPromotion', TMessageType.CALL, self._seqid)
6760
    args = addAmazonPromotion_args()
6761
    args.amazonPromotions = amazonPromotions
6762
    args.write(self._oprot)
6763
    self._oprot.writeMessageEnd()
6764
    self._oprot.trans.flush()
6765
 
6766
  def recv_addAmazonPromotion(self, ):
6767
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
6768
    if mtype == TMessageType.EXCEPTION:
6769
      x = TApplicationException()
6770
      x.read(self._iprot)
6771
      self._iprot.readMessageEnd()
6772
      raise x
6773
    result = addAmazonPromotion_result()
6774
    result.read(self._iprot)
6775
    self._iprot.readMessageEnd()
6776
    if result.success is not None:
6777
      return result.success
12947 kshitij.so 6778
    if result.cex is not None:
6779
      raise result.cex
12363 kshitij.so 6780
    raise TApplicationException(TApplicationException.MISSING_RESULT, "addAmazonPromotion failed: unknown result");
6781
 
6782
  def getAmazonPromotion(self, startDate, endDate):
6783
    """
6784
    Parameters:
6785
     - startDate
6786
     - endDate
6787
    """
6788
    self.send_getAmazonPromotion(startDate, endDate)
6789
    return self.recv_getAmazonPromotion()
6790
 
6791
  def send_getAmazonPromotion(self, startDate, endDate):
6792
    self._oprot.writeMessageBegin('getAmazonPromotion', TMessageType.CALL, self._seqid)
6793
    args = getAmazonPromotion_args()
6794
    args.startDate = startDate
6795
    args.endDate = endDate
6796
    args.write(self._oprot)
6797
    self._oprot.writeMessageEnd()
6798
    self._oprot.trans.flush()
6799
 
6800
  def recv_getAmazonPromotion(self, ):
6801
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
6802
    if mtype == TMessageType.EXCEPTION:
6803
      x = TApplicationException()
6804
      x.read(self._iprot)
6805
      self._iprot.readMessageEnd()
6806
      raise x
6807
    result = getAmazonPromotion_result()
6808
    result.read(self._iprot)
6809
    self._iprot.readMessageEnd()
6810
    if result.success is not None:
6811
      return result.success
6812
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAmazonPromotion failed: unknown result");
6813
 
6814
  def updateAmazonPromotion(self, amazonPromotions):
6815
    """
6816
    Parameters:
6817
     - amazonPromotions
6818
    """
6819
    self.send_updateAmazonPromotion(amazonPromotions)
6820
    return self.recv_updateAmazonPromotion()
6821
 
6822
  def send_updateAmazonPromotion(self, amazonPromotions):
6823
    self._oprot.writeMessageBegin('updateAmazonPromotion', TMessageType.CALL, self._seqid)
6824
    args = updateAmazonPromotion_args()
6825
    args.amazonPromotions = amazonPromotions
6826
    args.write(self._oprot)
6827
    self._oprot.writeMessageEnd()
6828
    self._oprot.trans.flush()
6829
 
6830
  def recv_updateAmazonPromotion(self, ):
6831
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
6832
    if mtype == TMessageType.EXCEPTION:
6833
      x = TApplicationException()
6834
      x.read(self._iprot)
6835
      self._iprot.readMessageEnd()
6836
      raise x
6837
    result = updateAmazonPromotion_result()
6838
    result.read(self._iprot)
6839
    self._iprot.readMessageEnd()
6840
    if result.success is not None:
6841
      return result.success
6842
    raise TApplicationException(TApplicationException.MISSING_RESULT, "updateAmazonPromotion failed: unknown result");
6843
 
12567 amit.gupta 6844
  def markPartiallyActive(self, itemId, categoryId):
6845
    """
6846
    Parameters:
6847
     - itemId
6848
     - categoryId
6849
    """
6850
    self.send_markPartiallyActive(itemId, categoryId)
6851
    return self.recv_markPartiallyActive()
12363 kshitij.so 6852
 
12567 amit.gupta 6853
  def send_markPartiallyActive(self, itemId, categoryId):
6854
    self._oprot.writeMessageBegin('markPartiallyActive', TMessageType.CALL, self._seqid)
6855
    args = markPartiallyActive_args()
6856
    args.itemId = itemId
6857
    args.categoryId = categoryId
6858
    args.write(self._oprot)
6859
    self._oprot.writeMessageEnd()
6860
    self._oprot.trans.flush()
6861
 
6862
  def recv_markPartiallyActive(self, ):
6863
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
6864
    if mtype == TMessageType.EXCEPTION:
6865
      x = TApplicationException()
6866
      x.read(self._iprot)
6867
      self._iprot.readMessageEnd()
6868
      raise x
6869
    result = markPartiallyActive_result()
6870
    result.read(self._iprot)
6871
    self._iprot.readMessageEnd()
6872
    if result.success is not None:
6873
      return result.success
6874
    raise TApplicationException(TApplicationException.MISSING_RESULT, "markPartiallyActive failed: unknown result");
6875
 
6876
  def updateItemStateVat(self, itemId, statevat):
6877
    """
6878
    Parameters:
6879
     - itemId
6880
     - statevat
6881
    """
6882
    self.send_updateItemStateVat(itemId, statevat)
6883
    return self.recv_updateItemStateVat()
6884
 
6885
  def send_updateItemStateVat(self, itemId, statevat):
6886
    self._oprot.writeMessageBegin('updateItemStateVat', TMessageType.CALL, self._seqid)
6887
    args = updateItemStateVat_args()
6888
    args.itemId = itemId
6889
    args.statevat = statevat
6890
    args.write(self._oprot)
6891
    self._oprot.writeMessageEnd()
6892
    self._oprot.trans.flush()
6893
 
6894
  def recv_updateItemStateVat(self, ):
6895
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
6896
    if mtype == TMessageType.EXCEPTION:
6897
      x = TApplicationException()
6898
      x.read(self._iprot)
6899
      self._iprot.readMessageEnd()
6900
      raise x
6901
    result = updateItemStateVat_result()
6902
    result.read(self._iprot)
6903
    self._iprot.readMessageEnd()
6904
    if result.success is not None:
6905
      return result.success
6906
    raise TApplicationException(TApplicationException.MISSING_RESULT, "updateItemStateVat failed: unknown result");
6907
 
12620 amit.gupta 6908
  def getExAffiliateItemInfo(self, ):
6909
    self.send_getExAffiliateItemInfo()
6910
    return self.recv_getExAffiliateItemInfo()
12567 amit.gupta 6911
 
12620 amit.gupta 6912
  def send_getExAffiliateItemInfo(self, ):
6913
    self._oprot.writeMessageBegin('getExAffiliateItemInfo', TMessageType.CALL, self._seqid)
6914
    args = getExAffiliateItemInfo_args()
6915
    args.write(self._oprot)
6916
    self._oprot.writeMessageEnd()
6917
    self._oprot.trans.flush()
6918
 
6919
  def recv_getExAffiliateItemInfo(self, ):
6920
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
6921
    if mtype == TMessageType.EXCEPTION:
6922
      x = TApplicationException()
6923
      x.read(self._iprot)
6924
      self._iprot.readMessageEnd()
6925
      raise x
6926
    result = getExAffiliateItemInfo_result()
6927
    result.read(self._iprot)
6928
    self._iprot.readMessageEnd()
6929
    if result.success is not None:
6930
      return result.success
6931
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getExAffiliateItemInfo failed: unknown result");
6932
 
12888 kshitij.so 6933
  def getAllItemstoListOnFbg(self, ):
6934
    self.send_getAllItemstoListOnFbg()
6935
    return self.recv_getAllItemstoListOnFbg()
12620 amit.gupta 6936
 
12888 kshitij.so 6937
  def send_getAllItemstoListOnFbg(self, ):
6938
    self._oprot.writeMessageBegin('getAllItemstoListOnFbg', TMessageType.CALL, self._seqid)
6939
    args = getAllItemstoListOnFbg_args()
6940
    args.write(self._oprot)
6941
    self._oprot.writeMessageEnd()
6942
    self._oprot.trans.flush()
6943
 
6944
  def recv_getAllItemstoListOnFbg(self, ):
6945
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
6946
    if mtype == TMessageType.EXCEPTION:
6947
      x = TApplicationException()
6948
      x.read(self._iprot)
6949
      self._iprot.readMessageEnd()
6950
      raise x
6951
    result = getAllItemstoListOnFbg_result()
6952
    result.read(self._iprot)
6953
    self._iprot.readMessageEnd()
6954
    if result.success is not None:
6955
      return result.success
6956
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAllItemstoListOnFbg failed: unknown result");
6957
 
12892 kshitij.so 6958
  def getAllFbgListedItems(self, ):
6959
    self.send_getAllFbgListedItems()
6960
    return self.recv_getAllFbgListedItems()
12888 kshitij.so 6961
 
12892 kshitij.so 6962
  def send_getAllFbgListedItems(self, ):
6963
    self._oprot.writeMessageBegin('getAllFbgListedItems', TMessageType.CALL, self._seqid)
6964
    args = getAllFbgListedItems_args()
6965
    args.write(self._oprot)
6966
    self._oprot.writeMessageEnd()
6967
    self._oprot.trans.flush()
6968
 
6969
  def recv_getAllFbgListedItems(self, ):
6970
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
6971
    if mtype == TMessageType.EXCEPTION:
6972
      x = TApplicationException()
6973
      x.read(self._iprot)
6974
      self._iprot.readMessageEnd()
6975
      raise x
6976
    result = getAllFbgListedItems_result()
6977
    result.read(self._iprot)
6978
    self._iprot.readMessageEnd()
6979
    if result.success is not None:
6980
      return result.success
6981
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAllFbgListedItems failed: unknown result");
6982
 
13136 amit.gupta 6983
  def checkServices(self, lines):
6984
    """
6985
    Parameters:
6986
     - lines
6987
    """
6988
    self.send_checkServices(lines)
6989
    return self.recv_checkServices()
12892 kshitij.so 6990
 
13136 amit.gupta 6991
  def send_checkServices(self, lines):
6992
    self._oprot.writeMessageBegin('checkServices', TMessageType.CALL, self._seqid)
6993
    args = checkServices_args()
6994
    args.lines = lines
6995
    args.write(self._oprot)
6996
    self._oprot.writeMessageEnd()
6997
    self._oprot.trans.flush()
6998
 
6999
  def recv_checkServices(self, ):
7000
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
7001
    if mtype == TMessageType.EXCEPTION:
7002
      x = TApplicationException()
7003
      x.read(self._iprot)
7004
      self._iprot.readMessageEnd()
7005
      raise x
7006
    result = checkServices_result()
7007
    result.read(self._iprot)
7008
    self._iprot.readMessageEnd()
7009
    if result.success is not None:
7010
      return result.success
7011
    if result.cex is not None:
7012
      raise result.cex
7013
    raise TApplicationException(TApplicationException.MISSING_RESULT, "checkServices failed: unknown result");
7014
 
13709 manish.sha 7015
  def addHsItem(self, hsItems):
7016
    """
7017
    Parameters:
7018
     - hsItems
7019
    """
7020
    self.send_addHsItem(hsItems)
7021
    self.recv_addHsItem()
13136 amit.gupta 7022
 
13709 manish.sha 7023
  def send_addHsItem(self, hsItems):
7024
    self._oprot.writeMessageBegin('addHsItem', TMessageType.CALL, self._seqid)
7025
    args = addHsItem_args()
7026
    args.hsItems = hsItems
7027
    args.write(self._oprot)
7028
    self._oprot.writeMessageEnd()
7029
    self._oprot.trans.flush()
7030
 
7031
  def recv_addHsItem(self, ):
7032
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
7033
    if mtype == TMessageType.EXCEPTION:
7034
      x = TApplicationException()
7035
      x.read(self._iprot)
7036
      self._iprot.readMessageEnd()
7037
      raise x
7038
    result = addHsItem_result()
7039
    result.read(self._iprot)
7040
    self._iprot.readMessageEnd()
7041
    return
7042
 
7043
  def getHsItem(self, hsItemId):
7044
    """
7045
    Parameters:
7046
     - hsItemId
7047
    """
7048
    self.send_getHsItem(hsItemId)
7049
    return self.recv_getHsItem()
7050
 
7051
  def send_getHsItem(self, hsItemId):
7052
    self._oprot.writeMessageBegin('getHsItem', TMessageType.CALL, self._seqid)
7053
    args = getHsItem_args()
7054
    args.hsItemId = hsItemId
7055
    args.write(self._oprot)
7056
    self._oprot.writeMessageEnd()
7057
    self._oprot.trans.flush()
7058
 
7059
  def recv_getHsItem(self, ):
7060
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
7061
    if mtype == TMessageType.EXCEPTION:
7062
      x = TApplicationException()
7063
      x.read(self._iprot)
7064
      self._iprot.readMessageEnd()
7065
      raise x
7066
    result = getHsItem_result()
7067
    result.read(self._iprot)
7068
    self._iprot.readMessageEnd()
7069
    if result.success is not None:
7070
      return result.success
7071
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getHsItem failed: unknown result");
7072
 
7073
  def updateHsItem(self, hsItem):
7074
    """
7075
    Parameters:
7076
     - hsItem
7077
    """
7078
    self.send_updateHsItem(hsItem)
7079
    self.recv_updateHsItem()
7080
 
7081
  def send_updateHsItem(self, hsItem):
7082
    self._oprot.writeMessageBegin('updateHsItem', TMessageType.CALL, self._seqid)
7083
    args = updateHsItem_args()
7084
    args.hsItem = hsItem
7085
    args.write(self._oprot)
7086
    self._oprot.writeMessageEnd()
7087
    self._oprot.trans.flush()
7088
 
7089
  def recv_updateHsItem(self, ):
7090
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
7091
    if mtype == TMessageType.EXCEPTION:
7092
      x = TApplicationException()
7093
      x.read(self._iprot)
7094
      self._iprot.readMessageEnd()
7095
      raise x
7096
    result = updateHsItem_result()
7097
    result.read(self._iprot)
7098
    self._iprot.readMessageEnd()
7099
    return
7100
 
14182 kshitij.so 7101
  def getPricingForDtr(self, catalogItemId):
7102
    """
7103
    Parameters:
7104
     - catalogItemId
7105
    """
7106
    self.send_getPricingForDtr(catalogItemId)
7107
    return self.recv_getPricingForDtr()
13709 manish.sha 7108
 
14182 kshitij.so 7109
  def send_getPricingForDtr(self, catalogItemId):
7110
    self._oprot.writeMessageBegin('getPricingForDtr', TMessageType.CALL, self._seqid)
7111
    args = getPricingForDtr_args()
7112
    args.catalogItemId = catalogItemId
7113
    args.write(self._oprot)
7114
    self._oprot.writeMessageEnd()
7115
    self._oprot.trans.flush()
7116
 
7117
  def recv_getPricingForDtr(self, ):
7118
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
7119
    if mtype == TMessageType.EXCEPTION:
7120
      x = TApplicationException()
7121
      x.read(self._iprot)
7122
      self._iprot.readMessageEnd()
7123
      raise x
7124
    result = getPricingForDtr_result()
7125
    result.read(self._iprot)
7126
    self._iprot.readMessageEnd()
7127
    if result.success is not None:
7128
      return result.success
7129
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getPricingForDtr failed: unknown result");
7130
 
15702 kshitij.so 7131
  def getAllItemstoListOnFbd(self, ):
7132
    self.send_getAllItemstoListOnFbd()
7133
    return self.recv_getAllItemstoListOnFbd()
14182 kshitij.so 7134
 
15702 kshitij.so 7135
  def send_getAllItemstoListOnFbd(self, ):
7136
    self._oprot.writeMessageBegin('getAllItemstoListOnFbd', TMessageType.CALL, self._seqid)
7137
    args = getAllItemstoListOnFbd_args()
7138
    args.write(self._oprot)
7139
    self._oprot.writeMessageEnd()
7140
    self._oprot.trans.flush()
7141
 
7142
  def recv_getAllItemstoListOnFbd(self, ):
7143
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
7144
    if mtype == TMessageType.EXCEPTION:
7145
      x = TApplicationException()
7146
      x.read(self._iprot)
7147
      self._iprot.readMessageEnd()
7148
      raise x
7149
    result = getAllItemstoListOnFbd_result()
7150
    result.read(self._iprot)
7151
    self._iprot.readMessageEnd()
7152
    if result.success is not None:
7153
      return result.success
7154
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAllItemstoListOnFbd failed: unknown result");
7155
 
15706 kshitij.so 7156
  def getAllFbdListedItems(self, ):
7157
    self.send_getAllFbdListedItems()
7158
    return self.recv_getAllFbdListedItems()
15702 kshitij.so 7159
 
15706 kshitij.so 7160
  def send_getAllFbdListedItems(self, ):
7161
    self._oprot.writeMessageBegin('getAllFbdListedItems', TMessageType.CALL, self._seqid)
7162
    args = getAllFbdListedItems_args()
7163
    args.write(self._oprot)
7164
    self._oprot.writeMessageEnd()
7165
    self._oprot.trans.flush()
7166
 
7167
  def recv_getAllFbdListedItems(self, ):
7168
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
7169
    if mtype == TMessageType.EXCEPTION:
7170
      x = TApplicationException()
7171
      x.read(self._iprot)
7172
      self._iprot.readMessageEnd()
7173
      raise x
7174
    result = getAllFbdListedItems_result()
7175
    result.read(self._iprot)
7176
    self._iprot.readMessageEnd()
7177
    if result.success is not None:
7178
      return result.success
7179
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAllFbdListedItems failed: unknown result");
7180
 
18150 kshitij.so 7181
  def getBulkPricingForItems(self, itemIds):
7182
    """
7183
    Parameters:
7184
     - itemIds
7185
    """
7186
    self.send_getBulkPricingForItems(itemIds)
7187
    return self.recv_getBulkPricingForItems()
15706 kshitij.so 7188
 
18150 kshitij.so 7189
  def send_getBulkPricingForItems(self, itemIds):
7190
    self._oprot.writeMessageBegin('getBulkPricingForItems', TMessageType.CALL, self._seqid)
7191
    args = getBulkPricingForItems_args()
7192
    args.itemIds = itemIds
7193
    args.write(self._oprot)
7194
    self._oprot.writeMessageEnd()
7195
    self._oprot.trans.flush()
7196
 
7197
  def recv_getBulkPricingForItems(self, ):
7198
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
7199
    if mtype == TMessageType.EXCEPTION:
7200
      x = TApplicationException()
7201
      x.read(self._iprot)
7202
      self._iprot.readMessageEnd()
7203
      raise x
7204
    result = getBulkPricingForItems_result()
7205
    result.read(self._iprot)
7206
    self._iprot.readMessageEnd()
7207
    if result.success is not None:
7208
      return result.success
7209
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getBulkPricingForItems failed: unknown result");
7210
 
7211
  def addBulkPricingForItem(self, bulkItemPricing):
7212
    """
7213
    Parameters:
7214
     - bulkItemPricing
7215
    """
7216
    self.send_addBulkPricingForItem(bulkItemPricing)
7217
    return self.recv_addBulkPricingForItem()
7218
 
7219
  def send_addBulkPricingForItem(self, bulkItemPricing):
7220
    self._oprot.writeMessageBegin('addBulkPricingForItem', TMessageType.CALL, self._seqid)
7221
    args = addBulkPricingForItem_args()
7222
    args.bulkItemPricing = bulkItemPricing
7223
    args.write(self._oprot)
7224
    self._oprot.writeMessageEnd()
7225
    self._oprot.trans.flush()
7226
 
7227
  def recv_addBulkPricingForItem(self, ):
7228
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
7229
    if mtype == TMessageType.EXCEPTION:
7230
      x = TApplicationException()
7231
      x.read(self._iprot)
7232
      self._iprot.readMessageEnd()
7233
      raise x
7234
    result = addBulkPricingForItem_result()
7235
    result.read(self._iprot)
7236
    self._iprot.readMessageEnd()
7237
    if result.success is not None:
7238
      return result.success
7239
    raise TApplicationException(TApplicationException.MISSING_RESULT, "addBulkPricingForItem failed: unknown result");
7240
 
7241
  def deleteBulkPricingForItemById(self, id):
7242
    """
7243
    Parameters:
7244
     - id
7245
    """
7246
    self.send_deleteBulkPricingForItemById(id)
7247
    return self.recv_deleteBulkPricingForItemById()
7248
 
7249
  def send_deleteBulkPricingForItemById(self, id):
7250
    self._oprot.writeMessageBegin('deleteBulkPricingForItemById', TMessageType.CALL, self._seqid)
7251
    args = deleteBulkPricingForItemById_args()
7252
    args.id = id
7253
    args.write(self._oprot)
7254
    self._oprot.writeMessageEnd()
7255
    self._oprot.trans.flush()
7256
 
7257
  def recv_deleteBulkPricingForItemById(self, ):
7258
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
7259
    if mtype == TMessageType.EXCEPTION:
7260
      x = TApplicationException()
7261
      x.read(self._iprot)
7262
      self._iprot.readMessageEnd()
7263
      raise x
7264
    result = deleteBulkPricingForItemById_result()
7265
    result.read(self._iprot)
7266
    self._iprot.readMessageEnd()
7267
    if result.success is not None:
7268
      return result.success
7269
    raise TApplicationException(TApplicationException.MISSING_RESULT, "deleteBulkPricingForItemById failed: unknown result");
7270
 
7271
  def deleteBulkPricingForItem(self, item_id):
7272
    """
7273
    Parameters:
7274
     - item_id
7275
    """
7276
    self.send_deleteBulkPricingForItem(item_id)
7277
    return self.recv_deleteBulkPricingForItem()
7278
 
7279
  def send_deleteBulkPricingForItem(self, item_id):
7280
    self._oprot.writeMessageBegin('deleteBulkPricingForItem', TMessageType.CALL, self._seqid)
7281
    args = deleteBulkPricingForItem_args()
7282
    args.item_id = item_id
7283
    args.write(self._oprot)
7284
    self._oprot.writeMessageEnd()
7285
    self._oprot.trans.flush()
7286
 
7287
  def recv_deleteBulkPricingForItem(self, ):
7288
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
7289
    if mtype == TMessageType.EXCEPTION:
7290
      x = TApplicationException()
7291
      x.read(self._iprot)
7292
      self._iprot.readMessageEnd()
7293
      raise x
7294
    result = deleteBulkPricingForItem_result()
7295
    result.read(self._iprot)
7296
    self._iprot.readMessageEnd()
7297
    if result.success is not None:
7298
      return result.success
7299
    raise TApplicationException(TApplicationException.MISSING_RESULT, "deleteBulkPricingForItem failed: unknown result");
7300
 
7301
  def getBulkPricingByItemId(self, item_id):
7302
    """
7303
    Parameters:
7304
     - item_id
7305
    """
7306
    self.send_getBulkPricingByItemId(item_id)
7307
    return self.recv_getBulkPricingByItemId()
7308
 
7309
  def send_getBulkPricingByItemId(self, item_id):
7310
    self._oprot.writeMessageBegin('getBulkPricingByItemId', TMessageType.CALL, self._seqid)
7311
    args = getBulkPricingByItemId_args()
7312
    args.item_id = item_id
7313
    args.write(self._oprot)
7314
    self._oprot.writeMessageEnd()
7315
    self._oprot.trans.flush()
7316
 
7317
  def recv_getBulkPricingByItemId(self, ):
7318
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
7319
    if mtype == TMessageType.EXCEPTION:
7320
      x = TApplicationException()
7321
      x.read(self._iprot)
7322
      self._iprot.readMessageEnd()
7323
      raise x
7324
    result = getBulkPricingByItemId_result()
7325
    result.read(self._iprot)
7326
    self._iprot.readMessageEnd()
7327
    if result.success is not None:
7328
      return result.success
7329
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getBulkPricingByItemId failed: unknown result");
7330
 
18602 kshitij.so 7331
  def updateBulkPricesOnProduction(self, item_id, bulkItemPricingList):
7332
    """
7333
    Parameters:
7334
     - item_id
7335
     - bulkItemPricingList
7336
    """
7337
    self.send_updateBulkPricesOnProduction(item_id, bulkItemPricingList)
7338
    return self.recv_updateBulkPricesOnProduction()
18150 kshitij.so 7339
 
18602 kshitij.so 7340
  def send_updateBulkPricesOnProduction(self, item_id, bulkItemPricingList):
7341
    self._oprot.writeMessageBegin('updateBulkPricesOnProduction', TMessageType.CALL, self._seqid)
7342
    args = updateBulkPricesOnProduction_args()
7343
    args.item_id = item_id
7344
    args.bulkItemPricingList = bulkItemPricingList
7345
    args.write(self._oprot)
7346
    self._oprot.writeMessageEnd()
7347
    self._oprot.trans.flush()
7348
 
7349
  def recv_updateBulkPricesOnProduction(self, ):
7350
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
7351
    if mtype == TMessageType.EXCEPTION:
7352
      x = TApplicationException()
7353
      x.read(self._iprot)
7354
      self._iprot.readMessageEnd()
7355
      raise x
7356
    result = updateBulkPricesOnProduction_result()
7357
    result.read(self._iprot)
7358
    self._iprot.readMessageEnd()
7359
    if result.success is not None:
7360
      return result.success
7361
    raise TApplicationException(TApplicationException.MISSING_RESULT, "updateBulkPricesOnProduction failed: unknown result");
7362
 
18764 kshitij.so 7363
  def getCartByValue(self, cartIds):
7364
    """
7365
    Parameters:
7366
     - cartIds
7367
    """
7368
    self.send_getCartByValue(cartIds)
7369
    return self.recv_getCartByValue()
18602 kshitij.so 7370
 
18764 kshitij.so 7371
  def send_getCartByValue(self, cartIds):
7372
    self._oprot.writeMessageBegin('getCartByValue', TMessageType.CALL, self._seqid)
7373
    args = getCartByValue_args()
7374
    args.cartIds = cartIds
7375
    args.write(self._oprot)
7376
    self._oprot.writeMessageEnd()
7377
    self._oprot.trans.flush()
7378
 
7379
  def recv_getCartByValue(self, ):
7380
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
7381
    if mtype == TMessageType.EXCEPTION:
7382
      x = TApplicationException()
7383
      x.read(self._iprot)
7384
      self._iprot.readMessageEnd()
7385
      raise x
7386
    result = getCartByValue_result()
7387
    result.read(self._iprot)
7388
    self._iprot.readMessageEnd()
7389
    if result.success is not None:
7390
      return result.success
7391
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getCartByValue failed: unknown result");
7392
 
19247 kshitij.so 7393
  def updateItemPricing(self, itemPricingList):
7394
    """
7395
    Parameters:
7396
     - itemPricingList
7397
    """
7398
    self.send_updateItemPricing(itemPricingList)
7399
    return self.recv_updateItemPricing()
18764 kshitij.so 7400
 
19247 kshitij.so 7401
  def send_updateItemPricing(self, itemPricingList):
7402
    self._oprot.writeMessageBegin('updateItemPricing', TMessageType.CALL, self._seqid)
7403
    args = updateItemPricing_args()
7404
    args.itemPricingList = itemPricingList
7405
    args.write(self._oprot)
7406
    self._oprot.writeMessageEnd()
7407
    self._oprot.trans.flush()
7408
 
7409
  def recv_updateItemPricing(self, ):
7410
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
7411
    if mtype == TMessageType.EXCEPTION:
7412
      x = TApplicationException()
7413
      x.read(self._iprot)
7414
      self._iprot.readMessageEnd()
7415
      raise x
7416
    result = updateItemPricing_result()
7417
    result.read(self._iprot)
7418
    self._iprot.readMessageEnd()
7419
    if result.success is not None:
7420
      return result.success
7421
    raise TApplicationException(TApplicationException.MISSING_RESULT, "updateItemPricing failed: unknown result");
7422
 
19686 kshitij.so 7423
  def bulkUpdateCatalog(self, bulkUploadCatalog):
7424
    """
7425
    Parameters:
7426
     - bulkUploadCatalog
7427
    """
7428
    self.send_bulkUpdateCatalog(bulkUploadCatalog)
7429
    self.recv_bulkUpdateCatalog()
19247 kshitij.so 7430
 
19686 kshitij.so 7431
  def send_bulkUpdateCatalog(self, bulkUploadCatalog):
7432
    self._oprot.writeMessageBegin('bulkUpdateCatalog', TMessageType.CALL, self._seqid)
7433
    args = bulkUpdateCatalog_args()
7434
    args.bulkUploadCatalog = bulkUploadCatalog
7435
    args.write(self._oprot)
7436
    self._oprot.writeMessageEnd()
7437
    self._oprot.trans.flush()
7438
 
7439
  def recv_bulkUpdateCatalog(self, ):
7440
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
7441
    if mtype == TMessageType.EXCEPTION:
7442
      x = TApplicationException()
7443
      x.read(self._iprot)
7444
      self._iprot.readMessageEnd()
7445
      raise x
7446
    result = bulkUpdateCatalog_result()
7447
    result.read(self._iprot)
7448
    self._iprot.readMessageEnd()
7449
    if result.cex is not None:
7450
      raise result.cex
7451
    return
7452
 
19714 manish.sha 7453
  def getWarrantyInfoForItem(self, catalogItemId, itemCondition):
19691 manish.sha 7454
    """
7455
    Parameters:
19714 manish.sha 7456
     - catalogItemId
19691 manish.sha 7457
     - itemCondition
7458
    """
19714 manish.sha 7459
    self.send_getWarrantyInfoForItem(catalogItemId, itemCondition)
19691 manish.sha 7460
    return self.recv_getWarrantyInfoForItem()
19686 kshitij.so 7461
 
19714 manish.sha 7462
  def send_getWarrantyInfoForItem(self, catalogItemId, itemCondition):
19691 manish.sha 7463
    self._oprot.writeMessageBegin('getWarrantyInfoForItem', TMessageType.CALL, self._seqid)
7464
    args = getWarrantyInfoForItem_args()
19714 manish.sha 7465
    args.catalogItemId = catalogItemId
19691 manish.sha 7466
    args.itemCondition = itemCondition
7467
    args.write(self._oprot)
7468
    self._oprot.writeMessageEnd()
7469
    self._oprot.trans.flush()
7470
 
7471
  def recv_getWarrantyInfoForItem(self, ):
7472
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
7473
    if mtype == TMessageType.EXCEPTION:
7474
      x = TApplicationException()
7475
      x.read(self._iprot)
7476
      self._iprot.readMessageEnd()
7477
      raise x
7478
    result = getWarrantyInfoForItem_result()
7479
    result.read(self._iprot)
7480
    self._iprot.readMessageEnd()
7481
    if result.success is not None:
7482
      return result.success
7483
    if result.cex is not None:
7484
      raise result.cex
7485
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getWarrantyInfoForItem failed: unknown result");
7486
 
19714 manish.sha 7487
  def getWarrantyInfoForItemList(self, catalogItemIds, itemCondition):
7488
    """
7489
    Parameters:
7490
     - catalogItemIds
7491
     - itemCondition
7492
    """
7493
    self.send_getWarrantyInfoForItemList(catalogItemIds, itemCondition)
7494
    return self.recv_getWarrantyInfoForItemList()
19691 manish.sha 7495
 
19714 manish.sha 7496
  def send_getWarrantyInfoForItemList(self, catalogItemIds, itemCondition):
7497
    self._oprot.writeMessageBegin('getWarrantyInfoForItemList', TMessageType.CALL, self._seqid)
7498
    args = getWarrantyInfoForItemList_args()
7499
    args.catalogItemIds = catalogItemIds
7500
    args.itemCondition = itemCondition
7501
    args.write(self._oprot)
7502
    self._oprot.writeMessageEnd()
7503
    self._oprot.trans.flush()
7504
 
7505
  def recv_getWarrantyInfoForItemList(self, ):
7506
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
7507
    if mtype == TMessageType.EXCEPTION:
7508
      x = TApplicationException()
7509
      x.read(self._iprot)
7510
      self._iprot.readMessageEnd()
7511
      raise x
7512
    result = getWarrantyInfoForItemList_result()
7513
    result.read(self._iprot)
7514
    self._iprot.readMessageEnd()
7515
    if result.success is not None:
7516
      return result.success
7517
    if result.cex is not None:
7518
      raise result.cex
7519
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getWarrantyInfoForItemList failed: unknown result");
7520
 
21838 amit.gupta 7521
  def getGstRatesByState(self, stateId):
7522
    """
7523
    Parameters:
7524
     - stateId
7525
    """
7526
    self.send_getGstRatesByState(stateId)
7527
    return self.recv_getGstRatesByState()
19714 manish.sha 7528
 
21838 amit.gupta 7529
  def send_getGstRatesByState(self, stateId):
7530
    self._oprot.writeMessageBegin('getGstRatesByState', TMessageType.CALL, self._seqid)
7531
    args = getGstRatesByState_args()
7532
    args.stateId = stateId
7533
    args.write(self._oprot)
7534
    self._oprot.writeMessageEnd()
7535
    self._oprot.trans.flush()
7536
 
7537
  def recv_getGstRatesByState(self, ):
7538
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
7539
    if mtype == TMessageType.EXCEPTION:
7540
      x = TApplicationException()
7541
      x.read(self._iprot)
7542
      self._iprot.readMessageEnd()
7543
      raise x
7544
    result = getGstRatesByState_result()
7545
    result.read(self._iprot)
7546
    self._iprot.readMessageEnd()
7547
    if result.success is not None:
7548
      return result.success
7549
    if result.cex is not None:
7550
      raise result.cex
7551
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getGstRatesByState failed: unknown result");
7552
 
7553
  def getInterStateGstRates(self, ):
7554
    self.send_getInterStateGstRates()
7555
    return self.recv_getInterStateGstRates()
7556
 
7557
  def send_getInterStateGstRates(self, ):
7558
    self._oprot.writeMessageBegin('getInterStateGstRates', TMessageType.CALL, self._seqid)
7559
    args = getInterStateGstRates_args()
7560
    args.write(self._oprot)
7561
    self._oprot.writeMessageEnd()
7562
    self._oprot.trans.flush()
7563
 
7564
  def recv_getInterStateGstRates(self, ):
7565
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
7566
    if mtype == TMessageType.EXCEPTION:
7567
      x = TApplicationException()
7568
      x.read(self._iprot)
7569
      self._iprot.readMessageEnd()
7570
      raise x
7571
    result = getInterStateGstRates_result()
7572
    result.read(self._iprot)
7573
    self._iprot.readMessageEnd()
7574
    if result.success is not None:
7575
      return result.success
7576
    if result.cex is not None:
7577
      raise result.cex
7578
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getInterStateGstRates failed: unknown result");
7579
 
7580
  def getHsnCodesByCategory(self, categoryId):
7581
    """
7582
    Parameters:
7583
     - categoryId
7584
    """
7585
    self.send_getHsnCodesByCategory(categoryId)
7586
    return self.recv_getHsnCodesByCategory()
7587
 
7588
  def send_getHsnCodesByCategory(self, categoryId):
7589
    self._oprot.writeMessageBegin('getHsnCodesByCategory', TMessageType.CALL, self._seqid)
7590
    args = getHsnCodesByCategory_args()
7591
    args.categoryId = categoryId
7592
    args.write(self._oprot)
7593
    self._oprot.writeMessageEnd()
7594
    self._oprot.trans.flush()
7595
 
7596
  def recv_getHsnCodesByCategory(self, ):
7597
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
7598
    if mtype == TMessageType.EXCEPTION:
7599
      x = TApplicationException()
7600
      x.read(self._iprot)
7601
      self._iprot.readMessageEnd()
7602
      raise x
7603
    result = getHsnCodesByCategory_result()
7604
    result.read(self._iprot)
7605
    self._iprot.readMessageEnd()
7606
    if result.success is not None:
7607
      return result.success
7608
    if result.cex is not None:
7609
      raise result.cex
7610
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getHsnCodesByCategory failed: unknown result");
7611
 
7612
 
5944 mandeep.dh 7613
class Processor(shop2020.thriftpy.generic.GenericService.Processor, Iface, TProcessor):
7614
  def __init__(self, handler):
7615
    shop2020.thriftpy.generic.GenericService.Processor.__init__(self, handler)
7616
    self._processMap["addItem"] = Processor.process_addItem
7617
    self._processMap["updateItem"] = Processor.process_updateItem
7618
    self._processMap["isActive"] = Processor.process_isActive
7438 amit.gupta 7619
    self._processMap["getItemsStatus"] = Processor.process_getItemsStatus
5944 mandeep.dh 7620
    self._processMap["getItemStatusDescription"] = Processor.process_getItemStatusDescription
7621
    self._processMap["startItemOn"] = Processor.process_startItemOn
7622
    self._processMap["retireItemOn"] = Processor.process_retireItemOn
7623
    self._processMap["changeItemStatus"] = Processor.process_changeItemStatus
7624
    self._processMap["getItem"] = Processor.process_getItem
13493 amit.gupta 7625
    self._processMap["getItems"] = Processor.process_getItems
5944 mandeep.dh 7626
    self._processMap["getItemsByCatalogId"] = Processor.process_getItemsByCatalogId
7627
    self._processMap["getValidItemsByCatalogId"] = Processor.process_getValidItemsByCatalogId
7628
    self._processMap["getAllItems"] = Processor.process_getAllItems
7629
    self._processMap["getAllItemsByStatus"] = Processor.process_getAllItemsByStatus
7630
    self._processMap["markItemAsContentComplete"] = Processor.process_markItemAsContentComplete
12567 amit.gupta 7631
    self._processMap["getVatRates"] = Processor.process_getVatRates
5944 mandeep.dh 7632
    self._processMap["getAllItemsInRange"] = Processor.process_getAllItemsInRange
7633
    self._processMap["getAllItemsByStatusInRange"] = Processor.process_getAllItemsByStatusInRange
7634
    self._processMap["getItemCountByStatus"] = Processor.process_getItemCountByStatus
7635
    self._processMap["getBestSellers"] = Processor.process_getBestSellers
7636
    self._processMap["getBestSellersCatalogIds"] = Processor.process_getBestSellersCatalogIds
7637
    self._processMap["getBestSellersCount"] = Processor.process_getBestSellersCount
7638
    self._processMap["getBestDeals"] = Processor.process_getBestDeals
7639
    self._processMap["getBestDealsCatalogIds"] = Processor.process_getBestDealsCatalogIds
7640
    self._processMap["getBestDealsCount"] = Processor.process_getBestDealsCount
7641
    self._processMap["getComingSoon"] = Processor.process_getComingSoon
7642
    self._processMap["getComingSoonCatalogIds"] = Processor.process_getComingSoonCatalogIds
7643
    self._processMap["getComingSoonCount"] = Processor.process_getComingSoonCount
7644
    self._processMap["getLatestArrivals"] = Processor.process_getLatestArrivals
7645
    self._processMap["getLatestArrivalsCatalogIds"] = Processor.process_getLatestArrivalsCatalogIds
7646
    self._processMap["getLatestArrivalsCount"] = Processor.process_getLatestArrivalsCount
7647
    self._processMap["generateNewEntityID"] = Processor.process_generateNewEntityID
7648
    self._processMap["addCategory"] = Processor.process_addCategory
7649
    self._processMap["getCategory"] = Processor.process_getCategory
7650
    self._processMap["getAllCategories"] = Processor.process_getAllCategories
7651
    self._processMap["getAllSimilarItems"] = Processor.process_getAllSimilarItems
7652
    self._processMap["addSimilarItem"] = Processor.process_addSimilarItem
6512 kshitij.so 7653
    self._processMap["addTag"] = Processor.process_addTag
7654
    self._processMap["deleteEntityTag"] = Processor.process_deleteEntityTag
7655
    self._processMap["deleteTag"] = Processor.process_deleteTag
7656
    self._processMap["getAllTags"] = Processor.process_getAllTags
7657
    self._processMap["getAllEntitiesByTagName"] = Processor.process_getAllEntitiesByTagName
6845 amit.gupta 7658
    self._processMap["getAllEntityTags"] = Processor.process_getAllEntityTags
6850 kshitij.so 7659
    self._processMap["addBanner"] = Processor.process_addBanner
8579 kshitij.so 7660
    self._processMap["updateBanner"] = Processor.process_updateBanner
6850 kshitij.so 7661
    self._processMap["getAllBanners"] = Processor.process_getAllBanners
7662
    self._processMap["deleteBanner"] = Processor.process_deleteBanner
7663
    self._processMap["getBannerDetails"] = Processor.process_getBannerDetails
7664
    self._processMap["getActiveBanners"] = Processor.process_getActiveBanners
6849 kshitij.so 7665
    self._processMap["addBannerMap"] = Processor.process_addBannerMap
8579 kshitij.so 7666
    self._processMap["updateBannerMap"] = Processor.process_updateBannerMap
6849 kshitij.so 7667
    self._processMap["deleteBannerMap"] = Processor.process_deleteBannerMap
7668
    self._processMap["getBannerMapDetails"] = Processor.process_getBannerMapDetails
8579 kshitij.so 7669
    self._processMap["addBannerUri"] = Processor.process_addBannerUri
7670
    self._processMap["getUriMapping"] = Processor.process_getUriMapping
7671
    self._processMap["addCampaign"] = Processor.process_addCampaign
7672
    self._processMap["getCampaigns"] = Processor.process_getCampaigns
7673
    self._processMap["deleteCampaign"] = Processor.process_deleteCampaign
7674
    self._processMap["getAllCampaigns"] = Processor.process_getAllCampaigns
9155 kshitij.so 7675
    self._processMap["getActiveBannersForMobileSite"] = Processor.process_getActiveBannersForMobileSite
5944 mandeep.dh 7676
    self._processMap["deleteSimilarItem"] = Processor.process_deleteSimilarItem
7677
    self._processMap["checkSimilarItem"] = Processor.process_checkSimilarItem
7678
    self._processMap["validateRiskyStatus"] = Processor.process_validateRiskyStatus
7679
    self._processMap["changeItemRiskyFlag"] = Processor.process_changeItemRiskyFlag
7680
    self._processMap["getItemsByRiskyFlag"] = Processor.process_getItemsByRiskyFlag
7681
    self._processMap["getItemsForMasterSheet"] = Processor.process_getItemsForMasterSheet
7682
    self._processMap["getSimilarItemsCatalogIds"] = Processor.process_getSimilarItemsCatalogIds
7683
    self._processMap["addProductNotification"] = Processor.process_addProductNotification
7684
    self._processMap["sendProductNotifications"] = Processor.process_sendProductNotifications
7685
    self._processMap["getAllBrandsByCategory"] = Processor.process_getAllBrandsByCategory
7686
    self._processMap["getAllBrands"] = Processor.process_getAllBrands
7687
    self._processMap["getAllSources"] = Processor.process_getAllSources
7688
    self._processMap["getItemPricingBySource"] = Processor.process_getItemPricingBySource
7689
    self._processMap["addSourceItemPricing"] = Processor.process_addSourceItemPricing
7690
    self._processMap["getAllSourcePricing"] = Processor.process_getAllSourcePricing
7691
    self._processMap["getItemForSource"] = Processor.process_getItemForSource
7692
    self._processMap["searchItemsInRange"] = Processor.process_searchItemsInRange
7693
    self._processMap["getSearchResultCount"] = Processor.process_getSearchResultCount
7694
    self._processMap["getProductNotifications"] = Processor.process_getProductNotifications
7695
    self._processMap["getProductNotificationRequestCount"] = Processor.process_getProductNotificationRequestCount
7696
    self._processMap["addAuthorizationLog"] = Processor.process_addAuthorizationLog
7697
    self._processMap["addupdateVoucherForItem"] = Processor.process_addupdateVoucherForItem
7698
    self._processMap["deleteVoucherForItem"] = Processor.process_deleteVoucherForItem
7699
    self._processMap["getVoucherAmount"] = Processor.process_getVoucherAmount
7700
    self._processMap["getAllItemVouchers"] = Processor.process_getAllItemVouchers
7701
    self._processMap["isValidCatalogItemId"] = Processor.process_isValidCatalogItemId
6039 amit.gupta 7702
    self._processMap["getVatPercentageForItem"] = Processor.process_getVatPercentageForItem
7703
    self._processMap["getVatAmountForItem"] = Processor.process_getVatAmountForItem
6531 vikram.rag 7704
    self._processMap["getAllIgnoredInventoryUpdateItemsList"] = Processor.process_getAllIgnoredInventoryUpdateItemsList
6821 amar.kumar 7705
    self._processMap["getAllAliveItems"] = Processor.process_getAllAliveItems
6805 anupam.sin 7706
    self._processMap["getInsuranceAmount"] = Processor.process_getInsuranceAmount
7707
    self._processMap["getInsurer"] = Processor.process_getInsurer
6838 vikram.rag 7708
    self._processMap["getAllInsurers"] = Processor.process_getAllInsurers
6962 rajveer 7709
    self._processMap["updateInsuranceDeclaredAmount"] = Processor.process_updateInsuranceDeclaredAmount
7190 amar.kumar 7710
    self._processMap["getFreebieForItem"] = Processor.process_getFreebieForItem
7711
    self._processMap["addOrUpdateFreebieForItem"] = Processor.process_addOrUpdateFreebieForItem
7272 amit.gupta 7712
    self._processMap["addOrUpdateBrandInfo"] = Processor.process_addOrUpdateBrandInfo
7713
    self._processMap["getBrandInfo"] = Processor.process_getBrandInfo
7256 rajveer 7714
    self._processMap["getStorePricing"] = Processor.process_getStorePricing
7306 rajveer 7715
    self._processMap["getStorePricings"] = Processor.process_getStorePricings
7265 rajveer 7716
    self._processMap["updateStorePricing"] = Processor.process_updateStorePricing
7281 kshitij.so 7717
    self._processMap["getAllAmazonListedItems"] = Processor.process_getAllAmazonListedItems
8619 kshitij.so 7718
    self._processMap["searchAmazonItems"] = Processor.process_searchAmazonItems
7719
    self._processMap["getAmazonSearchResultCount"] = Processor.process_getAmazonSearchResultCount
7720
    self._processMap["getCountForAmazonlistedItems"] = Processor.process_getCountForAmazonlistedItems
7281 kshitij.so 7721
    self._processMap["getAmazonItemDetails"] = Processor.process_getAmazonItemDetails
7722
    self._processMap["updateAmazonItemDetails"] = Processor.process_updateAmazonItemDetails
7723
    self._processMap["addAmazonItem"] = Processor.process_addAmazonItem
7291 vikram.rag 7724
    self._processMap["getAsinItems"] = Processor.process_getAsinItems
7725
    self._processMap["getAllFbaListedItems"] = Processor.process_getAllFbaListedItems
7726
    self._processMap["getAllNonFbaListedItems"] = Processor.process_getAllNonFbaListedItems
7460 kshitij.so 7727
    self._processMap["updateItemInventory"] = Processor.process_updateItemInventory
7770 kshitij.so 7728
    self._processMap["updateTimestampForAmazonFeeds"] = Processor.process_updateTimestampForAmazonFeeds
7897 amar.kumar 7729
    self._processMap["getAllParentCategories"] = Processor.process_getAllParentCategories
7977 kshitij.so 7730
    self._processMap["addPageViewEvent"] = Processor.process_addPageViewEvent
7731
    self._processMap["addCartEvent"] = Processor.process_addCartEvent
8182 amar.kumar 7732
    self._processMap["addEbayItem"] = Processor.process_addEbayItem
7733
    self._processMap["getEbayItem"] = Processor.process_getEbayItem
7734
    self._processMap["updateEbayItem"] = Processor.process_updateEbayItem
8139 kshitij.so 7735
    self._processMap["getAmazonListedItems"] = Processor.process_getAmazonListedItems
8168 kshitij.so 7736
    self._processMap["updateAmazonAttributesInBulk"] = Processor.process_updateAmazonAttributesInBulk
8379 vikram.rag 7737
    self._processMap["getAllItemstoListOnFba"] = Processor.process_getAllItemstoListOnFba
7738
    self._processMap["getAllItemstoListOnNonFba"] = Processor.process_getAllItemstoListOnNonFba
8619 kshitij.so 7739
    self._processMap["updateAsin"] = Processor.process_updateAsin
8739 vikram.rag 7740
    self._processMap["addOrUpdateSnapdealItem"] = Processor.process_addOrUpdateSnapdealItem
7741
    self._processMap["getSnapdealItem"] = Processor.process_getSnapdealItem
9242 kshitij.so 7742
    self._processMap["getSnapdealItemDetails"] = Processor.process_getSnapdealItemDetails
8739 vikram.rag 7743
    self._processMap["getAllSnapdealItems"] = Processor.process_getAllSnapdealItems
9242 kshitij.so 7744
    self._processMap["getSnapdealItems"] = Processor.process_getSnapdealItems
7745
    self._processMap["searchSnapdealItems"] = Processor.process_searchSnapdealItems
7746
    self._processMap["getCountForSnapdealItems"] = Processor.process_getCountForSnapdealItems
7747
    self._processMap["getSnapdealSearchResultCount"] = Processor.process_getSnapdealSearchResultCount
9299 kshitij.so 7748
    self._processMap["getPrefferedInsurerForItem"] = Processor.process_getPrefferedInsurerForItem
9456 vikram.rag 7749
    self._processMap["getSnapdealItembySkuAtSnapdeal"] = Processor.process_getSnapdealItembySkuAtSnapdeal
9621 manish.sha 7750
    self._processMap["getProductFeedSubmit"] = Processor.process_getProductFeedSubmit
7751
    self._processMap["addProductFeedSubmit"] = Processor.process_addProductFeedSubmit
7752
    self._processMap["updateProductFeedSubmit"] = Processor.process_updateProductFeedSubmit
7753
    self._processMap["deleteProductFeedSubmit"] = Processor.process_deleteProductFeedSubmit
7754
    self._processMap["getAllProductFeedSubmit"] = Processor.process_getAllProductFeedSubmit
9724 kshitij.so 7755
    self._processMap["getMarketplacedetailsForItem"] = Processor.process_getMarketplacedetailsForItem
7756
    self._processMap["updateMarketplaceAttributesForItem"] = Processor.process_updateMarketplaceAttributesForItem
9779 kshitij.so 7757
    self._processMap["getCostingForMarketplace"] = Processor.process_getCostingForMarketplace
9776 vikram.rag 7758
    self._processMap["getMarketPlaceItemsForPriceUpdate"] = Processor.process_getMarketPlaceItemsForPriceUpdate
7759
    self._processMap["updateMarketPlacePriceUpdateStatus"] = Processor.process_updateMarketPlacePriceUpdateStatus
9861 rajveer 7760
    self._processMap["updateItemHoldInventory"] = Processor.process_updateItemHoldInventory
9895 vikram.rag 7761
    self._processMap["updateNlcAtMarketplaces"] = Processor.process_updateNlcAtMarketplaces
9945 vikram.rag 7762
    self._processMap["getAllFlipkartItems"] = Processor.process_getAllFlipkartItems
10097 kshitij.so 7763
    self._processMap["addOrUpdateFlipkartItem"] = Processor.process_addOrUpdateFlipkartItem
7764
    self._processMap["getFlipkartItem"] = Processor.process_getFlipkartItem
7765
    self._processMap["getFlipkartItemDetails"] = Processor.process_getFlipkartItemDetails
7766
    self._processMap["getFlipkartItems"] = Processor.process_getFlipkartItems
7767
    self._processMap["searchFlipkartItems"] = Processor.process_searchFlipkartItems
7768
    self._processMap["getCountForFlipkartItems"] = Processor.process_getCountForFlipkartItems
7769
    self._processMap["getFlipkartSearchResultCount"] = Processor.process_getFlipkartSearchResultCount
7770
    self._processMap["getAllFkItems"] = Processor.process_getAllFkItems
10140 vikram.rag 7771
    self._processMap["getFlipkartItemBySkyAtFlipkart"] = Processor.process_getFlipkartItemBySkyAtFlipkart
11015 kshitij.so 7772
    self._processMap["getMarketplaceHistory"] = Processor.process_getMarketplaceHistory
10909 vikram.rag 7773
    self._processMap["getAllFbbListedItems"] = Processor.process_getAllFbbListedItems
10924 vikram.rag 7774
    self._processMap["getAllFbbPricingItems"] = Processor.process_getAllFbbPricingItems
11015 kshitij.so 7775
    self._processMap["getCountForMarketplaceHistory"] = Processor.process_getCountForMarketplaceHistory
7776
    self._processMap["getMarketplaceHistoryByDate"] = Processor.process_getMarketplaceHistoryByDate
11531 vikram.rag 7777
    self._processMap["getPrivateDealDetails"] = Processor.process_getPrivateDealDetails
7778
    self._processMap["getPrivateDealItems"] = Processor.process_getPrivateDealItems
11592 amit.gupta 7779
    self._processMap["getAllActivePrivateDeals"] = Processor.process_getAllActivePrivateDeals
11531 vikram.rag 7780
    self._processMap["addOrUpdatePrivateDeal"] = Processor.process_addOrUpdatePrivateDeal
11635 vikram.rag 7781
    self._processMap["getPrivateDealsCatalogIds"] = Processor.process_getPrivateDealsCatalogIds
11645 amit.gupta 7782
    self._processMap["getPrivateDealsCount"] = Processor.process_getPrivateDealsCount
11905 kshitij.so 7783
    self._processMap["getAmazonOutSyncItems"] = Processor.process_getAmazonOutSyncItems
7784
    self._processMap["getAllPrivateDealsComparison"] = Processor.process_getAllPrivateDealsComparison
12133 kshitij.so 7785
    self._processMap["getAllSnapdealMarketplaceItem"] = Processor.process_getAllSnapdealMarketplaceItem
7786
    self._processMap["getAllFlipkartMarketplaceItem"] = Processor.process_getAllFlipkartMarketplaceItem
12243 kshitij.so 7787
    self._processMap["addCompetitorScraping"] = Processor.process_addCompetitorScraping
7788
    self._processMap["getPreviousCompetitorScraping"] = Processor.process_getPreviousCompetitorScraping
12256 kshitij.so 7789
    self._processMap["getUploadResultById"] = Processor.process_getUploadResultById
12363 kshitij.so 7790
    self._processMap["addAmazonPromotion"] = Processor.process_addAmazonPromotion
7791
    self._processMap["getAmazonPromotion"] = Processor.process_getAmazonPromotion
7792
    self._processMap["updateAmazonPromotion"] = Processor.process_updateAmazonPromotion
12567 amit.gupta 7793
    self._processMap["markPartiallyActive"] = Processor.process_markPartiallyActive
7794
    self._processMap["updateItemStateVat"] = Processor.process_updateItemStateVat
12620 amit.gupta 7795
    self._processMap["getExAffiliateItemInfo"] = Processor.process_getExAffiliateItemInfo
12888 kshitij.so 7796
    self._processMap["getAllItemstoListOnFbg"] = Processor.process_getAllItemstoListOnFbg
12892 kshitij.so 7797
    self._processMap["getAllFbgListedItems"] = Processor.process_getAllFbgListedItems
13136 amit.gupta 7798
    self._processMap["checkServices"] = Processor.process_checkServices
13709 manish.sha 7799
    self._processMap["addHsItem"] = Processor.process_addHsItem
7800
    self._processMap["getHsItem"] = Processor.process_getHsItem
7801
    self._processMap["updateHsItem"] = Processor.process_updateHsItem
14182 kshitij.so 7802
    self._processMap["getPricingForDtr"] = Processor.process_getPricingForDtr
15702 kshitij.so 7803
    self._processMap["getAllItemstoListOnFbd"] = Processor.process_getAllItemstoListOnFbd
15706 kshitij.so 7804
    self._processMap["getAllFbdListedItems"] = Processor.process_getAllFbdListedItems
18150 kshitij.so 7805
    self._processMap["getBulkPricingForItems"] = Processor.process_getBulkPricingForItems
7806
    self._processMap["addBulkPricingForItem"] = Processor.process_addBulkPricingForItem
7807
    self._processMap["deleteBulkPricingForItemById"] = Processor.process_deleteBulkPricingForItemById
7808
    self._processMap["deleteBulkPricingForItem"] = Processor.process_deleteBulkPricingForItem
7809
    self._processMap["getBulkPricingByItemId"] = Processor.process_getBulkPricingByItemId
18602 kshitij.so 7810
    self._processMap["updateBulkPricesOnProduction"] = Processor.process_updateBulkPricesOnProduction
18764 kshitij.so 7811
    self._processMap["getCartByValue"] = Processor.process_getCartByValue
19247 kshitij.so 7812
    self._processMap["updateItemPricing"] = Processor.process_updateItemPricing
19686 kshitij.so 7813
    self._processMap["bulkUpdateCatalog"] = Processor.process_bulkUpdateCatalog
19691 manish.sha 7814
    self._processMap["getWarrantyInfoForItem"] = Processor.process_getWarrantyInfoForItem
19714 manish.sha 7815
    self._processMap["getWarrantyInfoForItemList"] = Processor.process_getWarrantyInfoForItemList
21838 amit.gupta 7816
    self._processMap["getGstRatesByState"] = Processor.process_getGstRatesByState
7817
    self._processMap["getInterStateGstRates"] = Processor.process_getInterStateGstRates
7818
    self._processMap["getHsnCodesByCategory"] = Processor.process_getHsnCodesByCategory
5944 mandeep.dh 7819
 
7820
  def process(self, iprot, oprot):
7821
    (name, type, seqid) = iprot.readMessageBegin()
7822
    if name not in self._processMap:
7823
      iprot.skip(TType.STRUCT)
7824
      iprot.readMessageEnd()
7825
      x = TApplicationException(TApplicationException.UNKNOWN_METHOD, 'Unknown function %s' % (name))
7826
      oprot.writeMessageBegin(name, TMessageType.EXCEPTION, seqid)
7827
      x.write(oprot)
7828
      oprot.writeMessageEnd()
7829
      oprot.trans.flush()
7830
      return
7831
    else:
7832
      self._processMap[name](self, seqid, iprot, oprot)
7833
    return True
7834
 
7835
  def process_addItem(self, seqid, iprot, oprot):
7836
    args = addItem_args()
7837
    args.read(iprot)
7838
    iprot.readMessageEnd()
7839
    result = addItem_result()
7840
    try:
7841
      result.success = self._handler.addItem(args.item)
7842
    except CatalogServiceException, cex:
7843
      result.cex = cex
7844
    oprot.writeMessageBegin("addItem", TMessageType.REPLY, seqid)
7845
    result.write(oprot)
7846
    oprot.writeMessageEnd()
7847
    oprot.trans.flush()
7848
 
7849
  def process_updateItem(self, seqid, iprot, oprot):
7850
    args = updateItem_args()
7851
    args.read(iprot)
7852
    iprot.readMessageEnd()
7853
    result = updateItem_result()
7854
    try:
7855
      result.success = self._handler.updateItem(args.item)
7856
    except CatalogServiceException, cex:
7857
      result.cex = cex
7858
    oprot.writeMessageBegin("updateItem", TMessageType.REPLY, seqid)
7859
    result.write(oprot)
7860
    oprot.writeMessageEnd()
7861
    oprot.trans.flush()
7862
 
7863
  def process_isActive(self, seqid, iprot, oprot):
7864
    args = isActive_args()
7865
    args.read(iprot)
7866
    iprot.readMessageEnd()
7867
    result = isActive_result()
7868
    try:
7869
      result.success = self._handler.isActive(args.itemId)
7870
    except CatalogServiceException, isex:
7871
      result.isex = isex
7872
    oprot.writeMessageBegin("isActive", TMessageType.REPLY, seqid)
7873
    result.write(oprot)
7874
    oprot.writeMessageEnd()
7875
    oprot.trans.flush()
7876
 
7438 amit.gupta 7877
  def process_getItemsStatus(self, seqid, iprot, oprot):
7878
    args = getItemsStatus_args()
7879
    args.read(iprot)
7880
    iprot.readMessageEnd()
7881
    result = getItemsStatus_result()
7882
    try:
7883
      result.success = self._handler.getItemsStatus(args.itemIds)
7884
    except CatalogServiceException, isex:
7885
      result.isex = isex
7886
    oprot.writeMessageBegin("getItemsStatus", TMessageType.REPLY, seqid)
7887
    result.write(oprot)
7888
    oprot.writeMessageEnd()
7889
    oprot.trans.flush()
7890
 
5944 mandeep.dh 7891
  def process_getItemStatusDescription(self, seqid, iprot, oprot):
7892
    args = getItemStatusDescription_args()
7893
    args.read(iprot)
7894
    iprot.readMessageEnd()
7895
    result = getItemStatusDescription_result()
7896
    try:
7897
      result.success = self._handler.getItemStatusDescription(args.itemId)
7898
    except CatalogServiceException, isex:
7899
      result.isex = isex
7900
    oprot.writeMessageBegin("getItemStatusDescription", TMessageType.REPLY, seqid)
7901
    result.write(oprot)
7902
    oprot.writeMessageEnd()
7903
    oprot.trans.flush()
7904
 
7905
  def process_startItemOn(self, seqid, iprot, oprot):
7906
    args = startItemOn_args()
7907
    args.read(iprot)
7908
    iprot.readMessageEnd()
7909
    result = startItemOn_result()
7910
    try:
7911
      self._handler.startItemOn(args.item_id, args.timestamp)
7912
    except CatalogServiceException, cex:
7913
      result.cex = cex
7914
    oprot.writeMessageBegin("startItemOn", TMessageType.REPLY, seqid)
7915
    result.write(oprot)
7916
    oprot.writeMessageEnd()
7917
    oprot.trans.flush()
7918
 
7919
  def process_retireItemOn(self, seqid, iprot, oprot):
7920
    args = retireItemOn_args()
7921
    args.read(iprot)
7922
    iprot.readMessageEnd()
7923
    result = retireItemOn_result()
7924
    try:
7925
      self._handler.retireItemOn(args.item_id, args.timestamp)
7926
    except CatalogServiceException, cex:
7927
      result.cex = cex
7928
    oprot.writeMessageBegin("retireItemOn", TMessageType.REPLY, seqid)
7929
    result.write(oprot)
7930
    oprot.writeMessageEnd()
7931
    oprot.trans.flush()
7932
 
7933
  def process_changeItemStatus(self, seqid, iprot, oprot):
7934
    args = changeItemStatus_args()
7935
    args.read(iprot)
7936
    iprot.readMessageEnd()
7937
    result = changeItemStatus_result()
7938
    try:
7939
      self._handler.changeItemStatus(args.item_id, args.timestamp, args.newstatus)
7940
    except CatalogServiceException, cex:
7941
      result.cex = cex
7942
    oprot.writeMessageBegin("changeItemStatus", TMessageType.REPLY, seqid)
7943
    result.write(oprot)
7944
    oprot.writeMessageEnd()
7945
    oprot.trans.flush()
7946
 
7947
  def process_getItem(self, seqid, iprot, oprot):
7948
    args = getItem_args()
7949
    args.read(iprot)
7950
    iprot.readMessageEnd()
7951
    result = getItem_result()
7952
    try:
7953
      result.success = self._handler.getItem(args.item_id)
7954
    except CatalogServiceException, cex:
7955
      result.cex = cex
7956
    oprot.writeMessageBegin("getItem", TMessageType.REPLY, seqid)
7957
    result.write(oprot)
7958
    oprot.writeMessageEnd()
7959
    oprot.trans.flush()
7960
 
13493 amit.gupta 7961
  def process_getItems(self, seqid, iprot, oprot):
7962
    args = getItems_args()
7963
    args.read(iprot)
7964
    iprot.readMessageEnd()
7965
    result = getItems_result()
7966
    try:
7967
      result.success = self._handler.getItems(args.item_ids)
7968
    except CatalogServiceException, cex:
7969
      result.cex = cex
7970
    oprot.writeMessageBegin("getItems", TMessageType.REPLY, seqid)
7971
    result.write(oprot)
7972
    oprot.writeMessageEnd()
7973
    oprot.trans.flush()
7974
 
5944 mandeep.dh 7975
  def process_getItemsByCatalogId(self, seqid, iprot, oprot):
7976
    args = getItemsByCatalogId_args()
7977
    args.read(iprot)
7978
    iprot.readMessageEnd()
7979
    result = getItemsByCatalogId_result()
7980
    try:
7981
      result.success = self._handler.getItemsByCatalogId(args.catalog_item_id)
7982
    except CatalogServiceException, cex:
7983
      result.cex = cex
7984
    oprot.writeMessageBegin("getItemsByCatalogId", TMessageType.REPLY, seqid)
7985
    result.write(oprot)
7986
    oprot.writeMessageEnd()
7987
    oprot.trans.flush()
7988
 
7989
  def process_getValidItemsByCatalogId(self, seqid, iprot, oprot):
7990
    args = getValidItemsByCatalogId_args()
7991
    args.read(iprot)
7992
    iprot.readMessageEnd()
7993
    result = getValidItemsByCatalogId_result()
7994
    try:
7995
      result.success = self._handler.getValidItemsByCatalogId(args.catalog_item_id)
7996
    except CatalogServiceException, cex:
7997
      result.cex = cex
7998
    oprot.writeMessageBegin("getValidItemsByCatalogId", TMessageType.REPLY, seqid)
7999
    result.write(oprot)
8000
    oprot.writeMessageEnd()
8001
    oprot.trans.flush()
8002
 
8003
  def process_getAllItems(self, seqid, iprot, oprot):
8004
    args = getAllItems_args()
8005
    args.read(iprot)
8006
    iprot.readMessageEnd()
8007
    result = getAllItems_result()
8008
    try:
8009
      result.success = self._handler.getAllItems(args.isActive)
8010
    except CatalogServiceException, cex:
8011
      result.cex = cex
8012
    oprot.writeMessageBegin("getAllItems", TMessageType.REPLY, seqid)
8013
    result.write(oprot)
8014
    oprot.writeMessageEnd()
8015
    oprot.trans.flush()
8016
 
8017
  def process_getAllItemsByStatus(self, seqid, iprot, oprot):
8018
    args = getAllItemsByStatus_args()
8019
    args.read(iprot)
8020
    iprot.readMessageEnd()
8021
    result = getAllItemsByStatus_result()
8022
    try:
8023
      result.success = self._handler.getAllItemsByStatus(args.itemStatus)
8024
    except CatalogServiceException, cex:
8025
      result.cex = cex
8026
    oprot.writeMessageBegin("getAllItemsByStatus", TMessageType.REPLY, seqid)
8027
    result.write(oprot)
8028
    oprot.writeMessageEnd()
8029
    oprot.trans.flush()
8030
 
8031
  def process_markItemAsContentComplete(self, seqid, iprot, oprot):
8032
    args = markItemAsContentComplete_args()
8033
    args.read(iprot)
8034
    iprot.readMessageEnd()
8035
    result = markItemAsContentComplete_result()
8036
    try:
9253 rajveer 8037
      result.success = self._handler.markItemAsContentComplete(args.entityId, args.category, args.brand, args.modelName, args.modelNumber, args.isAndroid)
5944 mandeep.dh 8038
    except CatalogServiceException, cex:
8039
      result.cex = cex
8040
    oprot.writeMessageBegin("markItemAsContentComplete", TMessageType.REPLY, seqid)
8041
    result.write(oprot)
8042
    oprot.writeMessageEnd()
8043
    oprot.trans.flush()
8044
 
12567 amit.gupta 8045
  def process_getVatRates(self, seqid, iprot, oprot):
8046
    args = getVatRates_args()
8047
    args.read(iprot)
8048
    iprot.readMessageEnd()
8049
    result = getVatRates_result()
8050
    try:
8051
      result.success = self._handler.getVatRates(args.itemId, args.categoryId)
8052
    except CatalogServiceException, cex:
8053
      result.cex = cex
8054
    oprot.writeMessageBegin("getVatRates", TMessageType.REPLY, seqid)
8055
    result.write(oprot)
8056
    oprot.writeMessageEnd()
8057
    oprot.trans.flush()
8058
 
5944 mandeep.dh 8059
  def process_getAllItemsInRange(self, seqid, iprot, oprot):
8060
    args = getAllItemsInRange_args()
8061
    args.read(iprot)
8062
    iprot.readMessageEnd()
8063
    result = getAllItemsInRange_result()
8064
    try:
8065
      result.success = self._handler.getAllItemsInRange(args.offset, args.limit)
8066
    except CatalogServiceException, cex:
8067
      result.cex = cex
8068
    oprot.writeMessageBegin("getAllItemsInRange", TMessageType.REPLY, seqid)
8069
    result.write(oprot)
8070
    oprot.writeMessageEnd()
8071
    oprot.trans.flush()
8072
 
8073
  def process_getAllItemsByStatusInRange(self, seqid, iprot, oprot):
8074
    args = getAllItemsByStatusInRange_args()
8075
    args.read(iprot)
8076
    iprot.readMessageEnd()
8077
    result = getAllItemsByStatusInRange_result()
8078
    try:
8079
      result.success = self._handler.getAllItemsByStatusInRange(args.itemStatus, args.offset, args.limit)
8080
    except CatalogServiceException, cex:
8081
      result.cex = cex
8082
    oprot.writeMessageBegin("getAllItemsByStatusInRange", TMessageType.REPLY, seqid)
8083
    result.write(oprot)
8084
    oprot.writeMessageEnd()
8085
    oprot.trans.flush()
8086
 
8087
  def process_getItemCountByStatus(self, seqid, iprot, oprot):
8088
    args = getItemCountByStatus_args()
8089
    args.read(iprot)
8090
    iprot.readMessageEnd()
8091
    result = getItemCountByStatus_result()
8092
    result.success = self._handler.getItemCountByStatus(args.useStatus, args.itemStatus)
8093
    oprot.writeMessageBegin("getItemCountByStatus", TMessageType.REPLY, seqid)
8094
    result.write(oprot)
8095
    oprot.writeMessageEnd()
8096
    oprot.trans.flush()
8097
 
8098
  def process_getBestSellers(self, seqid, iprot, oprot):
8099
    args = getBestSellers_args()
8100
    args.read(iprot)
8101
    iprot.readMessageEnd()
8102
    result = getBestSellers_result()
8103
    try:
8104
      result.success = self._handler.getBestSellers()
8105
    except CatalogServiceException, isex:
8106
      result.isex = isex
8107
    oprot.writeMessageBegin("getBestSellers", TMessageType.REPLY, seqid)
8108
    result.write(oprot)
8109
    oprot.writeMessageEnd()
8110
    oprot.trans.flush()
8111
 
8112
  def process_getBestSellersCatalogIds(self, seqid, iprot, oprot):
8113
    args = getBestSellersCatalogIds_args()
8114
    args.read(iprot)
8115
    iprot.readMessageEnd()
8116
    result = getBestSellersCatalogIds_result()
8117
    try:
8118
      result.success = self._handler.getBestSellersCatalogIds(args.beginIndex, args.totalItems, args.brand, args.category)
8119
    except CatalogServiceException, cex:
8120
      result.cex = cex
8121
    oprot.writeMessageBegin("getBestSellersCatalogIds", TMessageType.REPLY, seqid)
8122
    result.write(oprot)
8123
    oprot.writeMessageEnd()
8124
    oprot.trans.flush()
8125
 
8126
  def process_getBestSellersCount(self, seqid, iprot, oprot):
8127
    args = getBestSellersCount_args()
8128
    args.read(iprot)
8129
    iprot.readMessageEnd()
8130
    result = getBestSellersCount_result()
8131
    try:
8132
      result.success = self._handler.getBestSellersCount()
8133
    except CatalogServiceException, cex:
8134
      result.cex = cex
8135
    oprot.writeMessageBegin("getBestSellersCount", TMessageType.REPLY, seqid)
8136
    result.write(oprot)
8137
    oprot.writeMessageEnd()
8138
    oprot.trans.flush()
8139
 
8140
  def process_getBestDeals(self, seqid, iprot, oprot):
8141
    args = getBestDeals_args()
8142
    args.read(iprot)
8143
    iprot.readMessageEnd()
8144
    result = getBestDeals_result()
8145
    try:
8146
      result.success = self._handler.getBestDeals()
8147
    except CatalogServiceException, isex:
8148
      result.isex = isex
8149
    oprot.writeMessageBegin("getBestDeals", TMessageType.REPLY, seqid)
8150
    result.write(oprot)
8151
    oprot.writeMessageEnd()
8152
    oprot.trans.flush()
8153
 
8154
  def process_getBestDealsCatalogIds(self, seqid, iprot, oprot):
8155
    args = getBestDealsCatalogIds_args()
8156
    args.read(iprot)
8157
    iprot.readMessageEnd()
8158
    result = getBestDealsCatalogIds_result()
8159
    try:
8160
      result.success = self._handler.getBestDealsCatalogIds(args.beginIndex, args.totalItems, args.brand, args.category)
8161
    except CatalogServiceException, cex:
8162
      result.cex = cex
8163
    oprot.writeMessageBegin("getBestDealsCatalogIds", TMessageType.REPLY, seqid)
8164
    result.write(oprot)
8165
    oprot.writeMessageEnd()
8166
    oprot.trans.flush()
8167
 
8168
  def process_getBestDealsCount(self, seqid, iprot, oprot):
8169
    args = getBestDealsCount_args()
8170
    args.read(iprot)
8171
    iprot.readMessageEnd()
8172
    result = getBestDealsCount_result()
8173
    try:
8174
      result.success = self._handler.getBestDealsCount()
8175
    except CatalogServiceException, cex:
8176
      result.cex = cex
8177
    oprot.writeMessageBegin("getBestDealsCount", TMessageType.REPLY, seqid)
8178
    result.write(oprot)
8179
    oprot.writeMessageEnd()
8180
    oprot.trans.flush()
8181
 
8182
  def process_getComingSoon(self, seqid, iprot, oprot):
8183
    args = getComingSoon_args()
8184
    args.read(iprot)
8185
    iprot.readMessageEnd()
8186
    result = getComingSoon_result()
8187
    try:
8188
      result.success = self._handler.getComingSoon()
8189
    except CatalogServiceException, isex:
8190
      result.isex = isex
8191
    oprot.writeMessageBegin("getComingSoon", TMessageType.REPLY, seqid)
8192
    result.write(oprot)
8193
    oprot.writeMessageEnd()
8194
    oprot.trans.flush()
8195
 
8196
  def process_getComingSoonCatalogIds(self, seqid, iprot, oprot):
8197
    args = getComingSoonCatalogIds_args()
8198
    args.read(iprot)
8199
    iprot.readMessageEnd()
8200
    result = getComingSoonCatalogIds_result()
8201
    try:
8202
      result.success = self._handler.getComingSoonCatalogIds(args.beginIndex, args.totalItems, args.brand, args.category)
8203
    except CatalogServiceException, cex:
8204
      result.cex = cex
8205
    oprot.writeMessageBegin("getComingSoonCatalogIds", TMessageType.REPLY, seqid)
8206
    result.write(oprot)
8207
    oprot.writeMessageEnd()
8208
    oprot.trans.flush()
8209
 
8210
  def process_getComingSoonCount(self, seqid, iprot, oprot):
8211
    args = getComingSoonCount_args()
8212
    args.read(iprot)
8213
    iprot.readMessageEnd()
8214
    result = getComingSoonCount_result()
8215
    try:
8216
      result.success = self._handler.getComingSoonCount()
8217
    except CatalogServiceException, cex:
8218
      result.cex = cex
8219
    oprot.writeMessageBegin("getComingSoonCount", TMessageType.REPLY, seqid)
8220
    result.write(oprot)
8221
    oprot.writeMessageEnd()
8222
    oprot.trans.flush()
8223
 
8224
  def process_getLatestArrivals(self, seqid, iprot, oprot):
8225
    args = getLatestArrivals_args()
8226
    args.read(iprot)
8227
    iprot.readMessageEnd()
8228
    result = getLatestArrivals_result()
8229
    try:
8230
      result.success = self._handler.getLatestArrivals()
8231
    except CatalogServiceException, isex:
8232
      result.isex = isex
8233
    oprot.writeMessageBegin("getLatestArrivals", TMessageType.REPLY, seqid)
8234
    result.write(oprot)
8235
    oprot.writeMessageEnd()
8236
    oprot.trans.flush()
8237
 
8238
  def process_getLatestArrivalsCatalogIds(self, seqid, iprot, oprot):
8239
    args = getLatestArrivalsCatalogIds_args()
8240
    args.read(iprot)
8241
    iprot.readMessageEnd()
8242
    result = getLatestArrivalsCatalogIds_result()
8243
    try:
8244
      result.success = self._handler.getLatestArrivalsCatalogIds(args.beginIndex, args.totalItems, args.brand, args.categories)
8245
    except CatalogServiceException, cex:
8246
      result.cex = cex
8247
    oprot.writeMessageBegin("getLatestArrivalsCatalogIds", TMessageType.REPLY, seqid)
8248
    result.write(oprot)
8249
    oprot.writeMessageEnd()
8250
    oprot.trans.flush()
8251
 
8252
  def process_getLatestArrivalsCount(self, seqid, iprot, oprot):
8253
    args = getLatestArrivalsCount_args()
8254
    args.read(iprot)
8255
    iprot.readMessageEnd()
8256
    result = getLatestArrivalsCount_result()
8257
    try:
8258
      result.success = self._handler.getLatestArrivalsCount()
8259
    except CatalogServiceException, cex:
8260
      result.cex = cex
8261
    oprot.writeMessageBegin("getLatestArrivalsCount", TMessageType.REPLY, seqid)
8262
    result.write(oprot)
8263
    oprot.writeMessageEnd()
8264
    oprot.trans.flush()
8265
 
8266
  def process_generateNewEntityID(self, seqid, iprot, oprot):
8267
    args = generateNewEntityID_args()
8268
    args.read(iprot)
8269
    iprot.readMessageEnd()
8270
    result = generateNewEntityID_result()
8271
    result.success = self._handler.generateNewEntityID()
8272
    oprot.writeMessageBegin("generateNewEntityID", TMessageType.REPLY, seqid)
8273
    result.write(oprot)
8274
    oprot.writeMessageEnd()
8275
    oprot.trans.flush()
8276
 
8277
  def process_addCategory(self, seqid, iprot, oprot):
8278
    args = addCategory_args()
8279
    args.read(iprot)
8280
    iprot.readMessageEnd()
8281
    result = addCategory_result()
8282
    result.success = self._handler.addCategory(args.category)
8283
    oprot.writeMessageBegin("addCategory", TMessageType.REPLY, seqid)
8284
    result.write(oprot)
8285
    oprot.writeMessageEnd()
8286
    oprot.trans.flush()
8287
 
8288
  def process_getCategory(self, seqid, iprot, oprot):
8289
    args = getCategory_args()
8290
    args.read(iprot)
8291
    iprot.readMessageEnd()
8292
    result = getCategory_result()
8293
    result.success = self._handler.getCategory(args.id)
8294
    oprot.writeMessageBegin("getCategory", TMessageType.REPLY, seqid)
8295
    result.write(oprot)
8296
    oprot.writeMessageEnd()
8297
    oprot.trans.flush()
8298
 
8299
  def process_getAllCategories(self, seqid, iprot, oprot):
8300
    args = getAllCategories_args()
8301
    args.read(iprot)
8302
    iprot.readMessageEnd()
8303
    result = getAllCategories_result()
8304
    result.success = self._handler.getAllCategories()
8305
    oprot.writeMessageBegin("getAllCategories", TMessageType.REPLY, seqid)
8306
    result.write(oprot)
8307
    oprot.writeMessageEnd()
8308
    oprot.trans.flush()
8309
 
8310
  def process_getAllSimilarItems(self, seqid, iprot, oprot):
8311
    args = getAllSimilarItems_args()
8312
    args.read(iprot)
8313
    iprot.readMessageEnd()
8314
    result = getAllSimilarItems_result()
8315
    result.success = self._handler.getAllSimilarItems(args.itemId)
8316
    oprot.writeMessageBegin("getAllSimilarItems", TMessageType.REPLY, seqid)
8317
    result.write(oprot)
8318
    oprot.writeMessageEnd()
8319
    oprot.trans.flush()
8320
 
8321
  def process_addSimilarItem(self, seqid, iprot, oprot):
8322
    args = addSimilarItem_args()
8323
    args.read(iprot)
8324
    iprot.readMessageEnd()
8325
    result = addSimilarItem_result()
8326
    try:
8327
      result.success = self._handler.addSimilarItem(args.itemId, args.catalogItemId)
8328
    except CatalogServiceException, cex:
8329
      result.cex = cex
8330
    oprot.writeMessageBegin("addSimilarItem", TMessageType.REPLY, seqid)
8331
    result.write(oprot)
8332
    oprot.writeMessageEnd()
8333
    oprot.trans.flush()
8334
 
6512 kshitij.so 8335
  def process_addTag(self, seqid, iprot, oprot):
8336
    args = addTag_args()
8337
    args.read(iprot)
8338
    iprot.readMessageEnd()
8339
    result = addTag_result()
8340
    result.success = self._handler.addTag(args.displayName, args.itemId)
8341
    oprot.writeMessageBegin("addTag", TMessageType.REPLY, seqid)
8342
    result.write(oprot)
8343
    oprot.writeMessageEnd()
8344
    oprot.trans.flush()
8345
 
8346
  def process_deleteEntityTag(self, seqid, iprot, oprot):
8347
    args = deleteEntityTag_args()
8348
    args.read(iprot)
8349
    iprot.readMessageEnd()
8350
    result = deleteEntityTag_result()
8351
    result.success = self._handler.deleteEntityTag(args.displayName, args.itemId)
8352
    oprot.writeMessageBegin("deleteEntityTag", TMessageType.REPLY, seqid)
8353
    result.write(oprot)
8354
    oprot.writeMessageEnd()
8355
    oprot.trans.flush()
8356
 
8357
  def process_deleteTag(self, seqid, iprot, oprot):
8358
    args = deleteTag_args()
8359
    args.read(iprot)
8360
    iprot.readMessageEnd()
8361
    result = deleteTag_result()
8362
    result.success = self._handler.deleteTag(args.displayName)
8363
    oprot.writeMessageBegin("deleteTag", TMessageType.REPLY, seqid)
8364
    result.write(oprot)
8365
    oprot.writeMessageEnd()
8366
    oprot.trans.flush()
8367
 
8368
  def process_getAllTags(self, seqid, iprot, oprot):
8369
    args = getAllTags_args()
8370
    args.read(iprot)
8371
    iprot.readMessageEnd()
8372
    result = getAllTags_result()
8373
    result.success = self._handler.getAllTags()
8374
    oprot.writeMessageBegin("getAllTags", TMessageType.REPLY, seqid)
8375
    result.write(oprot)
8376
    oprot.writeMessageEnd()
8377
    oprot.trans.flush()
8378
 
8379
  def process_getAllEntitiesByTagName(self, seqid, iprot, oprot):
8380
    args = getAllEntitiesByTagName_args()
8381
    args.read(iprot)
8382
    iprot.readMessageEnd()
8383
    result = getAllEntitiesByTagName_result()
8384
    result.success = self._handler.getAllEntitiesByTagName(args.displayName)
8385
    oprot.writeMessageBegin("getAllEntitiesByTagName", TMessageType.REPLY, seqid)
8386
    result.write(oprot)
8387
    oprot.writeMessageEnd()
8388
    oprot.trans.flush()
8389
 
6845 amit.gupta 8390
  def process_getAllEntityTags(self, seqid, iprot, oprot):
8391
    args = getAllEntityTags_args()
8392
    args.read(iprot)
8393
    iprot.readMessageEnd()
8394
    result = getAllEntityTags_result()
8395
    result.success = self._handler.getAllEntityTags()
8396
    oprot.writeMessageBegin("getAllEntityTags", TMessageType.REPLY, seqid)
8397
    result.write(oprot)
8398
    oprot.writeMessageEnd()
8399
    oprot.trans.flush()
8400
 
6850 kshitij.so 8401
  def process_addBanner(self, seqid, iprot, oprot):
8402
    args = addBanner_args()
8403
    args.read(iprot)
8404
    iprot.readMessageEnd()
8405
    result = addBanner_result()
10097 kshitij.so 8406
    result.success = self._handler.addBanner(args.bannerCongregate)
6850 kshitij.so 8407
    oprot.writeMessageBegin("addBanner", TMessageType.REPLY, seqid)
8408
    result.write(oprot)
8409
    oprot.writeMessageEnd()
8410
    oprot.trans.flush()
8411
 
8579 kshitij.so 8412
  def process_updateBanner(self, seqid, iprot, oprot):
8413
    args = updateBanner_args()
8414
    args.read(iprot)
8415
    iprot.readMessageEnd()
8416
    result = updateBanner_result()
8417
    result.success = self._handler.updateBanner(args.banner)
8418
    oprot.writeMessageBegin("updateBanner", TMessageType.REPLY, seqid)
8419
    result.write(oprot)
8420
    oprot.writeMessageEnd()
8421
    oprot.trans.flush()
8422
 
6850 kshitij.so 8423
  def process_getAllBanners(self, seqid, iprot, oprot):
8424
    args = getAllBanners_args()
8425
    args.read(iprot)
8426
    iprot.readMessageEnd()
8427
    result = getAllBanners_result()
8428
    result.success = self._handler.getAllBanners()
8429
    oprot.writeMessageBegin("getAllBanners", TMessageType.REPLY, seqid)
8430
    result.write(oprot)
8431
    oprot.writeMessageEnd()
8432
    oprot.trans.flush()
8433
 
8434
  def process_deleteBanner(self, seqid, iprot, oprot):
8435
    args = deleteBanner_args()
8436
    args.read(iprot)
8437
    iprot.readMessageEnd()
8438
    result = deleteBanner_result()
9155 kshitij.so 8439
    result.success = self._handler.deleteBanner(args.bannerName, args.bannerType)
6850 kshitij.so 8440
    oprot.writeMessageBegin("deleteBanner", TMessageType.REPLY, seqid)
8441
    result.write(oprot)
8442
    oprot.writeMessageEnd()
8443
    oprot.trans.flush()
8444
 
8445
  def process_getBannerDetails(self, seqid, iprot, oprot):
8446
    args = getBannerDetails_args()
8447
    args.read(iprot)
8448
    iprot.readMessageEnd()
8449
    result = getBannerDetails_result()
9155 kshitij.so 8450
    result.success = self._handler.getBannerDetails(args.bannerName, args.bannerType)
6850 kshitij.so 8451
    oprot.writeMessageBegin("getBannerDetails", TMessageType.REPLY, seqid)
8452
    result.write(oprot)
8453
    oprot.writeMessageEnd()
8454
    oprot.trans.flush()
8455
 
8456
  def process_getActiveBanners(self, seqid, iprot, oprot):
8457
    args = getActiveBanners_args()
8458
    args.read(iprot)
8459
    iprot.readMessageEnd()
8460
    result = getActiveBanners_result()
8461
    result.success = self._handler.getActiveBanners()
8462
    oprot.writeMessageBegin("getActiveBanners", TMessageType.REPLY, seqid)
8463
    result.write(oprot)
8464
    oprot.writeMessageEnd()
8465
    oprot.trans.flush()
8466
 
6849 kshitij.so 8467
  def process_addBannerMap(self, seqid, iprot, oprot):
8468
    args = addBannerMap_args()
8469
    args.read(iprot)
8470
    iprot.readMessageEnd()
8471
    result = addBannerMap_result()
8579 kshitij.so 8472
    result.success = self._handler.addBannerMap(args.bannerMaps)
6849 kshitij.so 8473
    oprot.writeMessageBegin("addBannerMap", TMessageType.REPLY, seqid)
8474
    result.write(oprot)
8475
    oprot.writeMessageEnd()
8476
    oprot.trans.flush()
8477
 
8579 kshitij.so 8478
  def process_updateBannerMap(self, seqid, iprot, oprot):
8479
    args = updateBannerMap_args()
8480
    args.read(iprot)
8481
    iprot.readMessageEnd()
8482
    result = updateBannerMap_result()
8483
    result.success = self._handler.updateBannerMap(args.bannerMap)
8484
    oprot.writeMessageBegin("updateBannerMap", TMessageType.REPLY, seqid)
8485
    result.write(oprot)
8486
    oprot.writeMessageEnd()
8487
    oprot.trans.flush()
8488
 
6849 kshitij.so 8489
  def process_deleteBannerMap(self, seqid, iprot, oprot):
8490
    args = deleteBannerMap_args()
8491
    args.read(iprot)
8492
    iprot.readMessageEnd()
8493
    result = deleteBannerMap_result()
8494
    result.success = self._handler.deleteBannerMap(args.bannerName)
8495
    oprot.writeMessageBegin("deleteBannerMap", TMessageType.REPLY, seqid)
8496
    result.write(oprot)
8497
    oprot.writeMessageEnd()
8498
    oprot.trans.flush()
8499
 
8500
  def process_getBannerMapDetails(self, seqid, iprot, oprot):
8501
    args = getBannerMapDetails_args()
8502
    args.read(iprot)
8503
    iprot.readMessageEnd()
8504
    result = getBannerMapDetails_result()
9155 kshitij.so 8505
    result.success = self._handler.getBannerMapDetails(args.bannerName, args.bannerType)
6849 kshitij.so 8506
    oprot.writeMessageBegin("getBannerMapDetails", TMessageType.REPLY, seqid)
8507
    result.write(oprot)
8508
    oprot.writeMessageEnd()
8509
    oprot.trans.flush()
8510
 
8579 kshitij.so 8511
  def process_addBannerUri(self, seqid, iprot, oprot):
8512
    args = addBannerUri_args()
8513
    args.read(iprot)
8514
    iprot.readMessageEnd()
8515
    result = addBannerUri_result()
8516
    self._handler.addBannerUri(args.bannerUriMappings)
8517
    oprot.writeMessageBegin("addBannerUri", TMessageType.REPLY, seqid)
8518
    result.write(oprot)
8519
    oprot.writeMessageEnd()
8520
    oprot.trans.flush()
8521
 
8522
  def process_getUriMapping(self, seqid, iprot, oprot):
8523
    args = getUriMapping_args()
8524
    args.read(iprot)
8525
    iprot.readMessageEnd()
8526
    result = getUriMapping_result()
9155 kshitij.so 8527
    result.success = self._handler.getUriMapping(args.bannerName, args.bannerType)
8579 kshitij.so 8528
    oprot.writeMessageBegin("getUriMapping", TMessageType.REPLY, seqid)
8529
    result.write(oprot)
8530
    oprot.writeMessageEnd()
8531
    oprot.trans.flush()
8532
 
8533
  def process_addCampaign(self, seqid, iprot, oprot):
8534
    args = addCampaign_args()
8535
    args.read(iprot)
8536
    iprot.readMessageEnd()
8537
    result = addCampaign_result()
8538
    self._handler.addCampaign(args.campaign)
8539
    oprot.writeMessageBegin("addCampaign", TMessageType.REPLY, seqid)
8540
    result.write(oprot)
8541
    oprot.writeMessageEnd()
8542
    oprot.trans.flush()
8543
 
8544
  def process_getCampaigns(self, seqid, iprot, oprot):
8545
    args = getCampaigns_args()
8546
    args.read(iprot)
8547
    iprot.readMessageEnd()
8548
    result = getCampaigns_result()
8549
    result.success = self._handler.getCampaigns(args.campaignName)
8550
    oprot.writeMessageBegin("getCampaigns", TMessageType.REPLY, seqid)
8551
    result.write(oprot)
8552
    oprot.writeMessageEnd()
8553
    oprot.trans.flush()
8554
 
8555
  def process_deleteCampaign(self, seqid, iprot, oprot):
8556
    args = deleteCampaign_args()
8557
    args.read(iprot)
8558
    iprot.readMessageEnd()
8559
    result = deleteCampaign_result()
8560
    self._handler.deleteCampaign(args.campaignId)
8561
    oprot.writeMessageBegin("deleteCampaign", TMessageType.REPLY, seqid)
8562
    result.write(oprot)
8563
    oprot.writeMessageEnd()
8564
    oprot.trans.flush()
8565
 
8566
  def process_getAllCampaigns(self, seqid, iprot, oprot):
8567
    args = getAllCampaigns_args()
8568
    args.read(iprot)
8569
    iprot.readMessageEnd()
8570
    result = getAllCampaigns_result()
8571
    result.success = self._handler.getAllCampaigns()
8572
    oprot.writeMessageBegin("getAllCampaigns", TMessageType.REPLY, seqid)
8573
    result.write(oprot)
8574
    oprot.writeMessageEnd()
8575
    oprot.trans.flush()
8576
 
9155 kshitij.so 8577
  def process_getActiveBannersForMobileSite(self, seqid, iprot, oprot):
8578
    args = getActiveBannersForMobileSite_args()
8579
    args.read(iprot)
8580
    iprot.readMessageEnd()
8581
    result = getActiveBannersForMobileSite_result()
8582
    result.success = self._handler.getActiveBannersForMobileSite()
8583
    oprot.writeMessageBegin("getActiveBannersForMobileSite", TMessageType.REPLY, seqid)
8584
    result.write(oprot)
8585
    oprot.writeMessageEnd()
8586
    oprot.trans.flush()
8587
 
5944 mandeep.dh 8588
  def process_deleteSimilarItem(self, seqid, iprot, oprot):
8589
    args = deleteSimilarItem_args()
8590
    args.read(iprot)
8591
    iprot.readMessageEnd()
8592
    result = deleteSimilarItem_result()
8593
    try:
8594
      result.success = self._handler.deleteSimilarItem(args.itemId, args.catalogItemId)
8595
    except CatalogServiceException, cex:
8596
      result.cex = cex
8597
    oprot.writeMessageBegin("deleteSimilarItem", TMessageType.REPLY, seqid)
8598
    result.write(oprot)
8599
    oprot.writeMessageEnd()
8600
    oprot.trans.flush()
8601
 
8602
  def process_checkSimilarItem(self, seqid, iprot, oprot):
8603
    args = checkSimilarItem_args()
8604
    args.read(iprot)
8605
    iprot.readMessageEnd()
8606
    result = checkSimilarItem_result()
8607
    result.success = self._handler.checkSimilarItem(args.brand, args.modelNumber, args.modelName, args.color)
8608
    oprot.writeMessageBegin("checkSimilarItem", TMessageType.REPLY, seqid)
8609
    result.write(oprot)
8610
    oprot.writeMessageEnd()
8611
    oprot.trans.flush()
8612
 
8613
  def process_validateRiskyStatus(self, seqid, iprot, oprot):
8614
    args = validateRiskyStatus_args()
8615
    args.read(iprot)
8616
    iprot.readMessageEnd()
8617
    result = validateRiskyStatus_result()
8618
    self._handler.validateRiskyStatus(args.itemId)
8619
    oprot.writeMessageBegin("validateRiskyStatus", TMessageType.REPLY, seqid)
8620
    result.write(oprot)
8621
    oprot.writeMessageEnd()
8622
    oprot.trans.flush()
8623
 
8624
  def process_changeItemRiskyFlag(self, seqid, iprot, oprot):
8625
    args = changeItemRiskyFlag_args()
8626
    args.read(iprot)
8627
    iprot.readMessageEnd()
8628
    result = changeItemRiskyFlag_result()
8629
    self._handler.changeItemRiskyFlag(args.itemId, args.risky)
8630
    oprot.writeMessageBegin("changeItemRiskyFlag", TMessageType.REPLY, seqid)
8631
    result.write(oprot)
8632
    oprot.writeMessageEnd()
8633
    oprot.trans.flush()
8634
 
8635
  def process_getItemsByRiskyFlag(self, seqid, iprot, oprot):
8636
    args = getItemsByRiskyFlag_args()
8637
    args.read(iprot)
8638
    iprot.readMessageEnd()
8639
    result = getItemsByRiskyFlag_result()
8640
    result.success = self._handler.getItemsByRiskyFlag()
8641
    oprot.writeMessageBegin("getItemsByRiskyFlag", TMessageType.REPLY, seqid)
8642
    result.write(oprot)
8643
    oprot.writeMessageEnd()
8644
    oprot.trans.flush()
8645
 
8646
  def process_getItemsForMasterSheet(self, seqid, iprot, oprot):
8647
    args = getItemsForMasterSheet_args()
8648
    args.read(iprot)
8649
    iprot.readMessageEnd()
8650
    result = getItemsForMasterSheet_result()
8651
    result.success = self._handler.getItemsForMasterSheet(args.category, args.brand)
8652
    oprot.writeMessageBegin("getItemsForMasterSheet", TMessageType.REPLY, seqid)
8653
    result.write(oprot)
8654
    oprot.writeMessageEnd()
8655
    oprot.trans.flush()
8656
 
8657
  def process_getSimilarItemsCatalogIds(self, seqid, iprot, oprot):
8658
    args = getSimilarItemsCatalogIds_args()
8659
    args.read(iprot)
8660
    iprot.readMessageEnd()
8661
    result = getSimilarItemsCatalogIds_result()
8662
    result.success = self._handler.getSimilarItemsCatalogIds(args.beginIndex, args.totalItems, args.itemId)
8663
    oprot.writeMessageBegin("getSimilarItemsCatalogIds", TMessageType.REPLY, seqid)
8664
    result.write(oprot)
8665
    oprot.writeMessageEnd()
8666
    oprot.trans.flush()
8667
 
8668
  def process_addProductNotification(self, seqid, iprot, oprot):
8669
    args = addProductNotification_args()
8670
    args.read(iprot)
8671
    iprot.readMessageEnd()
8672
    result = addProductNotification_result()
8673
    result.success = self._handler.addProductNotification(args.itemId, args.email)
8674
    oprot.writeMessageBegin("addProductNotification", TMessageType.REPLY, seqid)
8675
    result.write(oprot)
8676
    oprot.writeMessageEnd()
8677
    oprot.trans.flush()
8678
 
8679
  def process_sendProductNotifications(self, seqid, iprot, oprot):
8680
    args = sendProductNotifications_args()
8681
    args.read(iprot)
8682
    iprot.readMessageEnd()
8683
    result = sendProductNotifications_result()
8684
    result.success = self._handler.sendProductNotifications()
8685
    oprot.writeMessageBegin("sendProductNotifications", TMessageType.REPLY, seqid)
8686
    result.write(oprot)
8687
    oprot.writeMessageEnd()
8688
    oprot.trans.flush()
8689
 
8690
  def process_getAllBrandsByCategory(self, seqid, iprot, oprot):
8691
    args = getAllBrandsByCategory_args()
8692
    args.read(iprot)
8693
    iprot.readMessageEnd()
8694
    result = getAllBrandsByCategory_result()
8695
    result.success = self._handler.getAllBrandsByCategory(args.categoryId)
8696
    oprot.writeMessageBegin("getAllBrandsByCategory", TMessageType.REPLY, seqid)
8697
    result.write(oprot)
8698
    oprot.writeMessageEnd()
8699
    oprot.trans.flush()
8700
 
8701
  def process_getAllBrands(self, seqid, iprot, oprot):
8702
    args = getAllBrands_args()
8703
    args.read(iprot)
8704
    iprot.readMessageEnd()
8705
    result = getAllBrands_result()
8706
    result.success = self._handler.getAllBrands()
8707
    oprot.writeMessageBegin("getAllBrands", TMessageType.REPLY, seqid)
8708
    result.write(oprot)
8709
    oprot.writeMessageEnd()
8710
    oprot.trans.flush()
8711
 
8712
  def process_getAllSources(self, seqid, iprot, oprot):
8713
    args = getAllSources_args()
8714
    args.read(iprot)
8715
    iprot.readMessageEnd()
8716
    result = getAllSources_result()
8717
    result.success = self._handler.getAllSources()
8718
    oprot.writeMessageBegin("getAllSources", TMessageType.REPLY, seqid)
8719
    result.write(oprot)
8720
    oprot.writeMessageEnd()
8721
    oprot.trans.flush()
8722
 
8723
  def process_getItemPricingBySource(self, seqid, iprot, oprot):
8724
    args = getItemPricingBySource_args()
8725
    args.read(iprot)
8726
    iprot.readMessageEnd()
8727
    result = getItemPricingBySource_result()
8728
    try:
8729
      result.success = self._handler.getItemPricingBySource(args.itemId, args.sourceId)
8730
    except CatalogServiceException, cex:
8731
      result.cex = cex
8732
    oprot.writeMessageBegin("getItemPricingBySource", TMessageType.REPLY, seqid)
8733
    result.write(oprot)
8734
    oprot.writeMessageEnd()
8735
    oprot.trans.flush()
8736
 
8737
  def process_addSourceItemPricing(self, seqid, iprot, oprot):
8738
    args = addSourceItemPricing_args()
8739
    args.read(iprot)
8740
    iprot.readMessageEnd()
8741
    result = addSourceItemPricing_result()
8742
    try:
8743
      self._handler.addSourceItemPricing(args.sourceItemPricing)
8744
    except CatalogServiceException, cex:
8745
      result.cex = cex
8746
    oprot.writeMessageBegin("addSourceItemPricing", TMessageType.REPLY, seqid)
8747
    result.write(oprot)
8748
    oprot.writeMessageEnd()
8749
    oprot.trans.flush()
8750
 
8751
  def process_getAllSourcePricing(self, seqid, iprot, oprot):
8752
    args = getAllSourcePricing_args()
8753
    args.read(iprot)
8754
    iprot.readMessageEnd()
8755
    result = getAllSourcePricing_result()
8756
    try:
8757
      result.success = self._handler.getAllSourcePricing(args.itemId)
8758
    except CatalogServiceException, cex:
8759
      result.cex = cex
8760
    oprot.writeMessageBegin("getAllSourcePricing", TMessageType.REPLY, seqid)
8761
    result.write(oprot)
8762
    oprot.writeMessageEnd()
8763
    oprot.trans.flush()
8764
 
8765
  def process_getItemForSource(self, seqid, iprot, oprot):
8766
    args = getItemForSource_args()
8767
    args.read(iprot)
8768
    iprot.readMessageEnd()
8769
    result = getItemForSource_result()
8770
    try:
8771
      result.success = self._handler.getItemForSource(args.item_id, args.sourceId)
8772
    except CatalogServiceException, cex:
8773
      result.cex = cex
8774
    oprot.writeMessageBegin("getItemForSource", TMessageType.REPLY, seqid)
8775
    result.write(oprot)
8776
    oprot.writeMessageEnd()
8777
    oprot.trans.flush()
8778
 
8779
  def process_searchItemsInRange(self, seqid, iprot, oprot):
8780
    args = searchItemsInRange_args()
8781
    args.read(iprot)
8782
    iprot.readMessageEnd()
8783
    result = searchItemsInRange_result()
8784
    result.success = self._handler.searchItemsInRange(args.searchTerms, args.offset, args.limit)
8785
    oprot.writeMessageBegin("searchItemsInRange", TMessageType.REPLY, seqid)
8786
    result.write(oprot)
8787
    oprot.writeMessageEnd()
8788
    oprot.trans.flush()
8789
 
8790
  def process_getSearchResultCount(self, seqid, iprot, oprot):
8791
    args = getSearchResultCount_args()
8792
    args.read(iprot)
8793
    iprot.readMessageEnd()
8794
    result = getSearchResultCount_result()
8795
    result.success = self._handler.getSearchResultCount(args.searchTerms)
8796
    oprot.writeMessageBegin("getSearchResultCount", TMessageType.REPLY, seqid)
8797
    result.write(oprot)
8798
    oprot.writeMessageEnd()
8799
    oprot.trans.flush()
8800
 
8801
  def process_getProductNotifications(self, seqid, iprot, oprot):
8802
    args = getProductNotifications_args()
8803
    args.read(iprot)
8804
    iprot.readMessageEnd()
8805
    result = getProductNotifications_result()
8806
    result.success = self._handler.getProductNotifications(args.startDateTime)
8807
    oprot.writeMessageBegin("getProductNotifications", TMessageType.REPLY, seqid)
8808
    result.write(oprot)
8809
    oprot.writeMessageEnd()
8810
    oprot.trans.flush()
8811
 
8812
  def process_getProductNotificationRequestCount(self, seqid, iprot, oprot):
8813
    args = getProductNotificationRequestCount_args()
8814
    args.read(iprot)
8815
    iprot.readMessageEnd()
8816
    result = getProductNotificationRequestCount_result()
7897 amar.kumar 8817
    result.success = self._handler.getProductNotificationRequestCount(args.startDateTime, args.categoryId)
5944 mandeep.dh 8818
    oprot.writeMessageBegin("getProductNotificationRequestCount", TMessageType.REPLY, seqid)
8819
    result.write(oprot)
8820
    oprot.writeMessageEnd()
8821
    oprot.trans.flush()
8822
 
8823
  def process_addAuthorizationLog(self, seqid, iprot, oprot):
8824
    args = addAuthorizationLog_args()
8825
    args.read(iprot)
8826
    iprot.readMessageEnd()
8827
    result = addAuthorizationLog_result()
8828
    try:
8829
      result.success = self._handler.addAuthorizationLog(args.itemId, args.username, args.reason)
8830
    except CatalogServiceException, cex:
8831
      result.cex = cex
8832
    oprot.writeMessageBegin("addAuthorizationLog", TMessageType.REPLY, seqid)
8833
    result.write(oprot)
8834
    oprot.writeMessageEnd()
8835
    oprot.trans.flush()
8836
 
8837
  def process_addupdateVoucherForItem(self, seqid, iprot, oprot):
8838
    args = addupdateVoucherForItem_args()
8839
    args.read(iprot)
8840
    iprot.readMessageEnd()
8841
    result = addupdateVoucherForItem_result()
8842
    try:
8843
      result.success = self._handler.addupdateVoucherForItem(args.catalog_item_id, args.voucherType, args.voucherAmount)
8844
    except CatalogServiceException, cex:
8845
      result.cex = cex
8846
    oprot.writeMessageBegin("addupdateVoucherForItem", TMessageType.REPLY, seqid)
8847
    result.write(oprot)
8848
    oprot.writeMessageEnd()
8849
    oprot.trans.flush()
8850
 
8851
  def process_deleteVoucherForItem(self, seqid, iprot, oprot):
8852
    args = deleteVoucherForItem_args()
8853
    args.read(iprot)
8854
    iprot.readMessageEnd()
8855
    result = deleteVoucherForItem_result()
8856
    try:
8857
      result.success = self._handler.deleteVoucherForItem(args.catalog_item_id, args.voucherType)
8858
    except CatalogServiceException, cex:
8859
      result.cex = cex
8860
    oprot.writeMessageBegin("deleteVoucherForItem", TMessageType.REPLY, seqid)
8861
    result.write(oprot)
8862
    oprot.writeMessageEnd()
8863
    oprot.trans.flush()
8864
 
8865
  def process_getVoucherAmount(self, seqid, iprot, oprot):
8866
    args = getVoucherAmount_args()
8867
    args.read(iprot)
8868
    iprot.readMessageEnd()
8869
    result = getVoucherAmount_result()
8870
    result.success = self._handler.getVoucherAmount(args.itemId, args.voucherType)
8871
    oprot.writeMessageBegin("getVoucherAmount", TMessageType.REPLY, seqid)
8872
    result.write(oprot)
8873
    oprot.writeMessageEnd()
8874
    oprot.trans.flush()
8875
 
8876
  def process_getAllItemVouchers(self, seqid, iprot, oprot):
8877
    args = getAllItemVouchers_args()
8878
    args.read(iprot)
8879
    iprot.readMessageEnd()
8880
    result = getAllItemVouchers_result()
8881
    result.success = self._handler.getAllItemVouchers(args.itemId)
8882
    oprot.writeMessageBegin("getAllItemVouchers", TMessageType.REPLY, seqid)
8883
    result.write(oprot)
8884
    oprot.writeMessageEnd()
8885
    oprot.trans.flush()
8886
 
8887
  def process_isValidCatalogItemId(self, seqid, iprot, oprot):
8888
    args = isValidCatalogItemId_args()
8889
    args.read(iprot)
8890
    iprot.readMessageEnd()
8891
    result = isValidCatalogItemId_result()
8892
    result.success = self._handler.isValidCatalogItemId(args.catalog_item_id)
8893
    oprot.writeMessageBegin("isValidCatalogItemId", TMessageType.REPLY, seqid)
8894
    result.write(oprot)
8895
    oprot.writeMessageEnd()
8896
    oprot.trans.flush()
8897
 
6039 amit.gupta 8898
  def process_getVatPercentageForItem(self, seqid, iprot, oprot):
8899
    args = getVatPercentageForItem_args()
8900
    args.read(iprot)
8901
    iprot.readMessageEnd()
8902
    result = getVatPercentageForItem_result()
7340 amit.gupta 8903
    try:
8904
      result.success = self._handler.getVatPercentageForItem(args.itemId, args.stateId, args.price)
8905
    except CatalogServiceException, cex:
8906
      result.cex = cex
6039 amit.gupta 8907
    oprot.writeMessageBegin("getVatPercentageForItem", TMessageType.REPLY, seqid)
8908
    result.write(oprot)
8909
    oprot.writeMessageEnd()
8910
    oprot.trans.flush()
5944 mandeep.dh 8911
 
6039 amit.gupta 8912
  def process_getVatAmountForItem(self, seqid, iprot, oprot):
8913
    args = getVatAmountForItem_args()
8914
    args.read(iprot)
8915
    iprot.readMessageEnd()
8916
    result = getVatAmountForItem_result()
8917
    result.success = self._handler.getVatAmountForItem(args.itemId, args.price)
8918
    oprot.writeMessageBegin("getVatAmountForItem", TMessageType.REPLY, seqid)
8919
    result.write(oprot)
8920
    oprot.writeMessageEnd()
8921
    oprot.trans.flush()
8922
 
6531 vikram.rag 8923
  def process_getAllIgnoredInventoryUpdateItemsList(self, seqid, iprot, oprot):
8924
    args = getAllIgnoredInventoryUpdateItemsList_args()
8925
    args.read(iprot)
8926
    iprot.readMessageEnd()
8927
    result = getAllIgnoredInventoryUpdateItemsList_result()
8928
    result.success = self._handler.getAllIgnoredInventoryUpdateItemsList(args.offset, args.limit)
8929
    oprot.writeMessageBegin("getAllIgnoredInventoryUpdateItemsList", TMessageType.REPLY, seqid)
8930
    result.write(oprot)
8931
    oprot.writeMessageEnd()
8932
    oprot.trans.flush()
6039 amit.gupta 8933
 
6821 amar.kumar 8934
  def process_getAllAliveItems(self, seqid, iprot, oprot):
8935
    args = getAllAliveItems_args()
8936
    args.read(iprot)
8937
    iprot.readMessageEnd()
8938
    result = getAllAliveItems_result()
8939
    result.success = self._handler.getAllAliveItems()
8940
    oprot.writeMessageBegin("getAllAliveItems", TMessageType.REPLY, seqid)
8941
    result.write(oprot)
8942
    oprot.writeMessageEnd()
8943
    oprot.trans.flush()
8944
 
6805 anupam.sin 8945
  def process_getInsuranceAmount(self, seqid, iprot, oprot):
8946
    args = getInsuranceAmount_args()
8947
    args.read(iprot)
8948
    iprot.readMessageEnd()
8949
    result = getInsuranceAmount_result()
6921 anupam.sin 8950
    result.success = self._handler.getInsuranceAmount(args.itemId, args.price, args.insurerId, args.quantity)
6805 anupam.sin 8951
    oprot.writeMessageBegin("getInsuranceAmount", TMessageType.REPLY, seqid)
8952
    result.write(oprot)
8953
    oprot.writeMessageEnd()
8954
    oprot.trans.flush()
6531 vikram.rag 8955
 
6805 anupam.sin 8956
  def process_getInsurer(self, seqid, iprot, oprot):
8957
    args = getInsurer_args()
8958
    args.read(iprot)
8959
    iprot.readMessageEnd()
8960
    result = getInsurer_result()
8961
    result.success = self._handler.getInsurer(args.insurerId)
8962
    oprot.writeMessageBegin("getInsurer", TMessageType.REPLY, seqid)
8963
    result.write(oprot)
8964
    oprot.writeMessageEnd()
8965
    oprot.trans.flush()
8966
 
6838 vikram.rag 8967
  def process_getAllInsurers(self, seqid, iprot, oprot):
8968
    args = getAllInsurers_args()
8969
    args.read(iprot)
8970
    iprot.readMessageEnd()
8971
    result = getAllInsurers_result()
8972
    result.success = self._handler.getAllInsurers()
8973
    oprot.writeMessageBegin("getAllInsurers", TMessageType.REPLY, seqid)
8974
    result.write(oprot)
8975
    oprot.writeMessageEnd()
8976
    oprot.trans.flush()
6805 anupam.sin 8977
 
6962 rajveer 8978
  def process_updateInsuranceDeclaredAmount(self, seqid, iprot, oprot):
8979
    args = updateInsuranceDeclaredAmount_args()
8980
    args.read(iprot)
8981
    iprot.readMessageEnd()
8982
    result = updateInsuranceDeclaredAmount_result()
8983
    self._handler.updateInsuranceDeclaredAmount(args.insurerId, args.amount)
8984
    oprot.writeMessageBegin("updateInsuranceDeclaredAmount", TMessageType.REPLY, seqid)
8985
    result.write(oprot)
8986
    oprot.writeMessageEnd()
8987
    oprot.trans.flush()
6838 vikram.rag 8988
 
7190 amar.kumar 8989
  def process_getFreebieForItem(self, seqid, iprot, oprot):
8990
    args = getFreebieForItem_args()
8991
    args.read(iprot)
8992
    iprot.readMessageEnd()
8993
    result = getFreebieForItem_result()
8994
    result.success = self._handler.getFreebieForItem(args.itemId)
8995
    oprot.writeMessageBegin("getFreebieForItem", TMessageType.REPLY, seqid)
8996
    result.write(oprot)
8997
    oprot.writeMessageEnd()
8998
    oprot.trans.flush()
6962 rajveer 8999
 
7190 amar.kumar 9000
  def process_addOrUpdateFreebieForItem(self, seqid, iprot, oprot):
9001
    args = addOrUpdateFreebieForItem_args()
9002
    args.read(iprot)
9003
    iprot.readMessageEnd()
9004
    result = addOrUpdateFreebieForItem_result()
9005
    self._handler.addOrUpdateFreebieForItem(args.freebieItem)
9006
    oprot.writeMessageBegin("addOrUpdateFreebieForItem", TMessageType.REPLY, seqid)
9007
    result.write(oprot)
9008
    oprot.writeMessageEnd()
9009
    oprot.trans.flush()
9010
 
7272 amit.gupta 9011
  def process_addOrUpdateBrandInfo(self, seqid, iprot, oprot):
9012
    args = addOrUpdateBrandInfo_args()
9013
    args.read(iprot)
9014
    iprot.readMessageEnd()
9015
    result = addOrUpdateBrandInfo_result()
9016
    self._handler.addOrUpdateBrandInfo(args.brandInfo)
9017
    oprot.writeMessageBegin("addOrUpdateBrandInfo", TMessageType.REPLY, seqid)
9018
    result.write(oprot)
9019
    oprot.writeMessageEnd()
9020
    oprot.trans.flush()
9021
 
9022
  def process_getBrandInfo(self, seqid, iprot, oprot):
9023
    args = getBrandInfo_args()
9024
    args.read(iprot)
9025
    iprot.readMessageEnd()
9026
    result = getBrandInfo_result()
9027
    result.success = self._handler.getBrandInfo()
9028
    oprot.writeMessageBegin("getBrandInfo", TMessageType.REPLY, seqid)
9029
    result.write(oprot)
9030
    oprot.writeMessageEnd()
9031
    oprot.trans.flush()
9032
 
7256 rajveer 9033
  def process_getStorePricing(self, seqid, iprot, oprot):
9034
    args = getStorePricing_args()
9035
    args.read(iprot)
9036
    iprot.readMessageEnd()
9037
    result = getStorePricing_result()
9038
    result.success = self._handler.getStorePricing(args.itemId)
9039
    oprot.writeMessageBegin("getStorePricing", TMessageType.REPLY, seqid)
9040
    result.write(oprot)
9041
    oprot.writeMessageEnd()
9042
    oprot.trans.flush()
7190 amar.kumar 9043
 
7306 rajveer 9044
  def process_getStorePricings(self, seqid, iprot, oprot):
9045
    args = getStorePricings_args()
9046
    args.read(iprot)
9047
    iprot.readMessageEnd()
9048
    result = getStorePricings_result()
9049
    result.success = self._handler.getStorePricings(args.itemIds)
9050
    oprot.writeMessageBegin("getStorePricings", TMessageType.REPLY, seqid)
9051
    result.write(oprot)
9052
    oprot.writeMessageEnd()
9053
    oprot.trans.flush()
9054
 
7265 rajveer 9055
  def process_updateStorePricing(self, seqid, iprot, oprot):
9056
    args = updateStorePricing_args()
9057
    args.read(iprot)
9058
    iprot.readMessageEnd()
9059
    result = updateStorePricing_result()
7382 rajveer 9060
    self._handler.updateStorePricing(args.sp, args.allColors)
7265 rajveer 9061
    oprot.writeMessageBegin("updateStorePricing", TMessageType.REPLY, seqid)
9062
    result.write(oprot)
9063
    oprot.writeMessageEnd()
9064
    oprot.trans.flush()
7256 rajveer 9065
 
7281 kshitij.so 9066
  def process_getAllAmazonListedItems(self, seqid, iprot, oprot):
9067
    args = getAllAmazonListedItems_args()
9068
    args.read(iprot)
9069
    iprot.readMessageEnd()
9070
    result = getAllAmazonListedItems_result()
9071
    result.success = self._handler.getAllAmazonListedItems()
9072
    oprot.writeMessageBegin("getAllAmazonListedItems", TMessageType.REPLY, seqid)
9073
    result.write(oprot)
9074
    oprot.writeMessageEnd()
9075
    oprot.trans.flush()
7265 rajveer 9076
 
8619 kshitij.so 9077
  def process_searchAmazonItems(self, seqid, iprot, oprot):
9078
    args = searchAmazonItems_args()
9079
    args.read(iprot)
9080
    iprot.readMessageEnd()
9081
    result = searchAmazonItems_result()
9082
    result.success = self._handler.searchAmazonItems(args.searchTerm, args.offset, args.limit)
9083
    oprot.writeMessageBegin("searchAmazonItems", TMessageType.REPLY, seqid)
9084
    result.write(oprot)
9085
    oprot.writeMessageEnd()
9086
    oprot.trans.flush()
9087
 
9088
  def process_getAmazonSearchResultCount(self, seqid, iprot, oprot):
9089
    args = getAmazonSearchResultCount_args()
9090
    args.read(iprot)
9091
    iprot.readMessageEnd()
9092
    result = getAmazonSearchResultCount_result()
9093
    result.success = self._handler.getAmazonSearchResultCount(args.searchTerm)
9094
    oprot.writeMessageBegin("getAmazonSearchResultCount", TMessageType.REPLY, seqid)
9095
    result.write(oprot)
9096
    oprot.writeMessageEnd()
9097
    oprot.trans.flush()
9098
 
9099
  def process_getCountForAmazonlistedItems(self, seqid, iprot, oprot):
9100
    args = getCountForAmazonlistedItems_args()
9101
    args.read(iprot)
9102
    iprot.readMessageEnd()
9103
    result = getCountForAmazonlistedItems_result()
9104
    result.success = self._handler.getCountForAmazonlistedItems()
9105
    oprot.writeMessageBegin("getCountForAmazonlistedItems", TMessageType.REPLY, seqid)
9106
    result.write(oprot)
9107
    oprot.writeMessageEnd()
9108
    oprot.trans.flush()
9109
 
7281 kshitij.so 9110
  def process_getAmazonItemDetails(self, seqid, iprot, oprot):
9111
    args = getAmazonItemDetails_args()
9112
    args.read(iprot)
9113
    iprot.readMessageEnd()
9114
    result = getAmazonItemDetails_result()
9115
    result.success = self._handler.getAmazonItemDetails(args.itemId)
9116
    oprot.writeMessageBegin("getAmazonItemDetails", TMessageType.REPLY, seqid)
9117
    result.write(oprot)
9118
    oprot.writeMessageEnd()
9119
    oprot.trans.flush()
9120
 
9121
  def process_updateAmazonItemDetails(self, seqid, iprot, oprot):
9122
    args = updateAmazonItemDetails_args()
9123
    args.read(iprot)
9124
    iprot.readMessageEnd()
9125
    result = updateAmazonItemDetails_result()
8168 kshitij.so 9126
    self._handler.updateAmazonItemDetails(args.amazonlisted)
7281 kshitij.so 9127
    oprot.writeMessageBegin("updateAmazonItemDetails", TMessageType.REPLY, seqid)
9128
    result.write(oprot)
9129
    oprot.writeMessageEnd()
9130
    oprot.trans.flush()
9131
 
9132
  def process_addAmazonItem(self, seqid, iprot, oprot):
9133
    args = addAmazonItem_args()
9134
    args.read(iprot)
9135
    iprot.readMessageEnd()
9136
    result = addAmazonItem_result()
9137
    self._handler.addAmazonItem(args.amazonlisted)
9138
    oprot.writeMessageBegin("addAmazonItem", TMessageType.REPLY, seqid)
9139
    result.write(oprot)
9140
    oprot.writeMessageEnd()
9141
    oprot.trans.flush()
9142
 
7291 vikram.rag 9143
  def process_getAsinItems(self, seqid, iprot, oprot):
9144
    args = getAsinItems_args()
9145
    args.read(iprot)
9146
    iprot.readMessageEnd()
9147
    result = getAsinItems_result()
9148
    result.success = self._handler.getAsinItems()
9149
    oprot.writeMessageBegin("getAsinItems", TMessageType.REPLY, seqid)
9150
    result.write(oprot)
9151
    oprot.writeMessageEnd()
9152
    oprot.trans.flush()
7281 kshitij.so 9153
 
7291 vikram.rag 9154
  def process_getAllFbaListedItems(self, seqid, iprot, oprot):
9155
    args = getAllFbaListedItems_args()
9156
    args.read(iprot)
9157
    iprot.readMessageEnd()
9158
    result = getAllFbaListedItems_result()
9159
    result.success = self._handler.getAllFbaListedItems()
9160
    oprot.writeMessageBegin("getAllFbaListedItems", TMessageType.REPLY, seqid)
9161
    result.write(oprot)
9162
    oprot.writeMessageEnd()
9163
    oprot.trans.flush()
9164
 
9165
  def process_getAllNonFbaListedItems(self, seqid, iprot, oprot):
9166
    args = getAllNonFbaListedItems_args()
9167
    args.read(iprot)
9168
    iprot.readMessageEnd()
9169
    result = getAllNonFbaListedItems_result()
9170
    result.success = self._handler.getAllNonFbaListedItems()
9171
    oprot.writeMessageBegin("getAllNonFbaListedItems", TMessageType.REPLY, seqid)
9172
    result.write(oprot)
9173
    oprot.writeMessageEnd()
9174
    oprot.trans.flush()
9175
 
7460 kshitij.so 9176
  def process_updateItemInventory(self, seqid, iprot, oprot):
9177
    args = updateItemInventory_args()
9178
    args.read(iprot)
9179
    iprot.readMessageEnd()
9180
    result = updateItemInventory_result()
9181
    result.success = self._handler.updateItemInventory(args.itemId, args.holdInventory, args.defaultInventory)
9182
    oprot.writeMessageBegin("updateItemInventory", TMessageType.REPLY, seqid)
9183
    result.write(oprot)
9184
    oprot.writeMessageEnd()
9185
    oprot.trans.flush()
7291 vikram.rag 9186
 
7770 kshitij.so 9187
  def process_updateTimestampForAmazonFeeds(self, seqid, iprot, oprot):
9188
    args = updateTimestampForAmazonFeeds_args()
9189
    args.read(iprot)
9190
    iprot.readMessageEnd()
9191
    result = updateTimestampForAmazonFeeds_result()
9192
    result.success = self._handler.updateTimestampForAmazonFeeds(args.type, args.sku, args.timestamp)
9193
    oprot.writeMessageBegin("updateTimestampForAmazonFeeds", TMessageType.REPLY, seqid)
9194
    result.write(oprot)
9195
    oprot.writeMessageEnd()
9196
    oprot.trans.flush()
7460 kshitij.so 9197
 
7897 amar.kumar 9198
  def process_getAllParentCategories(self, seqid, iprot, oprot):
9199
    args = getAllParentCategories_args()
9200
    args.read(iprot)
9201
    iprot.readMessageEnd()
9202
    result = getAllParentCategories_result()
9203
    result.success = self._handler.getAllParentCategories()
9204
    oprot.writeMessageBegin("getAllParentCategories", TMessageType.REPLY, seqid)
9205
    result.write(oprot)
9206
    oprot.writeMessageEnd()
9207
    oprot.trans.flush()
7770 kshitij.so 9208
 
7977 kshitij.so 9209
  def process_addPageViewEvent(self, seqid, iprot, oprot):
9210
    args = addPageViewEvent_args()
9211
    args.read(iprot)
9212
    iprot.readMessageEnd()
9213
    result = addPageViewEvent_result()
9214
    self._handler.addPageViewEvent(args.pageViewEvents)
9215
    oprot.writeMessageBegin("addPageViewEvent", TMessageType.REPLY, seqid)
9216
    result.write(oprot)
9217
    oprot.writeMessageEnd()
9218
    oprot.trans.flush()
7897 amar.kumar 9219
 
7977 kshitij.so 9220
  def process_addCartEvent(self, seqid, iprot, oprot):
9221
    args = addCartEvent_args()
9222
    args.read(iprot)
9223
    iprot.readMessageEnd()
9224
    result = addCartEvent_result()
9225
    self._handler.addCartEvent(args.cartEvents)
9226
    oprot.writeMessageBegin("addCartEvent", TMessageType.REPLY, seqid)
9227
    result.write(oprot)
9228
    oprot.writeMessageEnd()
9229
    oprot.trans.flush()
9230
 
8182 amar.kumar 9231
  def process_addEbayItem(self, seqid, iprot, oprot):
9232
    args = addEbayItem_args()
9233
    args.read(iprot)
9234
    iprot.readMessageEnd()
9235
    result = addEbayItem_result()
9236
    self._handler.addEbayItem(args.ebayItem)
9237
    oprot.writeMessageBegin("addEbayItem", TMessageType.REPLY, seqid)
9238
    result.write(oprot)
9239
    oprot.writeMessageEnd()
9240
    oprot.trans.flush()
9241
 
9242
  def process_getEbayItem(self, seqid, iprot, oprot):
9243
    args = getEbayItem_args()
9244
    args.read(iprot)
9245
    iprot.readMessageEnd()
9246
    result = getEbayItem_result()
9247
    result.success = self._handler.getEbayItem(args.listingId)
9248
    oprot.writeMessageBegin("getEbayItem", TMessageType.REPLY, seqid)
9249
    result.write(oprot)
9250
    oprot.writeMessageEnd()
9251
    oprot.trans.flush()
9252
 
9253
  def process_updateEbayItem(self, seqid, iprot, oprot):
9254
    args = updateEbayItem_args()
9255
    args.read(iprot)
9256
    iprot.readMessageEnd()
9257
    result = updateEbayItem_result()
9258
    self._handler.updateEbayItem(args.ebayItem)
9259
    oprot.writeMessageBegin("updateEbayItem", TMessageType.REPLY, seqid)
9260
    result.write(oprot)
9261
    oprot.writeMessageEnd()
9262
    oprot.trans.flush()
9263
 
8139 kshitij.so 9264
  def process_getAmazonListedItems(self, seqid, iprot, oprot):
9265
    args = getAmazonListedItems_args()
9266
    args.read(iprot)
9267
    iprot.readMessageEnd()
9268
    result = getAmazonListedItems_result()
9269
    result.success = self._handler.getAmazonListedItems(args.offset, args.limit)
9270
    oprot.writeMessageBegin("getAmazonListedItems", TMessageType.REPLY, seqid)
9271
    result.write(oprot)
9272
    oprot.writeMessageEnd()
9273
    oprot.trans.flush()
7977 kshitij.so 9274
 
8168 kshitij.so 9275
  def process_updateAmazonAttributesInBulk(self, seqid, iprot, oprot):
9276
    args = updateAmazonAttributesInBulk_args()
9277
    args.read(iprot)
9278
    iprot.readMessageEnd()
9279
    result = updateAmazonAttributesInBulk_result()
9280
    result.success = self._handler.updateAmazonAttributesInBulk(args.amazonlisted)
9281
    oprot.writeMessageBegin("updateAmazonAttributesInBulk", TMessageType.REPLY, seqid)
9282
    result.write(oprot)
9283
    oprot.writeMessageEnd()
9284
    oprot.trans.flush()
8139 kshitij.so 9285
 
8379 vikram.rag 9286
  def process_getAllItemstoListOnFba(self, seqid, iprot, oprot):
9287
    args = getAllItemstoListOnFba_args()
9288
    args.read(iprot)
9289
    iprot.readMessageEnd()
9290
    result = getAllItemstoListOnFba_result()
9291
    result.success = self._handler.getAllItemstoListOnFba()
9292
    oprot.writeMessageBegin("getAllItemstoListOnFba", TMessageType.REPLY, seqid)
9293
    result.write(oprot)
9294
    oprot.writeMessageEnd()
9295
    oprot.trans.flush()
8168 kshitij.so 9296
 
8379 vikram.rag 9297
  def process_getAllItemstoListOnNonFba(self, seqid, iprot, oprot):
9298
    args = getAllItemstoListOnNonFba_args()
9299
    args.read(iprot)
9300
    iprot.readMessageEnd()
9301
    result = getAllItemstoListOnNonFba_result()
9302
    result.success = self._handler.getAllItemstoListOnNonFba()
9303
    oprot.writeMessageBegin("getAllItemstoListOnNonFba", TMessageType.REPLY, seqid)
9304
    result.write(oprot)
9305
    oprot.writeMessageEnd()
9306
    oprot.trans.flush()
9307
 
8619 kshitij.so 9308
  def process_updateAsin(self, seqid, iprot, oprot):
9309
    args = updateAsin_args()
9310
    args.read(iprot)
9311
    iprot.readMessageEnd()
9312
    result = updateAsin_result()
9313
    self._handler.updateAsin(args.item)
9314
    oprot.writeMessageBegin("updateAsin", TMessageType.REPLY, seqid)
9315
    result.write(oprot)
9316
    oprot.writeMessageEnd()
9317
    oprot.trans.flush()
8616 vikram.rag 9318
 
8739 vikram.rag 9319
  def process_addOrUpdateSnapdealItem(self, seqid, iprot, oprot):
9320
    args = addOrUpdateSnapdealItem_args()
9321
    args.read(iprot)
9322
    iprot.readMessageEnd()
9323
    result = addOrUpdateSnapdealItem_result()
9324
    result.success = self._handler.addOrUpdateSnapdealItem(args.snapdealitem)
9325
    oprot.writeMessageBegin("addOrUpdateSnapdealItem", TMessageType.REPLY, seqid)
9326
    result.write(oprot)
9327
    oprot.writeMessageEnd()
9328
    oprot.trans.flush()
8619 kshitij.so 9329
 
8739 vikram.rag 9330
  def process_getSnapdealItem(self, seqid, iprot, oprot):
9331
    args = getSnapdealItem_args()
9332
    args.read(iprot)
9333
    iprot.readMessageEnd()
9334
    result = getSnapdealItem_result()
9335
    result.success = self._handler.getSnapdealItem(args.item_id)
9336
    oprot.writeMessageBegin("getSnapdealItem", TMessageType.REPLY, seqid)
9337
    result.write(oprot)
9338
    oprot.writeMessageEnd()
9339
    oprot.trans.flush()
9340
 
9242 kshitij.so 9341
  def process_getSnapdealItemDetails(self, seqid, iprot, oprot):
9342
    args = getSnapdealItemDetails_args()
9343
    args.read(iprot)
9344
    iprot.readMessageEnd()
9345
    result = getSnapdealItemDetails_result()
9346
    result.success = self._handler.getSnapdealItemDetails(args.item_id)
9347
    oprot.writeMessageBegin("getSnapdealItemDetails", TMessageType.REPLY, seqid)
9348
    result.write(oprot)
9349
    oprot.writeMessageEnd()
9350
    oprot.trans.flush()
9351
 
8739 vikram.rag 9352
  def process_getAllSnapdealItems(self, seqid, iprot, oprot):
9353
    args = getAllSnapdealItems_args()
9354
    args.read(iprot)
9355
    iprot.readMessageEnd()
9356
    result = getAllSnapdealItems_result()
9357
    result.success = self._handler.getAllSnapdealItems()
9358
    oprot.writeMessageBegin("getAllSnapdealItems", TMessageType.REPLY, seqid)
9359
    result.write(oprot)
9360
    oprot.writeMessageEnd()
9361
    oprot.trans.flush()
9362
 
9242 kshitij.so 9363
  def process_getSnapdealItems(self, seqid, iprot, oprot):
9364
    args = getSnapdealItems_args()
9365
    args.read(iprot)
9366
    iprot.readMessageEnd()
9367
    result = getSnapdealItems_result()
9368
    result.success = self._handler.getSnapdealItems(args.offset, args.limit)
9369
    oprot.writeMessageBegin("getSnapdealItems", TMessageType.REPLY, seqid)
9370
    result.write(oprot)
9371
    oprot.writeMessageEnd()
9372
    oprot.trans.flush()
8739 vikram.rag 9373
 
9242 kshitij.so 9374
  def process_searchSnapdealItems(self, seqid, iprot, oprot):
9375
    args = searchSnapdealItems_args()
9376
    args.read(iprot)
9377
    iprot.readMessageEnd()
9378
    result = searchSnapdealItems_result()
9379
    result.success = self._handler.searchSnapdealItems(args.searchTerm, args.offset, args.limit)
9380
    oprot.writeMessageBegin("searchSnapdealItems", TMessageType.REPLY, seqid)
9381
    result.write(oprot)
9382
    oprot.writeMessageEnd()
9383
    oprot.trans.flush()
9384
 
9385
  def process_getCountForSnapdealItems(self, seqid, iprot, oprot):
9386
    args = getCountForSnapdealItems_args()
9387
    args.read(iprot)
9388
    iprot.readMessageEnd()
9389
    result = getCountForSnapdealItems_result()
9390
    result.success = self._handler.getCountForSnapdealItems()
9391
    oprot.writeMessageBegin("getCountForSnapdealItems", TMessageType.REPLY, seqid)
9392
    result.write(oprot)
9393
    oprot.writeMessageEnd()
9394
    oprot.trans.flush()
9395
 
9396
  def process_getSnapdealSearchResultCount(self, seqid, iprot, oprot):
9397
    args = getSnapdealSearchResultCount_args()
9398
    args.read(iprot)
9399
    iprot.readMessageEnd()
9400
    result = getSnapdealSearchResultCount_result()
9401
    result.success = self._handler.getSnapdealSearchResultCount(args.searchTerm)
9402
    oprot.writeMessageBegin("getSnapdealSearchResultCount", TMessageType.REPLY, seqid)
9403
    result.write(oprot)
9404
    oprot.writeMessageEnd()
9405
    oprot.trans.flush()
9406
 
9299 kshitij.so 9407
  def process_getPrefferedInsurerForItem(self, seqid, iprot, oprot):
9408
    args = getPrefferedInsurerForItem_args()
9409
    args.read(iprot)
9410
    iprot.readMessageEnd()
9411
    result = getPrefferedInsurerForItem_result()
9412
    result.success = self._handler.getPrefferedInsurerForItem(args.itemId, args.insurerType)
9413
    oprot.writeMessageBegin("getPrefferedInsurerForItem", TMessageType.REPLY, seqid)
9414
    result.write(oprot)
9415
    oprot.writeMessageEnd()
9416
    oprot.trans.flush()
9242 kshitij.so 9417
 
9456 vikram.rag 9418
  def process_getSnapdealItembySkuAtSnapdeal(self, seqid, iprot, oprot):
9419
    args = getSnapdealItembySkuAtSnapdeal_args()
9420
    args.read(iprot)
9421
    iprot.readMessageEnd()
9422
    result = getSnapdealItembySkuAtSnapdeal_result()
9423
    result.success = self._handler.getSnapdealItembySkuAtSnapdeal(args.skuAtSnapdeal)
9424
    oprot.writeMessageBegin("getSnapdealItembySkuAtSnapdeal", TMessageType.REPLY, seqid)
9425
    result.write(oprot)
9426
    oprot.writeMessageEnd()
9427
    oprot.trans.flush()
9299 kshitij.so 9428
 
9621 manish.sha 9429
  def process_getProductFeedSubmit(self, seqid, iprot, oprot):
9430
    args = getProductFeedSubmit_args()
9431
    args.read(iprot)
9432
    iprot.readMessageEnd()
9433
    result = getProductFeedSubmit_result()
9434
    try:
9435
      result.success = self._handler.getProductFeedSubmit(args.catalogItemId)
9436
    except CatalogServiceException, cex:
9437
      result.cex = cex
9438
    oprot.writeMessageBegin("getProductFeedSubmit", TMessageType.REPLY, seqid)
9439
    result.write(oprot)
9440
    oprot.writeMessageEnd()
9441
    oprot.trans.flush()
9456 vikram.rag 9442
 
9621 manish.sha 9443
  def process_addProductFeedSubmit(self, seqid, iprot, oprot):
9444
    args = addProductFeedSubmit_args()
9445
    args.read(iprot)
9446
    iprot.readMessageEnd()
9447
    result = addProductFeedSubmit_result()
9448
    try:
9449
      result.success = self._handler.addProductFeedSubmit(args.productFeedSubmit)
9450
    except CatalogServiceException, cex:
9451
      result.cex = cex
9452
    oprot.writeMessageBegin("addProductFeedSubmit", TMessageType.REPLY, seqid)
9453
    result.write(oprot)
9454
    oprot.writeMessageEnd()
9455
    oprot.trans.flush()
9456
 
9457
  def process_updateProductFeedSubmit(self, seqid, iprot, oprot):
9458
    args = updateProductFeedSubmit_args()
9459
    args.read(iprot)
9460
    iprot.readMessageEnd()
9461
    result = updateProductFeedSubmit_result()
9462
    try:
9463
      result.success = self._handler.updateProductFeedSubmit(args.productFeedSubmit)
9464
    except CatalogServiceException, cex:
9465
      result.cex = cex
9466
    oprot.writeMessageBegin("updateProductFeedSubmit", TMessageType.REPLY, seqid)
9467
    result.write(oprot)
9468
    oprot.writeMessageEnd()
9469
    oprot.trans.flush()
9470
 
9471
  def process_deleteProductFeedSubmit(self, seqid, iprot, oprot):
9472
    args = deleteProductFeedSubmit_args()
9473
    args.read(iprot)
9474
    iprot.readMessageEnd()
9475
    result = deleteProductFeedSubmit_result()
9476
    try:
9477
      result.success = self._handler.deleteProductFeedSubmit(args.catalogItemId)
9478
    except CatalogServiceException, cex:
9479
      result.cex = cex
9480
    oprot.writeMessageBegin("deleteProductFeedSubmit", TMessageType.REPLY, seqid)
9481
    result.write(oprot)
9482
    oprot.writeMessageEnd()
9483
    oprot.trans.flush()
9484
 
9485
  def process_getAllProductFeedSubmit(self, seqid, iprot, oprot):
9486
    args = getAllProductFeedSubmit_args()
9487
    args.read(iprot)
9488
    iprot.readMessageEnd()
9489
    result = getAllProductFeedSubmit_result()
9490
    try:
9491
      result.success = self._handler.getAllProductFeedSubmit()
9492
    except CatalogServiceException, cex:
9493
      result.cex = cex
9494
    oprot.writeMessageBegin("getAllProductFeedSubmit", TMessageType.REPLY, seqid)
9495
    result.write(oprot)
9496
    oprot.writeMessageEnd()
9497
    oprot.trans.flush()
9498
 
9724 kshitij.so 9499
  def process_getMarketplacedetailsForItem(self, seqid, iprot, oprot):
9500
    args = getMarketplacedetailsForItem_args()
9501
    args.read(iprot)
9502
    iprot.readMessageEnd()
9503
    result = getMarketplacedetailsForItem_result()
9504
    result.success = self._handler.getMarketplacedetailsForItem(args.itemId, args.sourceId)
9505
    oprot.writeMessageBegin("getMarketplacedetailsForItem", TMessageType.REPLY, seqid)
9506
    result.write(oprot)
9507
    oprot.writeMessageEnd()
9508
    oprot.trans.flush()
9621 manish.sha 9509
 
9724 kshitij.so 9510
  def process_updateMarketplaceAttributesForItem(self, seqid, iprot, oprot):
9511
    args = updateMarketplaceAttributesForItem_args()
9512
    args.read(iprot)
9513
    iprot.readMessageEnd()
9514
    result = updateMarketplaceAttributesForItem_result()
9515
    result.success = self._handler.updateMarketplaceAttributesForItem(args.marketPlaceItem)
9516
    oprot.writeMessageBegin("updateMarketplaceAttributesForItem", TMessageType.REPLY, seqid)
9517
    result.write(oprot)
9518
    oprot.writeMessageEnd()
9519
    oprot.trans.flush()
9520
 
9779 kshitij.so 9521
  def process_getCostingForMarketplace(self, seqid, iprot, oprot):
9522
    args = getCostingForMarketplace_args()
9523
    args.read(iprot)
9524
    iprot.readMessageEnd()
9525
    result = getCostingForMarketplace_result()
9526
    result.success = self._handler.getCostingForMarketplace(args.source, args.item_id)
9527
    oprot.writeMessageBegin("getCostingForMarketplace", TMessageType.REPLY, seqid)
9528
    result.write(oprot)
9529
    oprot.writeMessageEnd()
9530
    oprot.trans.flush()
9531
 
9776 vikram.rag 9532
  def process_getMarketPlaceItemsForPriceUpdate(self, seqid, iprot, oprot):
9533
    args = getMarketPlaceItemsForPriceUpdate_args()
9534
    args.read(iprot)
9535
    iprot.readMessageEnd()
9536
    result = getMarketPlaceItemsForPriceUpdate_result()
9537
    result.success = self._handler.getMarketPlaceItemsForPriceUpdate(args.source)
9538
    oprot.writeMessageBegin("getMarketPlaceItemsForPriceUpdate", TMessageType.REPLY, seqid)
9539
    result.write(oprot)
9540
    oprot.writeMessageEnd()
9541
    oprot.trans.flush()
9724 kshitij.so 9542
 
9776 vikram.rag 9543
  def process_updateMarketPlacePriceUpdateStatus(self, seqid, iprot, oprot):
9544
    args = updateMarketPlacePriceUpdateStatus_args()
9545
    args.read(iprot)
9546
    iprot.readMessageEnd()
9547
    result = updateMarketPlacePriceUpdateStatus_result()
9816 kshitij.so 9548
    self._handler.updateMarketPlacePriceUpdateStatus(args.skulist, args.timestamp, args.source)
9776 vikram.rag 9549
    oprot.writeMessageBegin("updateMarketPlacePriceUpdateStatus", TMessageType.REPLY, seqid)
9550
    result.write(oprot)
9551
    oprot.writeMessageEnd()
9552
    oprot.trans.flush()
9553
 
9861 rajveer 9554
  def process_updateItemHoldInventory(self, seqid, iprot, oprot):
9555
    args = updateItemHoldInventory_args()
9556
    args.read(iprot)
9557
    iprot.readMessageEnd()
9558
    result = updateItemHoldInventory_result()
9559
    self._handler.updateItemHoldInventory(args.itemHoldMap)
9560
    oprot.writeMessageBegin("updateItemHoldInventory", TMessageType.REPLY, seqid)
9561
    result.write(oprot)
9562
    oprot.writeMessageEnd()
9563
    oprot.trans.flush()
9776 vikram.rag 9564
 
9895 vikram.rag 9565
  def process_updateNlcAtMarketplaces(self, seqid, iprot, oprot):
9566
    args = updateNlcAtMarketplaces_args()
9567
    args.read(iprot)
9568
    iprot.readMessageEnd()
9569
    result = updateNlcAtMarketplaces_result()
9570
    self._handler.updateNlcAtMarketplaces(args.item_id, args.vendor_id, args.nlc)
9571
    oprot.writeMessageBegin("updateNlcAtMarketplaces", TMessageType.REPLY, seqid)
9572
    result.write(oprot)
9573
    oprot.writeMessageEnd()
9574
    oprot.trans.flush()
9861 rajveer 9575
 
9945 vikram.rag 9576
  def process_getAllFlipkartItems(self, seqid, iprot, oprot):
9577
    args = getAllFlipkartItems_args()
9578
    args.read(iprot)
9579
    iprot.readMessageEnd()
9580
    result = getAllFlipkartItems_result()
9581
    result.success = self._handler.getAllFlipkartItems()
9582
    oprot.writeMessageBegin("getAllFlipkartItems", TMessageType.REPLY, seqid)
9583
    result.write(oprot)
9584
    oprot.writeMessageEnd()
9585
    oprot.trans.flush()
9895 vikram.rag 9586
 
10097 kshitij.so 9587
  def process_addOrUpdateFlipkartItem(self, seqid, iprot, oprot):
9588
    args = addOrUpdateFlipkartItem_args()
9589
    args.read(iprot)
9590
    iprot.readMessageEnd()
9591
    result = addOrUpdateFlipkartItem_result()
9592
    result.success = self._handler.addOrUpdateFlipkartItem(args.flipkartitem)
9593
    oprot.writeMessageBegin("addOrUpdateFlipkartItem", TMessageType.REPLY, seqid)
9594
    result.write(oprot)
9595
    oprot.writeMessageEnd()
9596
    oprot.trans.flush()
9945 vikram.rag 9597
 
10097 kshitij.so 9598
  def process_getFlipkartItem(self, seqid, iprot, oprot):
9599
    args = getFlipkartItem_args()
9600
    args.read(iprot)
9601
    iprot.readMessageEnd()
9602
    result = getFlipkartItem_result()
9603
    result.success = self._handler.getFlipkartItem(args.item_id)
9604
    oprot.writeMessageBegin("getFlipkartItem", TMessageType.REPLY, seqid)
9605
    result.write(oprot)
9606
    oprot.writeMessageEnd()
9607
    oprot.trans.flush()
9608
 
9609
  def process_getFlipkartItemDetails(self, seqid, iprot, oprot):
9610
    args = getFlipkartItemDetails_args()
9611
    args.read(iprot)
9612
    iprot.readMessageEnd()
9613
    result = getFlipkartItemDetails_result()
9614
    result.success = self._handler.getFlipkartItemDetails(args.item_id)
9615
    oprot.writeMessageBegin("getFlipkartItemDetails", TMessageType.REPLY, seqid)
9616
    result.write(oprot)
9617
    oprot.writeMessageEnd()
9618
    oprot.trans.flush()
9619
 
9620
  def process_getFlipkartItems(self, seqid, iprot, oprot):
9621
    args = getFlipkartItems_args()
9622
    args.read(iprot)
9623
    iprot.readMessageEnd()
9624
    result = getFlipkartItems_result()
9625
    result.success = self._handler.getFlipkartItems(args.offset, args.limit)
9626
    oprot.writeMessageBegin("getFlipkartItems", TMessageType.REPLY, seqid)
9627
    result.write(oprot)
9628
    oprot.writeMessageEnd()
9629
    oprot.trans.flush()
9630
 
9631
  def process_searchFlipkartItems(self, seqid, iprot, oprot):
9632
    args = searchFlipkartItems_args()
9633
    args.read(iprot)
9634
    iprot.readMessageEnd()
9635
    result = searchFlipkartItems_result()
9636
    result.success = self._handler.searchFlipkartItems(args.searchTerm, args.offset, args.limit)
9637
    oprot.writeMessageBegin("searchFlipkartItems", TMessageType.REPLY, seqid)
9638
    result.write(oprot)
9639
    oprot.writeMessageEnd()
9640
    oprot.trans.flush()
9641
 
9642
  def process_getCountForFlipkartItems(self, seqid, iprot, oprot):
9643
    args = getCountForFlipkartItems_args()
9644
    args.read(iprot)
9645
    iprot.readMessageEnd()
9646
    result = getCountForFlipkartItems_result()
9647
    result.success = self._handler.getCountForFlipkartItems()
9648
    oprot.writeMessageBegin("getCountForFlipkartItems", TMessageType.REPLY, seqid)
9649
    result.write(oprot)
9650
    oprot.writeMessageEnd()
9651
    oprot.trans.flush()
9652
 
9653
  def process_getFlipkartSearchResultCount(self, seqid, iprot, oprot):
9654
    args = getFlipkartSearchResultCount_args()
9655
    args.read(iprot)
9656
    iprot.readMessageEnd()
9657
    result = getFlipkartSearchResultCount_result()
9658
    result.success = self._handler.getFlipkartSearchResultCount(args.searchTerm)
9659
    oprot.writeMessageBegin("getFlipkartSearchResultCount", TMessageType.REPLY, seqid)
9660
    result.write(oprot)
9661
    oprot.writeMessageEnd()
9662
    oprot.trans.flush()
9663
 
9664
  def process_getAllFkItems(self, seqid, iprot, oprot):
9665
    args = getAllFkItems_args()
9666
    args.read(iprot)
9667
    iprot.readMessageEnd()
9668
    result = getAllFkItems_result()
9669
    result.success = self._handler.getAllFkItems()
9670
    oprot.writeMessageBegin("getAllFkItems", TMessageType.REPLY, seqid)
9671
    result.write(oprot)
9672
    oprot.writeMessageEnd()
9673
    oprot.trans.flush()
9674
 
10140 vikram.rag 9675
  def process_getFlipkartItemBySkyAtFlipkart(self, seqid, iprot, oprot):
9676
    args = getFlipkartItemBySkyAtFlipkart_args()
9677
    args.read(iprot)
9678
    iprot.readMessageEnd()
9679
    result = getFlipkartItemBySkyAtFlipkart_result()
9680
    result.success = self._handler.getFlipkartItemBySkyAtFlipkart(args.sku)
9681
    oprot.writeMessageBegin("getFlipkartItemBySkyAtFlipkart", TMessageType.REPLY, seqid)
9682
    result.write(oprot)
9683
    oprot.writeMessageEnd()
9684
    oprot.trans.flush()
10097 kshitij.so 9685
 
11015 kshitij.so 9686
  def process_getMarketplaceHistory(self, seqid, iprot, oprot):
9687
    args = getMarketplaceHistory_args()
9688
    args.read(iprot)
9689
    iprot.readMessageEnd()
9690
    result = getMarketplaceHistory_result()
9691
    result.success = self._handler.getMarketplaceHistory(args.source, args.offset, args.itemId)
9692
    oprot.writeMessageBegin("getMarketplaceHistory", TMessageType.REPLY, seqid)
9693
    result.write(oprot)
9694
    oprot.writeMessageEnd()
9695
    oprot.trans.flush()
9696
 
10909 vikram.rag 9697
  def process_getAllFbbListedItems(self, seqid, iprot, oprot):
9698
    args = getAllFbbListedItems_args()
9699
    args.read(iprot)
9700
    iprot.readMessageEnd()
9701
    result = getAllFbbListedItems_result()
9702
    result.success = self._handler.getAllFbbListedItems()
9703
    oprot.writeMessageBegin("getAllFbbListedItems", TMessageType.REPLY, seqid)
9704
    result.write(oprot)
9705
    oprot.writeMessageEnd()
9706
    oprot.trans.flush()
10140 vikram.rag 9707
 
10924 vikram.rag 9708
  def process_getAllFbbPricingItems(self, seqid, iprot, oprot):
9709
    args = getAllFbbPricingItems_args()
9710
    args.read(iprot)
9711
    iprot.readMessageEnd()
9712
    result = getAllFbbPricingItems_result()
9713
    result.success = self._handler.getAllFbbPricingItems()
9714
    oprot.writeMessageBegin("getAllFbbPricingItems", TMessageType.REPLY, seqid)
9715
    result.write(oprot)
9716
    oprot.writeMessageEnd()
9717
    oprot.trans.flush()
10909 vikram.rag 9718
 
11015 kshitij.so 9719
  def process_getCountForMarketplaceHistory(self, seqid, iprot, oprot):
9720
    args = getCountForMarketplaceHistory_args()
9721
    args.read(iprot)
9722
    iprot.readMessageEnd()
9723
    result = getCountForMarketplaceHistory_result()
9724
    result.success = self._handler.getCountForMarketplaceHistory(args.source, args.itemId)
9725
    oprot.writeMessageBegin("getCountForMarketplaceHistory", TMessageType.REPLY, seqid)
9726
    result.write(oprot)
9727
    oprot.writeMessageEnd()
9728
    oprot.trans.flush()
10924 vikram.rag 9729
 
11015 kshitij.so 9730
  def process_getMarketplaceHistoryByDate(self, seqid, iprot, oprot):
9731
    args = getMarketplaceHistoryByDate_args()
9732
    args.read(iprot)
9733
    iprot.readMessageEnd()
9734
    result = getMarketplaceHistoryByDate_result()
9735
    result.success = self._handler.getMarketplaceHistoryByDate(args.source, args.startDate, args.endDate, args.offset, args.limit, args.itemId)
9736
    oprot.writeMessageBegin("getMarketplaceHistoryByDate", TMessageType.REPLY, seqid)
9737
    result.write(oprot)
9738
    oprot.writeMessageEnd()
9739
    oprot.trans.flush()
9740
 
11531 vikram.rag 9741
  def process_getPrivateDealDetails(self, seqid, iprot, oprot):
9742
    args = getPrivateDealDetails_args()
9743
    args.read(iprot)
9744
    iprot.readMessageEnd()
9745
    result = getPrivateDealDetails_result()
9746
    result.success = self._handler.getPrivateDealDetails(args.item_id)
9747
    oprot.writeMessageBegin("getPrivateDealDetails", TMessageType.REPLY, seqid)
9748
    result.write(oprot)
9749
    oprot.writeMessageEnd()
9750
    oprot.trans.flush()
11015 kshitij.so 9751
 
11531 vikram.rag 9752
  def process_getPrivateDealItems(self, seqid, iprot, oprot):
9753
    args = getPrivateDealItems_args()
9754
    args.read(iprot)
9755
    iprot.readMessageEnd()
9756
    result = getPrivateDealItems_result()
9757
    result.success = self._handler.getPrivateDealItems(args.offset, args.limit)
9758
    oprot.writeMessageBegin("getPrivateDealItems", TMessageType.REPLY, seqid)
9759
    result.write(oprot)
9760
    oprot.writeMessageEnd()
9761
    oprot.trans.flush()
9762
 
11592 amit.gupta 9763
  def process_getAllActivePrivateDeals(self, seqid, iprot, oprot):
9764
    args = getAllActivePrivateDeals_args()
9765
    args.read(iprot)
9766
    iprot.readMessageEnd()
9767
    result = getAllActivePrivateDeals_result()
11653 amit.gupta 9768
    result.success = self._handler.getAllActivePrivateDeals(args.itemIds, args.daysDelta)
11592 amit.gupta 9769
    oprot.writeMessageBegin("getAllActivePrivateDeals", TMessageType.REPLY, seqid)
9770
    result.write(oprot)
9771
    oprot.writeMessageEnd()
9772
    oprot.trans.flush()
9773
 
11531 vikram.rag 9774
  def process_addOrUpdatePrivateDeal(self, seqid, iprot, oprot):
9775
    args = addOrUpdatePrivateDeal_args()
9776
    args.read(iprot)
9777
    iprot.readMessageEnd()
9778
    result = addOrUpdatePrivateDeal_result()
9779
    result.success = self._handler.addOrUpdatePrivateDeal(args.privateDeal)
9780
    oprot.writeMessageBegin("addOrUpdatePrivateDeal", TMessageType.REPLY, seqid)
9781
    result.write(oprot)
9782
    oprot.writeMessageEnd()
9783
    oprot.trans.flush()
9784
 
11635 vikram.rag 9785
  def process_getPrivateDealsCatalogIds(self, seqid, iprot, oprot):
9786
    args = getPrivateDealsCatalogIds_args()
9787
    args.read(iprot)
9788
    iprot.readMessageEnd()
9789
    result = getPrivateDealsCatalogIds_result()
9790
    try:
9791
      result.success = self._handler.getPrivateDealsCatalogIds(args.beginIndex, args.totalItems)
9792
    except CatalogServiceException, cex:
9793
      result.cex = cex
9794
    oprot.writeMessageBegin("getPrivateDealsCatalogIds", TMessageType.REPLY, seqid)
9795
    result.write(oprot)
9796
    oprot.writeMessageEnd()
9797
    oprot.trans.flush()
11531 vikram.rag 9798
 
11645 amit.gupta 9799
  def process_getPrivateDealsCount(self, seqid, iprot, oprot):
9800
    args = getPrivateDealsCount_args()
9801
    args.read(iprot)
9802
    iprot.readMessageEnd()
9803
    result = getPrivateDealsCount_result()
9804
    result.success = self._handler.getPrivateDealsCount()
9805
    oprot.writeMessageBegin("getPrivateDealsCount", TMessageType.REPLY, seqid)
9806
    result.write(oprot)
9807
    oprot.writeMessageEnd()
9808
    oprot.trans.flush()
11635 vikram.rag 9809
 
11905 kshitij.so 9810
  def process_getAmazonOutSyncItems(self, seqid, iprot, oprot):
9811
    args = getAmazonOutSyncItems_args()
9812
    args.read(iprot)
9813
    iprot.readMessageEnd()
9814
    result = getAmazonOutSyncItems_result()
9815
    result.success = self._handler.getAmazonOutSyncItems(args.item_id)
9816
    oprot.writeMessageBegin("getAmazonOutSyncItems", TMessageType.REPLY, seqid)
9817
    result.write(oprot)
9818
    oprot.writeMessageEnd()
9819
    oprot.trans.flush()
11645 amit.gupta 9820
 
11905 kshitij.so 9821
  def process_getAllPrivateDealsComparison(self, seqid, iprot, oprot):
9822
    args = getAllPrivateDealsComparison_args()
9823
    args.read(iprot)
9824
    iprot.readMessageEnd()
9825
    result = getAllPrivateDealsComparison_result()
9826
    result.success = self._handler.getAllPrivateDealsComparison()
9827
    oprot.writeMessageBegin("getAllPrivateDealsComparison", TMessageType.REPLY, seqid)
9828
    result.write(oprot)
9829
    oprot.writeMessageEnd()
9830
    oprot.trans.flush()
9831
 
12133 kshitij.so 9832
  def process_getAllSnapdealMarketplaceItem(self, seqid, iprot, oprot):
9833
    args = getAllSnapdealMarketplaceItem_args()
9834
    args.read(iprot)
9835
    iprot.readMessageEnd()
9836
    result = getAllSnapdealMarketplaceItem_result()
9837
    result.success = self._handler.getAllSnapdealMarketplaceItem()
9838
    oprot.writeMessageBegin("getAllSnapdealMarketplaceItem", TMessageType.REPLY, seqid)
9839
    result.write(oprot)
9840
    oprot.writeMessageEnd()
9841
    oprot.trans.flush()
11905 kshitij.so 9842
 
12133 kshitij.so 9843
  def process_getAllFlipkartMarketplaceItem(self, seqid, iprot, oprot):
9844
    args = getAllFlipkartMarketplaceItem_args()
9845
    args.read(iprot)
9846
    iprot.readMessageEnd()
9847
    result = getAllFlipkartMarketplaceItem_result()
9848
    result.success = self._handler.getAllFlipkartMarketplaceItem()
9849
    oprot.writeMessageBegin("getAllFlipkartMarketplaceItem", TMessageType.REPLY, seqid)
9850
    result.write(oprot)
9851
    oprot.writeMessageEnd()
9852
    oprot.trans.flush()
9853
 
12243 kshitij.so 9854
  def process_addCompetitorScraping(self, seqid, iprot, oprot):
9855
    args = addCompetitorScraping_args()
9856
    args.read(iprot)
9857
    iprot.readMessageEnd()
9858
    result = addCompetitorScraping_result()
9859
    self._handler.addCompetitorScraping(args.competitorPricingMap)
9860
    oprot.writeMessageBegin("addCompetitorScraping", TMessageType.REPLY, seqid)
9861
    result.write(oprot)
9862
    oprot.writeMessageEnd()
9863
    oprot.trans.flush()
12133 kshitij.so 9864
 
12243 kshitij.so 9865
  def process_getPreviousCompetitorScraping(self, seqid, iprot, oprot):
9866
    args = getPreviousCompetitorScraping_args()
9867
    args.read(iprot)
9868
    iprot.readMessageEnd()
9869
    result = getPreviousCompetitorScraping_result()
9870
    result.success = self._handler.getPreviousCompetitorScraping(args.delta)
9871
    oprot.writeMessageBegin("getPreviousCompetitorScraping", TMessageType.REPLY, seqid)
9872
    result.write(oprot)
9873
    oprot.writeMessageEnd()
9874
    oprot.trans.flush()
9875
 
12256 kshitij.so 9876
  def process_getUploadResultById(self, seqid, iprot, oprot):
9877
    args = getUploadResultById_args()
9878
    args.read(iprot)
9879
    iprot.readMessageEnd()
9880
    result = getUploadResultById_result()
9881
    result.success = self._handler.getUploadResultById(args.uploadId)
9882
    oprot.writeMessageBegin("getUploadResultById", TMessageType.REPLY, seqid)
9883
    result.write(oprot)
9884
    oprot.writeMessageEnd()
9885
    oprot.trans.flush()
12243 kshitij.so 9886
 
12363 kshitij.so 9887
  def process_addAmazonPromotion(self, seqid, iprot, oprot):
9888
    args = addAmazonPromotion_args()
9889
    args.read(iprot)
9890
    iprot.readMessageEnd()
9891
    result = addAmazonPromotion_result()
12947 kshitij.so 9892
    try:
9893
      result.success = self._handler.addAmazonPromotion(args.amazonPromotions)
9894
    except CatalogServiceException, cex:
9895
      result.cex = cex
12363 kshitij.so 9896
    oprot.writeMessageBegin("addAmazonPromotion", TMessageType.REPLY, seqid)
9897
    result.write(oprot)
9898
    oprot.writeMessageEnd()
9899
    oprot.trans.flush()
12256 kshitij.so 9900
 
12363 kshitij.so 9901
  def process_getAmazonPromotion(self, seqid, iprot, oprot):
9902
    args = getAmazonPromotion_args()
9903
    args.read(iprot)
9904
    iprot.readMessageEnd()
9905
    result = getAmazonPromotion_result()
9906
    result.success = self._handler.getAmazonPromotion(args.startDate, args.endDate)
9907
    oprot.writeMessageBegin("getAmazonPromotion", TMessageType.REPLY, seqid)
9908
    result.write(oprot)
9909
    oprot.writeMessageEnd()
9910
    oprot.trans.flush()
9911
 
9912
  def process_updateAmazonPromotion(self, seqid, iprot, oprot):
9913
    args = updateAmazonPromotion_args()
9914
    args.read(iprot)
9915
    iprot.readMessageEnd()
9916
    result = updateAmazonPromotion_result()
9917
    result.success = self._handler.updateAmazonPromotion(args.amazonPromotions)
9918
    oprot.writeMessageBegin("updateAmazonPromotion", TMessageType.REPLY, seqid)
9919
    result.write(oprot)
9920
    oprot.writeMessageEnd()
9921
    oprot.trans.flush()
9922
 
12567 amit.gupta 9923
  def process_markPartiallyActive(self, seqid, iprot, oprot):
9924
    args = markPartiallyActive_args()
9925
    args.read(iprot)
9926
    iprot.readMessageEnd()
9927
    result = markPartiallyActive_result()
9928
    result.success = self._handler.markPartiallyActive(args.itemId, args.categoryId)
9929
    oprot.writeMessageBegin("markPartiallyActive", TMessageType.REPLY, seqid)
9930
    result.write(oprot)
9931
    oprot.writeMessageEnd()
9932
    oprot.trans.flush()
12363 kshitij.so 9933
 
12567 amit.gupta 9934
  def process_updateItemStateVat(self, seqid, iprot, oprot):
9935
    args = updateItemStateVat_args()
9936
    args.read(iprot)
9937
    iprot.readMessageEnd()
9938
    result = updateItemStateVat_result()
9939
    result.success = self._handler.updateItemStateVat(args.itemId, args.statevat)
9940
    oprot.writeMessageBegin("updateItemStateVat", TMessageType.REPLY, seqid)
9941
    result.write(oprot)
9942
    oprot.writeMessageEnd()
9943
    oprot.trans.flush()
9944
 
12620 amit.gupta 9945
  def process_getExAffiliateItemInfo(self, seqid, iprot, oprot):
9946
    args = getExAffiliateItemInfo_args()
9947
    args.read(iprot)
9948
    iprot.readMessageEnd()
9949
    result = getExAffiliateItemInfo_result()
9950
    result.success = self._handler.getExAffiliateItemInfo()
9951
    oprot.writeMessageBegin("getExAffiliateItemInfo", TMessageType.REPLY, seqid)
9952
    result.write(oprot)
9953
    oprot.writeMessageEnd()
9954
    oprot.trans.flush()
12567 amit.gupta 9955
 
12888 kshitij.so 9956
  def process_getAllItemstoListOnFbg(self, seqid, iprot, oprot):
9957
    args = getAllItemstoListOnFbg_args()
9958
    args.read(iprot)
9959
    iprot.readMessageEnd()
9960
    result = getAllItemstoListOnFbg_result()
9961
    result.success = self._handler.getAllItemstoListOnFbg()
9962
    oprot.writeMessageBegin("getAllItemstoListOnFbg", TMessageType.REPLY, seqid)
9963
    result.write(oprot)
9964
    oprot.writeMessageEnd()
9965
    oprot.trans.flush()
12620 amit.gupta 9966
 
12892 kshitij.so 9967
  def process_getAllFbgListedItems(self, seqid, iprot, oprot):
9968
    args = getAllFbgListedItems_args()
9969
    args.read(iprot)
9970
    iprot.readMessageEnd()
9971
    result = getAllFbgListedItems_result()
9972
    result.success = self._handler.getAllFbgListedItems()
9973
    oprot.writeMessageBegin("getAllFbgListedItems", TMessageType.REPLY, seqid)
9974
    result.write(oprot)
9975
    oprot.writeMessageEnd()
9976
    oprot.trans.flush()
12888 kshitij.so 9977
 
13136 amit.gupta 9978
  def process_checkServices(self, seqid, iprot, oprot):
9979
    args = checkServices_args()
9980
    args.read(iprot)
9981
    iprot.readMessageEnd()
9982
    result = checkServices_result()
9983
    try:
9984
      result.success = self._handler.checkServices(args.lines)
9985
    except CatalogServiceException, cex:
9986
      result.cex = cex
9987
    oprot.writeMessageBegin("checkServices", TMessageType.REPLY, seqid)
9988
    result.write(oprot)
9989
    oprot.writeMessageEnd()
9990
    oprot.trans.flush()
12892 kshitij.so 9991
 
13709 manish.sha 9992
  def process_addHsItem(self, seqid, iprot, oprot):
9993
    args = addHsItem_args()
9994
    args.read(iprot)
9995
    iprot.readMessageEnd()
9996
    result = addHsItem_result()
9997
    self._handler.addHsItem(args.hsItems)
9998
    oprot.writeMessageBegin("addHsItem", TMessageType.REPLY, seqid)
9999
    result.write(oprot)
10000
    oprot.writeMessageEnd()
10001
    oprot.trans.flush()
13136 amit.gupta 10002
 
13709 manish.sha 10003
  def process_getHsItem(self, seqid, iprot, oprot):
10004
    args = getHsItem_args()
10005
    args.read(iprot)
10006
    iprot.readMessageEnd()
10007
    result = getHsItem_result()
10008
    result.success = self._handler.getHsItem(args.hsItemId)
10009
    oprot.writeMessageBegin("getHsItem", TMessageType.REPLY, seqid)
10010
    result.write(oprot)
10011
    oprot.writeMessageEnd()
10012
    oprot.trans.flush()
10013
 
10014
  def process_updateHsItem(self, seqid, iprot, oprot):
10015
    args = updateHsItem_args()
10016
    args.read(iprot)
10017
    iprot.readMessageEnd()
10018
    result = updateHsItem_result()
10019
    self._handler.updateHsItem(args.hsItem)
10020
    oprot.writeMessageBegin("updateHsItem", TMessageType.REPLY, seqid)
10021
    result.write(oprot)
10022
    oprot.writeMessageEnd()
10023
    oprot.trans.flush()
10024
 
14182 kshitij.so 10025
  def process_getPricingForDtr(self, seqid, iprot, oprot):
10026
    args = getPricingForDtr_args()
10027
    args.read(iprot)
10028
    iprot.readMessageEnd()
10029
    result = getPricingForDtr_result()
10030
    result.success = self._handler.getPricingForDtr(args.catalogItemId)
10031
    oprot.writeMessageBegin("getPricingForDtr", TMessageType.REPLY, seqid)
10032
    result.write(oprot)
10033
    oprot.writeMessageEnd()
10034
    oprot.trans.flush()
13709 manish.sha 10035
 
15702 kshitij.so 10036
  def process_getAllItemstoListOnFbd(self, seqid, iprot, oprot):
10037
    args = getAllItemstoListOnFbd_args()
10038
    args.read(iprot)
10039
    iprot.readMessageEnd()
10040
    result = getAllItemstoListOnFbd_result()
10041
    result.success = self._handler.getAllItemstoListOnFbd()
10042
    oprot.writeMessageBegin("getAllItemstoListOnFbd", TMessageType.REPLY, seqid)
10043
    result.write(oprot)
10044
    oprot.writeMessageEnd()
10045
    oprot.trans.flush()
14182 kshitij.so 10046
 
15706 kshitij.so 10047
  def process_getAllFbdListedItems(self, seqid, iprot, oprot):
10048
    args = getAllFbdListedItems_args()
10049
    args.read(iprot)
10050
    iprot.readMessageEnd()
10051
    result = getAllFbdListedItems_result()
10052
    result.success = self._handler.getAllFbdListedItems()
10053
    oprot.writeMessageBegin("getAllFbdListedItems", TMessageType.REPLY, seqid)
10054
    result.write(oprot)
10055
    oprot.writeMessageEnd()
10056
    oprot.trans.flush()
15702 kshitij.so 10057
 
18150 kshitij.so 10058
  def process_getBulkPricingForItems(self, seqid, iprot, oprot):
10059
    args = getBulkPricingForItems_args()
10060
    args.read(iprot)
10061
    iprot.readMessageEnd()
10062
    result = getBulkPricingForItems_result()
10063
    result.success = self._handler.getBulkPricingForItems(args.itemIds)
10064
    oprot.writeMessageBegin("getBulkPricingForItems", TMessageType.REPLY, seqid)
10065
    result.write(oprot)
10066
    oprot.writeMessageEnd()
10067
    oprot.trans.flush()
15706 kshitij.so 10068
 
18150 kshitij.so 10069
  def process_addBulkPricingForItem(self, seqid, iprot, oprot):
10070
    args = addBulkPricingForItem_args()
10071
    args.read(iprot)
10072
    iprot.readMessageEnd()
10073
    result = addBulkPricingForItem_result()
10074
    result.success = self._handler.addBulkPricingForItem(args.bulkItemPricing)
10075
    oprot.writeMessageBegin("addBulkPricingForItem", TMessageType.REPLY, seqid)
10076
    result.write(oprot)
10077
    oprot.writeMessageEnd()
10078
    oprot.trans.flush()
10079
 
10080
  def process_deleteBulkPricingForItemById(self, seqid, iprot, oprot):
10081
    args = deleteBulkPricingForItemById_args()
10082
    args.read(iprot)
10083
    iprot.readMessageEnd()
10084
    result = deleteBulkPricingForItemById_result()
10085
    result.success = self._handler.deleteBulkPricingForItemById(args.id)
10086
    oprot.writeMessageBegin("deleteBulkPricingForItemById", TMessageType.REPLY, seqid)
10087
    result.write(oprot)
10088
    oprot.writeMessageEnd()
10089
    oprot.trans.flush()
10090
 
10091
  def process_deleteBulkPricingForItem(self, seqid, iprot, oprot):
10092
    args = deleteBulkPricingForItem_args()
10093
    args.read(iprot)
10094
    iprot.readMessageEnd()
10095
    result = deleteBulkPricingForItem_result()
10096
    result.success = self._handler.deleteBulkPricingForItem(args.item_id)
10097
    oprot.writeMessageBegin("deleteBulkPricingForItem", TMessageType.REPLY, seqid)
10098
    result.write(oprot)
10099
    oprot.writeMessageEnd()
10100
    oprot.trans.flush()
10101
 
10102
  def process_getBulkPricingByItemId(self, seqid, iprot, oprot):
10103
    args = getBulkPricingByItemId_args()
10104
    args.read(iprot)
10105
    iprot.readMessageEnd()
10106
    result = getBulkPricingByItemId_result()
10107
    result.success = self._handler.getBulkPricingByItemId(args.item_id)
10108
    oprot.writeMessageBegin("getBulkPricingByItemId", TMessageType.REPLY, seqid)
10109
    result.write(oprot)
10110
    oprot.writeMessageEnd()
10111
    oprot.trans.flush()
10112
 
18602 kshitij.so 10113
  def process_updateBulkPricesOnProduction(self, seqid, iprot, oprot):
10114
    args = updateBulkPricesOnProduction_args()
10115
    args.read(iprot)
10116
    iprot.readMessageEnd()
10117
    result = updateBulkPricesOnProduction_result()
10118
    result.success = self._handler.updateBulkPricesOnProduction(args.item_id, args.bulkItemPricingList)
10119
    oprot.writeMessageBegin("updateBulkPricesOnProduction", TMessageType.REPLY, seqid)
10120
    result.write(oprot)
10121
    oprot.writeMessageEnd()
10122
    oprot.trans.flush()
18150 kshitij.so 10123
 
18764 kshitij.so 10124
  def process_getCartByValue(self, seqid, iprot, oprot):
10125
    args = getCartByValue_args()
10126
    args.read(iprot)
10127
    iprot.readMessageEnd()
10128
    result = getCartByValue_result()
10129
    result.success = self._handler.getCartByValue(args.cartIds)
10130
    oprot.writeMessageBegin("getCartByValue", TMessageType.REPLY, seqid)
10131
    result.write(oprot)
10132
    oprot.writeMessageEnd()
10133
    oprot.trans.flush()
18602 kshitij.so 10134
 
19247 kshitij.so 10135
  def process_updateItemPricing(self, seqid, iprot, oprot):
10136
    args = updateItemPricing_args()
10137
    args.read(iprot)
10138
    iprot.readMessageEnd()
10139
    result = updateItemPricing_result()
10140
    result.success = self._handler.updateItemPricing(args.itemPricingList)
10141
    oprot.writeMessageBegin("updateItemPricing", TMessageType.REPLY, seqid)
10142
    result.write(oprot)
10143
    oprot.writeMessageEnd()
10144
    oprot.trans.flush()
18764 kshitij.so 10145
 
19686 kshitij.so 10146
  def process_bulkUpdateCatalog(self, seqid, iprot, oprot):
10147
    args = bulkUpdateCatalog_args()
10148
    args.read(iprot)
10149
    iprot.readMessageEnd()
10150
    result = bulkUpdateCatalog_result()
10151
    try:
10152
      self._handler.bulkUpdateCatalog(args.bulkUploadCatalog)
10153
    except CatalogServiceException, cex:
10154
      result.cex = cex
10155
    oprot.writeMessageBegin("bulkUpdateCatalog", TMessageType.REPLY, seqid)
10156
    result.write(oprot)
10157
    oprot.writeMessageEnd()
10158
    oprot.trans.flush()
19247 kshitij.so 10159
 
19691 manish.sha 10160
  def process_getWarrantyInfoForItem(self, seqid, iprot, oprot):
10161
    args = getWarrantyInfoForItem_args()
10162
    args.read(iprot)
10163
    iprot.readMessageEnd()
10164
    result = getWarrantyInfoForItem_result()
10165
    try:
19714 manish.sha 10166
      result.success = self._handler.getWarrantyInfoForItem(args.catalogItemId, args.itemCondition)
19691 manish.sha 10167
    except CatalogServiceException, cex:
10168
      result.cex = cex
10169
    oprot.writeMessageBegin("getWarrantyInfoForItem", TMessageType.REPLY, seqid)
10170
    result.write(oprot)
10171
    oprot.writeMessageEnd()
10172
    oprot.trans.flush()
19686 kshitij.so 10173
 
19714 manish.sha 10174
  def process_getWarrantyInfoForItemList(self, seqid, iprot, oprot):
10175
    args = getWarrantyInfoForItemList_args()
10176
    args.read(iprot)
10177
    iprot.readMessageEnd()
10178
    result = getWarrantyInfoForItemList_result()
10179
    try:
10180
      result.success = self._handler.getWarrantyInfoForItemList(args.catalogItemIds, args.itemCondition)
10181
    except CatalogServiceException, cex:
10182
      result.cex = cex
10183
    oprot.writeMessageBegin("getWarrantyInfoForItemList", TMessageType.REPLY, seqid)
10184
    result.write(oprot)
10185
    oprot.writeMessageEnd()
10186
    oprot.trans.flush()
19691 manish.sha 10187
 
21838 amit.gupta 10188
  def process_getGstRatesByState(self, seqid, iprot, oprot):
10189
    args = getGstRatesByState_args()
10190
    args.read(iprot)
10191
    iprot.readMessageEnd()
10192
    result = getGstRatesByState_result()
10193
    try:
10194
      result.success = self._handler.getGstRatesByState(args.stateId)
10195
    except CatalogServiceException, cex:
10196
      result.cex = cex
10197
    oprot.writeMessageBegin("getGstRatesByState", TMessageType.REPLY, seqid)
10198
    result.write(oprot)
10199
    oprot.writeMessageEnd()
10200
    oprot.trans.flush()
19714 manish.sha 10201
 
21838 amit.gupta 10202
  def process_getInterStateGstRates(self, seqid, iprot, oprot):
10203
    args = getInterStateGstRates_args()
10204
    args.read(iprot)
10205
    iprot.readMessageEnd()
10206
    result = getInterStateGstRates_result()
10207
    try:
10208
      result.success = self._handler.getInterStateGstRates()
10209
    except CatalogServiceException, cex:
10210
      result.cex = cex
10211
    oprot.writeMessageBegin("getInterStateGstRates", TMessageType.REPLY, seqid)
10212
    result.write(oprot)
10213
    oprot.writeMessageEnd()
10214
    oprot.trans.flush()
10215
 
10216
  def process_getHsnCodesByCategory(self, seqid, iprot, oprot):
10217
    args = getHsnCodesByCategory_args()
10218
    args.read(iprot)
10219
    iprot.readMessageEnd()
10220
    result = getHsnCodesByCategory_result()
10221
    try:
10222
      result.success = self._handler.getHsnCodesByCategory(args.categoryId)
10223
    except CatalogServiceException, cex:
10224
      result.cex = cex
10225
    oprot.writeMessageBegin("getHsnCodesByCategory", TMessageType.REPLY, seqid)
10226
    result.write(oprot)
10227
    oprot.writeMessageEnd()
10228
    oprot.trans.flush()
10229
 
10230
 
5944 mandeep.dh 10231
# HELPER FUNCTIONS AND STRUCTURES
10232
 
10233
class addItem_args:
10234
  """
10235
  Attributes:
10236
   - item
10237
  """
10238
 
10239
  thrift_spec = (
10240
    None, # 0
10241
    (1, TType.STRUCT, 'item', (Item, Item.thrift_spec), None, ), # 1
10242
  )
10243
 
10244
  def __init__(self, item=None,):
10245
    self.item = item
10246
 
10247
  def read(self, iprot):
10248
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
10249
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
10250
      return
10251
    iprot.readStructBegin()
10252
    while True:
10253
      (fname, ftype, fid) = iprot.readFieldBegin()
10254
      if ftype == TType.STOP:
10255
        break
10256
      if fid == 1:
10257
        if ftype == TType.STRUCT:
10258
          self.item = Item()
10259
          self.item.read(iprot)
10260
        else:
10261
          iprot.skip(ftype)
10262
      else:
10263
        iprot.skip(ftype)
10264
      iprot.readFieldEnd()
10265
    iprot.readStructEnd()
10266
 
10267
  def write(self, oprot):
10268
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
10269
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
10270
      return
10271
    oprot.writeStructBegin('addItem_args')
10272
    if self.item is not None:
10273
      oprot.writeFieldBegin('item', TType.STRUCT, 1)
10274
      self.item.write(oprot)
10275
      oprot.writeFieldEnd()
10276
    oprot.writeFieldStop()
10277
    oprot.writeStructEnd()
10278
 
10279
  def validate(self):
10280
    return
10281
 
10282
 
10283
  def __repr__(self):
10284
    L = ['%s=%r' % (key, value)
10285
      for key, value in self.__dict__.iteritems()]
10286
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
10287
 
10288
  def __eq__(self, other):
10289
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
10290
 
10291
  def __ne__(self, other):
10292
    return not (self == other)
10293
 
10294
class addItem_result:
10295
  """
10296
  Attributes:
10297
   - success
10298
   - cex
10299
  """
10300
 
10301
  thrift_spec = (
10302
    (0, TType.I64, 'success', None, None, ), # 0
10303
    (1, TType.STRUCT, 'cex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
10304
  )
10305
 
10306
  def __init__(self, success=None, cex=None,):
10307
    self.success = success
10308
    self.cex = cex
10309
 
10310
  def read(self, iprot):
10311
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
10312
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
10313
      return
10314
    iprot.readStructBegin()
10315
    while True:
10316
      (fname, ftype, fid) = iprot.readFieldBegin()
10317
      if ftype == TType.STOP:
10318
        break
10319
      if fid == 0:
10320
        if ftype == TType.I64:
10321
          self.success = iprot.readI64();
10322
        else:
10323
          iprot.skip(ftype)
10324
      elif fid == 1:
10325
        if ftype == TType.STRUCT:
10326
          self.cex = CatalogServiceException()
10327
          self.cex.read(iprot)
10328
        else:
10329
          iprot.skip(ftype)
10330
      else:
10331
        iprot.skip(ftype)
10332
      iprot.readFieldEnd()
10333
    iprot.readStructEnd()
10334
 
10335
  def write(self, oprot):
10336
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
10337
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
10338
      return
10339
    oprot.writeStructBegin('addItem_result')
10340
    if self.success is not None:
10341
      oprot.writeFieldBegin('success', TType.I64, 0)
10342
      oprot.writeI64(self.success)
10343
      oprot.writeFieldEnd()
10344
    if self.cex is not None:
10345
      oprot.writeFieldBegin('cex', TType.STRUCT, 1)
10346
      self.cex.write(oprot)
10347
      oprot.writeFieldEnd()
10348
    oprot.writeFieldStop()
10349
    oprot.writeStructEnd()
10350
 
10351
  def validate(self):
10352
    return
10353
 
10354
 
10355
  def __repr__(self):
10356
    L = ['%s=%r' % (key, value)
10357
      for key, value in self.__dict__.iteritems()]
10358
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
10359
 
10360
  def __eq__(self, other):
10361
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
10362
 
10363
  def __ne__(self, other):
10364
    return not (self == other)
10365
 
10366
class updateItem_args:
10367
  """
10368
  Attributes:
10369
   - item
10370
  """
10371
 
10372
  thrift_spec = (
10373
    None, # 0
10374
    (1, TType.STRUCT, 'item', (Item, Item.thrift_spec), None, ), # 1
10375
  )
10376
 
10377
  def __init__(self, item=None,):
10378
    self.item = item
10379
 
10380
  def read(self, iprot):
10381
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
10382
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
10383
      return
10384
    iprot.readStructBegin()
10385
    while True:
10386
      (fname, ftype, fid) = iprot.readFieldBegin()
10387
      if ftype == TType.STOP:
10388
        break
10389
      if fid == 1:
10390
        if ftype == TType.STRUCT:
10391
          self.item = Item()
10392
          self.item.read(iprot)
10393
        else:
10394
          iprot.skip(ftype)
10395
      else:
10396
        iprot.skip(ftype)
10397
      iprot.readFieldEnd()
10398
    iprot.readStructEnd()
10399
 
10400
  def write(self, oprot):
10401
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
10402
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
10403
      return
10404
    oprot.writeStructBegin('updateItem_args')
10405
    if self.item is not None:
10406
      oprot.writeFieldBegin('item', TType.STRUCT, 1)
10407
      self.item.write(oprot)
10408
      oprot.writeFieldEnd()
10409
    oprot.writeFieldStop()
10410
    oprot.writeStructEnd()
10411
 
10412
  def validate(self):
10413
    return
10414
 
10415
 
10416
  def __repr__(self):
10417
    L = ['%s=%r' % (key, value)
10418
      for key, value in self.__dict__.iteritems()]
10419
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
10420
 
10421
  def __eq__(self, other):
10422
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
10423
 
10424
  def __ne__(self, other):
10425
    return not (self == other)
10426
 
10427
class updateItem_result:
10428
  """
10429
  Attributes:
10430
   - success
10431
   - cex
10432
  """
10433
 
10434
  thrift_spec = (
10435
    (0, TType.I64, 'success', None, None, ), # 0
10436
    (1, TType.STRUCT, 'cex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
10437
  )
10438
 
10439
  def __init__(self, success=None, cex=None,):
10440
    self.success = success
10441
    self.cex = cex
10442
 
10443
  def read(self, iprot):
10444
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
10445
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
10446
      return
10447
    iprot.readStructBegin()
10448
    while True:
10449
      (fname, ftype, fid) = iprot.readFieldBegin()
10450
      if ftype == TType.STOP:
10451
        break
10452
      if fid == 0:
10453
        if ftype == TType.I64:
10454
          self.success = iprot.readI64();
10455
        else:
10456
          iprot.skip(ftype)
10457
      elif fid == 1:
10458
        if ftype == TType.STRUCT:
10459
          self.cex = CatalogServiceException()
10460
          self.cex.read(iprot)
10461
        else:
10462
          iprot.skip(ftype)
10463
      else:
10464
        iprot.skip(ftype)
10465
      iprot.readFieldEnd()
10466
    iprot.readStructEnd()
10467
 
10468
  def write(self, oprot):
10469
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
10470
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
10471
      return
10472
    oprot.writeStructBegin('updateItem_result')
10473
    if self.success is not None:
10474
      oprot.writeFieldBegin('success', TType.I64, 0)
10475
      oprot.writeI64(self.success)
10476
      oprot.writeFieldEnd()
10477
    if self.cex is not None:
10478
      oprot.writeFieldBegin('cex', TType.STRUCT, 1)
10479
      self.cex.write(oprot)
10480
      oprot.writeFieldEnd()
10481
    oprot.writeFieldStop()
10482
    oprot.writeStructEnd()
10483
 
10484
  def validate(self):
10485
    return
10486
 
10487
 
10488
  def __repr__(self):
10489
    L = ['%s=%r' % (key, value)
10490
      for key, value in self.__dict__.iteritems()]
10491
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
10492
 
10493
  def __eq__(self, other):
10494
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
10495
 
10496
  def __ne__(self, other):
10497
    return not (self == other)
10498
 
10499
class isActive_args:
10500
  """
10501
  Attributes:
10502
   - itemId
10503
  """
10504
 
10505
  thrift_spec = (
10506
    None, # 0
10507
    (1, TType.I64, 'itemId', None, None, ), # 1
10508
  )
10509
 
10510
  def __init__(self, itemId=None,):
10511
    self.itemId = itemId
10512
 
10513
  def read(self, iprot):
10514
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
10515
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
10516
      return
10517
    iprot.readStructBegin()
10518
    while True:
10519
      (fname, ftype, fid) = iprot.readFieldBegin()
10520
      if ftype == TType.STOP:
10521
        break
10522
      if fid == 1:
10523
        if ftype == TType.I64:
10524
          self.itemId = iprot.readI64();
10525
        else:
10526
          iprot.skip(ftype)
10527
      else:
10528
        iprot.skip(ftype)
10529
      iprot.readFieldEnd()
10530
    iprot.readStructEnd()
10531
 
10532
  def write(self, oprot):
10533
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
10534
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
10535
      return
10536
    oprot.writeStructBegin('isActive_args')
10537
    if self.itemId is not None:
10538
      oprot.writeFieldBegin('itemId', TType.I64, 1)
10539
      oprot.writeI64(self.itemId)
10540
      oprot.writeFieldEnd()
10541
    oprot.writeFieldStop()
10542
    oprot.writeStructEnd()
10543
 
10544
  def validate(self):
10545
    return
10546
 
10547
 
10548
  def __repr__(self):
10549
    L = ['%s=%r' % (key, value)
10550
      for key, value in self.__dict__.iteritems()]
10551
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
10552
 
10553
  def __eq__(self, other):
10554
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
10555
 
10556
  def __ne__(self, other):
10557
    return not (self == other)
10558
 
10559
class isActive_result:
10560
  """
10561
  Attributes:
10562
   - success
10563
   - isex
10564
  """
10565
 
10566
  thrift_spec = (
10567
    (0, TType.STRUCT, 'success', (ItemShippingInfo, ItemShippingInfo.thrift_spec), None, ), # 0
10568
    (1, TType.STRUCT, 'isex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
10569
  )
10570
 
10571
  def __init__(self, success=None, isex=None,):
10572
    self.success = success
10573
    self.isex = isex
10574
 
10575
  def read(self, iprot):
10576
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
10577
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
10578
      return
10579
    iprot.readStructBegin()
10580
    while True:
10581
      (fname, ftype, fid) = iprot.readFieldBegin()
10582
      if ftype == TType.STOP:
10583
        break
10584
      if fid == 0:
10585
        if ftype == TType.STRUCT:
10586
          self.success = ItemShippingInfo()
10587
          self.success.read(iprot)
10588
        else:
10589
          iprot.skip(ftype)
10590
      elif fid == 1:
10591
        if ftype == TType.STRUCT:
10592
          self.isex = CatalogServiceException()
10593
          self.isex.read(iprot)
10594
        else:
10595
          iprot.skip(ftype)
10596
      else:
10597
        iprot.skip(ftype)
10598
      iprot.readFieldEnd()
10599
    iprot.readStructEnd()
10600
 
10601
  def write(self, oprot):
10602
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
10603
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
10604
      return
10605
    oprot.writeStructBegin('isActive_result')
10606
    if self.success is not None:
10607
      oprot.writeFieldBegin('success', TType.STRUCT, 0)
10608
      self.success.write(oprot)
10609
      oprot.writeFieldEnd()
10610
    if self.isex is not None:
10611
      oprot.writeFieldBegin('isex', TType.STRUCT, 1)
10612
      self.isex.write(oprot)
10613
      oprot.writeFieldEnd()
10614
    oprot.writeFieldStop()
10615
    oprot.writeStructEnd()
10616
 
10617
  def validate(self):
10618
    return
10619
 
10620
 
10621
  def __repr__(self):
10622
    L = ['%s=%r' % (key, value)
10623
      for key, value in self.__dict__.iteritems()]
10624
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
10625
 
10626
  def __eq__(self, other):
10627
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
10628
 
10629
  def __ne__(self, other):
10630
    return not (self == other)
10631
 
7438 amit.gupta 10632
class getItemsStatus_args:
10633
  """
10634
  Attributes:
10635
   - itemIds
10636
  """
10637
 
10638
  thrift_spec = (
10639
    None, # 0
10640
    (1, TType.LIST, 'itemIds', (TType.I64,None), None, ), # 1
10641
  )
10642
 
10643
  def __init__(self, itemIds=None,):
10644
    self.itemIds = itemIds
10645
 
10646
  def read(self, iprot):
10647
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
10648
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
10649
      return
10650
    iprot.readStructBegin()
10651
    while True:
10652
      (fname, ftype, fid) = iprot.readFieldBegin()
10653
      if ftype == TType.STOP:
10654
        break
10655
      if fid == 1:
10656
        if ftype == TType.LIST:
10657
          self.itemIds = []
21838 amit.gupta 10658
          (_etype51, _size48) = iprot.readListBegin()
10659
          for _i52 in xrange(_size48):
10660
            _elem53 = iprot.readI64();
10661
            self.itemIds.append(_elem53)
7438 amit.gupta 10662
          iprot.readListEnd()
10663
        else:
10664
          iprot.skip(ftype)
10665
      else:
10666
        iprot.skip(ftype)
10667
      iprot.readFieldEnd()
10668
    iprot.readStructEnd()
10669
 
10670
  def write(self, oprot):
10671
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
10672
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
10673
      return
10674
    oprot.writeStructBegin('getItemsStatus_args')
10675
    if self.itemIds is not None:
10676
      oprot.writeFieldBegin('itemIds', TType.LIST, 1)
10677
      oprot.writeListBegin(TType.I64, len(self.itemIds))
21838 amit.gupta 10678
      for iter54 in self.itemIds:
10679
        oprot.writeI64(iter54)
7438 amit.gupta 10680
      oprot.writeListEnd()
10681
      oprot.writeFieldEnd()
10682
    oprot.writeFieldStop()
10683
    oprot.writeStructEnd()
10684
 
10685
  def validate(self):
10686
    return
10687
 
10688
 
10689
  def __repr__(self):
10690
    L = ['%s=%r' % (key, value)
10691
      for key, value in self.__dict__.iteritems()]
10692
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
10693
 
10694
  def __eq__(self, other):
10695
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
10696
 
10697
  def __ne__(self, other):
10698
    return not (self == other)
10699
 
10700
class getItemsStatus_result:
10701
  """
10702
  Attributes:
10703
   - success
10704
   - isex
10705
  """
10706
 
10707
  thrift_spec = (
10708
    (0, TType.MAP, 'success', (TType.I64,None,TType.BOOL,None), None, ), # 0
10709
    (1, TType.STRUCT, 'isex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
10710
  )
10711
 
10712
  def __init__(self, success=None, isex=None,):
10713
    self.success = success
10714
    self.isex = isex
10715
 
10716
  def read(self, iprot):
10717
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
10718
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
10719
      return
10720
    iprot.readStructBegin()
10721
    while True:
10722
      (fname, ftype, fid) = iprot.readFieldBegin()
10723
      if ftype == TType.STOP:
10724
        break
10725
      if fid == 0:
10726
        if ftype == TType.MAP:
10727
          self.success = {}
21838 amit.gupta 10728
          (_ktype56, _vtype57, _size55 ) = iprot.readMapBegin() 
10729
          for _i59 in xrange(_size55):
10730
            _key60 = iprot.readI64();
10731
            _val61 = iprot.readBool();
10732
            self.success[_key60] = _val61
7438 amit.gupta 10733
          iprot.readMapEnd()
10734
        else:
10735
          iprot.skip(ftype)
10736
      elif fid == 1:
10737
        if ftype == TType.STRUCT:
10738
          self.isex = CatalogServiceException()
10739
          self.isex.read(iprot)
10740
        else:
10741
          iprot.skip(ftype)
10742
      else:
10743
        iprot.skip(ftype)
10744
      iprot.readFieldEnd()
10745
    iprot.readStructEnd()
10746
 
10747
  def write(self, oprot):
10748
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
10749
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
10750
      return
10751
    oprot.writeStructBegin('getItemsStatus_result')
10752
    if self.success is not None:
10753
      oprot.writeFieldBegin('success', TType.MAP, 0)
10754
      oprot.writeMapBegin(TType.I64, TType.BOOL, len(self.success))
21838 amit.gupta 10755
      for kiter62,viter63 in self.success.items():
10756
        oprot.writeI64(kiter62)
10757
        oprot.writeBool(viter63)
7438 amit.gupta 10758
      oprot.writeMapEnd()
10759
      oprot.writeFieldEnd()
10760
    if self.isex is not None:
10761
      oprot.writeFieldBegin('isex', TType.STRUCT, 1)
10762
      self.isex.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
 
5944 mandeep.dh 10782
class getItemStatusDescription_args:
10783
  """
10784
  Attributes:
10785
   - itemId
10786
  """
10787
 
10788
  thrift_spec = (
10789
    None, # 0
10790
    (1, TType.I64, 'itemId', None, None, ), # 1
10791
  )
10792
 
10793
  def __init__(self, itemId=None,):
10794
    self.itemId = itemId
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.I64:
10807
          self.itemId = iprot.readI64();
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('getItemStatusDescription_args')
10820
    if self.itemId is not None:
10821
      oprot.writeFieldBegin('itemId', TType.I64, 1)
10822
      oprot.writeI64(self.itemId)
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 getItemStatusDescription_result:
10843
  """
10844
  Attributes:
10845
   - success
10846
   - isex
10847
  """
10848
 
10849
  thrift_spec = (
10850
    (0, TType.STRING, 'success', None, None, ), # 0
10851
    (1, TType.STRUCT, 'isex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
10852
  )
10853
 
10854
  def __init__(self, success=None, isex=None,):
10855
    self.success = success
10856
    self.isex = isex
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.STRING:
10869
          self.success = iprot.readString();
10870
        else:
10871
          iprot.skip(ftype)
10872
      elif fid == 1:
10873
        if ftype == TType.STRUCT:
10874
          self.isex = CatalogServiceException()
10875
          self.isex.read(iprot)
10876
        else:
10877
          iprot.skip(ftype)
10878
      else:
10879
        iprot.skip(ftype)
10880
      iprot.readFieldEnd()
10881
    iprot.readStructEnd()
10882
 
10883
  def write(self, oprot):
10884
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
10885
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
10886
      return
10887
    oprot.writeStructBegin('getItemStatusDescription_result')
10888
    if self.success is not None:
10889
      oprot.writeFieldBegin('success', TType.STRING, 0)
10890
      oprot.writeString(self.success)
10891
      oprot.writeFieldEnd()
10892
    if self.isex is not None:
10893
      oprot.writeFieldBegin('isex', TType.STRUCT, 1)
10894
      self.isex.write(oprot)
10895
      oprot.writeFieldEnd()
10896
    oprot.writeFieldStop()
10897
    oprot.writeStructEnd()
10898
 
10899
  def validate(self):
10900
    return
10901
 
10902
 
10903
  def __repr__(self):
10904
    L = ['%s=%r' % (key, value)
10905
      for key, value in self.__dict__.iteritems()]
10906
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
10907
 
10908
  def __eq__(self, other):
10909
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
10910
 
10911
  def __ne__(self, other):
10912
    return not (self == other)
10913
 
10914
class startItemOn_args:
10915
  """
10916
  Attributes:
10917
   - item_id
10918
   - timestamp
10919
  """
10920
 
10921
  thrift_spec = (
10922
    None, # 0
10923
    (1, TType.I64, 'item_id', None, None, ), # 1
10924
    (2, TType.I64, 'timestamp', None, None, ), # 2
10925
  )
10926
 
10927
  def __init__(self, item_id=None, timestamp=None,):
10928
    self.item_id = item_id
10929
    self.timestamp = timestamp
10930
 
10931
  def read(self, iprot):
10932
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
10933
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
10934
      return
10935
    iprot.readStructBegin()
10936
    while True:
10937
      (fname, ftype, fid) = iprot.readFieldBegin()
10938
      if ftype == TType.STOP:
10939
        break
10940
      if fid == 1:
10941
        if ftype == TType.I64:
10942
          self.item_id = iprot.readI64();
10943
        else:
10944
          iprot.skip(ftype)
10945
      elif fid == 2:
10946
        if ftype == TType.I64:
10947
          self.timestamp = iprot.readI64();
10948
        else:
10949
          iprot.skip(ftype)
10950
      else:
10951
        iprot.skip(ftype)
10952
      iprot.readFieldEnd()
10953
    iprot.readStructEnd()
10954
 
10955
  def write(self, oprot):
10956
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
10957
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
10958
      return
10959
    oprot.writeStructBegin('startItemOn_args')
10960
    if self.item_id is not None:
10961
      oprot.writeFieldBegin('item_id', TType.I64, 1)
10962
      oprot.writeI64(self.item_id)
10963
      oprot.writeFieldEnd()
10964
    if self.timestamp is not None:
10965
      oprot.writeFieldBegin('timestamp', TType.I64, 2)
10966
      oprot.writeI64(self.timestamp)
10967
      oprot.writeFieldEnd()
10968
    oprot.writeFieldStop()
10969
    oprot.writeStructEnd()
10970
 
10971
  def validate(self):
10972
    return
10973
 
10974
 
10975
  def __repr__(self):
10976
    L = ['%s=%r' % (key, value)
10977
      for key, value in self.__dict__.iteritems()]
10978
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
10979
 
10980
  def __eq__(self, other):
10981
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
10982
 
10983
  def __ne__(self, other):
10984
    return not (self == other)
10985
 
10986
class startItemOn_result:
10987
  """
10988
  Attributes:
10989
   - cex
10990
  """
10991
 
10992
  thrift_spec = (
10993
    None, # 0
10994
    (1, TType.STRUCT, 'cex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
10995
  )
10996
 
10997
  def __init__(self, cex=None,):
10998
    self.cex = cex
10999
 
11000
  def read(self, iprot):
11001
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
11002
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
11003
      return
11004
    iprot.readStructBegin()
11005
    while True:
11006
      (fname, ftype, fid) = iprot.readFieldBegin()
11007
      if ftype == TType.STOP:
11008
        break
11009
      if fid == 1:
11010
        if ftype == TType.STRUCT:
11011
          self.cex = CatalogServiceException()
11012
          self.cex.read(iprot)
11013
        else:
11014
          iprot.skip(ftype)
11015
      else:
11016
        iprot.skip(ftype)
11017
      iprot.readFieldEnd()
11018
    iprot.readStructEnd()
11019
 
11020
  def write(self, oprot):
11021
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
11022
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
11023
      return
11024
    oprot.writeStructBegin('startItemOn_result')
11025
    if self.cex is not None:
11026
      oprot.writeFieldBegin('cex', TType.STRUCT, 1)
11027
      self.cex.write(oprot)
11028
      oprot.writeFieldEnd()
11029
    oprot.writeFieldStop()
11030
    oprot.writeStructEnd()
11031
 
11032
  def validate(self):
11033
    return
11034
 
11035
 
11036
  def __repr__(self):
11037
    L = ['%s=%r' % (key, value)
11038
      for key, value in self.__dict__.iteritems()]
11039
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
11040
 
11041
  def __eq__(self, other):
11042
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
11043
 
11044
  def __ne__(self, other):
11045
    return not (self == other)
11046
 
11047
class retireItemOn_args:
11048
  """
11049
  Attributes:
11050
   - item_id
11051
   - timestamp
11052
  """
11053
 
11054
  thrift_spec = (
11055
    None, # 0
11056
    (1, TType.I64, 'item_id', None, None, ), # 1
11057
    (2, TType.I64, 'timestamp', None, None, ), # 2
11058
  )
11059
 
11060
  def __init__(self, item_id=None, timestamp=None,):
11061
    self.item_id = item_id
11062
    self.timestamp = timestamp
11063
 
11064
  def read(self, iprot):
11065
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
11066
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
11067
      return
11068
    iprot.readStructBegin()
11069
    while True:
11070
      (fname, ftype, fid) = iprot.readFieldBegin()
11071
      if ftype == TType.STOP:
11072
        break
11073
      if fid == 1:
11074
        if ftype == TType.I64:
11075
          self.item_id = iprot.readI64();
11076
        else:
11077
          iprot.skip(ftype)
11078
      elif fid == 2:
11079
        if ftype == TType.I64:
11080
          self.timestamp = iprot.readI64();
11081
        else:
11082
          iprot.skip(ftype)
11083
      else:
11084
        iprot.skip(ftype)
11085
      iprot.readFieldEnd()
11086
    iprot.readStructEnd()
11087
 
11088
  def write(self, oprot):
11089
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
11090
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
11091
      return
11092
    oprot.writeStructBegin('retireItemOn_args')
11093
    if self.item_id is not None:
11094
      oprot.writeFieldBegin('item_id', TType.I64, 1)
11095
      oprot.writeI64(self.item_id)
11096
      oprot.writeFieldEnd()
11097
    if self.timestamp is not None:
11098
      oprot.writeFieldBegin('timestamp', TType.I64, 2)
11099
      oprot.writeI64(self.timestamp)
11100
      oprot.writeFieldEnd()
11101
    oprot.writeFieldStop()
11102
    oprot.writeStructEnd()
11103
 
11104
  def validate(self):
11105
    return
11106
 
11107
 
11108
  def __repr__(self):
11109
    L = ['%s=%r' % (key, value)
11110
      for key, value in self.__dict__.iteritems()]
11111
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
11112
 
11113
  def __eq__(self, other):
11114
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
11115
 
11116
  def __ne__(self, other):
11117
    return not (self == other)
11118
 
11119
class retireItemOn_result:
11120
  """
11121
  Attributes:
11122
   - cex
11123
  """
11124
 
11125
  thrift_spec = (
11126
    None, # 0
11127
    (1, TType.STRUCT, 'cex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
11128
  )
11129
 
11130
  def __init__(self, cex=None,):
11131
    self.cex = cex
11132
 
11133
  def read(self, iprot):
11134
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
11135
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
11136
      return
11137
    iprot.readStructBegin()
11138
    while True:
11139
      (fname, ftype, fid) = iprot.readFieldBegin()
11140
      if ftype == TType.STOP:
11141
        break
11142
      if fid == 1:
11143
        if ftype == TType.STRUCT:
11144
          self.cex = CatalogServiceException()
11145
          self.cex.read(iprot)
11146
        else:
11147
          iprot.skip(ftype)
11148
      else:
11149
        iprot.skip(ftype)
11150
      iprot.readFieldEnd()
11151
    iprot.readStructEnd()
11152
 
11153
  def write(self, oprot):
11154
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
11155
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
11156
      return
11157
    oprot.writeStructBegin('retireItemOn_result')
11158
    if self.cex is not None:
11159
      oprot.writeFieldBegin('cex', TType.STRUCT, 1)
11160
      self.cex.write(oprot)
11161
      oprot.writeFieldEnd()
11162
    oprot.writeFieldStop()
11163
    oprot.writeStructEnd()
11164
 
11165
  def validate(self):
11166
    return
11167
 
11168
 
11169
  def __repr__(self):
11170
    L = ['%s=%r' % (key, value)
11171
      for key, value in self.__dict__.iteritems()]
11172
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
11173
 
11174
  def __eq__(self, other):
11175
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
11176
 
11177
  def __ne__(self, other):
11178
    return not (self == other)
11179
 
11180
class changeItemStatus_args:
11181
  """
11182
  Attributes:
11183
   - item_id
11184
   - timestamp
11185
   - newstatus
11186
  """
11187
 
11188
  thrift_spec = (
11189
    None, # 0
11190
    (1, TType.I64, 'item_id', None, None, ), # 1
11191
    (2, TType.I64, 'timestamp', None, None, ), # 2
11192
    (3, TType.I32, 'newstatus', None, None, ), # 3
11193
  )
11194
 
11195
  def __init__(self, item_id=None, timestamp=None, newstatus=None,):
11196
    self.item_id = item_id
11197
    self.timestamp = timestamp
11198
    self.newstatus = newstatus
11199
 
11200
  def read(self, iprot):
11201
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
11202
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
11203
      return
11204
    iprot.readStructBegin()
11205
    while True:
11206
      (fname, ftype, fid) = iprot.readFieldBegin()
11207
      if ftype == TType.STOP:
11208
        break
11209
      if fid == 1:
11210
        if ftype == TType.I64:
11211
          self.item_id = iprot.readI64();
11212
        else:
11213
          iprot.skip(ftype)
11214
      elif fid == 2:
11215
        if ftype == TType.I64:
11216
          self.timestamp = iprot.readI64();
11217
        else:
11218
          iprot.skip(ftype)
11219
      elif fid == 3:
11220
        if ftype == TType.I32:
11221
          self.newstatus = iprot.readI32();
11222
        else:
11223
          iprot.skip(ftype)
11224
      else:
11225
        iprot.skip(ftype)
11226
      iprot.readFieldEnd()
11227
    iprot.readStructEnd()
11228
 
11229
  def write(self, oprot):
11230
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
11231
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
11232
      return
11233
    oprot.writeStructBegin('changeItemStatus_args')
11234
    if self.item_id is not None:
11235
      oprot.writeFieldBegin('item_id', TType.I64, 1)
11236
      oprot.writeI64(self.item_id)
11237
      oprot.writeFieldEnd()
11238
    if self.timestamp is not None:
11239
      oprot.writeFieldBegin('timestamp', TType.I64, 2)
11240
      oprot.writeI64(self.timestamp)
11241
      oprot.writeFieldEnd()
11242
    if self.newstatus is not None:
11243
      oprot.writeFieldBegin('newstatus', TType.I32, 3)
11244
      oprot.writeI32(self.newstatus)
11245
      oprot.writeFieldEnd()
11246
    oprot.writeFieldStop()
11247
    oprot.writeStructEnd()
11248
 
11249
  def validate(self):
11250
    return
11251
 
11252
 
11253
  def __repr__(self):
11254
    L = ['%s=%r' % (key, value)
11255
      for key, value in self.__dict__.iteritems()]
11256
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
11257
 
11258
  def __eq__(self, other):
11259
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
11260
 
11261
  def __ne__(self, other):
11262
    return not (self == other)
11263
 
11264
class changeItemStatus_result:
11265
  """
11266
  Attributes:
11267
   - cex
11268
  """
11269
 
11270
  thrift_spec = (
11271
    None, # 0
11272
    (1, TType.STRUCT, 'cex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
11273
  )
11274
 
11275
  def __init__(self, cex=None,):
11276
    self.cex = cex
11277
 
11278
  def read(self, iprot):
11279
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
11280
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
11281
      return
11282
    iprot.readStructBegin()
11283
    while True:
11284
      (fname, ftype, fid) = iprot.readFieldBegin()
11285
      if ftype == TType.STOP:
11286
        break
11287
      if fid == 1:
11288
        if ftype == TType.STRUCT:
11289
          self.cex = CatalogServiceException()
11290
          self.cex.read(iprot)
11291
        else:
11292
          iprot.skip(ftype)
11293
      else:
11294
        iprot.skip(ftype)
11295
      iprot.readFieldEnd()
11296
    iprot.readStructEnd()
11297
 
11298
  def write(self, oprot):
11299
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
11300
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
11301
      return
11302
    oprot.writeStructBegin('changeItemStatus_result')
11303
    if self.cex is not None:
11304
      oprot.writeFieldBegin('cex', TType.STRUCT, 1)
11305
      self.cex.write(oprot)
11306
      oprot.writeFieldEnd()
11307
    oprot.writeFieldStop()
11308
    oprot.writeStructEnd()
11309
 
11310
  def validate(self):
11311
    return
11312
 
11313
 
11314
  def __repr__(self):
11315
    L = ['%s=%r' % (key, value)
11316
      for key, value in self.__dict__.iteritems()]
11317
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
11318
 
11319
  def __eq__(self, other):
11320
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
11321
 
11322
  def __ne__(self, other):
11323
    return not (self == other)
11324
 
11325
class getItem_args:
11326
  """
11327
  Attributes:
11328
   - item_id
11329
  """
11330
 
11331
  thrift_spec = (
11332
    None, # 0
11333
    (1, TType.I64, 'item_id', None, None, ), # 1
11334
  )
11335
 
11336
  def __init__(self, item_id=None,):
11337
    self.item_id = item_id
11338
 
11339
  def read(self, iprot):
11340
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
11341
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
11342
      return
11343
    iprot.readStructBegin()
11344
    while True:
11345
      (fname, ftype, fid) = iprot.readFieldBegin()
11346
      if ftype == TType.STOP:
11347
        break
11348
      if fid == 1:
11349
        if ftype == TType.I64:
11350
          self.item_id = iprot.readI64();
11351
        else:
11352
          iprot.skip(ftype)
11353
      else:
11354
        iprot.skip(ftype)
11355
      iprot.readFieldEnd()
11356
    iprot.readStructEnd()
11357
 
11358
  def write(self, oprot):
11359
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
11360
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
11361
      return
11362
    oprot.writeStructBegin('getItem_args')
11363
    if self.item_id is not None:
11364
      oprot.writeFieldBegin('item_id', TType.I64, 1)
11365
      oprot.writeI64(self.item_id)
11366
      oprot.writeFieldEnd()
11367
    oprot.writeFieldStop()
11368
    oprot.writeStructEnd()
11369
 
11370
  def validate(self):
11371
    return
11372
 
11373
 
11374
  def __repr__(self):
11375
    L = ['%s=%r' % (key, value)
11376
      for key, value in self.__dict__.iteritems()]
11377
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
11378
 
11379
  def __eq__(self, other):
11380
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
11381
 
11382
  def __ne__(self, other):
11383
    return not (self == other)
11384
 
11385
class getItem_result:
11386
  """
11387
  Attributes:
11388
   - success
11389
   - cex
11390
  """
11391
 
11392
  thrift_spec = (
11393
    (0, TType.STRUCT, 'success', (Item, Item.thrift_spec), None, ), # 0
11394
    (1, TType.STRUCT, 'cex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
11395
  )
11396
 
11397
  def __init__(self, success=None, cex=None,):
11398
    self.success = success
11399
    self.cex = cex
11400
 
11401
  def read(self, iprot):
11402
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
11403
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
11404
      return
11405
    iprot.readStructBegin()
11406
    while True:
11407
      (fname, ftype, fid) = iprot.readFieldBegin()
11408
      if ftype == TType.STOP:
11409
        break
11410
      if fid == 0:
11411
        if ftype == TType.STRUCT:
11412
          self.success = Item()
11413
          self.success.read(iprot)
11414
        else:
11415
          iprot.skip(ftype)
11416
      elif fid == 1:
11417
        if ftype == TType.STRUCT:
11418
          self.cex = CatalogServiceException()
11419
          self.cex.read(iprot)
11420
        else:
11421
          iprot.skip(ftype)
11422
      else:
11423
        iprot.skip(ftype)
11424
      iprot.readFieldEnd()
11425
    iprot.readStructEnd()
11426
 
11427
  def write(self, oprot):
11428
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
11429
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
11430
      return
11431
    oprot.writeStructBegin('getItem_result')
11432
    if self.success is not None:
11433
      oprot.writeFieldBegin('success', TType.STRUCT, 0)
11434
      self.success.write(oprot)
11435
      oprot.writeFieldEnd()
11436
    if self.cex is not None:
11437
      oprot.writeFieldBegin('cex', TType.STRUCT, 1)
11438
      self.cex.write(oprot)
11439
      oprot.writeFieldEnd()
11440
    oprot.writeFieldStop()
11441
    oprot.writeStructEnd()
11442
 
11443
  def validate(self):
11444
    return
11445
 
11446
 
11447
  def __repr__(self):
11448
    L = ['%s=%r' % (key, value)
11449
      for key, value in self.__dict__.iteritems()]
11450
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
11451
 
11452
  def __eq__(self, other):
11453
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
11454
 
11455
  def __ne__(self, other):
11456
    return not (self == other)
11457
 
13493 amit.gupta 11458
class getItems_args:
11459
  """
11460
  Attributes:
11461
   - item_ids
11462
  """
11463
 
11464
  thrift_spec = (
11465
    None, # 0
11466
    (1, TType.LIST, 'item_ids', (TType.I64,None), None, ), # 1
11467
  )
11468
 
11469
  def __init__(self, item_ids=None,):
11470
    self.item_ids = item_ids
11471
 
11472
  def read(self, iprot):
11473
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
11474
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
11475
      return
11476
    iprot.readStructBegin()
11477
    while True:
11478
      (fname, ftype, fid) = iprot.readFieldBegin()
11479
      if ftype == TType.STOP:
11480
        break
11481
      if fid == 1:
11482
        if ftype == TType.LIST:
11483
          self.item_ids = []
21838 amit.gupta 11484
          (_etype67, _size64) = iprot.readListBegin()
11485
          for _i68 in xrange(_size64):
11486
            _elem69 = iprot.readI64();
11487
            self.item_ids.append(_elem69)
13493 amit.gupta 11488
          iprot.readListEnd()
11489
        else:
11490
          iprot.skip(ftype)
11491
      else:
11492
        iprot.skip(ftype)
11493
      iprot.readFieldEnd()
11494
    iprot.readStructEnd()
11495
 
11496
  def write(self, oprot):
11497
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
11498
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
11499
      return
11500
    oprot.writeStructBegin('getItems_args')
11501
    if self.item_ids is not None:
11502
      oprot.writeFieldBegin('item_ids', TType.LIST, 1)
11503
      oprot.writeListBegin(TType.I64, len(self.item_ids))
21838 amit.gupta 11504
      for iter70 in self.item_ids:
11505
        oprot.writeI64(iter70)
13493 amit.gupta 11506
      oprot.writeListEnd()
11507
      oprot.writeFieldEnd()
11508
    oprot.writeFieldStop()
11509
    oprot.writeStructEnd()
11510
 
11511
  def validate(self):
11512
    return
11513
 
11514
 
11515
  def __repr__(self):
11516
    L = ['%s=%r' % (key, value)
11517
      for key, value in self.__dict__.iteritems()]
11518
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
11519
 
11520
  def __eq__(self, other):
11521
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
11522
 
11523
  def __ne__(self, other):
11524
    return not (self == other)
11525
 
11526
class getItems_result:
11527
  """
11528
  Attributes:
11529
   - success
11530
   - cex
11531
  """
11532
 
11533
  thrift_spec = (
11534
    (0, TType.MAP, 'success', (TType.I64,None,TType.STRUCT,(Item, Item.thrift_spec)), None, ), # 0
11535
    (1, TType.STRUCT, 'cex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
11536
  )
11537
 
11538
  def __init__(self, success=None, cex=None,):
11539
    self.success = success
11540
    self.cex = cex
11541
 
11542
  def read(self, iprot):
11543
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
11544
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
11545
      return
11546
    iprot.readStructBegin()
11547
    while True:
11548
      (fname, ftype, fid) = iprot.readFieldBegin()
11549
      if ftype == TType.STOP:
11550
        break
11551
      if fid == 0:
11552
        if ftype == TType.MAP:
11553
          self.success = {}
21838 amit.gupta 11554
          (_ktype72, _vtype73, _size71 ) = iprot.readMapBegin() 
11555
          for _i75 in xrange(_size71):
11556
            _key76 = iprot.readI64();
11557
            _val77 = Item()
11558
            _val77.read(iprot)
11559
            self.success[_key76] = _val77
13493 amit.gupta 11560
          iprot.readMapEnd()
11561
        else:
11562
          iprot.skip(ftype)
11563
      elif fid == 1:
11564
        if ftype == TType.STRUCT:
11565
          self.cex = CatalogServiceException()
11566
          self.cex.read(iprot)
11567
        else:
11568
          iprot.skip(ftype)
11569
      else:
11570
        iprot.skip(ftype)
11571
      iprot.readFieldEnd()
11572
    iprot.readStructEnd()
11573
 
11574
  def write(self, oprot):
11575
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
11576
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
11577
      return
11578
    oprot.writeStructBegin('getItems_result')
11579
    if self.success is not None:
11580
      oprot.writeFieldBegin('success', TType.MAP, 0)
11581
      oprot.writeMapBegin(TType.I64, TType.STRUCT, len(self.success))
21838 amit.gupta 11582
      for kiter78,viter79 in self.success.items():
11583
        oprot.writeI64(kiter78)
11584
        viter79.write(oprot)
13493 amit.gupta 11585
      oprot.writeMapEnd()
11586
      oprot.writeFieldEnd()
11587
    if self.cex is not None:
11588
      oprot.writeFieldBegin('cex', TType.STRUCT, 1)
11589
      self.cex.write(oprot)
11590
      oprot.writeFieldEnd()
11591
    oprot.writeFieldStop()
11592
    oprot.writeStructEnd()
11593
 
11594
  def validate(self):
11595
    return
11596
 
11597
 
11598
  def __repr__(self):
11599
    L = ['%s=%r' % (key, value)
11600
      for key, value in self.__dict__.iteritems()]
11601
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
11602
 
11603
  def __eq__(self, other):
11604
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
11605
 
11606
  def __ne__(self, other):
11607
    return not (self == other)
11608
 
5944 mandeep.dh 11609
class getItemsByCatalogId_args:
11610
  """
11611
  Attributes:
11612
   - catalog_item_id
11613
  """
11614
 
11615
  thrift_spec = (
11616
    None, # 0
11617
    (1, TType.I64, 'catalog_item_id', None, None, ), # 1
11618
  )
11619
 
11620
  def __init__(self, catalog_item_id=None,):
11621
    self.catalog_item_id = catalog_item_id
11622
 
11623
  def read(self, iprot):
11624
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
11625
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
11626
      return
11627
    iprot.readStructBegin()
11628
    while True:
11629
      (fname, ftype, fid) = iprot.readFieldBegin()
11630
      if ftype == TType.STOP:
11631
        break
11632
      if fid == 1:
11633
        if ftype == TType.I64:
11634
          self.catalog_item_id = iprot.readI64();
11635
        else:
11636
          iprot.skip(ftype)
11637
      else:
11638
        iprot.skip(ftype)
11639
      iprot.readFieldEnd()
11640
    iprot.readStructEnd()
11641
 
11642
  def write(self, oprot):
11643
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
11644
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
11645
      return
11646
    oprot.writeStructBegin('getItemsByCatalogId_args')
11647
    if self.catalog_item_id is not None:
11648
      oprot.writeFieldBegin('catalog_item_id', TType.I64, 1)
11649
      oprot.writeI64(self.catalog_item_id)
11650
      oprot.writeFieldEnd()
11651
    oprot.writeFieldStop()
11652
    oprot.writeStructEnd()
11653
 
11654
  def validate(self):
11655
    return
11656
 
11657
 
11658
  def __repr__(self):
11659
    L = ['%s=%r' % (key, value)
11660
      for key, value in self.__dict__.iteritems()]
11661
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
11662
 
11663
  def __eq__(self, other):
11664
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
11665
 
11666
  def __ne__(self, other):
11667
    return not (self == other)
11668
 
11669
class getItemsByCatalogId_result:
11670
  """
11671
  Attributes:
11672
   - success
11673
   - cex
11674
  """
11675
 
11676
  thrift_spec = (
11677
    (0, TType.LIST, 'success', (TType.STRUCT,(Item, Item.thrift_spec)), None, ), # 0
11678
    (1, TType.STRUCT, 'cex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
11679
  )
11680
 
11681
  def __init__(self, success=None, cex=None,):
11682
    self.success = success
11683
    self.cex = cex
11684
 
11685
  def read(self, iprot):
11686
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
11687
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
11688
      return
11689
    iprot.readStructBegin()
11690
    while True:
11691
      (fname, ftype, fid) = iprot.readFieldBegin()
11692
      if ftype == TType.STOP:
11693
        break
11694
      if fid == 0:
11695
        if ftype == TType.LIST:
11696
          self.success = []
21838 amit.gupta 11697
          (_etype83, _size80) = iprot.readListBegin()
11698
          for _i84 in xrange(_size80):
11699
            _elem85 = Item()
11700
            _elem85.read(iprot)
11701
            self.success.append(_elem85)
5944 mandeep.dh 11702
          iprot.readListEnd()
11703
        else:
11704
          iprot.skip(ftype)
11705
      elif fid == 1:
11706
        if ftype == TType.STRUCT:
11707
          self.cex = CatalogServiceException()
11708
          self.cex.read(iprot)
11709
        else:
11710
          iprot.skip(ftype)
11711
      else:
11712
        iprot.skip(ftype)
11713
      iprot.readFieldEnd()
11714
    iprot.readStructEnd()
11715
 
11716
  def write(self, oprot):
11717
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
11718
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
11719
      return
11720
    oprot.writeStructBegin('getItemsByCatalogId_result')
11721
    if self.success is not None:
11722
      oprot.writeFieldBegin('success', TType.LIST, 0)
11723
      oprot.writeListBegin(TType.STRUCT, len(self.success))
21838 amit.gupta 11724
      for iter86 in self.success:
11725
        iter86.write(oprot)
5944 mandeep.dh 11726
      oprot.writeListEnd()
11727
      oprot.writeFieldEnd()
11728
    if self.cex is not None:
11729
      oprot.writeFieldBegin('cex', TType.STRUCT, 1)
11730
      self.cex.write(oprot)
11731
      oprot.writeFieldEnd()
11732
    oprot.writeFieldStop()
11733
    oprot.writeStructEnd()
11734
 
11735
  def validate(self):
11736
    return
11737
 
11738
 
11739
  def __repr__(self):
11740
    L = ['%s=%r' % (key, value)
11741
      for key, value in self.__dict__.iteritems()]
11742
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
11743
 
11744
  def __eq__(self, other):
11745
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
11746
 
11747
  def __ne__(self, other):
11748
    return not (self == other)
11749
 
11750
class getValidItemsByCatalogId_args:
11751
  """
11752
  Attributes:
11753
   - catalog_item_id
11754
  """
11755
 
11756
  thrift_spec = (
11757
    None, # 0
11758
    (1, TType.I64, 'catalog_item_id', None, None, ), # 1
11759
  )
11760
 
11761
  def __init__(self, catalog_item_id=None,):
11762
    self.catalog_item_id = catalog_item_id
11763
 
11764
  def read(self, iprot):
11765
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
11766
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
11767
      return
11768
    iprot.readStructBegin()
11769
    while True:
11770
      (fname, ftype, fid) = iprot.readFieldBegin()
11771
      if ftype == TType.STOP:
11772
        break
11773
      if fid == 1:
11774
        if ftype == TType.I64:
11775
          self.catalog_item_id = iprot.readI64();
11776
        else:
11777
          iprot.skip(ftype)
11778
      else:
11779
        iprot.skip(ftype)
11780
      iprot.readFieldEnd()
11781
    iprot.readStructEnd()
11782
 
11783
  def write(self, oprot):
11784
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
11785
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
11786
      return
11787
    oprot.writeStructBegin('getValidItemsByCatalogId_args')
11788
    if self.catalog_item_id is not None:
11789
      oprot.writeFieldBegin('catalog_item_id', TType.I64, 1)
11790
      oprot.writeI64(self.catalog_item_id)
11791
      oprot.writeFieldEnd()
11792
    oprot.writeFieldStop()
11793
    oprot.writeStructEnd()
11794
 
11795
  def validate(self):
11796
    return
11797
 
11798
 
11799
  def __repr__(self):
11800
    L = ['%s=%r' % (key, value)
11801
      for key, value in self.__dict__.iteritems()]
11802
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
11803
 
11804
  def __eq__(self, other):
11805
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
11806
 
11807
  def __ne__(self, other):
11808
    return not (self == other)
11809
 
11810
class getValidItemsByCatalogId_result:
11811
  """
11812
  Attributes:
11813
   - success
11814
   - cex
11815
  """
11816
 
11817
  thrift_spec = (
11818
    (0, TType.LIST, 'success', (TType.STRUCT,(Item, Item.thrift_spec)), None, ), # 0
11819
    (1, TType.STRUCT, 'cex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
11820
  )
11821
 
11822
  def __init__(self, success=None, cex=None,):
11823
    self.success = success
11824
    self.cex = cex
11825
 
11826
  def read(self, iprot):
11827
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
11828
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
11829
      return
11830
    iprot.readStructBegin()
11831
    while True:
11832
      (fname, ftype, fid) = iprot.readFieldBegin()
11833
      if ftype == TType.STOP:
11834
        break
11835
      if fid == 0:
11836
        if ftype == TType.LIST:
11837
          self.success = []
21838 amit.gupta 11838
          (_etype90, _size87) = iprot.readListBegin()
11839
          for _i91 in xrange(_size87):
11840
            _elem92 = Item()
11841
            _elem92.read(iprot)
11842
            self.success.append(_elem92)
5944 mandeep.dh 11843
          iprot.readListEnd()
11844
        else:
11845
          iprot.skip(ftype)
11846
      elif fid == 1:
11847
        if ftype == TType.STRUCT:
11848
          self.cex = CatalogServiceException()
11849
          self.cex.read(iprot)
11850
        else:
11851
          iprot.skip(ftype)
11852
      else:
11853
        iprot.skip(ftype)
11854
      iprot.readFieldEnd()
11855
    iprot.readStructEnd()
11856
 
11857
  def write(self, oprot):
11858
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
11859
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
11860
      return
11861
    oprot.writeStructBegin('getValidItemsByCatalogId_result')
11862
    if self.success is not None:
11863
      oprot.writeFieldBegin('success', TType.LIST, 0)
11864
      oprot.writeListBegin(TType.STRUCT, len(self.success))
21838 amit.gupta 11865
      for iter93 in self.success:
11866
        iter93.write(oprot)
5944 mandeep.dh 11867
      oprot.writeListEnd()
11868
      oprot.writeFieldEnd()
11869
    if self.cex is not None:
11870
      oprot.writeFieldBegin('cex', TType.STRUCT, 1)
11871
      self.cex.write(oprot)
11872
      oprot.writeFieldEnd()
11873
    oprot.writeFieldStop()
11874
    oprot.writeStructEnd()
11875
 
11876
  def validate(self):
11877
    return
11878
 
11879
 
11880
  def __repr__(self):
11881
    L = ['%s=%r' % (key, value)
11882
      for key, value in self.__dict__.iteritems()]
11883
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
11884
 
11885
  def __eq__(self, other):
11886
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
11887
 
11888
  def __ne__(self, other):
11889
    return not (self == other)
11890
 
11891
class getAllItems_args:
11892
  """
11893
  Attributes:
11894
   - isActive
11895
  """
11896
 
11897
  thrift_spec = (
11898
    None, # 0
11899
    (1, TType.BOOL, 'isActive', None, None, ), # 1
11900
  )
11901
 
11902
  def __init__(self, isActive=None,):
11903
    self.isActive = isActive
11904
 
11905
  def read(self, iprot):
11906
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
11907
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
11908
      return
11909
    iprot.readStructBegin()
11910
    while True:
11911
      (fname, ftype, fid) = iprot.readFieldBegin()
11912
      if ftype == TType.STOP:
11913
        break
11914
      if fid == 1:
11915
        if ftype == TType.BOOL:
11916
          self.isActive = iprot.readBool();
11917
        else:
11918
          iprot.skip(ftype)
11919
      else:
11920
        iprot.skip(ftype)
11921
      iprot.readFieldEnd()
11922
    iprot.readStructEnd()
11923
 
11924
  def write(self, oprot):
11925
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
11926
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
11927
      return
11928
    oprot.writeStructBegin('getAllItems_args')
11929
    if self.isActive is not None:
11930
      oprot.writeFieldBegin('isActive', TType.BOOL, 1)
11931
      oprot.writeBool(self.isActive)
11932
      oprot.writeFieldEnd()
11933
    oprot.writeFieldStop()
11934
    oprot.writeStructEnd()
11935
 
11936
  def validate(self):
11937
    return
11938
 
11939
 
11940
  def __repr__(self):
11941
    L = ['%s=%r' % (key, value)
11942
      for key, value in self.__dict__.iteritems()]
11943
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
11944
 
11945
  def __eq__(self, other):
11946
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
11947
 
11948
  def __ne__(self, other):
11949
    return not (self == other)
11950
 
11951
class getAllItems_result:
11952
  """
11953
  Attributes:
11954
   - success
11955
   - cex
11956
  """
11957
 
11958
  thrift_spec = (
11959
    (0, TType.LIST, 'success', (TType.STRUCT,(Item, Item.thrift_spec)), None, ), # 0
11960
    (1, TType.STRUCT, 'cex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
11961
  )
11962
 
11963
  def __init__(self, success=None, cex=None,):
11964
    self.success = success
11965
    self.cex = cex
11966
 
11967
  def read(self, iprot):
11968
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
11969
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
11970
      return
11971
    iprot.readStructBegin()
11972
    while True:
11973
      (fname, ftype, fid) = iprot.readFieldBegin()
11974
      if ftype == TType.STOP:
11975
        break
11976
      if fid == 0:
11977
        if ftype == TType.LIST:
11978
          self.success = []
21838 amit.gupta 11979
          (_etype97, _size94) = iprot.readListBegin()
11980
          for _i98 in xrange(_size94):
11981
            _elem99 = Item()
11982
            _elem99.read(iprot)
11983
            self.success.append(_elem99)
5944 mandeep.dh 11984
          iprot.readListEnd()
11985
        else:
11986
          iprot.skip(ftype)
11987
      elif fid == 1:
11988
        if ftype == TType.STRUCT:
11989
          self.cex = CatalogServiceException()
11990
          self.cex.read(iprot)
11991
        else:
11992
          iprot.skip(ftype)
11993
      else:
11994
        iprot.skip(ftype)
11995
      iprot.readFieldEnd()
11996
    iprot.readStructEnd()
11997
 
11998
  def write(self, oprot):
11999
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
12000
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
12001
      return
12002
    oprot.writeStructBegin('getAllItems_result')
12003
    if self.success is not None:
12004
      oprot.writeFieldBegin('success', TType.LIST, 0)
12005
      oprot.writeListBegin(TType.STRUCT, len(self.success))
21838 amit.gupta 12006
      for iter100 in self.success:
12007
        iter100.write(oprot)
5944 mandeep.dh 12008
      oprot.writeListEnd()
12009
      oprot.writeFieldEnd()
12010
    if self.cex is not None:
12011
      oprot.writeFieldBegin('cex', TType.STRUCT, 1)
12012
      self.cex.write(oprot)
12013
      oprot.writeFieldEnd()
12014
    oprot.writeFieldStop()
12015
    oprot.writeStructEnd()
12016
 
12017
  def validate(self):
12018
    return
12019
 
12020
 
12021
  def __repr__(self):
12022
    L = ['%s=%r' % (key, value)
12023
      for key, value in self.__dict__.iteritems()]
12024
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
12025
 
12026
  def __eq__(self, other):
12027
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
12028
 
12029
  def __ne__(self, other):
12030
    return not (self == other)
12031
 
12032
class getAllItemsByStatus_args:
12033
  """
12034
  Attributes:
12035
   - itemStatus
12036
  """
12037
 
12038
  thrift_spec = (
12039
    None, # 0
12040
    (1, TType.I32, 'itemStatus', None, None, ), # 1
12041
  )
12042
 
12043
  def __init__(self, itemStatus=None,):
12044
    self.itemStatus = itemStatus
12045
 
12046
  def read(self, iprot):
12047
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
12048
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
12049
      return
12050
    iprot.readStructBegin()
12051
    while True:
12052
      (fname, ftype, fid) = iprot.readFieldBegin()
12053
      if ftype == TType.STOP:
12054
        break
12055
      if fid == 1:
12056
        if ftype == TType.I32:
12057
          self.itemStatus = iprot.readI32();
12058
        else:
12059
          iprot.skip(ftype)
12060
      else:
12061
        iprot.skip(ftype)
12062
      iprot.readFieldEnd()
12063
    iprot.readStructEnd()
12064
 
12065
  def write(self, oprot):
12066
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
12067
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
12068
      return
12069
    oprot.writeStructBegin('getAllItemsByStatus_args')
12070
    if self.itemStatus is not None:
12071
      oprot.writeFieldBegin('itemStatus', TType.I32, 1)
12072
      oprot.writeI32(self.itemStatus)
12073
      oprot.writeFieldEnd()
12074
    oprot.writeFieldStop()
12075
    oprot.writeStructEnd()
12076
 
12077
  def validate(self):
12078
    return
12079
 
12080
 
12081
  def __repr__(self):
12082
    L = ['%s=%r' % (key, value)
12083
      for key, value in self.__dict__.iteritems()]
12084
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
12085
 
12086
  def __eq__(self, other):
12087
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
12088
 
12089
  def __ne__(self, other):
12090
    return not (self == other)
12091
 
12092
class getAllItemsByStatus_result:
12093
  """
12094
  Attributes:
12095
   - success
12096
   - cex
12097
  """
12098
 
12099
  thrift_spec = (
12100
    (0, TType.LIST, 'success', (TType.STRUCT,(Item, Item.thrift_spec)), None, ), # 0
12101
    (1, TType.STRUCT, 'cex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
12102
  )
12103
 
12104
  def __init__(self, success=None, cex=None,):
12105
    self.success = success
12106
    self.cex = cex
12107
 
12108
  def read(self, iprot):
12109
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
12110
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
12111
      return
12112
    iprot.readStructBegin()
12113
    while True:
12114
      (fname, ftype, fid) = iprot.readFieldBegin()
12115
      if ftype == TType.STOP:
12116
        break
12117
      if fid == 0:
12118
        if ftype == TType.LIST:
12119
          self.success = []
21838 amit.gupta 12120
          (_etype104, _size101) = iprot.readListBegin()
12121
          for _i105 in xrange(_size101):
12122
            _elem106 = Item()
12123
            _elem106.read(iprot)
12124
            self.success.append(_elem106)
5944 mandeep.dh 12125
          iprot.readListEnd()
12126
        else:
12127
          iprot.skip(ftype)
12128
      elif fid == 1:
12129
        if ftype == TType.STRUCT:
12130
          self.cex = CatalogServiceException()
12131
          self.cex.read(iprot)
12132
        else:
12133
          iprot.skip(ftype)
12134
      else:
12135
        iprot.skip(ftype)
12136
      iprot.readFieldEnd()
12137
    iprot.readStructEnd()
12138
 
12139
  def write(self, oprot):
12140
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
12141
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
12142
      return
12143
    oprot.writeStructBegin('getAllItemsByStatus_result')
12144
    if self.success is not None:
12145
      oprot.writeFieldBegin('success', TType.LIST, 0)
12146
      oprot.writeListBegin(TType.STRUCT, len(self.success))
21838 amit.gupta 12147
      for iter107 in self.success:
12148
        iter107.write(oprot)
5944 mandeep.dh 12149
      oprot.writeListEnd()
12150
      oprot.writeFieldEnd()
12151
    if self.cex is not None:
12152
      oprot.writeFieldBegin('cex', TType.STRUCT, 1)
12153
      self.cex.write(oprot)
12154
      oprot.writeFieldEnd()
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 markItemAsContentComplete_args:
12174
  """
12175
  Attributes:
12176
   - entityId
12177
   - category
12178
   - brand
12179
   - modelName
12180
   - modelNumber
9253 rajveer 12181
   - isAndroid
5944 mandeep.dh 12182
  """
12183
 
12184
  thrift_spec = (
12185
    None, # 0
12186
    (1, TType.I64, 'entityId', None, None, ), # 1
12187
    (2, TType.I64, 'category', None, None, ), # 2
12188
    (3, TType.STRING, 'brand', None, None, ), # 3
12189
    (4, TType.STRING, 'modelName', None, None, ), # 4
12190
    (5, TType.STRING, 'modelNumber', None, None, ), # 5
9253 rajveer 12191
    (6, TType.BOOL, 'isAndroid', None, None, ), # 6
5944 mandeep.dh 12192
  )
12193
 
9253 rajveer 12194
  def __init__(self, entityId=None, category=None, brand=None, modelName=None, modelNumber=None, isAndroid=None,):
5944 mandeep.dh 12195
    self.entityId = entityId
12196
    self.category = category
12197
    self.brand = brand
12198
    self.modelName = modelName
12199
    self.modelNumber = modelNumber
9253 rajveer 12200
    self.isAndroid = isAndroid
5944 mandeep.dh 12201
 
12202
  def read(self, iprot):
12203
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
12204
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
12205
      return
12206
    iprot.readStructBegin()
12207
    while True:
12208
      (fname, ftype, fid) = iprot.readFieldBegin()
12209
      if ftype == TType.STOP:
12210
        break
12211
      if fid == 1:
12212
        if ftype == TType.I64:
12213
          self.entityId = iprot.readI64();
12214
        else:
12215
          iprot.skip(ftype)
12216
      elif fid == 2:
12217
        if ftype == TType.I64:
12218
          self.category = iprot.readI64();
12219
        else:
12220
          iprot.skip(ftype)
12221
      elif fid == 3:
12222
        if ftype == TType.STRING:
12223
          self.brand = iprot.readString();
12224
        else:
12225
          iprot.skip(ftype)
12226
      elif fid == 4:
12227
        if ftype == TType.STRING:
12228
          self.modelName = iprot.readString();
12229
        else:
12230
          iprot.skip(ftype)
12231
      elif fid == 5:
12232
        if ftype == TType.STRING:
12233
          self.modelNumber = iprot.readString();
12234
        else:
12235
          iprot.skip(ftype)
9253 rajveer 12236
      elif fid == 6:
12237
        if ftype == TType.BOOL:
12238
          self.isAndroid = iprot.readBool();
12239
        else:
12240
          iprot.skip(ftype)
5944 mandeep.dh 12241
      else:
12242
        iprot.skip(ftype)
12243
      iprot.readFieldEnd()
12244
    iprot.readStructEnd()
12245
 
12246
  def write(self, oprot):
12247
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
12248
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
12249
      return
12250
    oprot.writeStructBegin('markItemAsContentComplete_args')
12251
    if self.entityId is not None:
12252
      oprot.writeFieldBegin('entityId', TType.I64, 1)
12253
      oprot.writeI64(self.entityId)
12254
      oprot.writeFieldEnd()
12255
    if self.category is not None:
12256
      oprot.writeFieldBegin('category', TType.I64, 2)
12257
      oprot.writeI64(self.category)
12258
      oprot.writeFieldEnd()
12259
    if self.brand is not None:
12260
      oprot.writeFieldBegin('brand', TType.STRING, 3)
12261
      oprot.writeString(self.brand)
12262
      oprot.writeFieldEnd()
12263
    if self.modelName is not None:
12264
      oprot.writeFieldBegin('modelName', TType.STRING, 4)
12265
      oprot.writeString(self.modelName)
12266
      oprot.writeFieldEnd()
12267
    if self.modelNumber is not None:
12268
      oprot.writeFieldBegin('modelNumber', TType.STRING, 5)
12269
      oprot.writeString(self.modelNumber)
12270
      oprot.writeFieldEnd()
9253 rajveer 12271
    if self.isAndroid is not None:
12272
      oprot.writeFieldBegin('isAndroid', TType.BOOL, 6)
12273
      oprot.writeBool(self.isAndroid)
12274
      oprot.writeFieldEnd()
5944 mandeep.dh 12275
    oprot.writeFieldStop()
12276
    oprot.writeStructEnd()
12277
 
12278
  def validate(self):
12279
    return
12280
 
12281
 
12282
  def __repr__(self):
12283
    L = ['%s=%r' % (key, value)
12284
      for key, value in self.__dict__.iteritems()]
12285
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
12286
 
12287
  def __eq__(self, other):
12288
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
12289
 
12290
  def __ne__(self, other):
12291
    return not (self == other)
12292
 
12293
class markItemAsContentComplete_result:
12294
  """
12295
  Attributes:
12296
   - success
12297
   - cex
12298
  """
12299
 
12300
  thrift_spec = (
12301
    (0, TType.BOOL, 'success', None, None, ), # 0
12302
    (1, TType.STRUCT, 'cex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
12303
  )
12304
 
12305
  def __init__(self, success=None, cex=None,):
12306
    self.success = success
12307
    self.cex = cex
12308
 
12309
  def read(self, iprot):
12310
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
12311
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
12312
      return
12313
    iprot.readStructBegin()
12314
    while True:
12315
      (fname, ftype, fid) = iprot.readFieldBegin()
12316
      if ftype == TType.STOP:
12317
        break
12318
      if fid == 0:
12319
        if ftype == TType.BOOL:
12320
          self.success = iprot.readBool();
12321
        else:
12322
          iprot.skip(ftype)
12323
      elif fid == 1:
12324
        if ftype == TType.STRUCT:
12325
          self.cex = CatalogServiceException()
12326
          self.cex.read(iprot)
12327
        else:
12328
          iprot.skip(ftype)
12329
      else:
12330
        iprot.skip(ftype)
12331
      iprot.readFieldEnd()
12332
    iprot.readStructEnd()
12333
 
12334
  def write(self, oprot):
12335
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
12336
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
12337
      return
12338
    oprot.writeStructBegin('markItemAsContentComplete_result')
12339
    if self.success is not None:
12340
      oprot.writeFieldBegin('success', TType.BOOL, 0)
12341
      oprot.writeBool(self.success)
12342
      oprot.writeFieldEnd()
12343
    if self.cex is not None:
12344
      oprot.writeFieldBegin('cex', TType.STRUCT, 1)
12345
      self.cex.write(oprot)
12346
      oprot.writeFieldEnd()
12347
    oprot.writeFieldStop()
12348
    oprot.writeStructEnd()
12349
 
12350
  def validate(self):
12351
    return
12352
 
12353
 
12354
  def __repr__(self):
12355
    L = ['%s=%r' % (key, value)
12356
      for key, value in self.__dict__.iteritems()]
12357
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
12358
 
12359
  def __eq__(self, other):
12360
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
12361
 
12362
  def __ne__(self, other):
12363
    return not (self == other)
12364
 
12567 amit.gupta 12365
class getVatRates_args:
12366
  """
12367
  Attributes:
12368
   - itemId
12369
   - categoryId
12370
  """
12371
 
12372
  thrift_spec = (
12373
    None, # 0
12374
    (1, TType.I64, 'itemId', None, None, ), # 1
12375
    (2, TType.I64, 'categoryId', None, None, ), # 2
12376
  )
12377
 
12378
  def __init__(self, itemId=None, categoryId=None,):
12379
    self.itemId = itemId
12380
    self.categoryId = categoryId
12381
 
12382
  def read(self, iprot):
12383
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
12384
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
12385
      return
12386
    iprot.readStructBegin()
12387
    while True:
12388
      (fname, ftype, fid) = iprot.readFieldBegin()
12389
      if ftype == TType.STOP:
12390
        break
12391
      if fid == 1:
12392
        if ftype == TType.I64:
12393
          self.itemId = iprot.readI64();
12394
        else:
12395
          iprot.skip(ftype)
12396
      elif fid == 2:
12397
        if ftype == TType.I64:
12398
          self.categoryId = iprot.readI64();
12399
        else:
12400
          iprot.skip(ftype)
12401
      else:
12402
        iprot.skip(ftype)
12403
      iprot.readFieldEnd()
12404
    iprot.readStructEnd()
12405
 
12406
  def write(self, oprot):
12407
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
12408
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
12409
      return
12410
    oprot.writeStructBegin('getVatRates_args')
12411
    if self.itemId is not None:
12412
      oprot.writeFieldBegin('itemId', TType.I64, 1)
12413
      oprot.writeI64(self.itemId)
12414
      oprot.writeFieldEnd()
12415
    if self.categoryId is not None:
12416
      oprot.writeFieldBegin('categoryId', TType.I64, 2)
12417
      oprot.writeI64(self.categoryId)
12418
      oprot.writeFieldEnd()
12419
    oprot.writeFieldStop()
12420
    oprot.writeStructEnd()
12421
 
12422
  def validate(self):
12423
    return
12424
 
12425
 
12426
  def __repr__(self):
12427
    L = ['%s=%r' % (key, value)
12428
      for key, value in self.__dict__.iteritems()]
12429
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
12430
 
12431
  def __eq__(self, other):
12432
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
12433
 
12434
  def __ne__(self, other):
12435
    return not (self == other)
12436
 
12437
class getVatRates_result:
12438
  """
12439
  Attributes:
12440
   - success
12441
   - cex
12442
  """
12443
 
12444
  thrift_spec = (
12445
    (0, TType.MAP, 'success', (TType.I64,None,TType.DOUBLE,None), None, ), # 0
12446
    (1, TType.STRUCT, 'cex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
12447
  )
12448
 
12449
  def __init__(self, success=None, cex=None,):
12450
    self.success = success
12451
    self.cex = cex
12452
 
12453
  def read(self, iprot):
12454
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
12455
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
12456
      return
12457
    iprot.readStructBegin()
12458
    while True:
12459
      (fname, ftype, fid) = iprot.readFieldBegin()
12460
      if ftype == TType.STOP:
12461
        break
12462
      if fid == 0:
12463
        if ftype == TType.MAP:
12464
          self.success = {}
21838 amit.gupta 12465
          (_ktype109, _vtype110, _size108 ) = iprot.readMapBegin() 
12466
          for _i112 in xrange(_size108):
12467
            _key113 = iprot.readI64();
12468
            _val114 = iprot.readDouble();
12469
            self.success[_key113] = _val114
12567 amit.gupta 12470
          iprot.readMapEnd()
12471
        else:
12472
          iprot.skip(ftype)
12473
      elif fid == 1:
12474
        if ftype == TType.STRUCT:
12475
          self.cex = CatalogServiceException()
12476
          self.cex.read(iprot)
12477
        else:
12478
          iprot.skip(ftype)
12479
      else:
12480
        iprot.skip(ftype)
12481
      iprot.readFieldEnd()
12482
    iprot.readStructEnd()
12483
 
12484
  def write(self, oprot):
12485
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
12486
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
12487
      return
12488
    oprot.writeStructBegin('getVatRates_result')
12489
    if self.success is not None:
12490
      oprot.writeFieldBegin('success', TType.MAP, 0)
12491
      oprot.writeMapBegin(TType.I64, TType.DOUBLE, len(self.success))
21838 amit.gupta 12492
      for kiter115,viter116 in self.success.items():
12493
        oprot.writeI64(kiter115)
12494
        oprot.writeDouble(viter116)
12567 amit.gupta 12495
      oprot.writeMapEnd()
12496
      oprot.writeFieldEnd()
12497
    if self.cex is not None:
12498
      oprot.writeFieldBegin('cex', TType.STRUCT, 1)
12499
      self.cex.write(oprot)
12500
      oprot.writeFieldEnd()
12501
    oprot.writeFieldStop()
12502
    oprot.writeStructEnd()
12503
 
12504
  def validate(self):
12505
    return
12506
 
12507
 
12508
  def __repr__(self):
12509
    L = ['%s=%r' % (key, value)
12510
      for key, value in self.__dict__.iteritems()]
12511
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
12512
 
12513
  def __eq__(self, other):
12514
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
12515
 
12516
  def __ne__(self, other):
12517
    return not (self == other)
12518
 
5944 mandeep.dh 12519
class getAllItemsInRange_args:
12520
  """
12521
  Attributes:
12522
   - offset
12523
   - limit
12524
  """
12525
 
12526
  thrift_spec = (
12527
    None, # 0
12528
    (1, TType.I64, 'offset', None, None, ), # 1
12529
    (2, TType.I64, 'limit', None, None, ), # 2
12530
  )
12531
 
12532
  def __init__(self, offset=None, limit=None,):
12533
    self.offset = offset
12534
    self.limit = limit
12535
 
12536
  def read(self, iprot):
12537
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
12538
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
12539
      return
12540
    iprot.readStructBegin()
12541
    while True:
12542
      (fname, ftype, fid) = iprot.readFieldBegin()
12543
      if ftype == TType.STOP:
12544
        break
12545
      if fid == 1:
12546
        if ftype == TType.I64:
12547
          self.offset = iprot.readI64();
12548
        else:
12549
          iprot.skip(ftype)
12550
      elif fid == 2:
12551
        if ftype == TType.I64:
12552
          self.limit = iprot.readI64();
12553
        else:
12554
          iprot.skip(ftype)
12555
      else:
12556
        iprot.skip(ftype)
12557
      iprot.readFieldEnd()
12558
    iprot.readStructEnd()
12559
 
12560
  def write(self, oprot):
12561
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
12562
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
12563
      return
12564
    oprot.writeStructBegin('getAllItemsInRange_args')
12565
    if self.offset is not None:
12566
      oprot.writeFieldBegin('offset', TType.I64, 1)
12567
      oprot.writeI64(self.offset)
12568
      oprot.writeFieldEnd()
12569
    if self.limit is not None:
12570
      oprot.writeFieldBegin('limit', TType.I64, 2)
12571
      oprot.writeI64(self.limit)
12572
      oprot.writeFieldEnd()
12573
    oprot.writeFieldStop()
12574
    oprot.writeStructEnd()
12575
 
12576
  def validate(self):
12577
    return
12578
 
12579
 
12580
  def __repr__(self):
12581
    L = ['%s=%r' % (key, value)
12582
      for key, value in self.__dict__.iteritems()]
12583
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
12584
 
12585
  def __eq__(self, other):
12586
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
12587
 
12588
  def __ne__(self, other):
12589
    return not (self == other)
12590
 
12591
class getAllItemsInRange_result:
12592
  """
12593
  Attributes:
12594
   - success
12595
   - cex
12596
  """
12597
 
12598
  thrift_spec = (
12599
    (0, TType.LIST, 'success', (TType.STRUCT,(Item, Item.thrift_spec)), None, ), # 0
12600
    (1, TType.STRUCT, 'cex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
12601
  )
12602
 
12603
  def __init__(self, success=None, cex=None,):
12604
    self.success = success
12605
    self.cex = cex
12606
 
12607
  def read(self, iprot):
12608
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
12609
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
12610
      return
12611
    iprot.readStructBegin()
12612
    while True:
12613
      (fname, ftype, fid) = iprot.readFieldBegin()
12614
      if ftype == TType.STOP:
12615
        break
12616
      if fid == 0:
12617
        if ftype == TType.LIST:
12618
          self.success = []
21838 amit.gupta 12619
          (_etype120, _size117) = iprot.readListBegin()
12620
          for _i121 in xrange(_size117):
12621
            _elem122 = Item()
12622
            _elem122.read(iprot)
12623
            self.success.append(_elem122)
5944 mandeep.dh 12624
          iprot.readListEnd()
12625
        else:
12626
          iprot.skip(ftype)
12627
      elif fid == 1:
12628
        if ftype == TType.STRUCT:
12629
          self.cex = CatalogServiceException()
12630
          self.cex.read(iprot)
12631
        else:
12632
          iprot.skip(ftype)
12633
      else:
12634
        iprot.skip(ftype)
12635
      iprot.readFieldEnd()
12636
    iprot.readStructEnd()
12637
 
12638
  def write(self, oprot):
12639
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
12640
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
12641
      return
12642
    oprot.writeStructBegin('getAllItemsInRange_result')
12643
    if self.success is not None:
12644
      oprot.writeFieldBegin('success', TType.LIST, 0)
12645
      oprot.writeListBegin(TType.STRUCT, len(self.success))
21838 amit.gupta 12646
      for iter123 in self.success:
12647
        iter123.write(oprot)
5944 mandeep.dh 12648
      oprot.writeListEnd()
12649
      oprot.writeFieldEnd()
12650
    if self.cex is not None:
12651
      oprot.writeFieldBegin('cex', TType.STRUCT, 1)
12652
      self.cex.write(oprot)
12653
      oprot.writeFieldEnd()
12654
    oprot.writeFieldStop()
12655
    oprot.writeStructEnd()
12656
 
12657
  def validate(self):
12658
    return
12659
 
12660
 
12661
  def __repr__(self):
12662
    L = ['%s=%r' % (key, value)
12663
      for key, value in self.__dict__.iteritems()]
12664
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
12665
 
12666
  def __eq__(self, other):
12667
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
12668
 
12669
  def __ne__(self, other):
12670
    return not (self == other)
12671
 
12672
class getAllItemsByStatusInRange_args:
12673
  """
12674
  Attributes:
12675
   - itemStatus
12676
   - offset
12677
   - limit
12678
  """
12679
 
12680
  thrift_spec = (
12681
    None, # 0
12682
    (1, TType.I32, 'itemStatus', None, None, ), # 1
12683
    (2, TType.I64, 'offset', None, None, ), # 2
12684
    (3, TType.I64, 'limit', None, None, ), # 3
12685
  )
12686
 
12687
  def __init__(self, itemStatus=None, offset=None, limit=None,):
12688
    self.itemStatus = itemStatus
12689
    self.offset = offset
12690
    self.limit = limit
12691
 
12692
  def read(self, iprot):
12693
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
12694
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
12695
      return
12696
    iprot.readStructBegin()
12697
    while True:
12698
      (fname, ftype, fid) = iprot.readFieldBegin()
12699
      if ftype == TType.STOP:
12700
        break
12701
      if fid == 1:
12702
        if ftype == TType.I32:
12703
          self.itemStatus = iprot.readI32();
12704
        else:
12705
          iprot.skip(ftype)
12706
      elif fid == 2:
12707
        if ftype == TType.I64:
12708
          self.offset = iprot.readI64();
12709
        else:
12710
          iprot.skip(ftype)
12711
      elif fid == 3:
12712
        if ftype == TType.I64:
12713
          self.limit = iprot.readI64();
12714
        else:
12715
          iprot.skip(ftype)
12716
      else:
12717
        iprot.skip(ftype)
12718
      iprot.readFieldEnd()
12719
    iprot.readStructEnd()
12720
 
12721
  def write(self, oprot):
12722
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
12723
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
12724
      return
12725
    oprot.writeStructBegin('getAllItemsByStatusInRange_args')
12726
    if self.itemStatus is not None:
12727
      oprot.writeFieldBegin('itemStatus', TType.I32, 1)
12728
      oprot.writeI32(self.itemStatus)
12729
      oprot.writeFieldEnd()
12730
    if self.offset is not None:
12731
      oprot.writeFieldBegin('offset', TType.I64, 2)
12732
      oprot.writeI64(self.offset)
12733
      oprot.writeFieldEnd()
12734
    if self.limit is not None:
12735
      oprot.writeFieldBegin('limit', TType.I64, 3)
12736
      oprot.writeI64(self.limit)
12737
      oprot.writeFieldEnd()
12738
    oprot.writeFieldStop()
12739
    oprot.writeStructEnd()
12740
 
12741
  def validate(self):
12742
    return
12743
 
12744
 
12745
  def __repr__(self):
12746
    L = ['%s=%r' % (key, value)
12747
      for key, value in self.__dict__.iteritems()]
12748
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
12749
 
12750
  def __eq__(self, other):
12751
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
12752
 
12753
  def __ne__(self, other):
12754
    return not (self == other)
12755
 
12756
class getAllItemsByStatusInRange_result:
12757
  """
12758
  Attributes:
12759
   - success
12760
   - cex
12761
  """
12762
 
12763
  thrift_spec = (
12764
    (0, TType.LIST, 'success', (TType.STRUCT,(Item, Item.thrift_spec)), None, ), # 0
12765
    (1, TType.STRUCT, 'cex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
12766
  )
12767
 
12768
  def __init__(self, success=None, cex=None,):
12769
    self.success = success
12770
    self.cex = cex
12771
 
12772
  def read(self, iprot):
12773
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
12774
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
12775
      return
12776
    iprot.readStructBegin()
12777
    while True:
12778
      (fname, ftype, fid) = iprot.readFieldBegin()
12779
      if ftype == TType.STOP:
12780
        break
12781
      if fid == 0:
12782
        if ftype == TType.LIST:
12783
          self.success = []
21838 amit.gupta 12784
          (_etype127, _size124) = iprot.readListBegin()
12785
          for _i128 in xrange(_size124):
12786
            _elem129 = Item()
12787
            _elem129.read(iprot)
12788
            self.success.append(_elem129)
5944 mandeep.dh 12789
          iprot.readListEnd()
12790
        else:
12791
          iprot.skip(ftype)
12792
      elif fid == 1:
12793
        if ftype == TType.STRUCT:
12794
          self.cex = CatalogServiceException()
12795
          self.cex.read(iprot)
12796
        else:
12797
          iprot.skip(ftype)
12798
      else:
12799
        iprot.skip(ftype)
12800
      iprot.readFieldEnd()
12801
    iprot.readStructEnd()
12802
 
12803
  def write(self, oprot):
12804
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
12805
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
12806
      return
12807
    oprot.writeStructBegin('getAllItemsByStatusInRange_result')
12808
    if self.success is not None:
12809
      oprot.writeFieldBegin('success', TType.LIST, 0)
12810
      oprot.writeListBegin(TType.STRUCT, len(self.success))
21838 amit.gupta 12811
      for iter130 in self.success:
12812
        iter130.write(oprot)
5944 mandeep.dh 12813
      oprot.writeListEnd()
12814
      oprot.writeFieldEnd()
12815
    if self.cex is not None:
12816
      oprot.writeFieldBegin('cex', TType.STRUCT, 1)
12817
      self.cex.write(oprot)
12818
      oprot.writeFieldEnd()
12819
    oprot.writeFieldStop()
12820
    oprot.writeStructEnd()
12821
 
12822
  def validate(self):
12823
    return
12824
 
12825
 
12826
  def __repr__(self):
12827
    L = ['%s=%r' % (key, value)
12828
      for key, value in self.__dict__.iteritems()]
12829
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
12830
 
12831
  def __eq__(self, other):
12832
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
12833
 
12834
  def __ne__(self, other):
12835
    return not (self == other)
12836
 
12837
class getItemCountByStatus_args:
12838
  """
12839
  Attributes:
12840
   - useStatus
12841
   - itemStatus
12842
  """
12843
 
12844
  thrift_spec = (
12845
    None, # 0
12846
    (1, TType.BOOL, 'useStatus', None, None, ), # 1
12847
    (2, TType.I32, 'itemStatus', None, None, ), # 2
12848
  )
12849
 
12850
  def __init__(self, useStatus=None, itemStatus=None,):
12851
    self.useStatus = useStatus
12852
    self.itemStatus = itemStatus
12853
 
12854
  def read(self, iprot):
12855
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
12856
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
12857
      return
12858
    iprot.readStructBegin()
12859
    while True:
12860
      (fname, ftype, fid) = iprot.readFieldBegin()
12861
      if ftype == TType.STOP:
12862
        break
12863
      if fid == 1:
12864
        if ftype == TType.BOOL:
12865
          self.useStatus = iprot.readBool();
12866
        else:
12867
          iprot.skip(ftype)
12868
      elif fid == 2:
12869
        if ftype == TType.I32:
12870
          self.itemStatus = iprot.readI32();
12871
        else:
12872
          iprot.skip(ftype)
12873
      else:
12874
        iprot.skip(ftype)
12875
      iprot.readFieldEnd()
12876
    iprot.readStructEnd()
12877
 
12878
  def write(self, oprot):
12879
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
12880
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
12881
      return
12882
    oprot.writeStructBegin('getItemCountByStatus_args')
12883
    if self.useStatus is not None:
12884
      oprot.writeFieldBegin('useStatus', TType.BOOL, 1)
12885
      oprot.writeBool(self.useStatus)
12886
      oprot.writeFieldEnd()
12887
    if self.itemStatus is not None:
12888
      oprot.writeFieldBegin('itemStatus', TType.I32, 2)
12889
      oprot.writeI32(self.itemStatus)
12890
      oprot.writeFieldEnd()
12891
    oprot.writeFieldStop()
12892
    oprot.writeStructEnd()
12893
 
12894
  def validate(self):
12895
    return
12896
 
12897
 
12898
  def __repr__(self):
12899
    L = ['%s=%r' % (key, value)
12900
      for key, value in self.__dict__.iteritems()]
12901
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
12902
 
12903
  def __eq__(self, other):
12904
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
12905
 
12906
  def __ne__(self, other):
12907
    return not (self == other)
12908
 
12909
class getItemCountByStatus_result:
12910
  """
12911
  Attributes:
12912
   - success
12913
  """
12914
 
12915
  thrift_spec = (
12916
    (0, TType.I32, 'success', None, None, ), # 0
12917
  )
12918
 
12919
  def __init__(self, success=None,):
12920
    self.success = success
12921
 
12922
  def read(self, iprot):
12923
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
12924
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
12925
      return
12926
    iprot.readStructBegin()
12927
    while True:
12928
      (fname, ftype, fid) = iprot.readFieldBegin()
12929
      if ftype == TType.STOP:
12930
        break
12931
      if fid == 0:
12932
        if ftype == TType.I32:
12933
          self.success = iprot.readI32();
12934
        else:
12935
          iprot.skip(ftype)
12936
      else:
12937
        iprot.skip(ftype)
12938
      iprot.readFieldEnd()
12939
    iprot.readStructEnd()
12940
 
12941
  def write(self, oprot):
12942
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
12943
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
12944
      return
12945
    oprot.writeStructBegin('getItemCountByStatus_result')
12946
    if self.success is not None:
12947
      oprot.writeFieldBegin('success', TType.I32, 0)
12948
      oprot.writeI32(self.success)
12949
      oprot.writeFieldEnd()
12950
    oprot.writeFieldStop()
12951
    oprot.writeStructEnd()
12952
 
12953
  def validate(self):
12954
    return
12955
 
12956
 
12957
  def __repr__(self):
12958
    L = ['%s=%r' % (key, value)
12959
      for key, value in self.__dict__.iteritems()]
12960
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
12961
 
12962
  def __eq__(self, other):
12963
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
12964
 
12965
  def __ne__(self, other):
12966
    return not (self == other)
12967
 
12968
class getBestSellers_args:
12969
 
12970
  thrift_spec = (
12971
  )
12972
 
12973
  def read(self, iprot):
12974
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
12975
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
12976
      return
12977
    iprot.readStructBegin()
12978
    while True:
12979
      (fname, ftype, fid) = iprot.readFieldBegin()
12980
      if ftype == TType.STOP:
12981
        break
12982
      else:
12983
        iprot.skip(ftype)
12984
      iprot.readFieldEnd()
12985
    iprot.readStructEnd()
12986
 
12987
  def write(self, oprot):
12988
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
12989
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
12990
      return
12991
    oprot.writeStructBegin('getBestSellers_args')
12992
    oprot.writeFieldStop()
12993
    oprot.writeStructEnd()
12994
 
12995
  def validate(self):
12996
    return
12997
 
12998
 
12999
  def __repr__(self):
13000
    L = ['%s=%r' % (key, value)
13001
      for key, value in self.__dict__.iteritems()]
13002
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
13003
 
13004
  def __eq__(self, other):
13005
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
13006
 
13007
  def __ne__(self, other):
13008
    return not (self == other)
13009
 
13010
class getBestSellers_result:
13011
  """
13012
  Attributes:
13013
   - success
13014
   - isex
13015
  """
13016
 
13017
  thrift_spec = (
13018
    (0, TType.LIST, 'success', (TType.STRUCT,(Item, Item.thrift_spec)), None, ), # 0
13019
    (1, TType.STRUCT, 'isex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
13020
  )
13021
 
13022
  def __init__(self, success=None, isex=None,):
13023
    self.success = success
13024
    self.isex = isex
13025
 
13026
  def read(self, iprot):
13027
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
13028
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
13029
      return
13030
    iprot.readStructBegin()
13031
    while True:
13032
      (fname, ftype, fid) = iprot.readFieldBegin()
13033
      if ftype == TType.STOP:
13034
        break
13035
      if fid == 0:
13036
        if ftype == TType.LIST:
13037
          self.success = []
21838 amit.gupta 13038
          (_etype134, _size131) = iprot.readListBegin()
13039
          for _i135 in xrange(_size131):
13040
            _elem136 = Item()
13041
            _elem136.read(iprot)
13042
            self.success.append(_elem136)
5944 mandeep.dh 13043
          iprot.readListEnd()
13044
        else:
13045
          iprot.skip(ftype)
13046
      elif fid == 1:
13047
        if ftype == TType.STRUCT:
13048
          self.isex = CatalogServiceException()
13049
          self.isex.read(iprot)
13050
        else:
13051
          iprot.skip(ftype)
13052
      else:
13053
        iprot.skip(ftype)
13054
      iprot.readFieldEnd()
13055
    iprot.readStructEnd()
13056
 
13057
  def write(self, oprot):
13058
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
13059
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
13060
      return
13061
    oprot.writeStructBegin('getBestSellers_result')
13062
    if self.success is not None:
13063
      oprot.writeFieldBegin('success', TType.LIST, 0)
13064
      oprot.writeListBegin(TType.STRUCT, len(self.success))
21838 amit.gupta 13065
      for iter137 in self.success:
13066
        iter137.write(oprot)
5944 mandeep.dh 13067
      oprot.writeListEnd()
13068
      oprot.writeFieldEnd()
13069
    if self.isex is not None:
13070
      oprot.writeFieldBegin('isex', TType.STRUCT, 1)
13071
      self.isex.write(oprot)
13072
      oprot.writeFieldEnd()
13073
    oprot.writeFieldStop()
13074
    oprot.writeStructEnd()
13075
 
13076
  def validate(self):
13077
    return
13078
 
13079
 
13080
  def __repr__(self):
13081
    L = ['%s=%r' % (key, value)
13082
      for key, value in self.__dict__.iteritems()]
13083
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
13084
 
13085
  def __eq__(self, other):
13086
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
13087
 
13088
  def __ne__(self, other):
13089
    return not (self == other)
13090
 
13091
class getBestSellersCatalogIds_args:
13092
  """
13093
  Attributes:
13094
   - beginIndex
13095
   - totalItems
13096
   - brand
13097
   - category
13098
  """
13099
 
13100
  thrift_spec = (
13101
    None, # 0
13102
    (1, TType.I64, 'beginIndex', None, None, ), # 1
13103
    (2, TType.I64, 'totalItems', None, None, ), # 2
13104
    (3, TType.STRING, 'brand', None, None, ), # 3
13105
    (4, TType.I64, 'category', None, None, ), # 4
13106
  )
13107
 
13108
  def __init__(self, beginIndex=None, totalItems=None, brand=None, category=None,):
13109
    self.beginIndex = beginIndex
13110
    self.totalItems = totalItems
13111
    self.brand = brand
13112
    self.category = category
13113
 
13114
  def read(self, iprot):
13115
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
13116
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
13117
      return
13118
    iprot.readStructBegin()
13119
    while True:
13120
      (fname, ftype, fid) = iprot.readFieldBegin()
13121
      if ftype == TType.STOP:
13122
        break
13123
      if fid == 1:
13124
        if ftype == TType.I64:
13125
          self.beginIndex = iprot.readI64();
13126
        else:
13127
          iprot.skip(ftype)
13128
      elif fid == 2:
13129
        if ftype == TType.I64:
13130
          self.totalItems = iprot.readI64();
13131
        else:
13132
          iprot.skip(ftype)
13133
      elif fid == 3:
13134
        if ftype == TType.STRING:
13135
          self.brand = iprot.readString();
13136
        else:
13137
          iprot.skip(ftype)
13138
      elif fid == 4:
13139
        if ftype == TType.I64:
13140
          self.category = iprot.readI64();
13141
        else:
13142
          iprot.skip(ftype)
13143
      else:
13144
        iprot.skip(ftype)
13145
      iprot.readFieldEnd()
13146
    iprot.readStructEnd()
13147
 
13148
  def write(self, oprot):
13149
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
13150
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
13151
      return
13152
    oprot.writeStructBegin('getBestSellersCatalogIds_args')
13153
    if self.beginIndex is not None:
13154
      oprot.writeFieldBegin('beginIndex', TType.I64, 1)
13155
      oprot.writeI64(self.beginIndex)
13156
      oprot.writeFieldEnd()
13157
    if self.totalItems is not None:
13158
      oprot.writeFieldBegin('totalItems', TType.I64, 2)
13159
      oprot.writeI64(self.totalItems)
13160
      oprot.writeFieldEnd()
13161
    if self.brand is not None:
13162
      oprot.writeFieldBegin('brand', TType.STRING, 3)
13163
      oprot.writeString(self.brand)
13164
      oprot.writeFieldEnd()
13165
    if self.category is not None:
13166
      oprot.writeFieldBegin('category', TType.I64, 4)
13167
      oprot.writeI64(self.category)
13168
      oprot.writeFieldEnd()
13169
    oprot.writeFieldStop()
13170
    oprot.writeStructEnd()
13171
 
13172
  def validate(self):
13173
    return
13174
 
13175
 
13176
  def __repr__(self):
13177
    L = ['%s=%r' % (key, value)
13178
      for key, value in self.__dict__.iteritems()]
13179
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
13180
 
13181
  def __eq__(self, other):
13182
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
13183
 
13184
  def __ne__(self, other):
13185
    return not (self == other)
13186
 
13187
class getBestSellersCatalogIds_result:
13188
  """
13189
  Attributes:
13190
   - success
13191
   - cex
13192
  """
13193
 
13194
  thrift_spec = (
13195
    (0, TType.LIST, 'success', (TType.I64,None), None, ), # 0
13196
    (1, TType.STRUCT, 'cex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
13197
  )
13198
 
13199
  def __init__(self, success=None, cex=None,):
13200
    self.success = success
13201
    self.cex = cex
13202
 
13203
  def read(self, iprot):
13204
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
13205
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
13206
      return
13207
    iprot.readStructBegin()
13208
    while True:
13209
      (fname, ftype, fid) = iprot.readFieldBegin()
13210
      if ftype == TType.STOP:
13211
        break
13212
      if fid == 0:
13213
        if ftype == TType.LIST:
13214
          self.success = []
21838 amit.gupta 13215
          (_etype141, _size138) = iprot.readListBegin()
13216
          for _i142 in xrange(_size138):
13217
            _elem143 = iprot.readI64();
13218
            self.success.append(_elem143)
5944 mandeep.dh 13219
          iprot.readListEnd()
13220
        else:
13221
          iprot.skip(ftype)
13222
      elif fid == 1:
13223
        if ftype == TType.STRUCT:
13224
          self.cex = CatalogServiceException()
13225
          self.cex.read(iprot)
13226
        else:
13227
          iprot.skip(ftype)
13228
      else:
13229
        iprot.skip(ftype)
13230
      iprot.readFieldEnd()
13231
    iprot.readStructEnd()
13232
 
13233
  def write(self, oprot):
13234
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
13235
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
13236
      return
13237
    oprot.writeStructBegin('getBestSellersCatalogIds_result')
13238
    if self.success is not None:
13239
      oprot.writeFieldBegin('success', TType.LIST, 0)
13240
      oprot.writeListBegin(TType.I64, len(self.success))
21838 amit.gupta 13241
      for iter144 in self.success:
13242
        oprot.writeI64(iter144)
5944 mandeep.dh 13243
      oprot.writeListEnd()
13244
      oprot.writeFieldEnd()
13245
    if self.cex is not None:
13246
      oprot.writeFieldBegin('cex', TType.STRUCT, 1)
13247
      self.cex.write(oprot)
13248
      oprot.writeFieldEnd()
13249
    oprot.writeFieldStop()
13250
    oprot.writeStructEnd()
13251
 
13252
  def validate(self):
13253
    return
13254
 
13255
 
13256
  def __repr__(self):
13257
    L = ['%s=%r' % (key, value)
13258
      for key, value in self.__dict__.iteritems()]
13259
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
13260
 
13261
  def __eq__(self, other):
13262
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
13263
 
13264
  def __ne__(self, other):
13265
    return not (self == other)
13266
 
13267
class getBestSellersCount_args:
13268
 
13269
  thrift_spec = (
13270
  )
13271
 
13272
  def read(self, iprot):
13273
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
13274
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
13275
      return
13276
    iprot.readStructBegin()
13277
    while True:
13278
      (fname, ftype, fid) = iprot.readFieldBegin()
13279
      if ftype == TType.STOP:
13280
        break
13281
      else:
13282
        iprot.skip(ftype)
13283
      iprot.readFieldEnd()
13284
    iprot.readStructEnd()
13285
 
13286
  def write(self, oprot):
13287
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
13288
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
13289
      return
13290
    oprot.writeStructBegin('getBestSellersCount_args')
13291
    oprot.writeFieldStop()
13292
    oprot.writeStructEnd()
13293
 
13294
  def validate(self):
13295
    return
13296
 
13297
 
13298
  def __repr__(self):
13299
    L = ['%s=%r' % (key, value)
13300
      for key, value in self.__dict__.iteritems()]
13301
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
13302
 
13303
  def __eq__(self, other):
13304
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
13305
 
13306
  def __ne__(self, other):
13307
    return not (self == other)
13308
 
13309
class getBestSellersCount_result:
13310
  """
13311
  Attributes:
13312
   - success
13313
   - cex
13314
  """
13315
 
13316
  thrift_spec = (
13317
    (0, TType.I64, 'success', None, None, ), # 0
13318
    (1, TType.STRUCT, 'cex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
13319
  )
13320
 
13321
  def __init__(self, success=None, cex=None,):
13322
    self.success = success
13323
    self.cex = cex
13324
 
13325
  def read(self, iprot):
13326
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
13327
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
13328
      return
13329
    iprot.readStructBegin()
13330
    while True:
13331
      (fname, ftype, fid) = iprot.readFieldBegin()
13332
      if ftype == TType.STOP:
13333
        break
13334
      if fid == 0:
13335
        if ftype == TType.I64:
13336
          self.success = iprot.readI64();
13337
        else:
13338
          iprot.skip(ftype)
13339
      elif fid == 1:
13340
        if ftype == TType.STRUCT:
13341
          self.cex = CatalogServiceException()
13342
          self.cex.read(iprot)
13343
        else:
13344
          iprot.skip(ftype)
13345
      else:
13346
        iprot.skip(ftype)
13347
      iprot.readFieldEnd()
13348
    iprot.readStructEnd()
13349
 
13350
  def write(self, oprot):
13351
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
13352
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
13353
      return
13354
    oprot.writeStructBegin('getBestSellersCount_result')
13355
    if self.success is not None:
13356
      oprot.writeFieldBegin('success', TType.I64, 0)
13357
      oprot.writeI64(self.success)
13358
      oprot.writeFieldEnd()
13359
    if self.cex is not None:
13360
      oprot.writeFieldBegin('cex', TType.STRUCT, 1)
13361
      self.cex.write(oprot)
13362
      oprot.writeFieldEnd()
13363
    oprot.writeFieldStop()
13364
    oprot.writeStructEnd()
13365
 
13366
  def validate(self):
13367
    return
13368
 
13369
 
13370
  def __repr__(self):
13371
    L = ['%s=%r' % (key, value)
13372
      for key, value in self.__dict__.iteritems()]
13373
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
13374
 
13375
  def __eq__(self, other):
13376
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
13377
 
13378
  def __ne__(self, other):
13379
    return not (self == other)
13380
 
13381
class getBestDeals_args:
13382
 
13383
  thrift_spec = (
13384
  )
13385
 
13386
  def read(self, iprot):
13387
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
13388
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
13389
      return
13390
    iprot.readStructBegin()
13391
    while True:
13392
      (fname, ftype, fid) = iprot.readFieldBegin()
13393
      if ftype == TType.STOP:
13394
        break
13395
      else:
13396
        iprot.skip(ftype)
13397
      iprot.readFieldEnd()
13398
    iprot.readStructEnd()
13399
 
13400
  def write(self, oprot):
13401
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
13402
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
13403
      return
13404
    oprot.writeStructBegin('getBestDeals_args')
13405
    oprot.writeFieldStop()
13406
    oprot.writeStructEnd()
13407
 
13408
  def validate(self):
13409
    return
13410
 
13411
 
13412
  def __repr__(self):
13413
    L = ['%s=%r' % (key, value)
13414
      for key, value in self.__dict__.iteritems()]
13415
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
13416
 
13417
  def __eq__(self, other):
13418
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
13419
 
13420
  def __ne__(self, other):
13421
    return not (self == other)
13422
 
13423
class getBestDeals_result:
13424
  """
13425
  Attributes:
13426
   - success
13427
   - isex
13428
  """
13429
 
13430
  thrift_spec = (
13431
    (0, TType.LIST, 'success', (TType.STRUCT,(Item, Item.thrift_spec)), None, ), # 0
13432
    (1, TType.STRUCT, 'isex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
13433
  )
13434
 
13435
  def __init__(self, success=None, isex=None,):
13436
    self.success = success
13437
    self.isex = isex
13438
 
13439
  def read(self, iprot):
13440
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
13441
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
13442
      return
13443
    iprot.readStructBegin()
13444
    while True:
13445
      (fname, ftype, fid) = iprot.readFieldBegin()
13446
      if ftype == TType.STOP:
13447
        break
13448
      if fid == 0:
13449
        if ftype == TType.LIST:
13450
          self.success = []
21838 amit.gupta 13451
          (_etype148, _size145) = iprot.readListBegin()
13452
          for _i149 in xrange(_size145):
13453
            _elem150 = Item()
13454
            _elem150.read(iprot)
13455
            self.success.append(_elem150)
5944 mandeep.dh 13456
          iprot.readListEnd()
13457
        else:
13458
          iprot.skip(ftype)
13459
      elif fid == 1:
13460
        if ftype == TType.STRUCT:
13461
          self.isex = CatalogServiceException()
13462
          self.isex.read(iprot)
13463
        else:
13464
          iprot.skip(ftype)
13465
      else:
13466
        iprot.skip(ftype)
13467
      iprot.readFieldEnd()
13468
    iprot.readStructEnd()
13469
 
13470
  def write(self, oprot):
13471
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
13472
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
13473
      return
13474
    oprot.writeStructBegin('getBestDeals_result')
13475
    if self.success is not None:
13476
      oprot.writeFieldBegin('success', TType.LIST, 0)
13477
      oprot.writeListBegin(TType.STRUCT, len(self.success))
21838 amit.gupta 13478
      for iter151 in self.success:
13479
        iter151.write(oprot)
5944 mandeep.dh 13480
      oprot.writeListEnd()
13481
      oprot.writeFieldEnd()
13482
    if self.isex is not None:
13483
      oprot.writeFieldBegin('isex', TType.STRUCT, 1)
13484
      self.isex.write(oprot)
13485
      oprot.writeFieldEnd()
13486
    oprot.writeFieldStop()
13487
    oprot.writeStructEnd()
13488
 
13489
  def validate(self):
13490
    return
13491
 
13492
 
13493
  def __repr__(self):
13494
    L = ['%s=%r' % (key, value)
13495
      for key, value in self.__dict__.iteritems()]
13496
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
13497
 
13498
  def __eq__(self, other):
13499
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
13500
 
13501
  def __ne__(self, other):
13502
    return not (self == other)
13503
 
13504
class getBestDealsCatalogIds_args:
13505
  """
13506
  Attributes:
13507
   - beginIndex
13508
   - totalItems
13509
   - brand
13510
   - category
13511
  """
13512
 
13513
  thrift_spec = (
13514
    None, # 0
13515
    (1, TType.I64, 'beginIndex', None, None, ), # 1
13516
    (2, TType.I64, 'totalItems', None, None, ), # 2
13517
    (3, TType.STRING, 'brand', None, None, ), # 3
13518
    (4, TType.I64, 'category', None, None, ), # 4
13519
  )
13520
 
13521
  def __init__(self, beginIndex=None, totalItems=None, brand=None, category=None,):
13522
    self.beginIndex = beginIndex
13523
    self.totalItems = totalItems
13524
    self.brand = brand
13525
    self.category = category
13526
 
13527
  def read(self, iprot):
13528
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
13529
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
13530
      return
13531
    iprot.readStructBegin()
13532
    while True:
13533
      (fname, ftype, fid) = iprot.readFieldBegin()
13534
      if ftype == TType.STOP:
13535
        break
13536
      if fid == 1:
13537
        if ftype == TType.I64:
13538
          self.beginIndex = iprot.readI64();
13539
        else:
13540
          iprot.skip(ftype)
13541
      elif fid == 2:
13542
        if ftype == TType.I64:
13543
          self.totalItems = iprot.readI64();
13544
        else:
13545
          iprot.skip(ftype)
13546
      elif fid == 3:
13547
        if ftype == TType.STRING:
13548
          self.brand = iprot.readString();
13549
        else:
13550
          iprot.skip(ftype)
13551
      elif fid == 4:
13552
        if ftype == TType.I64:
13553
          self.category = iprot.readI64();
13554
        else:
13555
          iprot.skip(ftype)
13556
      else:
13557
        iprot.skip(ftype)
13558
      iprot.readFieldEnd()
13559
    iprot.readStructEnd()
13560
 
13561
  def write(self, oprot):
13562
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
13563
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
13564
      return
13565
    oprot.writeStructBegin('getBestDealsCatalogIds_args')
13566
    if self.beginIndex is not None:
13567
      oprot.writeFieldBegin('beginIndex', TType.I64, 1)
13568
      oprot.writeI64(self.beginIndex)
13569
      oprot.writeFieldEnd()
13570
    if self.totalItems is not None:
13571
      oprot.writeFieldBegin('totalItems', TType.I64, 2)
13572
      oprot.writeI64(self.totalItems)
13573
      oprot.writeFieldEnd()
13574
    if self.brand is not None:
13575
      oprot.writeFieldBegin('brand', TType.STRING, 3)
13576
      oprot.writeString(self.brand)
13577
      oprot.writeFieldEnd()
13578
    if self.category is not None:
13579
      oprot.writeFieldBegin('category', TType.I64, 4)
13580
      oprot.writeI64(self.category)
13581
      oprot.writeFieldEnd()
13582
    oprot.writeFieldStop()
13583
    oprot.writeStructEnd()
13584
 
13585
  def validate(self):
13586
    return
13587
 
13588
 
13589
  def __repr__(self):
13590
    L = ['%s=%r' % (key, value)
13591
      for key, value in self.__dict__.iteritems()]
13592
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
13593
 
13594
  def __eq__(self, other):
13595
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
13596
 
13597
  def __ne__(self, other):
13598
    return not (self == other)
13599
 
13600
class getBestDealsCatalogIds_result:
13601
  """
13602
  Attributes:
13603
   - success
13604
   - cex
13605
  """
13606
 
13607
  thrift_spec = (
13608
    (0, TType.LIST, 'success', (TType.I64,None), None, ), # 0
13609
    (1, TType.STRUCT, 'cex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
13610
  )
13611
 
13612
  def __init__(self, success=None, cex=None,):
13613
    self.success = success
13614
    self.cex = cex
13615
 
13616
  def read(self, iprot):
13617
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
13618
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
13619
      return
13620
    iprot.readStructBegin()
13621
    while True:
13622
      (fname, ftype, fid) = iprot.readFieldBegin()
13623
      if ftype == TType.STOP:
13624
        break
13625
      if fid == 0:
13626
        if ftype == TType.LIST:
13627
          self.success = []
21838 amit.gupta 13628
          (_etype155, _size152) = iprot.readListBegin()
13629
          for _i156 in xrange(_size152):
13630
            _elem157 = iprot.readI64();
13631
            self.success.append(_elem157)
5944 mandeep.dh 13632
          iprot.readListEnd()
13633
        else:
13634
          iprot.skip(ftype)
13635
      elif fid == 1:
13636
        if ftype == TType.STRUCT:
13637
          self.cex = CatalogServiceException()
13638
          self.cex.read(iprot)
13639
        else:
13640
          iprot.skip(ftype)
13641
      else:
13642
        iprot.skip(ftype)
13643
      iprot.readFieldEnd()
13644
    iprot.readStructEnd()
13645
 
13646
  def write(self, oprot):
13647
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
13648
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
13649
      return
13650
    oprot.writeStructBegin('getBestDealsCatalogIds_result')
13651
    if self.success is not None:
13652
      oprot.writeFieldBegin('success', TType.LIST, 0)
13653
      oprot.writeListBegin(TType.I64, len(self.success))
21838 amit.gupta 13654
      for iter158 in self.success:
13655
        oprot.writeI64(iter158)
5944 mandeep.dh 13656
      oprot.writeListEnd()
13657
      oprot.writeFieldEnd()
13658
    if self.cex is not None:
13659
      oprot.writeFieldBegin('cex', TType.STRUCT, 1)
13660
      self.cex.write(oprot)
13661
      oprot.writeFieldEnd()
13662
    oprot.writeFieldStop()
13663
    oprot.writeStructEnd()
13664
 
13665
  def validate(self):
13666
    return
13667
 
13668
 
13669
  def __repr__(self):
13670
    L = ['%s=%r' % (key, value)
13671
      for key, value in self.__dict__.iteritems()]
13672
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
13673
 
13674
  def __eq__(self, other):
13675
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
13676
 
13677
  def __ne__(self, other):
13678
    return not (self == other)
13679
 
13680
class getBestDealsCount_args:
13681
 
13682
  thrift_spec = (
13683
  )
13684
 
13685
  def read(self, iprot):
13686
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
13687
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
13688
      return
13689
    iprot.readStructBegin()
13690
    while True:
13691
      (fname, ftype, fid) = iprot.readFieldBegin()
13692
      if ftype == TType.STOP:
13693
        break
13694
      else:
13695
        iprot.skip(ftype)
13696
      iprot.readFieldEnd()
13697
    iprot.readStructEnd()
13698
 
13699
  def write(self, oprot):
13700
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
13701
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
13702
      return
13703
    oprot.writeStructBegin('getBestDealsCount_args')
13704
    oprot.writeFieldStop()
13705
    oprot.writeStructEnd()
13706
 
13707
  def validate(self):
13708
    return
13709
 
13710
 
13711
  def __repr__(self):
13712
    L = ['%s=%r' % (key, value)
13713
      for key, value in self.__dict__.iteritems()]
13714
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
13715
 
13716
  def __eq__(self, other):
13717
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
13718
 
13719
  def __ne__(self, other):
13720
    return not (self == other)
13721
 
13722
class getBestDealsCount_result:
13723
  """
13724
  Attributes:
13725
   - success
13726
   - cex
13727
  """
13728
 
13729
  thrift_spec = (
13730
    (0, TType.I64, 'success', None, None, ), # 0
13731
    (1, TType.STRUCT, 'cex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
13732
  )
13733
 
13734
  def __init__(self, success=None, cex=None,):
13735
    self.success = success
13736
    self.cex = cex
13737
 
13738
  def read(self, iprot):
13739
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
13740
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
13741
      return
13742
    iprot.readStructBegin()
13743
    while True:
13744
      (fname, ftype, fid) = iprot.readFieldBegin()
13745
      if ftype == TType.STOP:
13746
        break
13747
      if fid == 0:
13748
        if ftype == TType.I64:
13749
          self.success = iprot.readI64();
13750
        else:
13751
          iprot.skip(ftype)
13752
      elif fid == 1:
13753
        if ftype == TType.STRUCT:
13754
          self.cex = CatalogServiceException()
13755
          self.cex.read(iprot)
13756
        else:
13757
          iprot.skip(ftype)
13758
      else:
13759
        iprot.skip(ftype)
13760
      iprot.readFieldEnd()
13761
    iprot.readStructEnd()
13762
 
13763
  def write(self, oprot):
13764
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
13765
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
13766
      return
13767
    oprot.writeStructBegin('getBestDealsCount_result')
13768
    if self.success is not None:
13769
      oprot.writeFieldBegin('success', TType.I64, 0)
13770
      oprot.writeI64(self.success)
13771
      oprot.writeFieldEnd()
13772
    if self.cex is not None:
13773
      oprot.writeFieldBegin('cex', TType.STRUCT, 1)
13774
      self.cex.write(oprot)
13775
      oprot.writeFieldEnd()
13776
    oprot.writeFieldStop()
13777
    oprot.writeStructEnd()
13778
 
13779
  def validate(self):
13780
    return
13781
 
13782
 
13783
  def __repr__(self):
13784
    L = ['%s=%r' % (key, value)
13785
      for key, value in self.__dict__.iteritems()]
13786
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
13787
 
13788
  def __eq__(self, other):
13789
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
13790
 
13791
  def __ne__(self, other):
13792
    return not (self == other)
13793
 
13794
class getComingSoon_args:
13795
 
13796
  thrift_spec = (
13797
  )
13798
 
13799
  def read(self, iprot):
13800
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
13801
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
13802
      return
13803
    iprot.readStructBegin()
13804
    while True:
13805
      (fname, ftype, fid) = iprot.readFieldBegin()
13806
      if ftype == TType.STOP:
13807
        break
13808
      else:
13809
        iprot.skip(ftype)
13810
      iprot.readFieldEnd()
13811
    iprot.readStructEnd()
13812
 
13813
  def write(self, oprot):
13814
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
13815
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
13816
      return
13817
    oprot.writeStructBegin('getComingSoon_args')
13818
    oprot.writeFieldStop()
13819
    oprot.writeStructEnd()
13820
 
13821
  def validate(self):
13822
    return
13823
 
13824
 
13825
  def __repr__(self):
13826
    L = ['%s=%r' % (key, value)
13827
      for key, value in self.__dict__.iteritems()]
13828
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
13829
 
13830
  def __eq__(self, other):
13831
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
13832
 
13833
  def __ne__(self, other):
13834
    return not (self == other)
13835
 
13836
class getComingSoon_result:
13837
  """
13838
  Attributes:
13839
   - success
13840
   - isex
13841
  """
13842
 
13843
  thrift_spec = (
13844
    (0, TType.LIST, 'success', (TType.STRUCT,(Item, Item.thrift_spec)), None, ), # 0
13845
    (1, TType.STRUCT, 'isex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
13846
  )
13847
 
13848
  def __init__(self, success=None, isex=None,):
13849
    self.success = success
13850
    self.isex = isex
13851
 
13852
  def read(self, iprot):
13853
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
13854
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
13855
      return
13856
    iprot.readStructBegin()
13857
    while True:
13858
      (fname, ftype, fid) = iprot.readFieldBegin()
13859
      if ftype == TType.STOP:
13860
        break
13861
      if fid == 0:
13862
        if ftype == TType.LIST:
13863
          self.success = []
21838 amit.gupta 13864
          (_etype162, _size159) = iprot.readListBegin()
13865
          for _i163 in xrange(_size159):
13866
            _elem164 = Item()
13867
            _elem164.read(iprot)
13868
            self.success.append(_elem164)
5944 mandeep.dh 13869
          iprot.readListEnd()
13870
        else:
13871
          iprot.skip(ftype)
13872
      elif fid == 1:
13873
        if ftype == TType.STRUCT:
13874
          self.isex = CatalogServiceException()
13875
          self.isex.read(iprot)
13876
        else:
13877
          iprot.skip(ftype)
13878
      else:
13879
        iprot.skip(ftype)
13880
      iprot.readFieldEnd()
13881
    iprot.readStructEnd()
13882
 
13883
  def write(self, oprot):
13884
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
13885
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
13886
      return
13887
    oprot.writeStructBegin('getComingSoon_result')
13888
    if self.success is not None:
13889
      oprot.writeFieldBegin('success', TType.LIST, 0)
13890
      oprot.writeListBegin(TType.STRUCT, len(self.success))
21838 amit.gupta 13891
      for iter165 in self.success:
13892
        iter165.write(oprot)
5944 mandeep.dh 13893
      oprot.writeListEnd()
13894
      oprot.writeFieldEnd()
13895
    if self.isex is not None:
13896
      oprot.writeFieldBegin('isex', TType.STRUCT, 1)
13897
      self.isex.write(oprot)
13898
      oprot.writeFieldEnd()
13899
    oprot.writeFieldStop()
13900
    oprot.writeStructEnd()
13901
 
13902
  def validate(self):
13903
    return
13904
 
13905
 
13906
  def __repr__(self):
13907
    L = ['%s=%r' % (key, value)
13908
      for key, value in self.__dict__.iteritems()]
13909
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
13910
 
13911
  def __eq__(self, other):
13912
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
13913
 
13914
  def __ne__(self, other):
13915
    return not (self == other)
13916
 
13917
class getComingSoonCatalogIds_args:
13918
  """
13919
  Attributes:
13920
   - beginIndex
13921
   - totalItems
13922
   - brand
13923
   - category
13924
  """
13925
 
13926
  thrift_spec = (
13927
    None, # 0
13928
    (1, TType.I64, 'beginIndex', None, None, ), # 1
13929
    (2, TType.I64, 'totalItems', None, None, ), # 2
13930
    (3, TType.STRING, 'brand', None, None, ), # 3
13931
    (4, TType.I64, 'category', None, None, ), # 4
13932
  )
13933
 
13934
  def __init__(self, beginIndex=None, totalItems=None, brand=None, category=None,):
13935
    self.beginIndex = beginIndex
13936
    self.totalItems = totalItems
13937
    self.brand = brand
13938
    self.category = category
13939
 
13940
  def read(self, iprot):
13941
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
13942
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
13943
      return
13944
    iprot.readStructBegin()
13945
    while True:
13946
      (fname, ftype, fid) = iprot.readFieldBegin()
13947
      if ftype == TType.STOP:
13948
        break
13949
      if fid == 1:
13950
        if ftype == TType.I64:
13951
          self.beginIndex = iprot.readI64();
13952
        else:
13953
          iprot.skip(ftype)
13954
      elif fid == 2:
13955
        if ftype == TType.I64:
13956
          self.totalItems = iprot.readI64();
13957
        else:
13958
          iprot.skip(ftype)
13959
      elif fid == 3:
13960
        if ftype == TType.STRING:
13961
          self.brand = iprot.readString();
13962
        else:
13963
          iprot.skip(ftype)
13964
      elif fid == 4:
13965
        if ftype == TType.I64:
13966
          self.category = iprot.readI64();
13967
        else:
13968
          iprot.skip(ftype)
13969
      else:
13970
        iprot.skip(ftype)
13971
      iprot.readFieldEnd()
13972
    iprot.readStructEnd()
13973
 
13974
  def write(self, oprot):
13975
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
13976
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
13977
      return
13978
    oprot.writeStructBegin('getComingSoonCatalogIds_args')
13979
    if self.beginIndex is not None:
13980
      oprot.writeFieldBegin('beginIndex', TType.I64, 1)
13981
      oprot.writeI64(self.beginIndex)
13982
      oprot.writeFieldEnd()
13983
    if self.totalItems is not None:
13984
      oprot.writeFieldBegin('totalItems', TType.I64, 2)
13985
      oprot.writeI64(self.totalItems)
13986
      oprot.writeFieldEnd()
13987
    if self.brand is not None:
13988
      oprot.writeFieldBegin('brand', TType.STRING, 3)
13989
      oprot.writeString(self.brand)
13990
      oprot.writeFieldEnd()
13991
    if self.category is not None:
13992
      oprot.writeFieldBegin('category', TType.I64, 4)
13993
      oprot.writeI64(self.category)
13994
      oprot.writeFieldEnd()
13995
    oprot.writeFieldStop()
13996
    oprot.writeStructEnd()
13997
 
13998
  def validate(self):
13999
    return
14000
 
14001
 
14002
  def __repr__(self):
14003
    L = ['%s=%r' % (key, value)
14004
      for key, value in self.__dict__.iteritems()]
14005
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
14006
 
14007
  def __eq__(self, other):
14008
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
14009
 
14010
  def __ne__(self, other):
14011
    return not (self == other)
14012
 
14013
class getComingSoonCatalogIds_result:
14014
  """
14015
  Attributes:
14016
   - success
14017
   - cex
14018
  """
14019
 
14020
  thrift_spec = (
14021
    (0, TType.LIST, 'success', (TType.I64,None), None, ), # 0
14022
    (1, TType.STRUCT, 'cex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
14023
  )
14024
 
14025
  def __init__(self, success=None, cex=None,):
14026
    self.success = success
14027
    self.cex = cex
14028
 
14029
  def read(self, iprot):
14030
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
14031
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
14032
      return
14033
    iprot.readStructBegin()
14034
    while True:
14035
      (fname, ftype, fid) = iprot.readFieldBegin()
14036
      if ftype == TType.STOP:
14037
        break
14038
      if fid == 0:
14039
        if ftype == TType.LIST:
14040
          self.success = []
21838 amit.gupta 14041
          (_etype169, _size166) = iprot.readListBegin()
14042
          for _i170 in xrange(_size166):
14043
            _elem171 = iprot.readI64();
14044
            self.success.append(_elem171)
5944 mandeep.dh 14045
          iprot.readListEnd()
14046
        else:
14047
          iprot.skip(ftype)
14048
      elif fid == 1:
14049
        if ftype == TType.STRUCT:
14050
          self.cex = CatalogServiceException()
14051
          self.cex.read(iprot)
14052
        else:
14053
          iprot.skip(ftype)
14054
      else:
14055
        iprot.skip(ftype)
14056
      iprot.readFieldEnd()
14057
    iprot.readStructEnd()
14058
 
14059
  def write(self, oprot):
14060
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
14061
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
14062
      return
14063
    oprot.writeStructBegin('getComingSoonCatalogIds_result')
14064
    if self.success is not None:
14065
      oprot.writeFieldBegin('success', TType.LIST, 0)
14066
      oprot.writeListBegin(TType.I64, len(self.success))
21838 amit.gupta 14067
      for iter172 in self.success:
14068
        oprot.writeI64(iter172)
5944 mandeep.dh 14069
      oprot.writeListEnd()
14070
      oprot.writeFieldEnd()
14071
    if self.cex is not None:
14072
      oprot.writeFieldBegin('cex', TType.STRUCT, 1)
14073
      self.cex.write(oprot)
14074
      oprot.writeFieldEnd()
14075
    oprot.writeFieldStop()
14076
    oprot.writeStructEnd()
14077
 
14078
  def validate(self):
14079
    return
14080
 
14081
 
14082
  def __repr__(self):
14083
    L = ['%s=%r' % (key, value)
14084
      for key, value in self.__dict__.iteritems()]
14085
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
14086
 
14087
  def __eq__(self, other):
14088
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
14089
 
14090
  def __ne__(self, other):
14091
    return not (self == other)
14092
 
14093
class getComingSoonCount_args:
14094
 
14095
  thrift_spec = (
14096
  )
14097
 
14098
  def read(self, iprot):
14099
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
14100
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
14101
      return
14102
    iprot.readStructBegin()
14103
    while True:
14104
      (fname, ftype, fid) = iprot.readFieldBegin()
14105
      if ftype == TType.STOP:
14106
        break
14107
      else:
14108
        iprot.skip(ftype)
14109
      iprot.readFieldEnd()
14110
    iprot.readStructEnd()
14111
 
14112
  def write(self, oprot):
14113
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
14114
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
14115
      return
14116
    oprot.writeStructBegin('getComingSoonCount_args')
14117
    oprot.writeFieldStop()
14118
    oprot.writeStructEnd()
14119
 
14120
  def validate(self):
14121
    return
14122
 
14123
 
14124
  def __repr__(self):
14125
    L = ['%s=%r' % (key, value)
14126
      for key, value in self.__dict__.iteritems()]
14127
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
14128
 
14129
  def __eq__(self, other):
14130
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
14131
 
14132
  def __ne__(self, other):
14133
    return not (self == other)
14134
 
14135
class getComingSoonCount_result:
14136
  """
14137
  Attributes:
14138
   - success
14139
   - cex
14140
  """
14141
 
14142
  thrift_spec = (
14143
    (0, TType.I64, 'success', None, None, ), # 0
14144
    (1, TType.STRUCT, 'cex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
14145
  )
14146
 
14147
  def __init__(self, success=None, cex=None,):
14148
    self.success = success
14149
    self.cex = cex
14150
 
14151
  def read(self, iprot):
14152
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
14153
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
14154
      return
14155
    iprot.readStructBegin()
14156
    while True:
14157
      (fname, ftype, fid) = iprot.readFieldBegin()
14158
      if ftype == TType.STOP:
14159
        break
14160
      if fid == 0:
14161
        if ftype == TType.I64:
14162
          self.success = iprot.readI64();
14163
        else:
14164
          iprot.skip(ftype)
14165
      elif fid == 1:
14166
        if ftype == TType.STRUCT:
14167
          self.cex = CatalogServiceException()
14168
          self.cex.read(iprot)
14169
        else:
14170
          iprot.skip(ftype)
14171
      else:
14172
        iprot.skip(ftype)
14173
      iprot.readFieldEnd()
14174
    iprot.readStructEnd()
14175
 
14176
  def write(self, oprot):
14177
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
14178
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
14179
      return
14180
    oprot.writeStructBegin('getComingSoonCount_result')
14181
    if self.success is not None:
14182
      oprot.writeFieldBegin('success', TType.I64, 0)
14183
      oprot.writeI64(self.success)
14184
      oprot.writeFieldEnd()
14185
    if self.cex is not None:
14186
      oprot.writeFieldBegin('cex', TType.STRUCT, 1)
14187
      self.cex.write(oprot)
14188
      oprot.writeFieldEnd()
14189
    oprot.writeFieldStop()
14190
    oprot.writeStructEnd()
14191
 
14192
  def validate(self):
14193
    return
14194
 
14195
 
14196
  def __repr__(self):
14197
    L = ['%s=%r' % (key, value)
14198
      for key, value in self.__dict__.iteritems()]
14199
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
14200
 
14201
  def __eq__(self, other):
14202
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
14203
 
14204
  def __ne__(self, other):
14205
    return not (self == other)
14206
 
14207
class getLatestArrivals_args:
14208
 
14209
  thrift_spec = (
14210
  )
14211
 
14212
  def read(self, iprot):
14213
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
14214
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
14215
      return
14216
    iprot.readStructBegin()
14217
    while True:
14218
      (fname, ftype, fid) = iprot.readFieldBegin()
14219
      if ftype == TType.STOP:
14220
        break
14221
      else:
14222
        iprot.skip(ftype)
14223
      iprot.readFieldEnd()
14224
    iprot.readStructEnd()
14225
 
14226
  def write(self, oprot):
14227
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
14228
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
14229
      return
14230
    oprot.writeStructBegin('getLatestArrivals_args')
14231
    oprot.writeFieldStop()
14232
    oprot.writeStructEnd()
14233
 
14234
  def validate(self):
14235
    return
14236
 
14237
 
14238
  def __repr__(self):
14239
    L = ['%s=%r' % (key, value)
14240
      for key, value in self.__dict__.iteritems()]
14241
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
14242
 
14243
  def __eq__(self, other):
14244
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
14245
 
14246
  def __ne__(self, other):
14247
    return not (self == other)
14248
 
14249
class getLatestArrivals_result:
14250
  """
14251
  Attributes:
14252
   - success
14253
   - isex
14254
  """
14255
 
14256
  thrift_spec = (
14257
    (0, TType.LIST, 'success', (TType.STRUCT,(Item, Item.thrift_spec)), None, ), # 0
14258
    (1, TType.STRUCT, 'isex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
14259
  )
14260
 
14261
  def __init__(self, success=None, isex=None,):
14262
    self.success = success
14263
    self.isex = isex
14264
 
14265
  def read(self, iprot):
14266
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
14267
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
14268
      return
14269
    iprot.readStructBegin()
14270
    while True:
14271
      (fname, ftype, fid) = iprot.readFieldBegin()
14272
      if ftype == TType.STOP:
14273
        break
14274
      if fid == 0:
14275
        if ftype == TType.LIST:
14276
          self.success = []
21838 amit.gupta 14277
          (_etype176, _size173) = iprot.readListBegin()
14278
          for _i177 in xrange(_size173):
14279
            _elem178 = Item()
14280
            _elem178.read(iprot)
14281
            self.success.append(_elem178)
5944 mandeep.dh 14282
          iprot.readListEnd()
14283
        else:
14284
          iprot.skip(ftype)
14285
      elif fid == 1:
14286
        if ftype == TType.STRUCT:
14287
          self.isex = CatalogServiceException()
14288
          self.isex.read(iprot)
14289
        else:
14290
          iprot.skip(ftype)
14291
      else:
14292
        iprot.skip(ftype)
14293
      iprot.readFieldEnd()
14294
    iprot.readStructEnd()
14295
 
14296
  def write(self, oprot):
14297
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
14298
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
14299
      return
14300
    oprot.writeStructBegin('getLatestArrivals_result')
14301
    if self.success is not None:
14302
      oprot.writeFieldBegin('success', TType.LIST, 0)
14303
      oprot.writeListBegin(TType.STRUCT, len(self.success))
21838 amit.gupta 14304
      for iter179 in self.success:
14305
        iter179.write(oprot)
5944 mandeep.dh 14306
      oprot.writeListEnd()
14307
      oprot.writeFieldEnd()
14308
    if self.isex is not None:
14309
      oprot.writeFieldBegin('isex', TType.STRUCT, 1)
14310
      self.isex.write(oprot)
14311
      oprot.writeFieldEnd()
14312
    oprot.writeFieldStop()
14313
    oprot.writeStructEnd()
14314
 
14315
  def validate(self):
14316
    return
14317
 
14318
 
14319
  def __repr__(self):
14320
    L = ['%s=%r' % (key, value)
14321
      for key, value in self.__dict__.iteritems()]
14322
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
14323
 
14324
  def __eq__(self, other):
14325
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
14326
 
14327
  def __ne__(self, other):
14328
    return not (self == other)
14329
 
14330
class getLatestArrivalsCatalogIds_args:
14331
  """
14332
  Attributes:
14333
   - beginIndex
14334
   - totalItems
14335
   - brand
14336
   - categories
14337
  """
14338
 
14339
  thrift_spec = (
14340
    None, # 0
14341
    (1, TType.I64, 'beginIndex', None, None, ), # 1
14342
    (2, TType.I64, 'totalItems', None, None, ), # 2
14343
    (3, TType.STRING, 'brand', None, None, ), # 3
14344
    (4, TType.LIST, 'categories', (TType.I64,None), None, ), # 4
14345
  )
14346
 
14347
  def __init__(self, beginIndex=None, totalItems=None, brand=None, categories=None,):
14348
    self.beginIndex = beginIndex
14349
    self.totalItems = totalItems
14350
    self.brand = brand
14351
    self.categories = categories
14352
 
14353
  def read(self, iprot):
14354
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
14355
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
14356
      return
14357
    iprot.readStructBegin()
14358
    while True:
14359
      (fname, ftype, fid) = iprot.readFieldBegin()
14360
      if ftype == TType.STOP:
14361
        break
14362
      if fid == 1:
14363
        if ftype == TType.I64:
14364
          self.beginIndex = iprot.readI64();
14365
        else:
14366
          iprot.skip(ftype)
14367
      elif fid == 2:
14368
        if ftype == TType.I64:
14369
          self.totalItems = iprot.readI64();
14370
        else:
14371
          iprot.skip(ftype)
14372
      elif fid == 3:
14373
        if ftype == TType.STRING:
14374
          self.brand = iprot.readString();
14375
        else:
14376
          iprot.skip(ftype)
14377
      elif fid == 4:
14378
        if ftype == TType.LIST:
14379
          self.categories = []
21838 amit.gupta 14380
          (_etype183, _size180) = iprot.readListBegin()
14381
          for _i184 in xrange(_size180):
14382
            _elem185 = iprot.readI64();
14383
            self.categories.append(_elem185)
5944 mandeep.dh 14384
          iprot.readListEnd()
14385
        else:
14386
          iprot.skip(ftype)
14387
      else:
14388
        iprot.skip(ftype)
14389
      iprot.readFieldEnd()
14390
    iprot.readStructEnd()
14391
 
14392
  def write(self, oprot):
14393
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
14394
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
14395
      return
14396
    oprot.writeStructBegin('getLatestArrivalsCatalogIds_args')
14397
    if self.beginIndex is not None:
14398
      oprot.writeFieldBegin('beginIndex', TType.I64, 1)
14399
      oprot.writeI64(self.beginIndex)
14400
      oprot.writeFieldEnd()
14401
    if self.totalItems is not None:
14402
      oprot.writeFieldBegin('totalItems', TType.I64, 2)
14403
      oprot.writeI64(self.totalItems)
14404
      oprot.writeFieldEnd()
14405
    if self.brand is not None:
14406
      oprot.writeFieldBegin('brand', TType.STRING, 3)
14407
      oprot.writeString(self.brand)
14408
      oprot.writeFieldEnd()
14409
    if self.categories is not None:
14410
      oprot.writeFieldBegin('categories', TType.LIST, 4)
14411
      oprot.writeListBegin(TType.I64, len(self.categories))
21838 amit.gupta 14412
      for iter186 in self.categories:
14413
        oprot.writeI64(iter186)
5944 mandeep.dh 14414
      oprot.writeListEnd()
14415
      oprot.writeFieldEnd()
14416
    oprot.writeFieldStop()
14417
    oprot.writeStructEnd()
14418
 
14419
  def validate(self):
14420
    return
14421
 
14422
 
14423
  def __repr__(self):
14424
    L = ['%s=%r' % (key, value)
14425
      for key, value in self.__dict__.iteritems()]
14426
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
14427
 
14428
  def __eq__(self, other):
14429
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
14430
 
14431
  def __ne__(self, other):
14432
    return not (self == other)
14433
 
14434
class getLatestArrivalsCatalogIds_result:
14435
  """
14436
  Attributes:
14437
   - success
14438
   - cex
14439
  """
14440
 
14441
  thrift_spec = (
14442
    (0, TType.LIST, 'success', (TType.I64,None), None, ), # 0
14443
    (1, TType.STRUCT, 'cex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
14444
  )
14445
 
14446
  def __init__(self, success=None, cex=None,):
14447
    self.success = success
14448
    self.cex = cex
14449
 
14450
  def read(self, iprot):
14451
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
14452
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
14453
      return
14454
    iprot.readStructBegin()
14455
    while True:
14456
      (fname, ftype, fid) = iprot.readFieldBegin()
14457
      if ftype == TType.STOP:
14458
        break
14459
      if fid == 0:
14460
        if ftype == TType.LIST:
14461
          self.success = []
21838 amit.gupta 14462
          (_etype190, _size187) = iprot.readListBegin()
14463
          for _i191 in xrange(_size187):
14464
            _elem192 = iprot.readI64();
14465
            self.success.append(_elem192)
5944 mandeep.dh 14466
          iprot.readListEnd()
14467
        else:
14468
          iprot.skip(ftype)
14469
      elif fid == 1:
14470
        if ftype == TType.STRUCT:
14471
          self.cex = CatalogServiceException()
14472
          self.cex.read(iprot)
14473
        else:
14474
          iprot.skip(ftype)
14475
      else:
14476
        iprot.skip(ftype)
14477
      iprot.readFieldEnd()
14478
    iprot.readStructEnd()
14479
 
14480
  def write(self, oprot):
14481
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
14482
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
14483
      return
14484
    oprot.writeStructBegin('getLatestArrivalsCatalogIds_result')
14485
    if self.success is not None:
14486
      oprot.writeFieldBegin('success', TType.LIST, 0)
14487
      oprot.writeListBegin(TType.I64, len(self.success))
21838 amit.gupta 14488
      for iter193 in self.success:
14489
        oprot.writeI64(iter193)
5944 mandeep.dh 14490
      oprot.writeListEnd()
14491
      oprot.writeFieldEnd()
14492
    if self.cex is not None:
14493
      oprot.writeFieldBegin('cex', TType.STRUCT, 1)
14494
      self.cex.write(oprot)
14495
      oprot.writeFieldEnd()
14496
    oprot.writeFieldStop()
14497
    oprot.writeStructEnd()
14498
 
14499
  def validate(self):
14500
    return
14501
 
14502
 
14503
  def __repr__(self):
14504
    L = ['%s=%r' % (key, value)
14505
      for key, value in self.__dict__.iteritems()]
14506
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
14507
 
14508
  def __eq__(self, other):
14509
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
14510
 
14511
  def __ne__(self, other):
14512
    return not (self == other)
14513
 
14514
class getLatestArrivalsCount_args:
14515
 
14516
  thrift_spec = (
14517
  )
14518
 
14519
  def read(self, iprot):
14520
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
14521
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
14522
      return
14523
    iprot.readStructBegin()
14524
    while True:
14525
      (fname, ftype, fid) = iprot.readFieldBegin()
14526
      if ftype == TType.STOP:
14527
        break
14528
      else:
14529
        iprot.skip(ftype)
14530
      iprot.readFieldEnd()
14531
    iprot.readStructEnd()
14532
 
14533
  def write(self, oprot):
14534
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
14535
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
14536
      return
14537
    oprot.writeStructBegin('getLatestArrivalsCount_args')
14538
    oprot.writeFieldStop()
14539
    oprot.writeStructEnd()
14540
 
14541
  def validate(self):
14542
    return
14543
 
14544
 
14545
  def __repr__(self):
14546
    L = ['%s=%r' % (key, value)
14547
      for key, value in self.__dict__.iteritems()]
14548
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
14549
 
14550
  def __eq__(self, other):
14551
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
14552
 
14553
  def __ne__(self, other):
14554
    return not (self == other)
14555
 
14556
class getLatestArrivalsCount_result:
14557
  """
14558
  Attributes:
14559
   - success
14560
   - cex
14561
  """
14562
 
14563
  thrift_spec = (
14564
    (0, TType.I64, 'success', None, None, ), # 0
14565
    (1, TType.STRUCT, 'cex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
14566
  )
14567
 
14568
  def __init__(self, success=None, cex=None,):
14569
    self.success = success
14570
    self.cex = cex
14571
 
14572
  def read(self, iprot):
14573
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
14574
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
14575
      return
14576
    iprot.readStructBegin()
14577
    while True:
14578
      (fname, ftype, fid) = iprot.readFieldBegin()
14579
      if ftype == TType.STOP:
14580
        break
14581
      if fid == 0:
14582
        if ftype == TType.I64:
14583
          self.success = iprot.readI64();
14584
        else:
14585
          iprot.skip(ftype)
14586
      elif fid == 1:
14587
        if ftype == TType.STRUCT:
14588
          self.cex = CatalogServiceException()
14589
          self.cex.read(iprot)
14590
        else:
14591
          iprot.skip(ftype)
14592
      else:
14593
        iprot.skip(ftype)
14594
      iprot.readFieldEnd()
14595
    iprot.readStructEnd()
14596
 
14597
  def write(self, oprot):
14598
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
14599
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
14600
      return
14601
    oprot.writeStructBegin('getLatestArrivalsCount_result')
14602
    if self.success is not None:
14603
      oprot.writeFieldBegin('success', TType.I64, 0)
14604
      oprot.writeI64(self.success)
14605
      oprot.writeFieldEnd()
14606
    if self.cex is not None:
14607
      oprot.writeFieldBegin('cex', TType.STRUCT, 1)
14608
      self.cex.write(oprot)
14609
      oprot.writeFieldEnd()
14610
    oprot.writeFieldStop()
14611
    oprot.writeStructEnd()
14612
 
14613
  def validate(self):
14614
    return
14615
 
14616
 
14617
  def __repr__(self):
14618
    L = ['%s=%r' % (key, value)
14619
      for key, value in self.__dict__.iteritems()]
14620
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
14621
 
14622
  def __eq__(self, other):
14623
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
14624
 
14625
  def __ne__(self, other):
14626
    return not (self == other)
14627
 
14628
class generateNewEntityID_args:
14629
 
14630
  thrift_spec = (
14631
  )
14632
 
14633
  def read(self, iprot):
14634
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
14635
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
14636
      return
14637
    iprot.readStructBegin()
14638
    while True:
14639
      (fname, ftype, fid) = iprot.readFieldBegin()
14640
      if ftype == TType.STOP:
14641
        break
14642
      else:
14643
        iprot.skip(ftype)
14644
      iprot.readFieldEnd()
14645
    iprot.readStructEnd()
14646
 
14647
  def write(self, oprot):
14648
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
14649
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
14650
      return
14651
    oprot.writeStructBegin('generateNewEntityID_args')
14652
    oprot.writeFieldStop()
14653
    oprot.writeStructEnd()
14654
 
14655
  def validate(self):
14656
    return
14657
 
14658
 
14659
  def __repr__(self):
14660
    L = ['%s=%r' % (key, value)
14661
      for key, value in self.__dict__.iteritems()]
14662
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
14663
 
14664
  def __eq__(self, other):
14665
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
14666
 
14667
  def __ne__(self, other):
14668
    return not (self == other)
14669
 
14670
class generateNewEntityID_result:
14671
  """
14672
  Attributes:
14673
   - success
14674
  """
14675
 
14676
  thrift_spec = (
14677
    (0, TType.I64, 'success', None, None, ), # 0
14678
  )
14679
 
14680
  def __init__(self, success=None,):
14681
    self.success = success
14682
 
14683
  def read(self, iprot):
14684
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
14685
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
14686
      return
14687
    iprot.readStructBegin()
14688
    while True:
14689
      (fname, ftype, fid) = iprot.readFieldBegin()
14690
      if ftype == TType.STOP:
14691
        break
14692
      if fid == 0:
14693
        if ftype == TType.I64:
14694
          self.success = iprot.readI64();
14695
        else:
14696
          iprot.skip(ftype)
14697
      else:
14698
        iprot.skip(ftype)
14699
      iprot.readFieldEnd()
14700
    iprot.readStructEnd()
14701
 
14702
  def write(self, oprot):
14703
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
14704
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
14705
      return
14706
    oprot.writeStructBegin('generateNewEntityID_result')
14707
    if self.success is not None:
14708
      oprot.writeFieldBegin('success', TType.I64, 0)
14709
      oprot.writeI64(self.success)
14710
      oprot.writeFieldEnd()
14711
    oprot.writeFieldStop()
14712
    oprot.writeStructEnd()
14713
 
14714
  def validate(self):
14715
    return
14716
 
14717
 
14718
  def __repr__(self):
14719
    L = ['%s=%r' % (key, value)
14720
      for key, value in self.__dict__.iteritems()]
14721
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
14722
 
14723
  def __eq__(self, other):
14724
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
14725
 
14726
  def __ne__(self, other):
14727
    return not (self == other)
14728
 
14729
class addCategory_args:
14730
  """
14731
  Attributes:
14732
   - category
14733
  """
14734
 
14735
  thrift_spec = (
14736
    None, # 0
14737
    (1, TType.STRUCT, 'category', (Category, Category.thrift_spec), None, ), # 1
14738
  )
14739
 
14740
  def __init__(self, category=None,):
14741
    self.category = category
14742
 
14743
  def read(self, iprot):
14744
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
14745
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
14746
      return
14747
    iprot.readStructBegin()
14748
    while True:
14749
      (fname, ftype, fid) = iprot.readFieldBegin()
14750
      if ftype == TType.STOP:
14751
        break
14752
      if fid == 1:
14753
        if ftype == TType.STRUCT:
14754
          self.category = Category()
14755
          self.category.read(iprot)
14756
        else:
14757
          iprot.skip(ftype)
14758
      else:
14759
        iprot.skip(ftype)
14760
      iprot.readFieldEnd()
14761
    iprot.readStructEnd()
14762
 
14763
  def write(self, oprot):
14764
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
14765
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
14766
      return
14767
    oprot.writeStructBegin('addCategory_args')
14768
    if self.category is not None:
14769
      oprot.writeFieldBegin('category', TType.STRUCT, 1)
14770
      self.category.write(oprot)
14771
      oprot.writeFieldEnd()
14772
    oprot.writeFieldStop()
14773
    oprot.writeStructEnd()
14774
 
14775
  def validate(self):
14776
    return
14777
 
14778
 
14779
  def __repr__(self):
14780
    L = ['%s=%r' % (key, value)
14781
      for key, value in self.__dict__.iteritems()]
14782
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
14783
 
14784
  def __eq__(self, other):
14785
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
14786
 
14787
  def __ne__(self, other):
14788
    return not (self == other)
14789
 
14790
class addCategory_result:
14791
  """
14792
  Attributes:
14793
   - success
14794
  """
14795
 
14796
  thrift_spec = (
14797
    (0, TType.BOOL, 'success', None, None, ), # 0
14798
  )
14799
 
14800
  def __init__(self, success=None,):
14801
    self.success = success
14802
 
14803
  def read(self, iprot):
14804
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
14805
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
14806
      return
14807
    iprot.readStructBegin()
14808
    while True:
14809
      (fname, ftype, fid) = iprot.readFieldBegin()
14810
      if ftype == TType.STOP:
14811
        break
14812
      if fid == 0:
14813
        if ftype == TType.BOOL:
14814
          self.success = iprot.readBool();
14815
        else:
14816
          iprot.skip(ftype)
14817
      else:
14818
        iprot.skip(ftype)
14819
      iprot.readFieldEnd()
14820
    iprot.readStructEnd()
14821
 
14822
  def write(self, oprot):
14823
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
14824
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
14825
      return
14826
    oprot.writeStructBegin('addCategory_result')
14827
    if self.success is not None:
14828
      oprot.writeFieldBegin('success', TType.BOOL, 0)
14829
      oprot.writeBool(self.success)
14830
      oprot.writeFieldEnd()
14831
    oprot.writeFieldStop()
14832
    oprot.writeStructEnd()
14833
 
14834
  def validate(self):
14835
    return
14836
 
14837
 
14838
  def __repr__(self):
14839
    L = ['%s=%r' % (key, value)
14840
      for key, value in self.__dict__.iteritems()]
14841
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
14842
 
14843
  def __eq__(self, other):
14844
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
14845
 
14846
  def __ne__(self, other):
14847
    return not (self == other)
14848
 
14849
class getCategory_args:
14850
  """
14851
  Attributes:
14852
   - id
14853
  """
14854
 
14855
  thrift_spec = (
14856
    None, # 0
14857
    (1, TType.I64, 'id', None, None, ), # 1
14858
  )
14859
 
14860
  def __init__(self, id=None,):
14861
    self.id = id
14862
 
14863
  def read(self, iprot):
14864
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
14865
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
14866
      return
14867
    iprot.readStructBegin()
14868
    while True:
14869
      (fname, ftype, fid) = iprot.readFieldBegin()
14870
      if ftype == TType.STOP:
14871
        break
14872
      if fid == 1:
14873
        if ftype == TType.I64:
14874
          self.id = iprot.readI64();
14875
        else:
14876
          iprot.skip(ftype)
14877
      else:
14878
        iprot.skip(ftype)
14879
      iprot.readFieldEnd()
14880
    iprot.readStructEnd()
14881
 
14882
  def write(self, oprot):
14883
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
14884
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
14885
      return
14886
    oprot.writeStructBegin('getCategory_args')
14887
    if self.id is not None:
14888
      oprot.writeFieldBegin('id', TType.I64, 1)
14889
      oprot.writeI64(self.id)
14890
      oprot.writeFieldEnd()
14891
    oprot.writeFieldStop()
14892
    oprot.writeStructEnd()
14893
 
14894
  def validate(self):
14895
    return
14896
 
14897
 
14898
  def __repr__(self):
14899
    L = ['%s=%r' % (key, value)
14900
      for key, value in self.__dict__.iteritems()]
14901
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
14902
 
14903
  def __eq__(self, other):
14904
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
14905
 
14906
  def __ne__(self, other):
14907
    return not (self == other)
14908
 
14909
class getCategory_result:
14910
  """
14911
  Attributes:
14912
   - success
14913
  """
14914
 
14915
  thrift_spec = (
14916
    (0, TType.STRUCT, 'success', (Category, Category.thrift_spec), None, ), # 0
14917
  )
14918
 
14919
  def __init__(self, success=None,):
14920
    self.success = success
14921
 
14922
  def read(self, iprot):
14923
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
14924
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
14925
      return
14926
    iprot.readStructBegin()
14927
    while True:
14928
      (fname, ftype, fid) = iprot.readFieldBegin()
14929
      if ftype == TType.STOP:
14930
        break
14931
      if fid == 0:
14932
        if ftype == TType.STRUCT:
14933
          self.success = Category()
14934
          self.success.read(iprot)
14935
        else:
14936
          iprot.skip(ftype)
14937
      else:
14938
        iprot.skip(ftype)
14939
      iprot.readFieldEnd()
14940
    iprot.readStructEnd()
14941
 
14942
  def write(self, oprot):
14943
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
14944
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
14945
      return
14946
    oprot.writeStructBegin('getCategory_result')
14947
    if self.success is not None:
14948
      oprot.writeFieldBegin('success', TType.STRUCT, 0)
14949
      self.success.write(oprot)
14950
      oprot.writeFieldEnd()
14951
    oprot.writeFieldStop()
14952
    oprot.writeStructEnd()
14953
 
14954
  def validate(self):
14955
    return
14956
 
14957
 
14958
  def __repr__(self):
14959
    L = ['%s=%r' % (key, value)
14960
      for key, value in self.__dict__.iteritems()]
14961
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
14962
 
14963
  def __eq__(self, other):
14964
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
14965
 
14966
  def __ne__(self, other):
14967
    return not (self == other)
14968
 
14969
class getAllCategories_args:
14970
 
14971
  thrift_spec = (
14972
  )
14973
 
14974
  def read(self, iprot):
14975
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
14976
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
14977
      return
14978
    iprot.readStructBegin()
14979
    while True:
14980
      (fname, ftype, fid) = iprot.readFieldBegin()
14981
      if ftype == TType.STOP:
14982
        break
14983
      else:
14984
        iprot.skip(ftype)
14985
      iprot.readFieldEnd()
14986
    iprot.readStructEnd()
14987
 
14988
  def write(self, oprot):
14989
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
14990
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
14991
      return
14992
    oprot.writeStructBegin('getAllCategories_args')
14993
    oprot.writeFieldStop()
14994
    oprot.writeStructEnd()
14995
 
14996
  def validate(self):
14997
    return
14998
 
14999
 
15000
  def __repr__(self):
15001
    L = ['%s=%r' % (key, value)
15002
      for key, value in self.__dict__.iteritems()]
15003
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
15004
 
15005
  def __eq__(self, other):
15006
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
15007
 
15008
  def __ne__(self, other):
15009
    return not (self == other)
15010
 
15011
class getAllCategories_result:
15012
  """
15013
  Attributes:
15014
   - success
15015
  """
15016
 
15017
  thrift_spec = (
15018
    (0, TType.LIST, 'success', (TType.STRUCT,(Category, Category.thrift_spec)), None, ), # 0
15019
  )
15020
 
15021
  def __init__(self, success=None,):
15022
    self.success = success
15023
 
15024
  def read(self, iprot):
15025
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
15026
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
15027
      return
15028
    iprot.readStructBegin()
15029
    while True:
15030
      (fname, ftype, fid) = iprot.readFieldBegin()
15031
      if ftype == TType.STOP:
15032
        break
15033
      if fid == 0:
15034
        if ftype == TType.LIST:
15035
          self.success = []
21838 amit.gupta 15036
          (_etype197, _size194) = iprot.readListBegin()
15037
          for _i198 in xrange(_size194):
15038
            _elem199 = Category()
15039
            _elem199.read(iprot)
15040
            self.success.append(_elem199)
5944 mandeep.dh 15041
          iprot.readListEnd()
15042
        else:
15043
          iprot.skip(ftype)
15044
      else:
15045
        iprot.skip(ftype)
15046
      iprot.readFieldEnd()
15047
    iprot.readStructEnd()
15048
 
15049
  def write(self, oprot):
15050
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
15051
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
15052
      return
15053
    oprot.writeStructBegin('getAllCategories_result')
15054
    if self.success is not None:
15055
      oprot.writeFieldBegin('success', TType.LIST, 0)
15056
      oprot.writeListBegin(TType.STRUCT, len(self.success))
21838 amit.gupta 15057
      for iter200 in self.success:
15058
        iter200.write(oprot)
5944 mandeep.dh 15059
      oprot.writeListEnd()
15060
      oprot.writeFieldEnd()
15061
    oprot.writeFieldStop()
15062
    oprot.writeStructEnd()
15063
 
15064
  def validate(self):
15065
    return
15066
 
15067
 
15068
  def __repr__(self):
15069
    L = ['%s=%r' % (key, value)
15070
      for key, value in self.__dict__.iteritems()]
15071
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
15072
 
15073
  def __eq__(self, other):
15074
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
15075
 
15076
  def __ne__(self, other):
15077
    return not (self == other)
15078
 
15079
class getAllSimilarItems_args:
15080
  """
15081
  Attributes:
15082
   - itemId
15083
  """
15084
 
15085
  thrift_spec = (
15086
    None, # 0
15087
    (1, TType.I64, 'itemId', None, None, ), # 1
15088
  )
15089
 
15090
  def __init__(self, itemId=None,):
15091
    self.itemId = itemId
15092
 
15093
  def read(self, iprot):
15094
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
15095
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
15096
      return
15097
    iprot.readStructBegin()
15098
    while True:
15099
      (fname, ftype, fid) = iprot.readFieldBegin()
15100
      if ftype == TType.STOP:
15101
        break
15102
      if fid == 1:
15103
        if ftype == TType.I64:
15104
          self.itemId = iprot.readI64();
15105
        else:
15106
          iprot.skip(ftype)
15107
      else:
15108
        iprot.skip(ftype)
15109
      iprot.readFieldEnd()
15110
    iprot.readStructEnd()
15111
 
15112
  def write(self, oprot):
15113
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
15114
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
15115
      return
15116
    oprot.writeStructBegin('getAllSimilarItems_args')
15117
    if self.itemId is not None:
15118
      oprot.writeFieldBegin('itemId', TType.I64, 1)
15119
      oprot.writeI64(self.itemId)
15120
      oprot.writeFieldEnd()
15121
    oprot.writeFieldStop()
15122
    oprot.writeStructEnd()
15123
 
15124
  def validate(self):
15125
    return
15126
 
15127
 
15128
  def __repr__(self):
15129
    L = ['%s=%r' % (key, value)
15130
      for key, value in self.__dict__.iteritems()]
15131
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
15132
 
15133
  def __eq__(self, other):
15134
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
15135
 
15136
  def __ne__(self, other):
15137
    return not (self == other)
15138
 
15139
class getAllSimilarItems_result:
15140
  """
15141
  Attributes:
15142
   - success
15143
  """
15144
 
15145
  thrift_spec = (
15146
    (0, TType.LIST, 'success', (TType.STRUCT,(Item, Item.thrift_spec)), None, ), # 0
15147
  )
15148
 
15149
  def __init__(self, success=None,):
15150
    self.success = success
15151
 
15152
  def read(self, iprot):
15153
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
15154
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
15155
      return
15156
    iprot.readStructBegin()
15157
    while True:
15158
      (fname, ftype, fid) = iprot.readFieldBegin()
15159
      if ftype == TType.STOP:
15160
        break
15161
      if fid == 0:
15162
        if ftype == TType.LIST:
15163
          self.success = []
21838 amit.gupta 15164
          (_etype204, _size201) = iprot.readListBegin()
15165
          for _i205 in xrange(_size201):
15166
            _elem206 = Item()
15167
            _elem206.read(iprot)
15168
            self.success.append(_elem206)
5944 mandeep.dh 15169
          iprot.readListEnd()
15170
        else:
15171
          iprot.skip(ftype)
15172
      else:
15173
        iprot.skip(ftype)
15174
      iprot.readFieldEnd()
15175
    iprot.readStructEnd()
15176
 
15177
  def write(self, oprot):
15178
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
15179
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
15180
      return
15181
    oprot.writeStructBegin('getAllSimilarItems_result')
15182
    if self.success is not None:
15183
      oprot.writeFieldBegin('success', TType.LIST, 0)
15184
      oprot.writeListBegin(TType.STRUCT, len(self.success))
21838 amit.gupta 15185
      for iter207 in self.success:
15186
        iter207.write(oprot)
5944 mandeep.dh 15187
      oprot.writeListEnd()
15188
      oprot.writeFieldEnd()
15189
    oprot.writeFieldStop()
15190
    oprot.writeStructEnd()
15191
 
15192
  def validate(self):
15193
    return
15194
 
15195
 
15196
  def __repr__(self):
15197
    L = ['%s=%r' % (key, value)
15198
      for key, value in self.__dict__.iteritems()]
15199
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
15200
 
15201
  def __eq__(self, other):
15202
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
15203
 
15204
  def __ne__(self, other):
15205
    return not (self == other)
15206
 
15207
class addSimilarItem_args:
15208
  """
15209
  Attributes:
15210
   - itemId
15211
   - catalogItemId
15212
  """
15213
 
15214
  thrift_spec = (
15215
    None, # 0
15216
    (1, TType.I64, 'itemId', None, None, ), # 1
15217
    (2, TType.I64, 'catalogItemId', None, None, ), # 2
15218
  )
15219
 
15220
  def __init__(self, itemId=None, catalogItemId=None,):
15221
    self.itemId = itemId
15222
    self.catalogItemId = catalogItemId
15223
 
15224
  def read(self, iprot):
15225
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
15226
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
15227
      return
15228
    iprot.readStructBegin()
15229
    while True:
15230
      (fname, ftype, fid) = iprot.readFieldBegin()
15231
      if ftype == TType.STOP:
15232
        break
15233
      if fid == 1:
15234
        if ftype == TType.I64:
15235
          self.itemId = iprot.readI64();
15236
        else:
15237
          iprot.skip(ftype)
15238
      elif fid == 2:
15239
        if ftype == TType.I64:
15240
          self.catalogItemId = iprot.readI64();
15241
        else:
15242
          iprot.skip(ftype)
15243
      else:
15244
        iprot.skip(ftype)
15245
      iprot.readFieldEnd()
15246
    iprot.readStructEnd()
15247
 
15248
  def write(self, oprot):
15249
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
15250
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
15251
      return
15252
    oprot.writeStructBegin('addSimilarItem_args')
15253
    if self.itemId is not None:
15254
      oprot.writeFieldBegin('itemId', TType.I64, 1)
15255
      oprot.writeI64(self.itemId)
15256
      oprot.writeFieldEnd()
15257
    if self.catalogItemId is not None:
15258
      oprot.writeFieldBegin('catalogItemId', TType.I64, 2)
15259
      oprot.writeI64(self.catalogItemId)
15260
      oprot.writeFieldEnd()
15261
    oprot.writeFieldStop()
15262
    oprot.writeStructEnd()
15263
 
15264
  def validate(self):
15265
    return
15266
 
15267
 
15268
  def __repr__(self):
15269
    L = ['%s=%r' % (key, value)
15270
      for key, value in self.__dict__.iteritems()]
15271
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
15272
 
15273
  def __eq__(self, other):
15274
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
15275
 
15276
  def __ne__(self, other):
15277
    return not (self == other)
15278
 
15279
class addSimilarItem_result:
15280
  """
15281
  Attributes:
15282
   - success
15283
   - cex
15284
  """
15285
 
15286
  thrift_spec = (
15287
    (0, TType.STRUCT, 'success', (Item, Item.thrift_spec), None, ), # 0
15288
    (1, TType.STRUCT, 'cex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
15289
  )
15290
 
15291
  def __init__(self, success=None, cex=None,):
15292
    self.success = success
15293
    self.cex = cex
15294
 
15295
  def read(self, iprot):
15296
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
15297
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
15298
      return
15299
    iprot.readStructBegin()
15300
    while True:
15301
      (fname, ftype, fid) = iprot.readFieldBegin()
15302
      if ftype == TType.STOP:
15303
        break
15304
      if fid == 0:
15305
        if ftype == TType.STRUCT:
15306
          self.success = Item()
15307
          self.success.read(iprot)
15308
        else:
15309
          iprot.skip(ftype)
15310
      elif fid == 1:
15311
        if ftype == TType.STRUCT:
15312
          self.cex = CatalogServiceException()
15313
          self.cex.read(iprot)
15314
        else:
15315
          iprot.skip(ftype)
15316
      else:
15317
        iprot.skip(ftype)
15318
      iprot.readFieldEnd()
15319
    iprot.readStructEnd()
15320
 
15321
  def write(self, oprot):
15322
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
15323
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
15324
      return
15325
    oprot.writeStructBegin('addSimilarItem_result')
15326
    if self.success is not None:
15327
      oprot.writeFieldBegin('success', TType.STRUCT, 0)
15328
      self.success.write(oprot)
15329
      oprot.writeFieldEnd()
15330
    if self.cex is not None:
15331
      oprot.writeFieldBegin('cex', TType.STRUCT, 1)
15332
      self.cex.write(oprot)
15333
      oprot.writeFieldEnd()
15334
    oprot.writeFieldStop()
15335
    oprot.writeStructEnd()
15336
 
15337
  def validate(self):
15338
    return
15339
 
15340
 
15341
  def __repr__(self):
15342
    L = ['%s=%r' % (key, value)
15343
      for key, value in self.__dict__.iteritems()]
15344
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
15345
 
15346
  def __eq__(self, other):
15347
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
15348
 
15349
  def __ne__(self, other):
15350
    return not (self == other)
15351
 
6512 kshitij.so 15352
class addTag_args:
15353
  """
15354
  Attributes:
15355
   - displayName
15356
   - itemId
15357
  """
15358
 
15359
  thrift_spec = (
15360
    None, # 0
15361
    (1, TType.STRING, 'displayName', None, None, ), # 1
15362
    (2, TType.I64, 'itemId', None, None, ), # 2
15363
  )
15364
 
15365
  def __init__(self, displayName=None, itemId=None,):
15366
    self.displayName = displayName
15367
    self.itemId = itemId
15368
 
15369
  def read(self, iprot):
15370
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
15371
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
15372
      return
15373
    iprot.readStructBegin()
15374
    while True:
15375
      (fname, ftype, fid) = iprot.readFieldBegin()
15376
      if ftype == TType.STOP:
15377
        break
15378
      if fid == 1:
15379
        if ftype == TType.STRING:
15380
          self.displayName = iprot.readString();
15381
        else:
15382
          iprot.skip(ftype)
15383
      elif fid == 2:
15384
        if ftype == TType.I64:
15385
          self.itemId = iprot.readI64();
15386
        else:
15387
          iprot.skip(ftype)
15388
      else:
15389
        iprot.skip(ftype)
15390
      iprot.readFieldEnd()
15391
    iprot.readStructEnd()
15392
 
15393
  def write(self, oprot):
15394
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
15395
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
15396
      return
15397
    oprot.writeStructBegin('addTag_args')
15398
    if self.displayName is not None:
15399
      oprot.writeFieldBegin('displayName', TType.STRING, 1)
15400
      oprot.writeString(self.displayName)
15401
      oprot.writeFieldEnd()
15402
    if self.itemId is not None:
15403
      oprot.writeFieldBegin('itemId', TType.I64, 2)
15404
      oprot.writeI64(self.itemId)
15405
      oprot.writeFieldEnd()
15406
    oprot.writeFieldStop()
15407
    oprot.writeStructEnd()
15408
 
15409
  def validate(self):
15410
    return
15411
 
15412
 
15413
  def __repr__(self):
15414
    L = ['%s=%r' % (key, value)
15415
      for key, value in self.__dict__.iteritems()]
15416
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
15417
 
15418
  def __eq__(self, other):
15419
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
15420
 
15421
  def __ne__(self, other):
15422
    return not (self == other)
15423
 
15424
class addTag_result:
15425
  """
15426
  Attributes:
15427
   - success
15428
  """
15429
 
15430
  thrift_spec = (
15431
    (0, TType.BOOL, 'success', None, None, ), # 0
15432
  )
15433
 
15434
  def __init__(self, success=None,):
15435
    self.success = success
15436
 
15437
  def read(self, iprot):
15438
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
15439
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
15440
      return
15441
    iprot.readStructBegin()
15442
    while True:
15443
      (fname, ftype, fid) = iprot.readFieldBegin()
15444
      if ftype == TType.STOP:
15445
        break
15446
      if fid == 0:
15447
        if ftype == TType.BOOL:
15448
          self.success = iprot.readBool();
15449
        else:
15450
          iprot.skip(ftype)
15451
      else:
15452
        iprot.skip(ftype)
15453
      iprot.readFieldEnd()
15454
    iprot.readStructEnd()
15455
 
15456
  def write(self, oprot):
15457
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
15458
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
15459
      return
15460
    oprot.writeStructBegin('addTag_result')
15461
    if self.success is not None:
15462
      oprot.writeFieldBegin('success', TType.BOOL, 0)
15463
      oprot.writeBool(self.success)
15464
      oprot.writeFieldEnd()
15465
    oprot.writeFieldStop()
15466
    oprot.writeStructEnd()
15467
 
15468
  def validate(self):
15469
    return
15470
 
15471
 
15472
  def __repr__(self):
15473
    L = ['%s=%r' % (key, value)
15474
      for key, value in self.__dict__.iteritems()]
15475
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
15476
 
15477
  def __eq__(self, other):
15478
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
15479
 
15480
  def __ne__(self, other):
15481
    return not (self == other)
15482
 
15483
class deleteEntityTag_args:
15484
  """
15485
  Attributes:
15486
   - displayName
15487
   - itemId
15488
  """
15489
 
15490
  thrift_spec = (
15491
    None, # 0
15492
    (1, TType.STRING, 'displayName', None, None, ), # 1
15493
    (2, TType.I64, 'itemId', None, None, ), # 2
15494
  )
15495
 
15496
  def __init__(self, displayName=None, itemId=None,):
15497
    self.displayName = displayName
15498
    self.itemId = itemId
15499
 
15500
  def read(self, iprot):
15501
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
15502
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
15503
      return
15504
    iprot.readStructBegin()
15505
    while True:
15506
      (fname, ftype, fid) = iprot.readFieldBegin()
15507
      if ftype == TType.STOP:
15508
        break
15509
      if fid == 1:
15510
        if ftype == TType.STRING:
15511
          self.displayName = iprot.readString();
15512
        else:
15513
          iprot.skip(ftype)
15514
      elif fid == 2:
15515
        if ftype == TType.I64:
15516
          self.itemId = iprot.readI64();
15517
        else:
15518
          iprot.skip(ftype)
15519
      else:
15520
        iprot.skip(ftype)
15521
      iprot.readFieldEnd()
15522
    iprot.readStructEnd()
15523
 
15524
  def write(self, oprot):
15525
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
15526
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
15527
      return
15528
    oprot.writeStructBegin('deleteEntityTag_args')
15529
    if self.displayName is not None:
15530
      oprot.writeFieldBegin('displayName', TType.STRING, 1)
15531
      oprot.writeString(self.displayName)
15532
      oprot.writeFieldEnd()
15533
    if self.itemId is not None:
15534
      oprot.writeFieldBegin('itemId', TType.I64, 2)
15535
      oprot.writeI64(self.itemId)
15536
      oprot.writeFieldEnd()
15537
    oprot.writeFieldStop()
15538
    oprot.writeStructEnd()
15539
 
15540
  def validate(self):
15541
    return
15542
 
15543
 
15544
  def __repr__(self):
15545
    L = ['%s=%r' % (key, value)
15546
      for key, value in self.__dict__.iteritems()]
15547
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
15548
 
15549
  def __eq__(self, other):
15550
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
15551
 
15552
  def __ne__(self, other):
15553
    return not (self == other)
15554
 
15555
class deleteEntityTag_result:
15556
  """
15557
  Attributes:
15558
   - success
15559
  """
15560
 
15561
  thrift_spec = (
15562
    (0, TType.BOOL, 'success', None, None, ), # 0
15563
  )
15564
 
15565
  def __init__(self, success=None,):
15566
    self.success = success
15567
 
15568
  def read(self, iprot):
15569
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
15570
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
15571
      return
15572
    iprot.readStructBegin()
15573
    while True:
15574
      (fname, ftype, fid) = iprot.readFieldBegin()
15575
      if ftype == TType.STOP:
15576
        break
15577
      if fid == 0:
15578
        if ftype == TType.BOOL:
15579
          self.success = iprot.readBool();
15580
        else:
15581
          iprot.skip(ftype)
15582
      else:
15583
        iprot.skip(ftype)
15584
      iprot.readFieldEnd()
15585
    iprot.readStructEnd()
15586
 
15587
  def write(self, oprot):
15588
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
15589
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
15590
      return
15591
    oprot.writeStructBegin('deleteEntityTag_result')
15592
    if self.success is not None:
15593
      oprot.writeFieldBegin('success', TType.BOOL, 0)
15594
      oprot.writeBool(self.success)
15595
      oprot.writeFieldEnd()
15596
    oprot.writeFieldStop()
15597
    oprot.writeStructEnd()
15598
 
15599
  def validate(self):
15600
    return
15601
 
15602
 
15603
  def __repr__(self):
15604
    L = ['%s=%r' % (key, value)
15605
      for key, value in self.__dict__.iteritems()]
15606
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
15607
 
15608
  def __eq__(self, other):
15609
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
15610
 
15611
  def __ne__(self, other):
15612
    return not (self == other)
15613
 
15614
class deleteTag_args:
15615
  """
15616
  Attributes:
15617
   - displayName
15618
  """
15619
 
15620
  thrift_spec = (
15621
    None, # 0
15622
    (1, TType.STRING, 'displayName', None, None, ), # 1
15623
  )
15624
 
15625
  def __init__(self, displayName=None,):
15626
    self.displayName = displayName
15627
 
15628
  def read(self, iprot):
15629
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
15630
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
15631
      return
15632
    iprot.readStructBegin()
15633
    while True:
15634
      (fname, ftype, fid) = iprot.readFieldBegin()
15635
      if ftype == TType.STOP:
15636
        break
15637
      if fid == 1:
15638
        if ftype == TType.STRING:
15639
          self.displayName = iprot.readString();
15640
        else:
15641
          iprot.skip(ftype)
15642
      else:
15643
        iprot.skip(ftype)
15644
      iprot.readFieldEnd()
15645
    iprot.readStructEnd()
15646
 
15647
  def write(self, oprot):
15648
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
15649
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
15650
      return
15651
    oprot.writeStructBegin('deleteTag_args')
15652
    if self.displayName is not None:
15653
      oprot.writeFieldBegin('displayName', TType.STRING, 1)
15654
      oprot.writeString(self.displayName)
15655
      oprot.writeFieldEnd()
15656
    oprot.writeFieldStop()
15657
    oprot.writeStructEnd()
15658
 
15659
  def validate(self):
15660
    return
15661
 
15662
 
15663
  def __repr__(self):
15664
    L = ['%s=%r' % (key, value)
15665
      for key, value in self.__dict__.iteritems()]
15666
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
15667
 
15668
  def __eq__(self, other):
15669
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
15670
 
15671
  def __ne__(self, other):
15672
    return not (self == other)
15673
 
15674
class deleteTag_result:
15675
  """
15676
  Attributes:
15677
   - success
15678
  """
15679
 
15680
  thrift_spec = (
15681
    (0, TType.BOOL, 'success', None, None, ), # 0
15682
  )
15683
 
15684
  def __init__(self, success=None,):
15685
    self.success = success
15686
 
15687
  def read(self, iprot):
15688
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
15689
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
15690
      return
15691
    iprot.readStructBegin()
15692
    while True:
15693
      (fname, ftype, fid) = iprot.readFieldBegin()
15694
      if ftype == TType.STOP:
15695
        break
15696
      if fid == 0:
15697
        if ftype == TType.BOOL:
15698
          self.success = iprot.readBool();
15699
        else:
15700
          iprot.skip(ftype)
15701
      else:
15702
        iprot.skip(ftype)
15703
      iprot.readFieldEnd()
15704
    iprot.readStructEnd()
15705
 
15706
  def write(self, oprot):
15707
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
15708
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
15709
      return
15710
    oprot.writeStructBegin('deleteTag_result')
15711
    if self.success is not None:
15712
      oprot.writeFieldBegin('success', TType.BOOL, 0)
15713
      oprot.writeBool(self.success)
15714
      oprot.writeFieldEnd()
15715
    oprot.writeFieldStop()
15716
    oprot.writeStructEnd()
15717
 
15718
  def validate(self):
15719
    return
15720
 
15721
 
15722
  def __repr__(self):
15723
    L = ['%s=%r' % (key, value)
15724
      for key, value in self.__dict__.iteritems()]
15725
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
15726
 
15727
  def __eq__(self, other):
15728
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
15729
 
15730
  def __ne__(self, other):
15731
    return not (self == other)
15732
 
15733
class getAllTags_args:
15734
 
15735
  thrift_spec = (
15736
  )
15737
 
15738
  def read(self, iprot):
15739
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
15740
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
15741
      return
15742
    iprot.readStructBegin()
15743
    while True:
15744
      (fname, ftype, fid) = iprot.readFieldBegin()
15745
      if ftype == TType.STOP:
15746
        break
15747
      else:
15748
        iprot.skip(ftype)
15749
      iprot.readFieldEnd()
15750
    iprot.readStructEnd()
15751
 
15752
  def write(self, oprot):
15753
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
15754
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
15755
      return
15756
    oprot.writeStructBegin('getAllTags_args')
15757
    oprot.writeFieldStop()
15758
    oprot.writeStructEnd()
15759
 
15760
  def validate(self):
15761
    return
15762
 
15763
 
15764
  def __repr__(self):
15765
    L = ['%s=%r' % (key, value)
15766
      for key, value in self.__dict__.iteritems()]
15767
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
15768
 
15769
  def __eq__(self, other):
15770
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
15771
 
15772
  def __ne__(self, other):
15773
    return not (self == other)
15774
 
15775
class getAllTags_result:
15776
  """
15777
  Attributes:
15778
   - success
15779
  """
15780
 
15781
  thrift_spec = (
15782
    (0, TType.LIST, 'success', (TType.STRING,None), None, ), # 0
15783
  )
15784
 
15785
  def __init__(self, success=None,):
15786
    self.success = success
15787
 
15788
  def read(self, iprot):
15789
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
15790
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
15791
      return
15792
    iprot.readStructBegin()
15793
    while True:
15794
      (fname, ftype, fid) = iprot.readFieldBegin()
15795
      if ftype == TType.STOP:
15796
        break
15797
      if fid == 0:
15798
        if ftype == TType.LIST:
15799
          self.success = []
21838 amit.gupta 15800
          (_etype211, _size208) = iprot.readListBegin()
15801
          for _i212 in xrange(_size208):
15802
            _elem213 = iprot.readString();
15803
            self.success.append(_elem213)
6512 kshitij.so 15804
          iprot.readListEnd()
15805
        else:
15806
          iprot.skip(ftype)
15807
      else:
15808
        iprot.skip(ftype)
15809
      iprot.readFieldEnd()
15810
    iprot.readStructEnd()
15811
 
15812
  def write(self, oprot):
15813
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
15814
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
15815
      return
15816
    oprot.writeStructBegin('getAllTags_result')
15817
    if self.success is not None:
15818
      oprot.writeFieldBegin('success', TType.LIST, 0)
15819
      oprot.writeListBegin(TType.STRING, len(self.success))
21838 amit.gupta 15820
      for iter214 in self.success:
15821
        oprot.writeString(iter214)
6512 kshitij.so 15822
      oprot.writeListEnd()
15823
      oprot.writeFieldEnd()
15824
    oprot.writeFieldStop()
15825
    oprot.writeStructEnd()
15826
 
15827
  def validate(self):
15828
    return
15829
 
15830
 
15831
  def __repr__(self):
15832
    L = ['%s=%r' % (key, value)
15833
      for key, value in self.__dict__.iteritems()]
15834
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
15835
 
15836
  def __eq__(self, other):
15837
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
15838
 
15839
  def __ne__(self, other):
15840
    return not (self == other)
15841
 
15842
class getAllEntitiesByTagName_args:
15843
  """
15844
  Attributes:
15845
   - displayName
15846
  """
15847
 
15848
  thrift_spec = (
15849
    None, # 0
15850
    (1, TType.STRING, 'displayName', None, None, ), # 1
15851
  )
15852
 
15853
  def __init__(self, displayName=None,):
15854
    self.displayName = displayName
15855
 
15856
  def read(self, iprot):
15857
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
15858
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
15859
      return
15860
    iprot.readStructBegin()
15861
    while True:
15862
      (fname, ftype, fid) = iprot.readFieldBegin()
15863
      if ftype == TType.STOP:
15864
        break
15865
      if fid == 1:
15866
        if ftype == TType.STRING:
15867
          self.displayName = iprot.readString();
15868
        else:
15869
          iprot.skip(ftype)
15870
      else:
15871
        iprot.skip(ftype)
15872
      iprot.readFieldEnd()
15873
    iprot.readStructEnd()
15874
 
15875
  def write(self, oprot):
15876
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
15877
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
15878
      return
15879
    oprot.writeStructBegin('getAllEntitiesByTagName_args')
15880
    if self.displayName is not None:
15881
      oprot.writeFieldBegin('displayName', TType.STRING, 1)
15882
      oprot.writeString(self.displayName)
15883
      oprot.writeFieldEnd()
15884
    oprot.writeFieldStop()
15885
    oprot.writeStructEnd()
15886
 
15887
  def validate(self):
15888
    return
15889
 
15890
 
15891
  def __repr__(self):
15892
    L = ['%s=%r' % (key, value)
15893
      for key, value in self.__dict__.iteritems()]
15894
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
15895
 
15896
  def __eq__(self, other):
15897
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
15898
 
15899
  def __ne__(self, other):
15900
    return not (self == other)
15901
 
15902
class getAllEntitiesByTagName_result:
15903
  """
15904
  Attributes:
15905
   - success
15906
  """
15907
 
15908
  thrift_spec = (
15909
    (0, TType.LIST, 'success', (TType.I64,None), None, ), # 0
15910
  )
15911
 
15912
  def __init__(self, success=None,):
15913
    self.success = success
15914
 
15915
  def read(self, iprot):
15916
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
15917
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
15918
      return
15919
    iprot.readStructBegin()
15920
    while True:
15921
      (fname, ftype, fid) = iprot.readFieldBegin()
15922
      if ftype == TType.STOP:
15923
        break
15924
      if fid == 0:
15925
        if ftype == TType.LIST:
15926
          self.success = []
21838 amit.gupta 15927
          (_etype218, _size215) = iprot.readListBegin()
15928
          for _i219 in xrange(_size215):
15929
            _elem220 = iprot.readI64();
15930
            self.success.append(_elem220)
6512 kshitij.so 15931
          iprot.readListEnd()
15932
        else:
15933
          iprot.skip(ftype)
15934
      else:
15935
        iprot.skip(ftype)
15936
      iprot.readFieldEnd()
15937
    iprot.readStructEnd()
15938
 
15939
  def write(self, oprot):
15940
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
15941
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
15942
      return
15943
    oprot.writeStructBegin('getAllEntitiesByTagName_result')
15944
    if self.success is not None:
15945
      oprot.writeFieldBegin('success', TType.LIST, 0)
15946
      oprot.writeListBegin(TType.I64, len(self.success))
21838 amit.gupta 15947
      for iter221 in self.success:
15948
        oprot.writeI64(iter221)
6512 kshitij.so 15949
      oprot.writeListEnd()
15950
      oprot.writeFieldEnd()
15951
    oprot.writeFieldStop()
15952
    oprot.writeStructEnd()
15953
 
15954
  def validate(self):
15955
    return
15956
 
15957
 
15958
  def __repr__(self):
15959
    L = ['%s=%r' % (key, value)
15960
      for key, value in self.__dict__.iteritems()]
15961
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
15962
 
15963
  def __eq__(self, other):
15964
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
15965
 
15966
  def __ne__(self, other):
15967
    return not (self == other)
15968
 
6845 amit.gupta 15969
class getAllEntityTags_args:
15970
 
15971
  thrift_spec = (
15972
  )
15973
 
15974
  def read(self, iprot):
15975
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
15976
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
15977
      return
15978
    iprot.readStructBegin()
15979
    while True:
15980
      (fname, ftype, fid) = iprot.readFieldBegin()
15981
      if ftype == TType.STOP:
15982
        break
15983
      else:
15984
        iprot.skip(ftype)
15985
      iprot.readFieldEnd()
15986
    iprot.readStructEnd()
15987
 
15988
  def write(self, oprot):
15989
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
15990
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
15991
      return
15992
    oprot.writeStructBegin('getAllEntityTags_args')
15993
    oprot.writeFieldStop()
15994
    oprot.writeStructEnd()
15995
 
15996
  def validate(self):
15997
    return
15998
 
15999
 
16000
  def __repr__(self):
16001
    L = ['%s=%r' % (key, value)
16002
      for key, value in self.__dict__.iteritems()]
16003
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
16004
 
16005
  def __eq__(self, other):
16006
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
16007
 
16008
  def __ne__(self, other):
16009
    return not (self == other)
16010
 
16011
class getAllEntityTags_result:
16012
  """
16013
  Attributes:
16014
   - success
16015
  """
16016
 
16017
  thrift_spec = (
16018
    (0, TType.MAP, 'success', (TType.I64,None,TType.LIST,(TType.STRING,None)), None, ), # 0
16019
  )
16020
 
16021
  def __init__(self, success=None,):
16022
    self.success = success
16023
 
16024
  def read(self, iprot):
16025
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
16026
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
16027
      return
16028
    iprot.readStructBegin()
16029
    while True:
16030
      (fname, ftype, fid) = iprot.readFieldBegin()
16031
      if ftype == TType.STOP:
16032
        break
16033
      if fid == 0:
16034
        if ftype == TType.MAP:
16035
          self.success = {}
21838 amit.gupta 16036
          (_ktype223, _vtype224, _size222 ) = iprot.readMapBegin() 
16037
          for _i226 in xrange(_size222):
16038
            _key227 = iprot.readI64();
16039
            _val228 = []
16040
            (_etype232, _size229) = iprot.readListBegin()
16041
            for _i233 in xrange(_size229):
16042
              _elem234 = iprot.readString();
16043
              _val228.append(_elem234)
6845 amit.gupta 16044
            iprot.readListEnd()
21838 amit.gupta 16045
            self.success[_key227] = _val228
6845 amit.gupta 16046
          iprot.readMapEnd()
16047
        else:
16048
          iprot.skip(ftype)
16049
      else:
16050
        iprot.skip(ftype)
16051
      iprot.readFieldEnd()
16052
    iprot.readStructEnd()
16053
 
16054
  def write(self, oprot):
16055
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
16056
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
16057
      return
16058
    oprot.writeStructBegin('getAllEntityTags_result')
16059
    if self.success is not None:
16060
      oprot.writeFieldBegin('success', TType.MAP, 0)
16061
      oprot.writeMapBegin(TType.I64, TType.LIST, len(self.success))
21838 amit.gupta 16062
      for kiter235,viter236 in self.success.items():
16063
        oprot.writeI64(kiter235)
16064
        oprot.writeListBegin(TType.STRING, len(viter236))
16065
        for iter237 in viter236:
16066
          oprot.writeString(iter237)
6845 amit.gupta 16067
        oprot.writeListEnd()
16068
      oprot.writeMapEnd()
16069
      oprot.writeFieldEnd()
16070
    oprot.writeFieldStop()
16071
    oprot.writeStructEnd()
16072
 
16073
  def validate(self):
16074
    return
16075
 
16076
 
16077
  def __repr__(self):
16078
    L = ['%s=%r' % (key, value)
16079
      for key, value in self.__dict__.iteritems()]
16080
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
16081
 
16082
  def __eq__(self, other):
16083
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
16084
 
16085
  def __ne__(self, other):
16086
    return not (self == other)
16087
 
6850 kshitij.so 16088
class addBanner_args:
16089
  """
16090
  Attributes:
8590 kshitij.so 16091
   - bannerCongregate
6850 kshitij.so 16092
  """
16093
 
16094
  thrift_spec = (
16095
    None, # 0
8590 kshitij.so 16096
    (1, TType.STRUCT, 'bannerCongregate', (BannerCongregate, BannerCongregate.thrift_spec), None, ), # 1
6850 kshitij.so 16097
  )
16098
 
8590 kshitij.so 16099
  def __init__(self, bannerCongregate=None,):
16100
    self.bannerCongregate = bannerCongregate
6850 kshitij.so 16101
 
16102
  def read(self, iprot):
16103
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
16104
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
16105
      return
16106
    iprot.readStructBegin()
16107
    while True:
16108
      (fname, ftype, fid) = iprot.readFieldBegin()
16109
      if ftype == TType.STOP:
16110
        break
16111
      if fid == 1:
8579 kshitij.so 16112
        if ftype == TType.STRUCT:
8590 kshitij.so 16113
          self.bannerCongregate = BannerCongregate()
16114
          self.bannerCongregate.read(iprot)
6850 kshitij.so 16115
        else:
16116
          iprot.skip(ftype)
8579 kshitij.so 16117
      else:
16118
        iprot.skip(ftype)
16119
      iprot.readFieldEnd()
16120
    iprot.readStructEnd()
16121
 
16122
  def write(self, oprot):
16123
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
16124
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
16125
      return
16126
    oprot.writeStructBegin('addBanner_args')
8590 kshitij.so 16127
    if self.bannerCongregate is not None:
16128
      oprot.writeFieldBegin('bannerCongregate', TType.STRUCT, 1)
16129
      self.bannerCongregate.write(oprot)
8579 kshitij.so 16130
      oprot.writeFieldEnd()
16131
    oprot.writeFieldStop()
16132
    oprot.writeStructEnd()
16133
 
16134
  def validate(self):
16135
    return
16136
 
16137
 
16138
  def __repr__(self):
16139
    L = ['%s=%r' % (key, value)
16140
      for key, value in self.__dict__.iteritems()]
16141
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
16142
 
16143
  def __eq__(self, other):
16144
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
16145
 
16146
  def __ne__(self, other):
16147
    return not (self == other)
16148
 
16149
class addBanner_result:
10097 kshitij.so 16150
  """
16151
  Attributes:
16152
   - success
16153
  """
8579 kshitij.so 16154
 
16155
  thrift_spec = (
10097 kshitij.so 16156
    (0, TType.BOOL, 'success', None, None, ), # 0
8579 kshitij.so 16157
  )
16158
 
10097 kshitij.so 16159
  def __init__(self, success=None,):
16160
    self.success = success
16161
 
8579 kshitij.so 16162
  def read(self, iprot):
16163
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
16164
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
16165
      return
16166
    iprot.readStructBegin()
16167
    while True:
16168
      (fname, ftype, fid) = iprot.readFieldBegin()
16169
      if ftype == TType.STOP:
16170
        break
10097 kshitij.so 16171
      if fid == 0:
16172
        if ftype == TType.BOOL:
16173
          self.success = iprot.readBool();
16174
        else:
16175
          iprot.skip(ftype)
8579 kshitij.so 16176
      else:
16177
        iprot.skip(ftype)
16178
      iprot.readFieldEnd()
16179
    iprot.readStructEnd()
16180
 
16181
  def write(self, oprot):
16182
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
16183
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
16184
      return
16185
    oprot.writeStructBegin('addBanner_result')
10097 kshitij.so 16186
    if self.success is not None:
16187
      oprot.writeFieldBegin('success', TType.BOOL, 0)
16188
      oprot.writeBool(self.success)
16189
      oprot.writeFieldEnd()
8579 kshitij.so 16190
    oprot.writeFieldStop()
16191
    oprot.writeStructEnd()
16192
 
16193
  def validate(self):
16194
    return
16195
 
16196
 
16197
  def __repr__(self):
16198
    L = ['%s=%r' % (key, value)
16199
      for key, value in self.__dict__.iteritems()]
16200
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
16201
 
16202
  def __eq__(self, other):
16203
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
16204
 
16205
  def __ne__(self, other):
16206
    return not (self == other)
16207
 
16208
class updateBanner_args:
16209
  """
16210
  Attributes:
16211
   - banner
16212
  """
16213
 
16214
  thrift_spec = (
16215
    None, # 0
16216
    (1, TType.STRUCT, 'banner', (Banner, Banner.thrift_spec), None, ), # 1
16217
  )
16218
 
16219
  def __init__(self, banner=None,):
16220
    self.banner = banner
16221
 
16222
  def read(self, iprot):
16223
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
16224
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
16225
      return
16226
    iprot.readStructBegin()
16227
    while True:
16228
      (fname, ftype, fid) = iprot.readFieldBegin()
16229
      if ftype == TType.STOP:
16230
        break
16231
      if fid == 1:
16232
        if ftype == TType.STRUCT:
16233
          self.banner = Banner()
16234
          self.banner.read(iprot)
6850 kshitij.so 16235
        else:
16236
          iprot.skip(ftype)
16237
      else:
16238
        iprot.skip(ftype)
16239
      iprot.readFieldEnd()
16240
    iprot.readStructEnd()
16241
 
16242
  def write(self, oprot):
16243
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
16244
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
16245
      return
8579 kshitij.so 16246
    oprot.writeStructBegin('updateBanner_args')
16247
    if self.banner is not None:
16248
      oprot.writeFieldBegin('banner', TType.STRUCT, 1)
16249
      self.banner.write(oprot)
6850 kshitij.so 16250
      oprot.writeFieldEnd()
16251
    oprot.writeFieldStop()
16252
    oprot.writeStructEnd()
16253
 
16254
  def validate(self):
16255
    return
16256
 
16257
 
16258
  def __repr__(self):
16259
    L = ['%s=%r' % (key, value)
16260
      for key, value in self.__dict__.iteritems()]
16261
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
16262
 
16263
  def __eq__(self, other):
16264
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
16265
 
16266
  def __ne__(self, other):
16267
    return not (self == other)
16268
 
8579 kshitij.so 16269
class updateBanner_result:
6850 kshitij.so 16270
  """
16271
  Attributes:
16272
   - success
16273
  """
16274
 
16275
  thrift_spec = (
16276
    (0, TType.BOOL, 'success', None, None, ), # 0
16277
  )
16278
 
16279
  def __init__(self, success=None,):
16280
    self.success = success
16281
 
16282
  def read(self, iprot):
16283
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
16284
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
16285
      return
16286
    iprot.readStructBegin()
16287
    while True:
16288
      (fname, ftype, fid) = iprot.readFieldBegin()
16289
      if ftype == TType.STOP:
16290
        break
16291
      if fid == 0:
16292
        if ftype == TType.BOOL:
16293
          self.success = iprot.readBool();
16294
        else:
16295
          iprot.skip(ftype)
16296
      else:
16297
        iprot.skip(ftype)
16298
      iprot.readFieldEnd()
16299
    iprot.readStructEnd()
16300
 
16301
  def write(self, oprot):
16302
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
16303
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
16304
      return
8579 kshitij.so 16305
    oprot.writeStructBegin('updateBanner_result')
6850 kshitij.so 16306
    if self.success is not None:
16307
      oprot.writeFieldBegin('success', TType.BOOL, 0)
16308
      oprot.writeBool(self.success)
16309
      oprot.writeFieldEnd()
16310
    oprot.writeFieldStop()
16311
    oprot.writeStructEnd()
16312
 
16313
  def validate(self):
16314
    return
16315
 
16316
 
16317
  def __repr__(self):
16318
    L = ['%s=%r' % (key, value)
16319
      for key, value in self.__dict__.iteritems()]
16320
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
16321
 
16322
  def __eq__(self, other):
16323
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
16324
 
16325
  def __ne__(self, other):
16326
    return not (self == other)
16327
 
16328
class getAllBanners_args:
16329
 
16330
  thrift_spec = (
16331
  )
16332
 
16333
  def read(self, iprot):
16334
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
16335
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
16336
      return
16337
    iprot.readStructBegin()
16338
    while True:
16339
      (fname, ftype, fid) = iprot.readFieldBegin()
16340
      if ftype == TType.STOP:
16341
        break
16342
      else:
16343
        iprot.skip(ftype)
16344
      iprot.readFieldEnd()
16345
    iprot.readStructEnd()
16346
 
16347
  def write(self, oprot):
16348
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
16349
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
16350
      return
16351
    oprot.writeStructBegin('getAllBanners_args')
16352
    oprot.writeFieldStop()
16353
    oprot.writeStructEnd()
16354
 
16355
  def validate(self):
16356
    return
16357
 
16358
 
16359
  def __repr__(self):
16360
    L = ['%s=%r' % (key, value)
16361
      for key, value in self.__dict__.iteritems()]
16362
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
16363
 
16364
  def __eq__(self, other):
16365
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
16366
 
16367
  def __ne__(self, other):
16368
    return not (self == other)
16369
 
16370
class getAllBanners_result:
16371
  """
16372
  Attributes:
16373
   - success
16374
  """
16375
 
16376
  thrift_spec = (
8579 kshitij.so 16377
    (0, TType.LIST, 'success', (TType.STRUCT,(Banner, Banner.thrift_spec)), None, ), # 0
6850 kshitij.so 16378
  )
16379
 
16380
  def __init__(self, success=None,):
16381
    self.success = success
16382
 
16383
  def read(self, iprot):
16384
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
16385
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
16386
      return
16387
    iprot.readStructBegin()
16388
    while True:
16389
      (fname, ftype, fid) = iprot.readFieldBegin()
16390
      if ftype == TType.STOP:
16391
        break
16392
      if fid == 0:
16393
        if ftype == TType.LIST:
16394
          self.success = []
21838 amit.gupta 16395
          (_etype241, _size238) = iprot.readListBegin()
16396
          for _i242 in xrange(_size238):
16397
            _elem243 = Banner()
16398
            _elem243.read(iprot)
16399
            self.success.append(_elem243)
6850 kshitij.so 16400
          iprot.readListEnd()
16401
        else:
16402
          iprot.skip(ftype)
16403
      else:
16404
        iprot.skip(ftype)
16405
      iprot.readFieldEnd()
16406
    iprot.readStructEnd()
16407
 
16408
  def write(self, oprot):
16409
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
16410
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
16411
      return
16412
    oprot.writeStructBegin('getAllBanners_result')
16413
    if self.success is not None:
16414
      oprot.writeFieldBegin('success', TType.LIST, 0)
8579 kshitij.so 16415
      oprot.writeListBegin(TType.STRUCT, len(self.success))
21838 amit.gupta 16416
      for iter244 in self.success:
16417
        iter244.write(oprot)
6850 kshitij.so 16418
      oprot.writeListEnd()
16419
      oprot.writeFieldEnd()
16420
    oprot.writeFieldStop()
16421
    oprot.writeStructEnd()
16422
 
16423
  def validate(self):
16424
    return
16425
 
16426
 
16427
  def __repr__(self):
16428
    L = ['%s=%r' % (key, value)
16429
      for key, value in self.__dict__.iteritems()]
16430
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
16431
 
16432
  def __eq__(self, other):
16433
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
16434
 
16435
  def __ne__(self, other):
16436
    return not (self == other)
16437
 
16438
class deleteBanner_args:
16439
  """
16440
  Attributes:
16441
   - bannerName
9155 kshitij.so 16442
   - bannerType
6850 kshitij.so 16443
  """
16444
 
16445
  thrift_spec = (
16446
    None, # 0
16447
    (1, TType.STRING, 'bannerName', None, None, ), # 1
9155 kshitij.so 16448
    (2, TType.I32, 'bannerType', None, None, ), # 2
6850 kshitij.so 16449
  )
16450
 
9155 kshitij.so 16451
  def __init__(self, bannerName=None, bannerType=None,):
6850 kshitij.so 16452
    self.bannerName = bannerName
9155 kshitij.so 16453
    self.bannerType = bannerType
6850 kshitij.so 16454
 
16455
  def read(self, iprot):
16456
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
16457
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
16458
      return
16459
    iprot.readStructBegin()
16460
    while True:
16461
      (fname, ftype, fid) = iprot.readFieldBegin()
16462
      if ftype == TType.STOP:
16463
        break
16464
      if fid == 1:
16465
        if ftype == TType.STRING:
16466
          self.bannerName = iprot.readString();
16467
        else:
16468
          iprot.skip(ftype)
9155 kshitij.so 16469
      elif fid == 2:
16470
        if ftype == TType.I32:
16471
          self.bannerType = iprot.readI32();
16472
        else:
16473
          iprot.skip(ftype)
6850 kshitij.so 16474
      else:
16475
        iprot.skip(ftype)
16476
      iprot.readFieldEnd()
16477
    iprot.readStructEnd()
16478
 
16479
  def write(self, oprot):
16480
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
16481
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
16482
      return
16483
    oprot.writeStructBegin('deleteBanner_args')
16484
    if self.bannerName is not None:
16485
      oprot.writeFieldBegin('bannerName', TType.STRING, 1)
16486
      oprot.writeString(self.bannerName)
16487
      oprot.writeFieldEnd()
9155 kshitij.so 16488
    if self.bannerType is not None:
16489
      oprot.writeFieldBegin('bannerType', TType.I32, 2)
16490
      oprot.writeI32(self.bannerType)
16491
      oprot.writeFieldEnd()
6850 kshitij.so 16492
    oprot.writeFieldStop()
16493
    oprot.writeStructEnd()
16494
 
16495
  def validate(self):
16496
    return
16497
 
16498
 
16499
  def __repr__(self):
16500
    L = ['%s=%r' % (key, value)
16501
      for key, value in self.__dict__.iteritems()]
16502
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
16503
 
16504
  def __eq__(self, other):
16505
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
16506
 
16507
  def __ne__(self, other):
16508
    return not (self == other)
16509
 
16510
class deleteBanner_result:
16511
  """
16512
  Attributes:
16513
   - success
16514
  """
16515
 
16516
  thrift_spec = (
16517
    (0, TType.BOOL, 'success', None, None, ), # 0
16518
  )
16519
 
16520
  def __init__(self, success=None,):
16521
    self.success = success
16522
 
16523
  def read(self, iprot):
16524
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
16525
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
16526
      return
16527
    iprot.readStructBegin()
16528
    while True:
16529
      (fname, ftype, fid) = iprot.readFieldBegin()
16530
      if ftype == TType.STOP:
16531
        break
16532
      if fid == 0:
16533
        if ftype == TType.BOOL:
16534
          self.success = iprot.readBool();
16535
        else:
16536
          iprot.skip(ftype)
16537
      else:
16538
        iprot.skip(ftype)
16539
      iprot.readFieldEnd()
16540
    iprot.readStructEnd()
16541
 
16542
  def write(self, oprot):
16543
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
16544
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
16545
      return
16546
    oprot.writeStructBegin('deleteBanner_result')
16547
    if self.success is not None:
16548
      oprot.writeFieldBegin('success', TType.BOOL, 0)
16549
      oprot.writeBool(self.success)
16550
      oprot.writeFieldEnd()
16551
    oprot.writeFieldStop()
16552
    oprot.writeStructEnd()
16553
 
16554
  def validate(self):
16555
    return
16556
 
16557
 
16558
  def __repr__(self):
16559
    L = ['%s=%r' % (key, value)
16560
      for key, value in self.__dict__.iteritems()]
16561
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
16562
 
16563
  def __eq__(self, other):
16564
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
16565
 
16566
  def __ne__(self, other):
16567
    return not (self == other)
16568
 
16569
class getBannerDetails_args:
16570
  """
16571
  Attributes:
16572
   - bannerName
9155 kshitij.so 16573
   - bannerType
6850 kshitij.so 16574
  """
16575
 
16576
  thrift_spec = (
16577
    None, # 0
16578
    (1, TType.STRING, 'bannerName', None, None, ), # 1
9155 kshitij.so 16579
    (2, TType.I32, 'bannerType', None, None, ), # 2
6850 kshitij.so 16580
  )
16581
 
9155 kshitij.so 16582
  def __init__(self, bannerName=None, bannerType=None,):
6850 kshitij.so 16583
    self.bannerName = bannerName
9155 kshitij.so 16584
    self.bannerType = bannerType
6850 kshitij.so 16585
 
16586
  def read(self, iprot):
16587
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
16588
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
16589
      return
16590
    iprot.readStructBegin()
16591
    while True:
16592
      (fname, ftype, fid) = iprot.readFieldBegin()
16593
      if ftype == TType.STOP:
16594
        break
16595
      if fid == 1:
16596
        if ftype == TType.STRING:
16597
          self.bannerName = iprot.readString();
16598
        else:
16599
          iprot.skip(ftype)
9155 kshitij.so 16600
      elif fid == 2:
16601
        if ftype == TType.I32:
16602
          self.bannerType = iprot.readI32();
16603
        else:
16604
          iprot.skip(ftype)
6850 kshitij.so 16605
      else:
16606
        iprot.skip(ftype)
16607
      iprot.readFieldEnd()
16608
    iprot.readStructEnd()
16609
 
16610
  def write(self, oprot):
16611
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
16612
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
16613
      return
16614
    oprot.writeStructBegin('getBannerDetails_args')
16615
    if self.bannerName is not None:
16616
      oprot.writeFieldBegin('bannerName', TType.STRING, 1)
16617
      oprot.writeString(self.bannerName)
16618
      oprot.writeFieldEnd()
9155 kshitij.so 16619
    if self.bannerType is not None:
16620
      oprot.writeFieldBegin('bannerType', TType.I32, 2)
16621
      oprot.writeI32(self.bannerType)
16622
      oprot.writeFieldEnd()
6850 kshitij.so 16623
    oprot.writeFieldStop()
16624
    oprot.writeStructEnd()
16625
 
16626
  def validate(self):
16627
    return
16628
 
16629
 
16630
  def __repr__(self):
16631
    L = ['%s=%r' % (key, value)
16632
      for key, value in self.__dict__.iteritems()]
16633
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
16634
 
16635
  def __eq__(self, other):
16636
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
16637
 
16638
  def __ne__(self, other):
16639
    return not (self == other)
16640
 
16641
class getBannerDetails_result:
16642
  """
16643
  Attributes:
16644
   - success
16645
  """
16646
 
16647
  thrift_spec = (
16648
    (0, TType.STRUCT, 'success', (Banner, Banner.thrift_spec), None, ), # 0
16649
  )
16650
 
16651
  def __init__(self, success=None,):
16652
    self.success = success
16653
 
16654
  def read(self, iprot):
16655
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
16656
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
16657
      return
16658
    iprot.readStructBegin()
16659
    while True:
16660
      (fname, ftype, fid) = iprot.readFieldBegin()
16661
      if ftype == TType.STOP:
16662
        break
16663
      if fid == 0:
16664
        if ftype == TType.STRUCT:
16665
          self.success = Banner()
16666
          self.success.read(iprot)
16667
        else:
16668
          iprot.skip(ftype)
16669
      else:
16670
        iprot.skip(ftype)
16671
      iprot.readFieldEnd()
16672
    iprot.readStructEnd()
16673
 
16674
  def write(self, oprot):
16675
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
16676
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
16677
      return
16678
    oprot.writeStructBegin('getBannerDetails_result')
16679
    if self.success is not None:
16680
      oprot.writeFieldBegin('success', TType.STRUCT, 0)
16681
      self.success.write(oprot)
16682
      oprot.writeFieldEnd()
16683
    oprot.writeFieldStop()
16684
    oprot.writeStructEnd()
16685
 
16686
  def validate(self):
16687
    return
16688
 
16689
 
16690
  def __repr__(self):
16691
    L = ['%s=%r' % (key, value)
16692
      for key, value in self.__dict__.iteritems()]
16693
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
16694
 
16695
  def __eq__(self, other):
16696
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
16697
 
16698
  def __ne__(self, other):
16699
    return not (self == other)
16700
 
16701
class getActiveBanners_args:
16702
 
16703
  thrift_spec = (
16704
  )
16705
 
16706
  def read(self, iprot):
16707
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
16708
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
16709
      return
16710
    iprot.readStructBegin()
16711
    while True:
16712
      (fname, ftype, fid) = iprot.readFieldBegin()
16713
      if ftype == TType.STOP:
16714
        break
16715
      else:
16716
        iprot.skip(ftype)
16717
      iprot.readFieldEnd()
16718
    iprot.readStructEnd()
16719
 
16720
  def write(self, oprot):
16721
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
16722
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
16723
      return
16724
    oprot.writeStructBegin('getActiveBanners_args')
16725
    oprot.writeFieldStop()
16726
    oprot.writeStructEnd()
16727
 
16728
  def validate(self):
16729
    return
16730
 
16731
 
16732
  def __repr__(self):
16733
    L = ['%s=%r' % (key, value)
16734
      for key, value in self.__dict__.iteritems()]
16735
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
16736
 
16737
  def __eq__(self, other):
16738
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
16739
 
16740
  def __ne__(self, other):
16741
    return not (self == other)
16742
 
16743
class getActiveBanners_result:
16744
  """
16745
  Attributes:
16746
   - success
16747
  """
16748
 
16749
  thrift_spec = (
8579 kshitij.so 16750
    (0, TType.MAP, 'success', (TType.STRING,None,TType.LIST,(TType.STRUCT,(Banner, Banner.thrift_spec))), None, ), # 0
6850 kshitij.so 16751
  )
16752
 
16753
  def __init__(self, success=None,):
16754
    self.success = success
16755
 
16756
  def read(self, iprot):
16757
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
16758
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
16759
      return
16760
    iprot.readStructBegin()
16761
    while True:
16762
      (fname, ftype, fid) = iprot.readFieldBegin()
16763
      if ftype == TType.STOP:
16764
        break
16765
      if fid == 0:
8579 kshitij.so 16766
        if ftype == TType.MAP:
16767
          self.success = {}
21838 amit.gupta 16768
          (_ktype246, _vtype247, _size245 ) = iprot.readMapBegin() 
16769
          for _i249 in xrange(_size245):
16770
            _key250 = iprot.readString();
16771
            _val251 = []
16772
            (_etype255, _size252) = iprot.readListBegin()
16773
            for _i256 in xrange(_size252):
16774
              _elem257 = Banner()
16775
              _elem257.read(iprot)
16776
              _val251.append(_elem257)
8579 kshitij.so 16777
            iprot.readListEnd()
21838 amit.gupta 16778
            self.success[_key250] = _val251
8579 kshitij.so 16779
          iprot.readMapEnd()
6850 kshitij.so 16780
        else:
16781
          iprot.skip(ftype)
16782
      else:
16783
        iprot.skip(ftype)
16784
      iprot.readFieldEnd()
16785
    iprot.readStructEnd()
16786
 
16787
  def write(self, oprot):
16788
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
16789
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
16790
      return
16791
    oprot.writeStructBegin('getActiveBanners_result')
16792
    if self.success is not None:
8579 kshitij.so 16793
      oprot.writeFieldBegin('success', TType.MAP, 0)
16794
      oprot.writeMapBegin(TType.STRING, TType.LIST, len(self.success))
21838 amit.gupta 16795
      for kiter258,viter259 in self.success.items():
16796
        oprot.writeString(kiter258)
16797
        oprot.writeListBegin(TType.STRUCT, len(viter259))
16798
        for iter260 in viter259:
16799
          iter260.write(oprot)
8579 kshitij.so 16800
        oprot.writeListEnd()
16801
      oprot.writeMapEnd()
6850 kshitij.so 16802
      oprot.writeFieldEnd()
16803
    oprot.writeFieldStop()
16804
    oprot.writeStructEnd()
16805
 
16806
  def validate(self):
16807
    return
16808
 
16809
 
16810
  def __repr__(self):
16811
    L = ['%s=%r' % (key, value)
16812
      for key, value in self.__dict__.iteritems()]
16813
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
16814
 
16815
  def __eq__(self, other):
16816
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
16817
 
16818
  def __ne__(self, other):
16819
    return not (self == other)
16820
 
6849 kshitij.so 16821
class addBannerMap_args:
16822
  """
16823
  Attributes:
8579 kshitij.so 16824
   - bannerMaps
6849 kshitij.so 16825
  """
16826
 
16827
  thrift_spec = (
16828
    None, # 0
8579 kshitij.so 16829
    (1, TType.LIST, 'bannerMaps', (TType.STRUCT,(BannerMap, BannerMap.thrift_spec)), None, ), # 1
6849 kshitij.so 16830
  )
16831
 
8579 kshitij.so 16832
  def __init__(self, bannerMaps=None,):
16833
    self.bannerMaps = bannerMaps
6849 kshitij.so 16834
 
16835
  def read(self, iprot):
16836
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
16837
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
16838
      return
16839
    iprot.readStructBegin()
16840
    while True:
16841
      (fname, ftype, fid) = iprot.readFieldBegin()
16842
      if ftype == TType.STOP:
16843
        break
16844
      if fid == 1:
8579 kshitij.so 16845
        if ftype == TType.LIST:
16846
          self.bannerMaps = []
21838 amit.gupta 16847
          (_etype264, _size261) = iprot.readListBegin()
16848
          for _i265 in xrange(_size261):
16849
            _elem266 = BannerMap()
16850
            _elem266.read(iprot)
16851
            self.bannerMaps.append(_elem266)
8579 kshitij.so 16852
          iprot.readListEnd()
6849 kshitij.so 16853
        else:
16854
          iprot.skip(ftype)
8579 kshitij.so 16855
      else:
16856
        iprot.skip(ftype)
16857
      iprot.readFieldEnd()
16858
    iprot.readStructEnd()
16859
 
16860
  def write(self, oprot):
16861
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
16862
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
16863
      return
16864
    oprot.writeStructBegin('addBannerMap_args')
16865
    if self.bannerMaps is not None:
16866
      oprot.writeFieldBegin('bannerMaps', TType.LIST, 1)
16867
      oprot.writeListBegin(TType.STRUCT, len(self.bannerMaps))
21838 amit.gupta 16868
      for iter267 in self.bannerMaps:
16869
        iter267.write(oprot)
8579 kshitij.so 16870
      oprot.writeListEnd()
16871
      oprot.writeFieldEnd()
16872
    oprot.writeFieldStop()
16873
    oprot.writeStructEnd()
16874
 
16875
  def validate(self):
16876
    return
16877
 
16878
 
16879
  def __repr__(self):
16880
    L = ['%s=%r' % (key, value)
16881
      for key, value in self.__dict__.iteritems()]
16882
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
16883
 
16884
  def __eq__(self, other):
16885
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
16886
 
16887
  def __ne__(self, other):
16888
    return not (self == other)
16889
 
16890
class addBannerMap_result:
16891
  """
16892
  Attributes:
16893
   - success
16894
  """
16895
 
16896
  thrift_spec = (
16897
    (0, TType.BOOL, 'success', None, None, ), # 0
16898
  )
16899
 
16900
  def __init__(self, success=None,):
16901
    self.success = success
16902
 
16903
  def read(self, iprot):
16904
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
16905
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
16906
      return
16907
    iprot.readStructBegin()
16908
    while True:
16909
      (fname, ftype, fid) = iprot.readFieldBegin()
16910
      if ftype == TType.STOP:
16911
        break
16912
      if fid == 0:
16913
        if ftype == TType.BOOL:
16914
          self.success = iprot.readBool();
6849 kshitij.so 16915
        else:
16916
          iprot.skip(ftype)
8579 kshitij.so 16917
      else:
16918
        iprot.skip(ftype)
16919
      iprot.readFieldEnd()
16920
    iprot.readStructEnd()
16921
 
16922
  def write(self, oprot):
16923
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
16924
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
16925
      return
16926
    oprot.writeStructBegin('addBannerMap_result')
16927
    if self.success is not None:
16928
      oprot.writeFieldBegin('success', TType.BOOL, 0)
16929
      oprot.writeBool(self.success)
16930
      oprot.writeFieldEnd()
16931
    oprot.writeFieldStop()
16932
    oprot.writeStructEnd()
16933
 
16934
  def validate(self):
16935
    return
16936
 
16937
 
16938
  def __repr__(self):
16939
    L = ['%s=%r' % (key, value)
16940
      for key, value in self.__dict__.iteritems()]
16941
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
16942
 
16943
  def __eq__(self, other):
16944
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
16945
 
16946
  def __ne__(self, other):
16947
    return not (self == other)
16948
 
16949
class updateBannerMap_args:
16950
  """
16951
  Attributes:
16952
   - bannerMap
16953
  """
16954
 
16955
  thrift_spec = (
16956
    None, # 0
16957
    (1, TType.STRUCT, 'bannerMap', (BannerMap, BannerMap.thrift_spec), None, ), # 1
16958
  )
16959
 
16960
  def __init__(self, bannerMap=None,):
16961
    self.bannerMap = bannerMap
16962
 
16963
  def read(self, iprot):
16964
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
16965
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
16966
      return
16967
    iprot.readStructBegin()
16968
    while True:
16969
      (fname, ftype, fid) = iprot.readFieldBegin()
16970
      if ftype == TType.STOP:
16971
        break
16972
      if fid == 1:
16973
        if ftype == TType.STRUCT:
16974
          self.bannerMap = BannerMap()
16975
          self.bannerMap.read(iprot)
6849 kshitij.so 16976
        else:
16977
          iprot.skip(ftype)
16978
      else:
16979
        iprot.skip(ftype)
16980
      iprot.readFieldEnd()
16981
    iprot.readStructEnd()
16982
 
16983
  def write(self, oprot):
16984
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
16985
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
16986
      return
8579 kshitij.so 16987
    oprot.writeStructBegin('updateBannerMap_args')
16988
    if self.bannerMap is not None:
16989
      oprot.writeFieldBegin('bannerMap', TType.STRUCT, 1)
16990
      self.bannerMap.write(oprot)
6849 kshitij.so 16991
      oprot.writeFieldEnd()
16992
    oprot.writeFieldStop()
16993
    oprot.writeStructEnd()
16994
 
16995
  def validate(self):
16996
    return
16997
 
16998
 
16999
  def __repr__(self):
17000
    L = ['%s=%r' % (key, value)
17001
      for key, value in self.__dict__.iteritems()]
17002
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
17003
 
17004
  def __eq__(self, other):
17005
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
17006
 
17007
  def __ne__(self, other):
17008
    return not (self == other)
17009
 
8579 kshitij.so 17010
class updateBannerMap_result:
6849 kshitij.so 17011
  """
17012
  Attributes:
17013
   - success
17014
  """
17015
 
17016
  thrift_spec = (
17017
    (0, TType.BOOL, 'success', None, None, ), # 0
17018
  )
17019
 
17020
  def __init__(self, success=None,):
17021
    self.success = success
17022
 
17023
  def read(self, iprot):
17024
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
17025
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
17026
      return
17027
    iprot.readStructBegin()
17028
    while True:
17029
      (fname, ftype, fid) = iprot.readFieldBegin()
17030
      if ftype == TType.STOP:
17031
        break
17032
      if fid == 0:
17033
        if ftype == TType.BOOL:
17034
          self.success = iprot.readBool();
17035
        else:
17036
          iprot.skip(ftype)
17037
      else:
17038
        iprot.skip(ftype)
17039
      iprot.readFieldEnd()
17040
    iprot.readStructEnd()
17041
 
17042
  def write(self, oprot):
17043
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
17044
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
17045
      return
8579 kshitij.so 17046
    oprot.writeStructBegin('updateBannerMap_result')
6849 kshitij.so 17047
    if self.success is not None:
17048
      oprot.writeFieldBegin('success', TType.BOOL, 0)
17049
      oprot.writeBool(self.success)
17050
      oprot.writeFieldEnd()
17051
    oprot.writeFieldStop()
17052
    oprot.writeStructEnd()
17053
 
17054
  def validate(self):
17055
    return
17056
 
17057
 
17058
  def __repr__(self):
17059
    L = ['%s=%r' % (key, value)
17060
      for key, value in self.__dict__.iteritems()]
17061
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
17062
 
17063
  def __eq__(self, other):
17064
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
17065
 
17066
  def __ne__(self, other):
17067
    return not (self == other)
17068
 
17069
class deleteBannerMap_args:
17070
  """
17071
  Attributes:
17072
   - bannerName
17073
  """
17074
 
17075
  thrift_spec = (
17076
    None, # 0
17077
    (1, TType.STRING, 'bannerName', None, None, ), # 1
17078
  )
17079
 
17080
  def __init__(self, bannerName=None,):
17081
    self.bannerName = bannerName
17082
 
17083
  def read(self, iprot):
17084
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
17085
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
17086
      return
17087
    iprot.readStructBegin()
17088
    while True:
17089
      (fname, ftype, fid) = iprot.readFieldBegin()
17090
      if ftype == TType.STOP:
17091
        break
17092
      if fid == 1:
17093
        if ftype == TType.STRING:
17094
          self.bannerName = iprot.readString();
17095
        else:
17096
          iprot.skip(ftype)
17097
      else:
17098
        iprot.skip(ftype)
17099
      iprot.readFieldEnd()
17100
    iprot.readStructEnd()
17101
 
17102
  def write(self, oprot):
17103
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
17104
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
17105
      return
17106
    oprot.writeStructBegin('deleteBannerMap_args')
17107
    if self.bannerName is not None:
17108
      oprot.writeFieldBegin('bannerName', TType.STRING, 1)
17109
      oprot.writeString(self.bannerName)
17110
      oprot.writeFieldEnd()
17111
    oprot.writeFieldStop()
17112
    oprot.writeStructEnd()
17113
 
17114
  def validate(self):
17115
    return
17116
 
17117
 
17118
  def __repr__(self):
17119
    L = ['%s=%r' % (key, value)
17120
      for key, value in self.__dict__.iteritems()]
17121
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
17122
 
17123
  def __eq__(self, other):
17124
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
17125
 
17126
  def __ne__(self, other):
17127
    return not (self == other)
17128
 
17129
class deleteBannerMap_result:
17130
  """
17131
  Attributes:
17132
   - success
17133
  """
17134
 
17135
  thrift_spec = (
17136
    (0, TType.BOOL, 'success', None, None, ), # 0
17137
  )
17138
 
17139
  def __init__(self, success=None,):
17140
    self.success = success
17141
 
17142
  def read(self, iprot):
17143
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
17144
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
17145
      return
17146
    iprot.readStructBegin()
17147
    while True:
17148
      (fname, ftype, fid) = iprot.readFieldBegin()
17149
      if ftype == TType.STOP:
17150
        break
17151
      if fid == 0:
17152
        if ftype == TType.BOOL:
17153
          self.success = iprot.readBool();
17154
        else:
17155
          iprot.skip(ftype)
17156
      else:
17157
        iprot.skip(ftype)
17158
      iprot.readFieldEnd()
17159
    iprot.readStructEnd()
17160
 
17161
  def write(self, oprot):
17162
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
17163
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
17164
      return
17165
    oprot.writeStructBegin('deleteBannerMap_result')
17166
    if self.success is not None:
17167
      oprot.writeFieldBegin('success', TType.BOOL, 0)
17168
      oprot.writeBool(self.success)
17169
      oprot.writeFieldEnd()
17170
    oprot.writeFieldStop()
17171
    oprot.writeStructEnd()
17172
 
17173
  def validate(self):
17174
    return
17175
 
17176
 
17177
  def __repr__(self):
17178
    L = ['%s=%r' % (key, value)
17179
      for key, value in self.__dict__.iteritems()]
17180
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
17181
 
17182
  def __eq__(self, other):
17183
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
17184
 
17185
  def __ne__(self, other):
17186
    return not (self == other)
17187
 
17188
class getBannerMapDetails_args:
17189
  """
17190
  Attributes:
17191
   - bannerName
9155 kshitij.so 17192
   - bannerType
6849 kshitij.so 17193
  """
17194
 
17195
  thrift_spec = (
17196
    None, # 0
17197
    (1, TType.STRING, 'bannerName', None, None, ), # 1
9155 kshitij.so 17198
    (2, TType.I32, 'bannerType', None, None, ), # 2
6849 kshitij.so 17199
  )
17200
 
9155 kshitij.so 17201
  def __init__(self, bannerName=None, bannerType=None,):
6849 kshitij.so 17202
    self.bannerName = bannerName
9155 kshitij.so 17203
    self.bannerType = bannerType
6849 kshitij.so 17204
 
17205
  def read(self, iprot):
17206
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
17207
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
17208
      return
17209
    iprot.readStructBegin()
17210
    while True:
17211
      (fname, ftype, fid) = iprot.readFieldBegin()
17212
      if ftype == TType.STOP:
17213
        break
17214
      if fid == 1:
17215
        if ftype == TType.STRING:
17216
          self.bannerName = iprot.readString();
17217
        else:
17218
          iprot.skip(ftype)
9155 kshitij.so 17219
      elif fid == 2:
17220
        if ftype == TType.I32:
17221
          self.bannerType = iprot.readI32();
17222
        else:
17223
          iprot.skip(ftype)
6849 kshitij.so 17224
      else:
17225
        iprot.skip(ftype)
17226
      iprot.readFieldEnd()
17227
    iprot.readStructEnd()
17228
 
17229
  def write(self, oprot):
17230
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
17231
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
17232
      return
17233
    oprot.writeStructBegin('getBannerMapDetails_args')
17234
    if self.bannerName is not None:
17235
      oprot.writeFieldBegin('bannerName', TType.STRING, 1)
17236
      oprot.writeString(self.bannerName)
17237
      oprot.writeFieldEnd()
9155 kshitij.so 17238
    if self.bannerType is not None:
17239
      oprot.writeFieldBegin('bannerType', TType.I32, 2)
17240
      oprot.writeI32(self.bannerType)
17241
      oprot.writeFieldEnd()
6849 kshitij.so 17242
    oprot.writeFieldStop()
17243
    oprot.writeStructEnd()
17244
 
17245
  def validate(self):
17246
    return
17247
 
17248
 
17249
  def __repr__(self):
17250
    L = ['%s=%r' % (key, value)
17251
      for key, value in self.__dict__.iteritems()]
17252
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
17253
 
17254
  def __eq__(self, other):
17255
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
17256
 
17257
  def __ne__(self, other):
17258
    return not (self == other)
17259
 
17260
class getBannerMapDetails_result:
17261
  """
17262
  Attributes:
17263
   - success
17264
  """
17265
 
17266
  thrift_spec = (
17267
    (0, TType.LIST, 'success', (TType.STRUCT,(BannerMap, BannerMap.thrift_spec)), None, ), # 0
17268
  )
17269
 
17270
  def __init__(self, success=None,):
17271
    self.success = success
17272
 
17273
  def read(self, iprot):
17274
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
17275
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
17276
      return
17277
    iprot.readStructBegin()
17278
    while True:
17279
      (fname, ftype, fid) = iprot.readFieldBegin()
17280
      if ftype == TType.STOP:
17281
        break
17282
      if fid == 0:
17283
        if ftype == TType.LIST:
17284
          self.success = []
21838 amit.gupta 17285
          (_etype271, _size268) = iprot.readListBegin()
17286
          for _i272 in xrange(_size268):
17287
            _elem273 = BannerMap()
17288
            _elem273.read(iprot)
17289
            self.success.append(_elem273)
6849 kshitij.so 17290
          iprot.readListEnd()
17291
        else:
17292
          iprot.skip(ftype)
17293
      else:
17294
        iprot.skip(ftype)
17295
      iprot.readFieldEnd()
17296
    iprot.readStructEnd()
17297
 
17298
  def write(self, oprot):
17299
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
17300
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
17301
      return
17302
    oprot.writeStructBegin('getBannerMapDetails_result')
17303
    if self.success is not None:
17304
      oprot.writeFieldBegin('success', TType.LIST, 0)
17305
      oprot.writeListBegin(TType.STRUCT, len(self.success))
21838 amit.gupta 17306
      for iter274 in self.success:
17307
        iter274.write(oprot)
6849 kshitij.so 17308
      oprot.writeListEnd()
17309
      oprot.writeFieldEnd()
17310
    oprot.writeFieldStop()
17311
    oprot.writeStructEnd()
17312
 
17313
  def validate(self):
17314
    return
17315
 
17316
 
17317
  def __repr__(self):
17318
    L = ['%s=%r' % (key, value)
17319
      for key, value in self.__dict__.iteritems()]
17320
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
17321
 
17322
  def __eq__(self, other):
17323
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
17324
 
17325
  def __ne__(self, other):
17326
    return not (self == other)
17327
 
8579 kshitij.so 17328
class addBannerUri_args:
17329
  """
17330
  Attributes:
17331
   - bannerUriMappings
17332
  """
17333
 
17334
  thrift_spec = (
17335
    None, # 0
17336
    (1, TType.LIST, 'bannerUriMappings', (TType.STRUCT,(BannerUriMapping, BannerUriMapping.thrift_spec)), None, ), # 1
17337
  )
17338
 
17339
  def __init__(self, bannerUriMappings=None,):
17340
    self.bannerUriMappings = bannerUriMappings
17341
 
17342
  def read(self, iprot):
17343
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
17344
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
17345
      return
17346
    iprot.readStructBegin()
17347
    while True:
17348
      (fname, ftype, fid) = iprot.readFieldBegin()
17349
      if ftype == TType.STOP:
17350
        break
17351
      if fid == 1:
17352
        if ftype == TType.LIST:
17353
          self.bannerUriMappings = []
21838 amit.gupta 17354
          (_etype278, _size275) = iprot.readListBegin()
17355
          for _i279 in xrange(_size275):
17356
            _elem280 = BannerUriMapping()
17357
            _elem280.read(iprot)
17358
            self.bannerUriMappings.append(_elem280)
8579 kshitij.so 17359
          iprot.readListEnd()
17360
        else:
17361
          iprot.skip(ftype)
17362
      else:
17363
        iprot.skip(ftype)
17364
      iprot.readFieldEnd()
17365
    iprot.readStructEnd()
17366
 
17367
  def write(self, oprot):
17368
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
17369
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
17370
      return
17371
    oprot.writeStructBegin('addBannerUri_args')
17372
    if self.bannerUriMappings is not None:
17373
      oprot.writeFieldBegin('bannerUriMappings', TType.LIST, 1)
17374
      oprot.writeListBegin(TType.STRUCT, len(self.bannerUriMappings))
21838 amit.gupta 17375
      for iter281 in self.bannerUriMappings:
17376
        iter281.write(oprot)
8579 kshitij.so 17377
      oprot.writeListEnd()
17378
      oprot.writeFieldEnd()
17379
    oprot.writeFieldStop()
17380
    oprot.writeStructEnd()
17381
 
17382
  def validate(self):
17383
    return
17384
 
17385
 
17386
  def __repr__(self):
17387
    L = ['%s=%r' % (key, value)
17388
      for key, value in self.__dict__.iteritems()]
17389
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
17390
 
17391
  def __eq__(self, other):
17392
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
17393
 
17394
  def __ne__(self, other):
17395
    return not (self == other)
17396
 
17397
class addBannerUri_result:
17398
 
17399
  thrift_spec = (
17400
  )
17401
 
17402
  def read(self, iprot):
17403
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
17404
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
17405
      return
17406
    iprot.readStructBegin()
17407
    while True:
17408
      (fname, ftype, fid) = iprot.readFieldBegin()
17409
      if ftype == TType.STOP:
17410
        break
17411
      else:
17412
        iprot.skip(ftype)
17413
      iprot.readFieldEnd()
17414
    iprot.readStructEnd()
17415
 
17416
  def write(self, oprot):
17417
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
17418
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
17419
      return
17420
    oprot.writeStructBegin('addBannerUri_result')
17421
    oprot.writeFieldStop()
17422
    oprot.writeStructEnd()
17423
 
17424
  def validate(self):
17425
    return
17426
 
17427
 
17428
  def __repr__(self):
17429
    L = ['%s=%r' % (key, value)
17430
      for key, value in self.__dict__.iteritems()]
17431
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
17432
 
17433
  def __eq__(self, other):
17434
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
17435
 
17436
  def __ne__(self, other):
17437
    return not (self == other)
17438
 
17439
class getUriMapping_args:
17440
  """
17441
  Attributes:
17442
   - bannerName
9155 kshitij.so 17443
   - bannerType
8579 kshitij.so 17444
  """
17445
 
17446
  thrift_spec = (
17447
    None, # 0
17448
    (1, TType.STRING, 'bannerName', None, None, ), # 1
9155 kshitij.so 17449
    (2, TType.I32, 'bannerType', None, None, ), # 2
8579 kshitij.so 17450
  )
17451
 
9155 kshitij.so 17452
  def __init__(self, bannerName=None, bannerType=None,):
8579 kshitij.so 17453
    self.bannerName = bannerName
9155 kshitij.so 17454
    self.bannerType = bannerType
8579 kshitij.so 17455
 
17456
  def read(self, iprot):
17457
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
17458
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
17459
      return
17460
    iprot.readStructBegin()
17461
    while True:
17462
      (fname, ftype, fid) = iprot.readFieldBegin()
17463
      if ftype == TType.STOP:
17464
        break
17465
      if fid == 1:
17466
        if ftype == TType.STRING:
17467
          self.bannerName = iprot.readString();
17468
        else:
17469
          iprot.skip(ftype)
9155 kshitij.so 17470
      elif fid == 2:
17471
        if ftype == TType.I32:
17472
          self.bannerType = iprot.readI32();
17473
        else:
17474
          iprot.skip(ftype)
8579 kshitij.so 17475
      else:
17476
        iprot.skip(ftype)
17477
      iprot.readFieldEnd()
17478
    iprot.readStructEnd()
17479
 
17480
  def write(self, oprot):
17481
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
17482
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
17483
      return
17484
    oprot.writeStructBegin('getUriMapping_args')
17485
    if self.bannerName is not None:
17486
      oprot.writeFieldBegin('bannerName', TType.STRING, 1)
17487
      oprot.writeString(self.bannerName)
17488
      oprot.writeFieldEnd()
9155 kshitij.so 17489
    if self.bannerType is not None:
17490
      oprot.writeFieldBegin('bannerType', TType.I32, 2)
17491
      oprot.writeI32(self.bannerType)
17492
      oprot.writeFieldEnd()
8579 kshitij.so 17493
    oprot.writeFieldStop()
17494
    oprot.writeStructEnd()
17495
 
17496
  def validate(self):
17497
    return
17498
 
17499
 
17500
  def __repr__(self):
17501
    L = ['%s=%r' % (key, value)
17502
      for key, value in self.__dict__.iteritems()]
17503
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
17504
 
17505
  def __eq__(self, other):
17506
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
17507
 
17508
  def __ne__(self, other):
17509
    return not (self == other)
17510
 
17511
class getUriMapping_result:
17512
  """
17513
  Attributes:
17514
   - success
17515
  """
17516
 
17517
  thrift_spec = (
17518
    (0, TType.LIST, 'success', (TType.STRUCT,(BannerUriMapping, BannerUriMapping.thrift_spec)), None, ), # 0
17519
  )
17520
 
17521
  def __init__(self, success=None,):
17522
    self.success = success
17523
 
17524
  def read(self, iprot):
17525
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
17526
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
17527
      return
17528
    iprot.readStructBegin()
17529
    while True:
17530
      (fname, ftype, fid) = iprot.readFieldBegin()
17531
      if ftype == TType.STOP:
17532
        break
17533
      if fid == 0:
17534
        if ftype == TType.LIST:
17535
          self.success = []
21838 amit.gupta 17536
          (_etype285, _size282) = iprot.readListBegin()
17537
          for _i286 in xrange(_size282):
17538
            _elem287 = BannerUriMapping()
17539
            _elem287.read(iprot)
17540
            self.success.append(_elem287)
8579 kshitij.so 17541
          iprot.readListEnd()
17542
        else:
17543
          iprot.skip(ftype)
17544
      else:
17545
        iprot.skip(ftype)
17546
      iprot.readFieldEnd()
17547
    iprot.readStructEnd()
17548
 
17549
  def write(self, oprot):
17550
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
17551
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
17552
      return
17553
    oprot.writeStructBegin('getUriMapping_result')
17554
    if self.success is not None:
17555
      oprot.writeFieldBegin('success', TType.LIST, 0)
17556
      oprot.writeListBegin(TType.STRUCT, len(self.success))
21838 amit.gupta 17557
      for iter288 in self.success:
17558
        iter288.write(oprot)
8579 kshitij.so 17559
      oprot.writeListEnd()
17560
      oprot.writeFieldEnd()
17561
    oprot.writeFieldStop()
17562
    oprot.writeStructEnd()
17563
 
17564
  def validate(self):
17565
    return
17566
 
17567
 
17568
  def __repr__(self):
17569
    L = ['%s=%r' % (key, value)
17570
      for key, value in self.__dict__.iteritems()]
17571
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
17572
 
17573
  def __eq__(self, other):
17574
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
17575
 
17576
  def __ne__(self, other):
17577
    return not (self == other)
17578
 
17579
class addCampaign_args:
17580
  """
17581
  Attributes:
17582
   - campaign
17583
  """
17584
 
17585
  thrift_spec = (
17586
    None, # 0
17587
    (1, TType.STRUCT, 'campaign', (Campaign, Campaign.thrift_spec), None, ), # 1
17588
  )
17589
 
17590
  def __init__(self, campaign=None,):
17591
    self.campaign = campaign
17592
 
17593
  def read(self, iprot):
17594
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
17595
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
17596
      return
17597
    iprot.readStructBegin()
17598
    while True:
17599
      (fname, ftype, fid) = iprot.readFieldBegin()
17600
      if ftype == TType.STOP:
17601
        break
17602
      if fid == 1:
17603
        if ftype == TType.STRUCT:
17604
          self.campaign = Campaign()
17605
          self.campaign.read(iprot)
17606
        else:
17607
          iprot.skip(ftype)
17608
      else:
17609
        iprot.skip(ftype)
17610
      iprot.readFieldEnd()
17611
    iprot.readStructEnd()
17612
 
17613
  def write(self, oprot):
17614
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
17615
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
17616
      return
17617
    oprot.writeStructBegin('addCampaign_args')
17618
    if self.campaign is not None:
17619
      oprot.writeFieldBegin('campaign', TType.STRUCT, 1)
17620
      self.campaign.write(oprot)
17621
      oprot.writeFieldEnd()
17622
    oprot.writeFieldStop()
17623
    oprot.writeStructEnd()
17624
 
17625
  def validate(self):
17626
    return
17627
 
17628
 
17629
  def __repr__(self):
17630
    L = ['%s=%r' % (key, value)
17631
      for key, value in self.__dict__.iteritems()]
17632
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
17633
 
17634
  def __eq__(self, other):
17635
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
17636
 
17637
  def __ne__(self, other):
17638
    return not (self == other)
17639
 
17640
class addCampaign_result:
17641
 
17642
  thrift_spec = (
17643
  )
17644
 
17645
  def read(self, iprot):
17646
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
17647
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
17648
      return
17649
    iprot.readStructBegin()
17650
    while True:
17651
      (fname, ftype, fid) = iprot.readFieldBegin()
17652
      if ftype == TType.STOP:
17653
        break
17654
      else:
17655
        iprot.skip(ftype)
17656
      iprot.readFieldEnd()
17657
    iprot.readStructEnd()
17658
 
17659
  def write(self, oprot):
17660
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
17661
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
17662
      return
17663
    oprot.writeStructBegin('addCampaign_result')
17664
    oprot.writeFieldStop()
17665
    oprot.writeStructEnd()
17666
 
17667
  def validate(self):
17668
    return
17669
 
17670
 
17671
  def __repr__(self):
17672
    L = ['%s=%r' % (key, value)
17673
      for key, value in self.__dict__.iteritems()]
17674
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
17675
 
17676
  def __eq__(self, other):
17677
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
17678
 
17679
  def __ne__(self, other):
17680
    return not (self == other)
17681
 
17682
class getCampaigns_args:
17683
  """
17684
  Attributes:
17685
   - campaignName
17686
  """
17687
 
17688
  thrift_spec = (
17689
    None, # 0
17690
    (1, TType.STRING, 'campaignName', None, None, ), # 1
17691
  )
17692
 
17693
  def __init__(self, campaignName=None,):
17694
    self.campaignName = campaignName
17695
 
17696
  def read(self, iprot):
17697
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
17698
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
17699
      return
17700
    iprot.readStructBegin()
17701
    while True:
17702
      (fname, ftype, fid) = iprot.readFieldBegin()
17703
      if ftype == TType.STOP:
17704
        break
17705
      if fid == 1:
17706
        if ftype == TType.STRING:
17707
          self.campaignName = iprot.readString();
17708
        else:
17709
          iprot.skip(ftype)
17710
      else:
17711
        iprot.skip(ftype)
17712
      iprot.readFieldEnd()
17713
    iprot.readStructEnd()
17714
 
17715
  def write(self, oprot):
17716
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
17717
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
17718
      return
17719
    oprot.writeStructBegin('getCampaigns_args')
17720
    if self.campaignName is not None:
17721
      oprot.writeFieldBegin('campaignName', TType.STRING, 1)
17722
      oprot.writeString(self.campaignName)
17723
      oprot.writeFieldEnd()
17724
    oprot.writeFieldStop()
17725
    oprot.writeStructEnd()
17726
 
17727
  def validate(self):
17728
    return
17729
 
17730
 
17731
  def __repr__(self):
17732
    L = ['%s=%r' % (key, value)
17733
      for key, value in self.__dict__.iteritems()]
17734
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
17735
 
17736
  def __eq__(self, other):
17737
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
17738
 
17739
  def __ne__(self, other):
17740
    return not (self == other)
17741
 
17742
class getCampaigns_result:
17743
  """
17744
  Attributes:
17745
   - success
17746
  """
17747
 
17748
  thrift_spec = (
17749
    (0, TType.LIST, 'success', (TType.STRUCT,(Campaign, Campaign.thrift_spec)), None, ), # 0
17750
  )
17751
 
17752
  def __init__(self, success=None,):
17753
    self.success = success
17754
 
17755
  def read(self, iprot):
17756
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
17757
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
17758
      return
17759
    iprot.readStructBegin()
17760
    while True:
17761
      (fname, ftype, fid) = iprot.readFieldBegin()
17762
      if ftype == TType.STOP:
17763
        break
17764
      if fid == 0:
17765
        if ftype == TType.LIST:
17766
          self.success = []
21838 amit.gupta 17767
          (_etype292, _size289) = iprot.readListBegin()
17768
          for _i293 in xrange(_size289):
17769
            _elem294 = Campaign()
17770
            _elem294.read(iprot)
17771
            self.success.append(_elem294)
8579 kshitij.so 17772
          iprot.readListEnd()
17773
        else:
17774
          iprot.skip(ftype)
17775
      else:
17776
        iprot.skip(ftype)
17777
      iprot.readFieldEnd()
17778
    iprot.readStructEnd()
17779
 
17780
  def write(self, oprot):
17781
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
17782
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
17783
      return
17784
    oprot.writeStructBegin('getCampaigns_result')
17785
    if self.success is not None:
17786
      oprot.writeFieldBegin('success', TType.LIST, 0)
17787
      oprot.writeListBegin(TType.STRUCT, len(self.success))
21838 amit.gupta 17788
      for iter295 in self.success:
17789
        iter295.write(oprot)
8579 kshitij.so 17790
      oprot.writeListEnd()
17791
      oprot.writeFieldEnd()
17792
    oprot.writeFieldStop()
17793
    oprot.writeStructEnd()
17794
 
17795
  def validate(self):
17796
    return
17797
 
17798
 
17799
  def __repr__(self):
17800
    L = ['%s=%r' % (key, value)
17801
      for key, value in self.__dict__.iteritems()]
17802
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
17803
 
17804
  def __eq__(self, other):
17805
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
17806
 
17807
  def __ne__(self, other):
17808
    return not (self == other)
17809
 
17810
class deleteCampaign_args:
17811
  """
17812
  Attributes:
17813
   - campaignId
17814
  """
17815
 
17816
  thrift_spec = (
17817
    None, # 0
17818
    (1, TType.I64, 'campaignId', None, None, ), # 1
17819
  )
17820
 
17821
  def __init__(self, campaignId=None,):
17822
    self.campaignId = campaignId
17823
 
17824
  def read(self, iprot):
17825
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
17826
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
17827
      return
17828
    iprot.readStructBegin()
17829
    while True:
17830
      (fname, ftype, fid) = iprot.readFieldBegin()
17831
      if ftype == TType.STOP:
17832
        break
17833
      if fid == 1:
17834
        if ftype == TType.I64:
17835
          self.campaignId = iprot.readI64();
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('deleteCampaign_args')
17848
    if self.campaignId is not None:
17849
      oprot.writeFieldBegin('campaignId', TType.I64, 1)
17850
      oprot.writeI64(self.campaignId)
17851
      oprot.writeFieldEnd()
17852
    oprot.writeFieldStop()
17853
    oprot.writeStructEnd()
17854
 
17855
  def validate(self):
17856
    return
17857
 
17858
 
17859
  def __repr__(self):
17860
    L = ['%s=%r' % (key, value)
17861
      for key, value in self.__dict__.iteritems()]
17862
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
17863
 
17864
  def __eq__(self, other):
17865
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
17866
 
17867
  def __ne__(self, other):
17868
    return not (self == other)
17869
 
17870
class deleteCampaign_result:
17871
 
17872
  thrift_spec = (
17873
  )
17874
 
17875
  def read(self, iprot):
17876
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
17877
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
17878
      return
17879
    iprot.readStructBegin()
17880
    while True:
17881
      (fname, ftype, fid) = iprot.readFieldBegin()
17882
      if ftype == TType.STOP:
17883
        break
17884
      else:
17885
        iprot.skip(ftype)
17886
      iprot.readFieldEnd()
17887
    iprot.readStructEnd()
17888
 
17889
  def write(self, oprot):
17890
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
17891
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
17892
      return
17893
    oprot.writeStructBegin('deleteCampaign_result')
17894
    oprot.writeFieldStop()
17895
    oprot.writeStructEnd()
17896
 
17897
  def validate(self):
17898
    return
17899
 
17900
 
17901
  def __repr__(self):
17902
    L = ['%s=%r' % (key, value)
17903
      for key, value in self.__dict__.iteritems()]
17904
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
17905
 
17906
  def __eq__(self, other):
17907
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
17908
 
17909
  def __ne__(self, other):
17910
    return not (self == other)
17911
 
17912
class getAllCampaigns_args:
17913
 
17914
  thrift_spec = (
17915
  )
17916
 
17917
  def read(self, iprot):
17918
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
17919
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
17920
      return
17921
    iprot.readStructBegin()
17922
    while True:
17923
      (fname, ftype, fid) = iprot.readFieldBegin()
17924
      if ftype == TType.STOP:
17925
        break
17926
      else:
17927
        iprot.skip(ftype)
17928
      iprot.readFieldEnd()
17929
    iprot.readStructEnd()
17930
 
17931
  def write(self, oprot):
17932
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
17933
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
17934
      return
17935
    oprot.writeStructBegin('getAllCampaigns_args')
17936
    oprot.writeFieldStop()
17937
    oprot.writeStructEnd()
17938
 
17939
  def validate(self):
17940
    return
17941
 
17942
 
17943
  def __repr__(self):
17944
    L = ['%s=%r' % (key, value)
17945
      for key, value in self.__dict__.iteritems()]
17946
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
17947
 
17948
  def __eq__(self, other):
17949
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
17950
 
17951
  def __ne__(self, other):
17952
    return not (self == other)
17953
 
17954
class getAllCampaigns_result:
17955
  """
17956
  Attributes:
17957
   - success
17958
  """
17959
 
17960
  thrift_spec = (
17961
    (0, TType.LIST, 'success', (TType.STRING,None), None, ), # 0
17962
  )
17963
 
17964
  def __init__(self, success=None,):
17965
    self.success = success
17966
 
17967
  def read(self, iprot):
17968
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
17969
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
17970
      return
17971
    iprot.readStructBegin()
17972
    while True:
17973
      (fname, ftype, fid) = iprot.readFieldBegin()
17974
      if ftype == TType.STOP:
17975
        break
17976
      if fid == 0:
17977
        if ftype == TType.LIST:
17978
          self.success = []
21838 amit.gupta 17979
          (_etype299, _size296) = iprot.readListBegin()
17980
          for _i300 in xrange(_size296):
17981
            _elem301 = iprot.readString();
17982
            self.success.append(_elem301)
8579 kshitij.so 17983
          iprot.readListEnd()
17984
        else:
17985
          iprot.skip(ftype)
17986
      else:
17987
        iprot.skip(ftype)
17988
      iprot.readFieldEnd()
17989
    iprot.readStructEnd()
17990
 
17991
  def write(self, oprot):
17992
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
17993
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
17994
      return
17995
    oprot.writeStructBegin('getAllCampaigns_result')
17996
    if self.success is not None:
17997
      oprot.writeFieldBegin('success', TType.LIST, 0)
17998
      oprot.writeListBegin(TType.STRING, len(self.success))
21838 amit.gupta 17999
      for iter302 in self.success:
18000
        oprot.writeString(iter302)
8579 kshitij.so 18001
      oprot.writeListEnd()
18002
      oprot.writeFieldEnd()
18003
    oprot.writeFieldStop()
18004
    oprot.writeStructEnd()
18005
 
18006
  def validate(self):
18007
    return
18008
 
18009
 
18010
  def __repr__(self):
18011
    L = ['%s=%r' % (key, value)
18012
      for key, value in self.__dict__.iteritems()]
18013
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
18014
 
18015
  def __eq__(self, other):
18016
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
18017
 
18018
  def __ne__(self, other):
18019
    return not (self == other)
18020
 
9155 kshitij.so 18021
class getActiveBannersForMobileSite_args:
18022
 
18023
  thrift_spec = (
18024
  )
18025
 
18026
  def read(self, iprot):
18027
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
18028
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
18029
      return
18030
    iprot.readStructBegin()
18031
    while True:
18032
      (fname, ftype, fid) = iprot.readFieldBegin()
18033
      if ftype == TType.STOP:
18034
        break
18035
      else:
18036
        iprot.skip(ftype)
18037
      iprot.readFieldEnd()
18038
    iprot.readStructEnd()
18039
 
18040
  def write(self, oprot):
18041
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
18042
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
18043
      return
18044
    oprot.writeStructBegin('getActiveBannersForMobileSite_args')
18045
    oprot.writeFieldStop()
18046
    oprot.writeStructEnd()
18047
 
18048
  def validate(self):
18049
    return
18050
 
18051
 
18052
  def __repr__(self):
18053
    L = ['%s=%r' % (key, value)
18054
      for key, value in self.__dict__.iteritems()]
18055
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
18056
 
18057
  def __eq__(self, other):
18058
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
18059
 
18060
  def __ne__(self, other):
18061
    return not (self == other)
18062
 
18063
class getActiveBannersForMobileSite_result:
18064
  """
18065
  Attributes:
18066
   - success
18067
  """
18068
 
18069
  thrift_spec = (
18070
    (0, TType.MAP, 'success', (TType.STRING,None,TType.LIST,(TType.STRUCT,(Banner, Banner.thrift_spec))), None, ), # 0
18071
  )
18072
 
18073
  def __init__(self, success=None,):
18074
    self.success = success
18075
 
18076
  def read(self, iprot):
18077
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
18078
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
18079
      return
18080
    iprot.readStructBegin()
18081
    while True:
18082
      (fname, ftype, fid) = iprot.readFieldBegin()
18083
      if ftype == TType.STOP:
18084
        break
18085
      if fid == 0:
18086
        if ftype == TType.MAP:
18087
          self.success = {}
21838 amit.gupta 18088
          (_ktype304, _vtype305, _size303 ) = iprot.readMapBegin() 
18089
          for _i307 in xrange(_size303):
18090
            _key308 = iprot.readString();
18091
            _val309 = []
18092
            (_etype313, _size310) = iprot.readListBegin()
18093
            for _i314 in xrange(_size310):
18094
              _elem315 = Banner()
18095
              _elem315.read(iprot)
18096
              _val309.append(_elem315)
9155 kshitij.so 18097
            iprot.readListEnd()
21838 amit.gupta 18098
            self.success[_key308] = _val309
9155 kshitij.so 18099
          iprot.readMapEnd()
18100
        else:
18101
          iprot.skip(ftype)
18102
      else:
18103
        iprot.skip(ftype)
18104
      iprot.readFieldEnd()
18105
    iprot.readStructEnd()
18106
 
18107
  def write(self, oprot):
18108
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
18109
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
18110
      return
18111
    oprot.writeStructBegin('getActiveBannersForMobileSite_result')
18112
    if self.success is not None:
18113
      oprot.writeFieldBegin('success', TType.MAP, 0)
18114
      oprot.writeMapBegin(TType.STRING, TType.LIST, len(self.success))
21838 amit.gupta 18115
      for kiter316,viter317 in self.success.items():
18116
        oprot.writeString(kiter316)
18117
        oprot.writeListBegin(TType.STRUCT, len(viter317))
18118
        for iter318 in viter317:
18119
          iter318.write(oprot)
9155 kshitij.so 18120
        oprot.writeListEnd()
18121
      oprot.writeMapEnd()
18122
      oprot.writeFieldEnd()
18123
    oprot.writeFieldStop()
18124
    oprot.writeStructEnd()
18125
 
18126
  def validate(self):
18127
    return
18128
 
18129
 
18130
  def __repr__(self):
18131
    L = ['%s=%r' % (key, value)
18132
      for key, value in self.__dict__.iteritems()]
18133
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
18134
 
18135
  def __eq__(self, other):
18136
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
18137
 
18138
  def __ne__(self, other):
18139
    return not (self == other)
18140
 
5944 mandeep.dh 18141
class deleteSimilarItem_args:
18142
  """
18143
  Attributes:
18144
   - itemId
18145
   - catalogItemId
18146
  """
18147
 
18148
  thrift_spec = (
18149
    None, # 0
18150
    (1, TType.I64, 'itemId', None, None, ), # 1
18151
    (2, TType.I64, 'catalogItemId', None, None, ), # 2
18152
  )
18153
 
18154
  def __init__(self, itemId=None, catalogItemId=None,):
18155
    self.itemId = itemId
18156
    self.catalogItemId = catalogItemId
18157
 
18158
  def read(self, iprot):
18159
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
18160
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
18161
      return
18162
    iprot.readStructBegin()
18163
    while True:
18164
      (fname, ftype, fid) = iprot.readFieldBegin()
18165
      if ftype == TType.STOP:
18166
        break
18167
      if fid == 1:
18168
        if ftype == TType.I64:
18169
          self.itemId = iprot.readI64();
18170
        else:
18171
          iprot.skip(ftype)
18172
      elif fid == 2:
18173
        if ftype == TType.I64:
18174
          self.catalogItemId = iprot.readI64();
18175
        else:
18176
          iprot.skip(ftype)
18177
      else:
18178
        iprot.skip(ftype)
18179
      iprot.readFieldEnd()
18180
    iprot.readStructEnd()
18181
 
18182
  def write(self, oprot):
18183
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
18184
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
18185
      return
18186
    oprot.writeStructBegin('deleteSimilarItem_args')
18187
    if self.itemId is not None:
18188
      oprot.writeFieldBegin('itemId', TType.I64, 1)
18189
      oprot.writeI64(self.itemId)
18190
      oprot.writeFieldEnd()
18191
    if self.catalogItemId is not None:
18192
      oprot.writeFieldBegin('catalogItemId', TType.I64, 2)
18193
      oprot.writeI64(self.catalogItemId)
18194
      oprot.writeFieldEnd()
18195
    oprot.writeFieldStop()
18196
    oprot.writeStructEnd()
18197
 
18198
  def validate(self):
18199
    return
18200
 
18201
 
18202
  def __repr__(self):
18203
    L = ['%s=%r' % (key, value)
18204
      for key, value in self.__dict__.iteritems()]
18205
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
18206
 
18207
  def __eq__(self, other):
18208
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
18209
 
18210
  def __ne__(self, other):
18211
    return not (self == other)
18212
 
18213
class deleteSimilarItem_result:
18214
  """
18215
  Attributes:
18216
   - success
18217
   - cex
18218
  """
18219
 
18220
  thrift_spec = (
18221
    (0, TType.BOOL, 'success', None, None, ), # 0
18222
    (1, TType.STRUCT, 'cex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
18223
  )
18224
 
18225
  def __init__(self, success=None, cex=None,):
18226
    self.success = success
18227
    self.cex = cex
18228
 
18229
  def read(self, iprot):
18230
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
18231
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
18232
      return
18233
    iprot.readStructBegin()
18234
    while True:
18235
      (fname, ftype, fid) = iprot.readFieldBegin()
18236
      if ftype == TType.STOP:
18237
        break
18238
      if fid == 0:
18239
        if ftype == TType.BOOL:
18240
          self.success = iprot.readBool();
18241
        else:
18242
          iprot.skip(ftype)
18243
      elif fid == 1:
18244
        if ftype == TType.STRUCT:
18245
          self.cex = CatalogServiceException()
18246
          self.cex.read(iprot)
18247
        else:
18248
          iprot.skip(ftype)
18249
      else:
18250
        iprot.skip(ftype)
18251
      iprot.readFieldEnd()
18252
    iprot.readStructEnd()
18253
 
18254
  def write(self, oprot):
18255
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
18256
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
18257
      return
18258
    oprot.writeStructBegin('deleteSimilarItem_result')
18259
    if self.success is not None:
18260
      oprot.writeFieldBegin('success', TType.BOOL, 0)
18261
      oprot.writeBool(self.success)
18262
      oprot.writeFieldEnd()
18263
    if self.cex is not None:
18264
      oprot.writeFieldBegin('cex', TType.STRUCT, 1)
18265
      self.cex.write(oprot)
18266
      oprot.writeFieldEnd()
18267
    oprot.writeFieldStop()
18268
    oprot.writeStructEnd()
18269
 
18270
  def validate(self):
18271
    return
18272
 
18273
 
18274
  def __repr__(self):
18275
    L = ['%s=%r' % (key, value)
18276
      for key, value in self.__dict__.iteritems()]
18277
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
18278
 
18279
  def __eq__(self, other):
18280
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
18281
 
18282
  def __ne__(self, other):
18283
    return not (self == other)
18284
 
18285
class checkSimilarItem_args:
18286
  """
18287
  Attributes:
18288
   - brand
18289
   - modelNumber
18290
   - modelName
18291
   - color
18292
  """
18293
 
18294
  thrift_spec = (
18295
    None, # 0
18296
    (1, TType.STRING, 'brand', None, None, ), # 1
18297
    (2, TType.STRING, 'modelNumber', None, None, ), # 2
18298
    (3, TType.STRING, 'modelName', None, None, ), # 3
18299
    (4, TType.STRING, 'color', None, None, ), # 4
18300
  )
18301
 
18302
  def __init__(self, brand=None, modelNumber=None, modelName=None, color=None,):
18303
    self.brand = brand
18304
    self.modelNumber = modelNumber
18305
    self.modelName = modelName
18306
    self.color = color
18307
 
18308
  def read(self, iprot):
18309
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
18310
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
18311
      return
18312
    iprot.readStructBegin()
18313
    while True:
18314
      (fname, ftype, fid) = iprot.readFieldBegin()
18315
      if ftype == TType.STOP:
18316
        break
18317
      if fid == 1:
18318
        if ftype == TType.STRING:
18319
          self.brand = iprot.readString();
18320
        else:
18321
          iprot.skip(ftype)
18322
      elif fid == 2:
18323
        if ftype == TType.STRING:
18324
          self.modelNumber = iprot.readString();
18325
        else:
18326
          iprot.skip(ftype)
18327
      elif fid == 3:
18328
        if ftype == TType.STRING:
18329
          self.modelName = iprot.readString();
18330
        else:
18331
          iprot.skip(ftype)
18332
      elif fid == 4:
18333
        if ftype == TType.STRING:
18334
          self.color = iprot.readString();
18335
        else:
18336
          iprot.skip(ftype)
18337
      else:
18338
        iprot.skip(ftype)
18339
      iprot.readFieldEnd()
18340
    iprot.readStructEnd()
18341
 
18342
  def write(self, oprot):
18343
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
18344
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
18345
      return
18346
    oprot.writeStructBegin('checkSimilarItem_args')
18347
    if self.brand is not None:
18348
      oprot.writeFieldBegin('brand', TType.STRING, 1)
18349
      oprot.writeString(self.brand)
18350
      oprot.writeFieldEnd()
18351
    if self.modelNumber is not None:
18352
      oprot.writeFieldBegin('modelNumber', TType.STRING, 2)
18353
      oprot.writeString(self.modelNumber)
18354
      oprot.writeFieldEnd()
18355
    if self.modelName is not None:
18356
      oprot.writeFieldBegin('modelName', TType.STRING, 3)
18357
      oprot.writeString(self.modelName)
18358
      oprot.writeFieldEnd()
18359
    if self.color is not None:
18360
      oprot.writeFieldBegin('color', TType.STRING, 4)
18361
      oprot.writeString(self.color)
18362
      oprot.writeFieldEnd()
18363
    oprot.writeFieldStop()
18364
    oprot.writeStructEnd()
18365
 
18366
  def validate(self):
18367
    return
18368
 
18369
 
18370
  def __repr__(self):
18371
    L = ['%s=%r' % (key, value)
18372
      for key, value in self.__dict__.iteritems()]
18373
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
18374
 
18375
  def __eq__(self, other):
18376
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
18377
 
18378
  def __ne__(self, other):
18379
    return not (self == other)
18380
 
18381
class checkSimilarItem_result:
18382
  """
18383
  Attributes:
18384
   - success
18385
  """
18386
 
18387
  thrift_spec = (
18388
    (0, TType.I64, 'success', None, None, ), # 0
18389
  )
18390
 
18391
  def __init__(self, success=None,):
18392
    self.success = success
18393
 
18394
  def read(self, iprot):
18395
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
18396
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
18397
      return
18398
    iprot.readStructBegin()
18399
    while True:
18400
      (fname, ftype, fid) = iprot.readFieldBegin()
18401
      if ftype == TType.STOP:
18402
        break
18403
      if fid == 0:
18404
        if ftype == TType.I64:
18405
          self.success = iprot.readI64();
18406
        else:
18407
          iprot.skip(ftype)
18408
      else:
18409
        iprot.skip(ftype)
18410
      iprot.readFieldEnd()
18411
    iprot.readStructEnd()
18412
 
18413
  def write(self, oprot):
18414
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
18415
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
18416
      return
18417
    oprot.writeStructBegin('checkSimilarItem_result')
18418
    if self.success is not None:
18419
      oprot.writeFieldBegin('success', TType.I64, 0)
18420
      oprot.writeI64(self.success)
18421
      oprot.writeFieldEnd()
18422
    oprot.writeFieldStop()
18423
    oprot.writeStructEnd()
18424
 
18425
  def validate(self):
18426
    return
18427
 
18428
 
18429
  def __repr__(self):
18430
    L = ['%s=%r' % (key, value)
18431
      for key, value in self.__dict__.iteritems()]
18432
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
18433
 
18434
  def __eq__(self, other):
18435
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
18436
 
18437
  def __ne__(self, other):
18438
    return not (self == other)
18439
 
18440
class validateRiskyStatus_args:
18441
  """
18442
  Attributes:
18443
   - itemId
18444
  """
18445
 
18446
  thrift_spec = (
18447
    None, # 0
18448
    (1, TType.I64, 'itemId', None, None, ), # 1
18449
  )
18450
 
18451
  def __init__(self, itemId=None,):
18452
    self.itemId = itemId
18453
 
18454
  def read(self, iprot):
18455
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
18456
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
18457
      return
18458
    iprot.readStructBegin()
18459
    while True:
18460
      (fname, ftype, fid) = iprot.readFieldBegin()
18461
      if ftype == TType.STOP:
18462
        break
18463
      if fid == 1:
18464
        if ftype == TType.I64:
18465
          self.itemId = iprot.readI64();
18466
        else:
18467
          iprot.skip(ftype)
18468
      else:
18469
        iprot.skip(ftype)
18470
      iprot.readFieldEnd()
18471
    iprot.readStructEnd()
18472
 
18473
  def write(self, oprot):
18474
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
18475
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
18476
      return
18477
    oprot.writeStructBegin('validateRiskyStatus_args')
18478
    if self.itemId is not None:
18479
      oprot.writeFieldBegin('itemId', TType.I64, 1)
18480
      oprot.writeI64(self.itemId)
18481
      oprot.writeFieldEnd()
18482
    oprot.writeFieldStop()
18483
    oprot.writeStructEnd()
18484
 
18485
  def validate(self):
18486
    return
18487
 
18488
 
18489
  def __repr__(self):
18490
    L = ['%s=%r' % (key, value)
18491
      for key, value in self.__dict__.iteritems()]
18492
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
18493
 
18494
  def __eq__(self, other):
18495
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
18496
 
18497
  def __ne__(self, other):
18498
    return not (self == other)
18499
 
18500
class validateRiskyStatus_result:
18501
 
18502
  thrift_spec = (
18503
  )
18504
 
18505
  def read(self, iprot):
18506
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
18507
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
18508
      return
18509
    iprot.readStructBegin()
18510
    while True:
18511
      (fname, ftype, fid) = iprot.readFieldBegin()
18512
      if ftype == TType.STOP:
18513
        break
18514
      else:
18515
        iprot.skip(ftype)
18516
      iprot.readFieldEnd()
18517
    iprot.readStructEnd()
18518
 
18519
  def write(self, oprot):
18520
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
18521
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
18522
      return
18523
    oprot.writeStructBegin('validateRiskyStatus_result')
18524
    oprot.writeFieldStop()
18525
    oprot.writeStructEnd()
18526
 
18527
  def validate(self):
18528
    return
18529
 
18530
 
18531
  def __repr__(self):
18532
    L = ['%s=%r' % (key, value)
18533
      for key, value in self.__dict__.iteritems()]
18534
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
18535
 
18536
  def __eq__(self, other):
18537
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
18538
 
18539
  def __ne__(self, other):
18540
    return not (self == other)
18541
 
18542
class changeItemRiskyFlag_args:
18543
  """
18544
  Attributes:
18545
   - itemId
18546
   - risky
18547
  """
18548
 
18549
  thrift_spec = (
18550
    None, # 0
18551
    (1, TType.I64, 'itemId', None, None, ), # 1
18552
    (2, TType.BOOL, 'risky', None, None, ), # 2
18553
  )
18554
 
18555
  def __init__(self, itemId=None, risky=None,):
18556
    self.itemId = itemId
18557
    self.risky = risky
18558
 
18559
  def read(self, iprot):
18560
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
18561
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
18562
      return
18563
    iprot.readStructBegin()
18564
    while True:
18565
      (fname, ftype, fid) = iprot.readFieldBegin()
18566
      if ftype == TType.STOP:
18567
        break
18568
      if fid == 1:
18569
        if ftype == TType.I64:
18570
          self.itemId = iprot.readI64();
18571
        else:
18572
          iprot.skip(ftype)
18573
      elif fid == 2:
18574
        if ftype == TType.BOOL:
18575
          self.risky = iprot.readBool();
18576
        else:
18577
          iprot.skip(ftype)
18578
      else:
18579
        iprot.skip(ftype)
18580
      iprot.readFieldEnd()
18581
    iprot.readStructEnd()
18582
 
18583
  def write(self, oprot):
18584
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
18585
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
18586
      return
18587
    oprot.writeStructBegin('changeItemRiskyFlag_args')
18588
    if self.itemId is not None:
18589
      oprot.writeFieldBegin('itemId', TType.I64, 1)
18590
      oprot.writeI64(self.itemId)
18591
      oprot.writeFieldEnd()
18592
    if self.risky is not None:
18593
      oprot.writeFieldBegin('risky', TType.BOOL, 2)
18594
      oprot.writeBool(self.risky)
18595
      oprot.writeFieldEnd()
18596
    oprot.writeFieldStop()
18597
    oprot.writeStructEnd()
18598
 
18599
  def validate(self):
18600
    return
18601
 
18602
 
18603
  def __repr__(self):
18604
    L = ['%s=%r' % (key, value)
18605
      for key, value in self.__dict__.iteritems()]
18606
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
18607
 
18608
  def __eq__(self, other):
18609
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
18610
 
18611
  def __ne__(self, other):
18612
    return not (self == other)
18613
 
18614
class changeItemRiskyFlag_result:
18615
 
18616
  thrift_spec = (
18617
  )
18618
 
18619
  def read(self, iprot):
18620
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
18621
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
18622
      return
18623
    iprot.readStructBegin()
18624
    while True:
18625
      (fname, ftype, fid) = iprot.readFieldBegin()
18626
      if ftype == TType.STOP:
18627
        break
18628
      else:
18629
        iprot.skip(ftype)
18630
      iprot.readFieldEnd()
18631
    iprot.readStructEnd()
18632
 
18633
  def write(self, oprot):
18634
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
18635
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
18636
      return
18637
    oprot.writeStructBegin('changeItemRiskyFlag_result')
18638
    oprot.writeFieldStop()
18639
    oprot.writeStructEnd()
18640
 
18641
  def validate(self):
18642
    return
18643
 
18644
 
18645
  def __repr__(self):
18646
    L = ['%s=%r' % (key, value)
18647
      for key, value in self.__dict__.iteritems()]
18648
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
18649
 
18650
  def __eq__(self, other):
18651
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
18652
 
18653
  def __ne__(self, other):
18654
    return not (self == other)
18655
 
18656
class getItemsByRiskyFlag_args:
18657
 
18658
  thrift_spec = (
18659
  )
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
      else:
18671
        iprot.skip(ftype)
18672
      iprot.readFieldEnd()
18673
    iprot.readStructEnd()
18674
 
18675
  def write(self, oprot):
18676
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
18677
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
18678
      return
18679
    oprot.writeStructBegin('getItemsByRiskyFlag_args')
18680
    oprot.writeFieldStop()
18681
    oprot.writeStructEnd()
18682
 
18683
  def validate(self):
18684
    return
18685
 
18686
 
18687
  def __repr__(self):
18688
    L = ['%s=%r' % (key, value)
18689
      for key, value in self.__dict__.iteritems()]
18690
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
18691
 
18692
  def __eq__(self, other):
18693
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
18694
 
18695
  def __ne__(self, other):
18696
    return not (self == other)
18697
 
18698
class getItemsByRiskyFlag_result:
18699
  """
18700
  Attributes:
18701
   - success
18702
  """
18703
 
18704
  thrift_spec = (
18705
    (0, TType.LIST, 'success', (TType.STRUCT,(Item, Item.thrift_spec)), None, ), # 0
18706
  )
18707
 
18708
  def __init__(self, success=None,):
18709
    self.success = success
18710
 
18711
  def read(self, iprot):
18712
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
18713
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
18714
      return
18715
    iprot.readStructBegin()
18716
    while True:
18717
      (fname, ftype, fid) = iprot.readFieldBegin()
18718
      if ftype == TType.STOP:
18719
        break
18720
      if fid == 0:
18721
        if ftype == TType.LIST:
18722
          self.success = []
21838 amit.gupta 18723
          (_etype322, _size319) = iprot.readListBegin()
18724
          for _i323 in xrange(_size319):
18725
            _elem324 = Item()
18726
            _elem324.read(iprot)
18727
            self.success.append(_elem324)
5944 mandeep.dh 18728
          iprot.readListEnd()
18729
        else:
18730
          iprot.skip(ftype)
18731
      else:
18732
        iprot.skip(ftype)
18733
      iprot.readFieldEnd()
18734
    iprot.readStructEnd()
18735
 
18736
  def write(self, oprot):
18737
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
18738
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
18739
      return
18740
    oprot.writeStructBegin('getItemsByRiskyFlag_result')
18741
    if self.success is not None:
18742
      oprot.writeFieldBegin('success', TType.LIST, 0)
18743
      oprot.writeListBegin(TType.STRUCT, len(self.success))
21838 amit.gupta 18744
      for iter325 in self.success:
18745
        iter325.write(oprot)
5944 mandeep.dh 18746
      oprot.writeListEnd()
18747
      oprot.writeFieldEnd()
18748
    oprot.writeFieldStop()
18749
    oprot.writeStructEnd()
18750
 
18751
  def validate(self):
18752
    return
18753
 
18754
 
18755
  def __repr__(self):
18756
    L = ['%s=%r' % (key, value)
18757
      for key, value in self.__dict__.iteritems()]
18758
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
18759
 
18760
  def __eq__(self, other):
18761
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
18762
 
18763
  def __ne__(self, other):
18764
    return not (self == other)
18765
 
18766
class getItemsForMasterSheet_args:
18767
  """
18768
  Attributes:
18769
   - category
18770
   - brand
18771
  """
18772
 
18773
  thrift_spec = (
18774
    None, # 0
18775
    (1, TType.STRING, 'category', None, None, ), # 1
18776
    (2, TType.STRING, 'brand', None, None, ), # 2
18777
  )
18778
 
18779
  def __init__(self, category=None, brand=None,):
18780
    self.category = category
18781
    self.brand = brand
18782
 
18783
  def read(self, iprot):
18784
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
18785
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
18786
      return
18787
    iprot.readStructBegin()
18788
    while True:
18789
      (fname, ftype, fid) = iprot.readFieldBegin()
18790
      if ftype == TType.STOP:
18791
        break
18792
      if fid == 1:
18793
        if ftype == TType.STRING:
18794
          self.category = iprot.readString();
18795
        else:
18796
          iprot.skip(ftype)
18797
      elif fid == 2:
18798
        if ftype == TType.STRING:
18799
          self.brand = iprot.readString();
18800
        else:
18801
          iprot.skip(ftype)
18802
      else:
18803
        iprot.skip(ftype)
18804
      iprot.readFieldEnd()
18805
    iprot.readStructEnd()
18806
 
18807
  def write(self, oprot):
18808
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
18809
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
18810
      return
18811
    oprot.writeStructBegin('getItemsForMasterSheet_args')
18812
    if self.category is not None:
18813
      oprot.writeFieldBegin('category', TType.STRING, 1)
18814
      oprot.writeString(self.category)
18815
      oprot.writeFieldEnd()
18816
    if self.brand is not None:
18817
      oprot.writeFieldBegin('brand', TType.STRING, 2)
18818
      oprot.writeString(self.brand)
18819
      oprot.writeFieldEnd()
18820
    oprot.writeFieldStop()
18821
    oprot.writeStructEnd()
18822
 
18823
  def validate(self):
18824
    return
18825
 
18826
 
18827
  def __repr__(self):
18828
    L = ['%s=%r' % (key, value)
18829
      for key, value in self.__dict__.iteritems()]
18830
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
18831
 
18832
  def __eq__(self, other):
18833
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
18834
 
18835
  def __ne__(self, other):
18836
    return not (self == other)
18837
 
18838
class getItemsForMasterSheet_result:
18839
  """
18840
  Attributes:
18841
   - success
18842
  """
18843
 
18844
  thrift_spec = (
18845
    (0, TType.LIST, 'success', (TType.STRUCT,(Item, Item.thrift_spec)), None, ), # 0
18846
  )
18847
 
18848
  def __init__(self, success=None,):
18849
    self.success = success
18850
 
18851
  def read(self, iprot):
18852
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
18853
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
18854
      return
18855
    iprot.readStructBegin()
18856
    while True:
18857
      (fname, ftype, fid) = iprot.readFieldBegin()
18858
      if ftype == TType.STOP:
18859
        break
18860
      if fid == 0:
18861
        if ftype == TType.LIST:
18862
          self.success = []
21838 amit.gupta 18863
          (_etype329, _size326) = iprot.readListBegin()
18864
          for _i330 in xrange(_size326):
18865
            _elem331 = Item()
18866
            _elem331.read(iprot)
18867
            self.success.append(_elem331)
5944 mandeep.dh 18868
          iprot.readListEnd()
18869
        else:
18870
          iprot.skip(ftype)
18871
      else:
18872
        iprot.skip(ftype)
18873
      iprot.readFieldEnd()
18874
    iprot.readStructEnd()
18875
 
18876
  def write(self, oprot):
18877
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
18878
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
18879
      return
18880
    oprot.writeStructBegin('getItemsForMasterSheet_result')
18881
    if self.success is not None:
18882
      oprot.writeFieldBegin('success', TType.LIST, 0)
18883
      oprot.writeListBegin(TType.STRUCT, len(self.success))
21838 amit.gupta 18884
      for iter332 in self.success:
18885
        iter332.write(oprot)
5944 mandeep.dh 18886
      oprot.writeListEnd()
18887
      oprot.writeFieldEnd()
18888
    oprot.writeFieldStop()
18889
    oprot.writeStructEnd()
18890
 
18891
  def validate(self):
18892
    return
18893
 
18894
 
18895
  def __repr__(self):
18896
    L = ['%s=%r' % (key, value)
18897
      for key, value in self.__dict__.iteritems()]
18898
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
18899
 
18900
  def __eq__(self, other):
18901
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
18902
 
18903
  def __ne__(self, other):
18904
    return not (self == other)
18905
 
18906
class getSimilarItemsCatalogIds_args:
18907
  """
18908
  Attributes:
18909
   - beginIndex
18910
   - totalItems
18911
   - itemId
18912
  """
18913
 
18914
  thrift_spec = (
18915
    None, # 0
18916
    (1, TType.I64, 'beginIndex', None, None, ), # 1
18917
    (2, TType.I64, 'totalItems', None, None, ), # 2
18918
    (3, TType.I64, 'itemId', None, None, ), # 3
18919
  )
18920
 
18921
  def __init__(self, beginIndex=None, totalItems=None, itemId=None,):
18922
    self.beginIndex = beginIndex
18923
    self.totalItems = totalItems
18924
    self.itemId = itemId
18925
 
18926
  def read(self, iprot):
18927
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
18928
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
18929
      return
18930
    iprot.readStructBegin()
18931
    while True:
18932
      (fname, ftype, fid) = iprot.readFieldBegin()
18933
      if ftype == TType.STOP:
18934
        break
18935
      if fid == 1:
18936
        if ftype == TType.I64:
18937
          self.beginIndex = iprot.readI64();
18938
        else:
18939
          iprot.skip(ftype)
18940
      elif fid == 2:
18941
        if ftype == TType.I64:
18942
          self.totalItems = iprot.readI64();
18943
        else:
18944
          iprot.skip(ftype)
18945
      elif fid == 3:
18946
        if ftype == TType.I64:
18947
          self.itemId = iprot.readI64();
18948
        else:
18949
          iprot.skip(ftype)
18950
      else:
18951
        iprot.skip(ftype)
18952
      iprot.readFieldEnd()
18953
    iprot.readStructEnd()
18954
 
18955
  def write(self, oprot):
18956
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
18957
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
18958
      return
18959
    oprot.writeStructBegin('getSimilarItemsCatalogIds_args')
18960
    if self.beginIndex is not None:
18961
      oprot.writeFieldBegin('beginIndex', TType.I64, 1)
18962
      oprot.writeI64(self.beginIndex)
18963
      oprot.writeFieldEnd()
18964
    if self.totalItems is not None:
18965
      oprot.writeFieldBegin('totalItems', TType.I64, 2)
18966
      oprot.writeI64(self.totalItems)
18967
      oprot.writeFieldEnd()
18968
    if self.itemId is not None:
18969
      oprot.writeFieldBegin('itemId', TType.I64, 3)
18970
      oprot.writeI64(self.itemId)
18971
      oprot.writeFieldEnd()
18972
    oprot.writeFieldStop()
18973
    oprot.writeStructEnd()
18974
 
18975
  def validate(self):
18976
    return
18977
 
18978
 
18979
  def __repr__(self):
18980
    L = ['%s=%r' % (key, value)
18981
      for key, value in self.__dict__.iteritems()]
18982
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
18983
 
18984
  def __eq__(self, other):
18985
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
18986
 
18987
  def __ne__(self, other):
18988
    return not (self == other)
18989
 
18990
class getSimilarItemsCatalogIds_result:
18991
  """
18992
  Attributes:
18993
   - success
18994
  """
18995
 
18996
  thrift_spec = (
18997
    (0, TType.LIST, 'success', (TType.I64,None), None, ), # 0
18998
  )
18999
 
19000
  def __init__(self, success=None,):
19001
    self.success = success
19002
 
19003
  def read(self, iprot):
19004
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
19005
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
19006
      return
19007
    iprot.readStructBegin()
19008
    while True:
19009
      (fname, ftype, fid) = iprot.readFieldBegin()
19010
      if ftype == TType.STOP:
19011
        break
19012
      if fid == 0:
19013
        if ftype == TType.LIST:
19014
          self.success = []
21838 amit.gupta 19015
          (_etype336, _size333) = iprot.readListBegin()
19016
          for _i337 in xrange(_size333):
19017
            _elem338 = iprot.readI64();
19018
            self.success.append(_elem338)
5944 mandeep.dh 19019
          iprot.readListEnd()
19020
        else:
19021
          iprot.skip(ftype)
19022
      else:
19023
        iprot.skip(ftype)
19024
      iprot.readFieldEnd()
19025
    iprot.readStructEnd()
19026
 
19027
  def write(self, oprot):
19028
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
19029
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
19030
      return
19031
    oprot.writeStructBegin('getSimilarItemsCatalogIds_result')
19032
    if self.success is not None:
19033
      oprot.writeFieldBegin('success', TType.LIST, 0)
19034
      oprot.writeListBegin(TType.I64, len(self.success))
21838 amit.gupta 19035
      for iter339 in self.success:
19036
        oprot.writeI64(iter339)
5944 mandeep.dh 19037
      oprot.writeListEnd()
19038
      oprot.writeFieldEnd()
19039
    oprot.writeFieldStop()
19040
    oprot.writeStructEnd()
19041
 
19042
  def validate(self):
19043
    return
19044
 
19045
 
19046
  def __repr__(self):
19047
    L = ['%s=%r' % (key, value)
19048
      for key, value in self.__dict__.iteritems()]
19049
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
19050
 
19051
  def __eq__(self, other):
19052
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
19053
 
19054
  def __ne__(self, other):
19055
    return not (self == other)
19056
 
19057
class addProductNotification_args:
19058
  """
19059
  Attributes:
19060
   - itemId
19061
   - email
19062
  """
19063
 
19064
  thrift_spec = None
19065
  def __init__(self, itemId=None, email=None,):
19066
    self.itemId = itemId
19067
    self.email = email
19068
 
19069
  def read(self, iprot):
19070
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
19071
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
19072
      return
19073
    iprot.readStructBegin()
19074
    while True:
19075
      (fname, ftype, fid) = iprot.readFieldBegin()
19076
      if ftype == TType.STOP:
19077
        break
19078
      if fid == -1:
19079
        if ftype == TType.I64:
19080
          self.itemId = iprot.readI64();
19081
        else:
19082
          iprot.skip(ftype)
19083
      elif fid == -2:
19084
        if ftype == TType.STRING:
19085
          self.email = iprot.readString();
19086
        else:
19087
          iprot.skip(ftype)
19088
      else:
19089
        iprot.skip(ftype)
19090
      iprot.readFieldEnd()
19091
    iprot.readStructEnd()
19092
 
19093
  def write(self, oprot):
19094
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
19095
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
19096
      return
19097
    oprot.writeStructBegin('addProductNotification_args')
19098
    if self.email is not None:
19099
      oprot.writeFieldBegin('email', TType.STRING, -2)
19100
      oprot.writeString(self.email)
19101
      oprot.writeFieldEnd()
19102
    if self.itemId is not None:
19103
      oprot.writeFieldBegin('itemId', TType.I64, -1)
19104
      oprot.writeI64(self.itemId)
19105
      oprot.writeFieldEnd()
19106
    oprot.writeFieldStop()
19107
    oprot.writeStructEnd()
19108
 
19109
  def validate(self):
19110
    return
19111
 
19112
 
19113
  def __repr__(self):
19114
    L = ['%s=%r' % (key, value)
19115
      for key, value in self.__dict__.iteritems()]
19116
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
19117
 
19118
  def __eq__(self, other):
19119
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
19120
 
19121
  def __ne__(self, other):
19122
    return not (self == other)
19123
 
19124
class addProductNotification_result:
19125
  """
19126
  Attributes:
19127
   - success
19128
  """
19129
 
19130
  thrift_spec = (
19131
    (0, TType.BOOL, 'success', None, None, ), # 0
19132
  )
19133
 
19134
  def __init__(self, success=None,):
19135
    self.success = success
19136
 
19137
  def read(self, iprot):
19138
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
19139
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
19140
      return
19141
    iprot.readStructBegin()
19142
    while True:
19143
      (fname, ftype, fid) = iprot.readFieldBegin()
19144
      if ftype == TType.STOP:
19145
        break
19146
      if fid == 0:
19147
        if ftype == TType.BOOL:
19148
          self.success = iprot.readBool();
19149
        else:
19150
          iprot.skip(ftype)
19151
      else:
19152
        iprot.skip(ftype)
19153
      iprot.readFieldEnd()
19154
    iprot.readStructEnd()
19155
 
19156
  def write(self, oprot):
19157
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
19158
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
19159
      return
19160
    oprot.writeStructBegin('addProductNotification_result')
19161
    if self.success is not None:
19162
      oprot.writeFieldBegin('success', TType.BOOL, 0)
19163
      oprot.writeBool(self.success)
19164
      oprot.writeFieldEnd()
19165
    oprot.writeFieldStop()
19166
    oprot.writeStructEnd()
19167
 
19168
  def validate(self):
19169
    return
19170
 
19171
 
19172
  def __repr__(self):
19173
    L = ['%s=%r' % (key, value)
19174
      for key, value in self.__dict__.iteritems()]
19175
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
19176
 
19177
  def __eq__(self, other):
19178
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
19179
 
19180
  def __ne__(self, other):
19181
    return not (self == other)
19182
 
19183
class sendProductNotifications_args:
19184
 
19185
  thrift_spec = (
19186
  )
19187
 
19188
  def read(self, iprot):
19189
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
19190
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
19191
      return
19192
    iprot.readStructBegin()
19193
    while True:
19194
      (fname, ftype, fid) = iprot.readFieldBegin()
19195
      if ftype == TType.STOP:
19196
        break
19197
      else:
19198
        iprot.skip(ftype)
19199
      iprot.readFieldEnd()
19200
    iprot.readStructEnd()
19201
 
19202
  def write(self, oprot):
19203
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
19204
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
19205
      return
19206
    oprot.writeStructBegin('sendProductNotifications_args')
19207
    oprot.writeFieldStop()
19208
    oprot.writeStructEnd()
19209
 
19210
  def validate(self):
19211
    return
19212
 
19213
 
19214
  def __repr__(self):
19215
    L = ['%s=%r' % (key, value)
19216
      for key, value in self.__dict__.iteritems()]
19217
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
19218
 
19219
  def __eq__(self, other):
19220
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
19221
 
19222
  def __ne__(self, other):
19223
    return not (self == other)
19224
 
19225
class sendProductNotifications_result:
19226
  """
19227
  Attributes:
19228
   - success
19229
  """
19230
 
19231
  thrift_spec = (
19232
    (0, TType.BOOL, 'success', None, None, ), # 0
19233
  )
19234
 
19235
  def __init__(self, success=None,):
19236
    self.success = success
19237
 
19238
  def read(self, iprot):
19239
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
19240
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
19241
      return
19242
    iprot.readStructBegin()
19243
    while True:
19244
      (fname, ftype, fid) = iprot.readFieldBegin()
19245
      if ftype == TType.STOP:
19246
        break
19247
      if fid == 0:
19248
        if ftype == TType.BOOL:
19249
          self.success = iprot.readBool();
19250
        else:
19251
          iprot.skip(ftype)
19252
      else:
19253
        iprot.skip(ftype)
19254
      iprot.readFieldEnd()
19255
    iprot.readStructEnd()
19256
 
19257
  def write(self, oprot):
19258
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
19259
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
19260
      return
19261
    oprot.writeStructBegin('sendProductNotifications_result')
19262
    if self.success is not None:
19263
      oprot.writeFieldBegin('success', TType.BOOL, 0)
19264
      oprot.writeBool(self.success)
19265
      oprot.writeFieldEnd()
19266
    oprot.writeFieldStop()
19267
    oprot.writeStructEnd()
19268
 
19269
  def validate(self):
19270
    return
19271
 
19272
 
19273
  def __repr__(self):
19274
    L = ['%s=%r' % (key, value)
19275
      for key, value in self.__dict__.iteritems()]
19276
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
19277
 
19278
  def __eq__(self, other):
19279
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
19280
 
19281
  def __ne__(self, other):
19282
    return not (self == other)
19283
 
19284
class getAllBrandsByCategory_args:
19285
  """
19286
  Attributes:
19287
   - categoryId
19288
  """
19289
 
19290
  thrift_spec = (
19291
    None, # 0
19292
    (1, TType.I64, 'categoryId', None, None, ), # 1
19293
  )
19294
 
19295
  def __init__(self, categoryId=None,):
19296
    self.categoryId = categoryId
19297
 
19298
  def read(self, iprot):
19299
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
19300
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
19301
      return
19302
    iprot.readStructBegin()
19303
    while True:
19304
      (fname, ftype, fid) = iprot.readFieldBegin()
19305
      if ftype == TType.STOP:
19306
        break
19307
      if fid == 1:
19308
        if ftype == TType.I64:
19309
          self.categoryId = iprot.readI64();
19310
        else:
19311
          iprot.skip(ftype)
19312
      else:
19313
        iprot.skip(ftype)
19314
      iprot.readFieldEnd()
19315
    iprot.readStructEnd()
19316
 
19317
  def write(self, oprot):
19318
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
19319
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
19320
      return
19321
    oprot.writeStructBegin('getAllBrandsByCategory_args')
19322
    if self.categoryId is not None:
19323
      oprot.writeFieldBegin('categoryId', TType.I64, 1)
19324
      oprot.writeI64(self.categoryId)
19325
      oprot.writeFieldEnd()
19326
    oprot.writeFieldStop()
19327
    oprot.writeStructEnd()
19328
 
19329
  def validate(self):
19330
    return
19331
 
19332
 
19333
  def __repr__(self):
19334
    L = ['%s=%r' % (key, value)
19335
      for key, value in self.__dict__.iteritems()]
19336
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
19337
 
19338
  def __eq__(self, other):
19339
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
19340
 
19341
  def __ne__(self, other):
19342
    return not (self == other)
19343
 
19344
class getAllBrandsByCategory_result:
19345
  """
19346
  Attributes:
19347
   - success
19348
  """
19349
 
19350
  thrift_spec = (
19351
    (0, TType.LIST, 'success', (TType.STRING,None), None, ), # 0
19352
  )
19353
 
19354
  def __init__(self, success=None,):
19355
    self.success = success
19356
 
19357
  def read(self, iprot):
19358
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
19359
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
19360
      return
19361
    iprot.readStructBegin()
19362
    while True:
19363
      (fname, ftype, fid) = iprot.readFieldBegin()
19364
      if ftype == TType.STOP:
19365
        break
19366
      if fid == 0:
19367
        if ftype == TType.LIST:
19368
          self.success = []
21838 amit.gupta 19369
          (_etype343, _size340) = iprot.readListBegin()
19370
          for _i344 in xrange(_size340):
19371
            _elem345 = iprot.readString();
19372
            self.success.append(_elem345)
5944 mandeep.dh 19373
          iprot.readListEnd()
19374
        else:
19375
          iprot.skip(ftype)
19376
      else:
19377
        iprot.skip(ftype)
19378
      iprot.readFieldEnd()
19379
    iprot.readStructEnd()
19380
 
19381
  def write(self, oprot):
19382
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
19383
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
19384
      return
19385
    oprot.writeStructBegin('getAllBrandsByCategory_result')
19386
    if self.success is not None:
19387
      oprot.writeFieldBegin('success', TType.LIST, 0)
19388
      oprot.writeListBegin(TType.STRING, len(self.success))
21838 amit.gupta 19389
      for iter346 in self.success:
19390
        oprot.writeString(iter346)
5944 mandeep.dh 19391
      oprot.writeListEnd()
19392
      oprot.writeFieldEnd()
19393
    oprot.writeFieldStop()
19394
    oprot.writeStructEnd()
19395
 
19396
  def validate(self):
19397
    return
19398
 
19399
 
19400
  def __repr__(self):
19401
    L = ['%s=%r' % (key, value)
19402
      for key, value in self.__dict__.iteritems()]
19403
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
19404
 
19405
  def __eq__(self, other):
19406
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
19407
 
19408
  def __ne__(self, other):
19409
    return not (self == other)
19410
 
19411
class getAllBrands_args:
19412
 
19413
  thrift_spec = (
19414
  )
19415
 
19416
  def read(self, iprot):
19417
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
19418
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
19419
      return
19420
    iprot.readStructBegin()
19421
    while True:
19422
      (fname, ftype, fid) = iprot.readFieldBegin()
19423
      if ftype == TType.STOP:
19424
        break
19425
      else:
19426
        iprot.skip(ftype)
19427
      iprot.readFieldEnd()
19428
    iprot.readStructEnd()
19429
 
19430
  def write(self, oprot):
19431
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
19432
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
19433
      return
19434
    oprot.writeStructBegin('getAllBrands_args')
19435
    oprot.writeFieldStop()
19436
    oprot.writeStructEnd()
19437
 
19438
  def validate(self):
19439
    return
19440
 
19441
 
19442
  def __repr__(self):
19443
    L = ['%s=%r' % (key, value)
19444
      for key, value in self.__dict__.iteritems()]
19445
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
19446
 
19447
  def __eq__(self, other):
19448
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
19449
 
19450
  def __ne__(self, other):
19451
    return not (self == other)
19452
 
19453
class getAllBrands_result:
19454
  """
19455
  Attributes:
19456
   - success
19457
  """
19458
 
19459
  thrift_spec = (
19460
    (0, TType.LIST, 'success', (TType.STRING,None), None, ), # 0
19461
  )
19462
 
19463
  def __init__(self, success=None,):
19464
    self.success = success
19465
 
19466
  def read(self, iprot):
19467
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
19468
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
19469
      return
19470
    iprot.readStructBegin()
19471
    while True:
19472
      (fname, ftype, fid) = iprot.readFieldBegin()
19473
      if ftype == TType.STOP:
19474
        break
19475
      if fid == 0:
19476
        if ftype == TType.LIST:
19477
          self.success = []
21838 amit.gupta 19478
          (_etype350, _size347) = iprot.readListBegin()
19479
          for _i351 in xrange(_size347):
19480
            _elem352 = iprot.readString();
19481
            self.success.append(_elem352)
5944 mandeep.dh 19482
          iprot.readListEnd()
19483
        else:
19484
          iprot.skip(ftype)
19485
      else:
19486
        iprot.skip(ftype)
19487
      iprot.readFieldEnd()
19488
    iprot.readStructEnd()
19489
 
19490
  def write(self, oprot):
19491
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
19492
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
19493
      return
19494
    oprot.writeStructBegin('getAllBrands_result')
19495
    if self.success is not None:
19496
      oprot.writeFieldBegin('success', TType.LIST, 0)
19497
      oprot.writeListBegin(TType.STRING, len(self.success))
21838 amit.gupta 19498
      for iter353 in self.success:
19499
        oprot.writeString(iter353)
5944 mandeep.dh 19500
      oprot.writeListEnd()
19501
      oprot.writeFieldEnd()
19502
    oprot.writeFieldStop()
19503
    oprot.writeStructEnd()
19504
 
19505
  def validate(self):
19506
    return
19507
 
19508
 
19509
  def __repr__(self):
19510
    L = ['%s=%r' % (key, value)
19511
      for key, value in self.__dict__.iteritems()]
19512
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
19513
 
19514
  def __eq__(self, other):
19515
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
19516
 
19517
  def __ne__(self, other):
19518
    return not (self == other)
19519
 
19520
class getAllSources_args:
19521
 
19522
  thrift_spec = (
19523
  )
19524
 
19525
  def read(self, iprot):
19526
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
19527
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
19528
      return
19529
    iprot.readStructBegin()
19530
    while True:
19531
      (fname, ftype, fid) = iprot.readFieldBegin()
19532
      if ftype == TType.STOP:
19533
        break
19534
      else:
19535
        iprot.skip(ftype)
19536
      iprot.readFieldEnd()
19537
    iprot.readStructEnd()
19538
 
19539
  def write(self, oprot):
19540
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
19541
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
19542
      return
19543
    oprot.writeStructBegin('getAllSources_args')
19544
    oprot.writeFieldStop()
19545
    oprot.writeStructEnd()
19546
 
19547
  def validate(self):
19548
    return
19549
 
19550
 
19551
  def __repr__(self):
19552
    L = ['%s=%r' % (key, value)
19553
      for key, value in self.__dict__.iteritems()]
19554
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
19555
 
19556
  def __eq__(self, other):
19557
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
19558
 
19559
  def __ne__(self, other):
19560
    return not (self == other)
19561
 
19562
class getAllSources_result:
19563
  """
19564
  Attributes:
19565
   - success
19566
  """
19567
 
19568
  thrift_spec = (
19569
    (0, TType.LIST, 'success', (TType.STRUCT,(Source, Source.thrift_spec)), None, ), # 0
19570
  )
19571
 
19572
  def __init__(self, success=None,):
19573
    self.success = success
19574
 
19575
  def read(self, iprot):
19576
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
19577
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
19578
      return
19579
    iprot.readStructBegin()
19580
    while True:
19581
      (fname, ftype, fid) = iprot.readFieldBegin()
19582
      if ftype == TType.STOP:
19583
        break
19584
      if fid == 0:
19585
        if ftype == TType.LIST:
19586
          self.success = []
21838 amit.gupta 19587
          (_etype357, _size354) = iprot.readListBegin()
19588
          for _i358 in xrange(_size354):
19589
            _elem359 = Source()
19590
            _elem359.read(iprot)
19591
            self.success.append(_elem359)
5944 mandeep.dh 19592
          iprot.readListEnd()
19593
        else:
19594
          iprot.skip(ftype)
19595
      else:
19596
        iprot.skip(ftype)
19597
      iprot.readFieldEnd()
19598
    iprot.readStructEnd()
19599
 
19600
  def write(self, oprot):
19601
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
19602
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
19603
      return
19604
    oprot.writeStructBegin('getAllSources_result')
19605
    if self.success is not None:
19606
      oprot.writeFieldBegin('success', TType.LIST, 0)
19607
      oprot.writeListBegin(TType.STRUCT, len(self.success))
21838 amit.gupta 19608
      for iter360 in self.success:
19609
        iter360.write(oprot)
5944 mandeep.dh 19610
      oprot.writeListEnd()
19611
      oprot.writeFieldEnd()
19612
    oprot.writeFieldStop()
19613
    oprot.writeStructEnd()
19614
 
19615
  def validate(self):
19616
    return
19617
 
19618
 
19619
  def __repr__(self):
19620
    L = ['%s=%r' % (key, value)
19621
      for key, value in self.__dict__.iteritems()]
19622
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
19623
 
19624
  def __eq__(self, other):
19625
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
19626
 
19627
  def __ne__(self, other):
19628
    return not (self == other)
19629
 
19630
class getItemPricingBySource_args:
19631
  """
19632
  Attributes:
19633
   - itemId
19634
   - sourceId
19635
  """
19636
 
19637
  thrift_spec = (
19638
    None, # 0
19639
    (1, TType.I64, 'itemId', None, None, ), # 1
19640
    (2, TType.I64, 'sourceId', None, None, ), # 2
19641
  )
19642
 
19643
  def __init__(self, itemId=None, sourceId=None,):
19644
    self.itemId = itemId
19645
    self.sourceId = sourceId
19646
 
19647
  def read(self, iprot):
19648
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
19649
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
19650
      return
19651
    iprot.readStructBegin()
19652
    while True:
19653
      (fname, ftype, fid) = iprot.readFieldBegin()
19654
      if ftype == TType.STOP:
19655
        break
19656
      if fid == 1:
19657
        if ftype == TType.I64:
19658
          self.itemId = iprot.readI64();
19659
        else:
19660
          iprot.skip(ftype)
19661
      elif fid == 2:
19662
        if ftype == TType.I64:
19663
          self.sourceId = iprot.readI64();
19664
        else:
19665
          iprot.skip(ftype)
19666
      else:
19667
        iprot.skip(ftype)
19668
      iprot.readFieldEnd()
19669
    iprot.readStructEnd()
19670
 
19671
  def write(self, oprot):
19672
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
19673
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
19674
      return
19675
    oprot.writeStructBegin('getItemPricingBySource_args')
19676
    if self.itemId is not None:
19677
      oprot.writeFieldBegin('itemId', TType.I64, 1)
19678
      oprot.writeI64(self.itemId)
19679
      oprot.writeFieldEnd()
19680
    if self.sourceId is not None:
19681
      oprot.writeFieldBegin('sourceId', TType.I64, 2)
19682
      oprot.writeI64(self.sourceId)
19683
      oprot.writeFieldEnd()
19684
    oprot.writeFieldStop()
19685
    oprot.writeStructEnd()
19686
 
19687
  def validate(self):
19688
    return
19689
 
19690
 
19691
  def __repr__(self):
19692
    L = ['%s=%r' % (key, value)
19693
      for key, value in self.__dict__.iteritems()]
19694
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
19695
 
19696
  def __eq__(self, other):
19697
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
19698
 
19699
  def __ne__(self, other):
19700
    return not (self == other)
19701
 
19702
class getItemPricingBySource_result:
19703
  """
19704
  Attributes:
19705
   - success
19706
   - cex
19707
  """
19708
 
19709
  thrift_spec = (
19710
    (0, TType.STRUCT, 'success', (SourceItemPricing, SourceItemPricing.thrift_spec), None, ), # 0
19711
    (1, TType.STRUCT, 'cex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
19712
  )
19713
 
19714
  def __init__(self, success=None, cex=None,):
19715
    self.success = success
19716
    self.cex = cex
19717
 
19718
  def read(self, iprot):
19719
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
19720
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
19721
      return
19722
    iprot.readStructBegin()
19723
    while True:
19724
      (fname, ftype, fid) = iprot.readFieldBegin()
19725
      if ftype == TType.STOP:
19726
        break
19727
      if fid == 0:
19728
        if ftype == TType.STRUCT:
19729
          self.success = SourceItemPricing()
19730
          self.success.read(iprot)
19731
        else:
19732
          iprot.skip(ftype)
19733
      elif fid == 1:
19734
        if ftype == TType.STRUCT:
19735
          self.cex = CatalogServiceException()
19736
          self.cex.read(iprot)
19737
        else:
19738
          iprot.skip(ftype)
19739
      else:
19740
        iprot.skip(ftype)
19741
      iprot.readFieldEnd()
19742
    iprot.readStructEnd()
19743
 
19744
  def write(self, oprot):
19745
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
19746
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
19747
      return
19748
    oprot.writeStructBegin('getItemPricingBySource_result')
19749
    if self.success is not None:
19750
      oprot.writeFieldBegin('success', TType.STRUCT, 0)
19751
      self.success.write(oprot)
19752
      oprot.writeFieldEnd()
19753
    if self.cex is not None:
19754
      oprot.writeFieldBegin('cex', TType.STRUCT, 1)
19755
      self.cex.write(oprot)
19756
      oprot.writeFieldEnd()
19757
    oprot.writeFieldStop()
19758
    oprot.writeStructEnd()
19759
 
19760
  def validate(self):
19761
    return
19762
 
19763
 
19764
  def __repr__(self):
19765
    L = ['%s=%r' % (key, value)
19766
      for key, value in self.__dict__.iteritems()]
19767
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
19768
 
19769
  def __eq__(self, other):
19770
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
19771
 
19772
  def __ne__(self, other):
19773
    return not (self == other)
19774
 
19775
class addSourceItemPricing_args:
19776
  """
19777
  Attributes:
19778
   - sourceItemPricing
19779
  """
19780
 
19781
  thrift_spec = (
19782
    None, # 0
19783
    (1, TType.STRUCT, 'sourceItemPricing', (SourceItemPricing, SourceItemPricing.thrift_spec), None, ), # 1
19784
  )
19785
 
19786
  def __init__(self, sourceItemPricing=None,):
19787
    self.sourceItemPricing = sourceItemPricing
19788
 
19789
  def read(self, iprot):
19790
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
19791
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
19792
      return
19793
    iprot.readStructBegin()
19794
    while True:
19795
      (fname, ftype, fid) = iprot.readFieldBegin()
19796
      if ftype == TType.STOP:
19797
        break
19798
      if fid == 1:
19799
        if ftype == TType.STRUCT:
19800
          self.sourceItemPricing = SourceItemPricing()
19801
          self.sourceItemPricing.read(iprot)
19802
        else:
19803
          iprot.skip(ftype)
19804
      else:
19805
        iprot.skip(ftype)
19806
      iprot.readFieldEnd()
19807
    iprot.readStructEnd()
19808
 
19809
  def write(self, oprot):
19810
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
19811
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
19812
      return
19813
    oprot.writeStructBegin('addSourceItemPricing_args')
19814
    if self.sourceItemPricing is not None:
19815
      oprot.writeFieldBegin('sourceItemPricing', TType.STRUCT, 1)
19816
      self.sourceItemPricing.write(oprot)
19817
      oprot.writeFieldEnd()
19818
    oprot.writeFieldStop()
19819
    oprot.writeStructEnd()
19820
 
19821
  def validate(self):
19822
    return
19823
 
19824
 
19825
  def __repr__(self):
19826
    L = ['%s=%r' % (key, value)
19827
      for key, value in self.__dict__.iteritems()]
19828
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
19829
 
19830
  def __eq__(self, other):
19831
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
19832
 
19833
  def __ne__(self, other):
19834
    return not (self == other)
19835
 
19836
class addSourceItemPricing_result:
19837
  """
19838
  Attributes:
19839
   - cex
19840
  """
19841
 
19842
  thrift_spec = (
19843
    None, # 0
19844
    (1, TType.STRUCT, 'cex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
19845
  )
19846
 
19847
  def __init__(self, cex=None,):
19848
    self.cex = cex
19849
 
19850
  def read(self, iprot):
19851
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
19852
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
19853
      return
19854
    iprot.readStructBegin()
19855
    while True:
19856
      (fname, ftype, fid) = iprot.readFieldBegin()
19857
      if ftype == TType.STOP:
19858
        break
19859
      if fid == 1:
19860
        if ftype == TType.STRUCT:
19861
          self.cex = CatalogServiceException()
19862
          self.cex.read(iprot)
19863
        else:
19864
          iprot.skip(ftype)
19865
      else:
19866
        iprot.skip(ftype)
19867
      iprot.readFieldEnd()
19868
    iprot.readStructEnd()
19869
 
19870
  def write(self, oprot):
19871
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
19872
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
19873
      return
19874
    oprot.writeStructBegin('addSourceItemPricing_result')
19875
    if self.cex is not None:
19876
      oprot.writeFieldBegin('cex', TType.STRUCT, 1)
19877
      self.cex.write(oprot)
19878
      oprot.writeFieldEnd()
19879
    oprot.writeFieldStop()
19880
    oprot.writeStructEnd()
19881
 
19882
  def validate(self):
19883
    return
19884
 
19885
 
19886
  def __repr__(self):
19887
    L = ['%s=%r' % (key, value)
19888
      for key, value in self.__dict__.iteritems()]
19889
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
19890
 
19891
  def __eq__(self, other):
19892
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
19893
 
19894
  def __ne__(self, other):
19895
    return not (self == other)
19896
 
19897
class getAllSourcePricing_args:
19898
  """
19899
  Attributes:
19900
   - itemId
19901
  """
19902
 
19903
  thrift_spec = (
19904
    None, # 0
19905
    (1, TType.I64, 'itemId', None, None, ), # 1
19906
  )
19907
 
19908
  def __init__(self, itemId=None,):
19909
    self.itemId = itemId
19910
 
19911
  def read(self, iprot):
19912
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
19913
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
19914
      return
19915
    iprot.readStructBegin()
19916
    while True:
19917
      (fname, ftype, fid) = iprot.readFieldBegin()
19918
      if ftype == TType.STOP:
19919
        break
19920
      if fid == 1:
19921
        if ftype == TType.I64:
19922
          self.itemId = iprot.readI64();
19923
        else:
19924
          iprot.skip(ftype)
19925
      else:
19926
        iprot.skip(ftype)
19927
      iprot.readFieldEnd()
19928
    iprot.readStructEnd()
19929
 
19930
  def write(self, oprot):
19931
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
19932
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
19933
      return
19934
    oprot.writeStructBegin('getAllSourcePricing_args')
19935
    if self.itemId is not None:
19936
      oprot.writeFieldBegin('itemId', TType.I64, 1)
19937
      oprot.writeI64(self.itemId)
19938
      oprot.writeFieldEnd()
19939
    oprot.writeFieldStop()
19940
    oprot.writeStructEnd()
19941
 
19942
  def validate(self):
19943
    return
19944
 
19945
 
19946
  def __repr__(self):
19947
    L = ['%s=%r' % (key, value)
19948
      for key, value in self.__dict__.iteritems()]
19949
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
19950
 
19951
  def __eq__(self, other):
19952
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
19953
 
19954
  def __ne__(self, other):
19955
    return not (self == other)
19956
 
19957
class getAllSourcePricing_result:
19958
  """
19959
  Attributes:
19960
   - success
19961
   - cex
19962
  """
19963
 
19964
  thrift_spec = (
19965
    (0, TType.LIST, 'success', (TType.STRUCT,(SourceItemPricing, SourceItemPricing.thrift_spec)), None, ), # 0
19966
    (1, TType.STRUCT, 'cex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
19967
  )
19968
 
19969
  def __init__(self, success=None, cex=None,):
19970
    self.success = success
19971
    self.cex = cex
19972
 
19973
  def read(self, iprot):
19974
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
19975
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
19976
      return
19977
    iprot.readStructBegin()
19978
    while True:
19979
      (fname, ftype, fid) = iprot.readFieldBegin()
19980
      if ftype == TType.STOP:
19981
        break
19982
      if fid == 0:
19983
        if ftype == TType.LIST:
19984
          self.success = []
21838 amit.gupta 19985
          (_etype364, _size361) = iprot.readListBegin()
19986
          for _i365 in xrange(_size361):
19987
            _elem366 = SourceItemPricing()
19988
            _elem366.read(iprot)
19989
            self.success.append(_elem366)
5944 mandeep.dh 19990
          iprot.readListEnd()
19991
        else:
19992
          iprot.skip(ftype)
19993
      elif fid == 1:
19994
        if ftype == TType.STRUCT:
19995
          self.cex = CatalogServiceException()
19996
          self.cex.read(iprot)
19997
        else:
19998
          iprot.skip(ftype)
19999
      else:
20000
        iprot.skip(ftype)
20001
      iprot.readFieldEnd()
20002
    iprot.readStructEnd()
20003
 
20004
  def write(self, oprot):
20005
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
20006
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
20007
      return
20008
    oprot.writeStructBegin('getAllSourcePricing_result')
20009
    if self.success is not None:
20010
      oprot.writeFieldBegin('success', TType.LIST, 0)
20011
      oprot.writeListBegin(TType.STRUCT, len(self.success))
21838 amit.gupta 20012
      for iter367 in self.success:
20013
        iter367.write(oprot)
5944 mandeep.dh 20014
      oprot.writeListEnd()
20015
      oprot.writeFieldEnd()
20016
    if self.cex is not None:
20017
      oprot.writeFieldBegin('cex', TType.STRUCT, 1)
20018
      self.cex.write(oprot)
20019
      oprot.writeFieldEnd()
20020
    oprot.writeFieldStop()
20021
    oprot.writeStructEnd()
20022
 
20023
  def validate(self):
20024
    return
20025
 
20026
 
20027
  def __repr__(self):
20028
    L = ['%s=%r' % (key, value)
20029
      for key, value in self.__dict__.iteritems()]
20030
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
20031
 
20032
  def __eq__(self, other):
20033
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
20034
 
20035
  def __ne__(self, other):
20036
    return not (self == other)
20037
 
20038
class getItemForSource_args:
20039
  """
20040
  Attributes:
20041
   - item_id
20042
   - sourceId
20043
  """
20044
 
20045
  thrift_spec = (
20046
    None, # 0
20047
    (1, TType.I64, 'item_id', None, None, ), # 1
20048
    (2, TType.I64, 'sourceId', None, None, ), # 2
20049
  )
20050
 
20051
  def __init__(self, item_id=None, sourceId=None,):
20052
    self.item_id = item_id
20053
    self.sourceId = sourceId
20054
 
20055
  def read(self, iprot):
20056
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
20057
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
20058
      return
20059
    iprot.readStructBegin()
20060
    while True:
20061
      (fname, ftype, fid) = iprot.readFieldBegin()
20062
      if ftype == TType.STOP:
20063
        break
20064
      if fid == 1:
20065
        if ftype == TType.I64:
20066
          self.item_id = iprot.readI64();
20067
        else:
20068
          iprot.skip(ftype)
20069
      elif fid == 2:
20070
        if ftype == TType.I64:
20071
          self.sourceId = iprot.readI64();
20072
        else:
20073
          iprot.skip(ftype)
20074
      else:
20075
        iprot.skip(ftype)
20076
      iprot.readFieldEnd()
20077
    iprot.readStructEnd()
20078
 
20079
  def write(self, oprot):
20080
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
20081
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
20082
      return
20083
    oprot.writeStructBegin('getItemForSource_args')
20084
    if self.item_id is not None:
20085
      oprot.writeFieldBegin('item_id', TType.I64, 1)
20086
      oprot.writeI64(self.item_id)
20087
      oprot.writeFieldEnd()
20088
    if self.sourceId is not None:
20089
      oprot.writeFieldBegin('sourceId', TType.I64, 2)
20090
      oprot.writeI64(self.sourceId)
20091
      oprot.writeFieldEnd()
20092
    oprot.writeFieldStop()
20093
    oprot.writeStructEnd()
20094
 
20095
  def validate(self):
20096
    return
20097
 
20098
 
20099
  def __repr__(self):
20100
    L = ['%s=%r' % (key, value)
20101
      for key, value in self.__dict__.iteritems()]
20102
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
20103
 
20104
  def __eq__(self, other):
20105
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
20106
 
20107
  def __ne__(self, other):
20108
    return not (self == other)
20109
 
20110
class getItemForSource_result:
20111
  """
20112
  Attributes:
20113
   - success
20114
   - cex
20115
  """
20116
 
20117
  thrift_spec = (
20118
    (0, TType.STRUCT, 'success', (Item, Item.thrift_spec), None, ), # 0
20119
    (1, TType.STRUCT, 'cex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
20120
  )
20121
 
20122
  def __init__(self, success=None, cex=None,):
20123
    self.success = success
20124
    self.cex = cex
20125
 
20126
  def read(self, iprot):
20127
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
20128
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
20129
      return
20130
    iprot.readStructBegin()
20131
    while True:
20132
      (fname, ftype, fid) = iprot.readFieldBegin()
20133
      if ftype == TType.STOP:
20134
        break
20135
      if fid == 0:
20136
        if ftype == TType.STRUCT:
20137
          self.success = Item()
20138
          self.success.read(iprot)
20139
        else:
20140
          iprot.skip(ftype)
20141
      elif fid == 1:
20142
        if ftype == TType.STRUCT:
20143
          self.cex = CatalogServiceException()
20144
          self.cex.read(iprot)
20145
        else:
20146
          iprot.skip(ftype)
20147
      else:
20148
        iprot.skip(ftype)
20149
      iprot.readFieldEnd()
20150
    iprot.readStructEnd()
20151
 
20152
  def write(self, oprot):
20153
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
20154
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
20155
      return
20156
    oprot.writeStructBegin('getItemForSource_result')
20157
    if self.success is not None:
20158
      oprot.writeFieldBegin('success', TType.STRUCT, 0)
20159
      self.success.write(oprot)
20160
      oprot.writeFieldEnd()
20161
    if self.cex is not None:
20162
      oprot.writeFieldBegin('cex', TType.STRUCT, 1)
20163
      self.cex.write(oprot)
20164
      oprot.writeFieldEnd()
20165
    oprot.writeFieldStop()
20166
    oprot.writeStructEnd()
20167
 
20168
  def validate(self):
20169
    return
20170
 
20171
 
20172
  def __repr__(self):
20173
    L = ['%s=%r' % (key, value)
20174
      for key, value in self.__dict__.iteritems()]
20175
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
20176
 
20177
  def __eq__(self, other):
20178
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
20179
 
20180
  def __ne__(self, other):
20181
    return not (self == other)
20182
 
20183
class searchItemsInRange_args:
20184
  """
20185
  Attributes:
20186
   - searchTerms
20187
   - offset
20188
   - limit
20189
  """
20190
 
20191
  thrift_spec = (
20192
    None, # 0
20193
    (1, TType.LIST, 'searchTerms', (TType.STRING,None), None, ), # 1
20194
    (2, TType.I64, 'offset', None, None, ), # 2
20195
    (3, TType.I64, 'limit', None, None, ), # 3
20196
  )
20197
 
20198
  def __init__(self, searchTerms=None, offset=None, limit=None,):
20199
    self.searchTerms = searchTerms
20200
    self.offset = offset
20201
    self.limit = limit
20202
 
20203
  def read(self, iprot):
20204
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
20205
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
20206
      return
20207
    iprot.readStructBegin()
20208
    while True:
20209
      (fname, ftype, fid) = iprot.readFieldBegin()
20210
      if ftype == TType.STOP:
20211
        break
20212
      if fid == 1:
20213
        if ftype == TType.LIST:
20214
          self.searchTerms = []
21838 amit.gupta 20215
          (_etype371, _size368) = iprot.readListBegin()
20216
          for _i372 in xrange(_size368):
20217
            _elem373 = iprot.readString();
20218
            self.searchTerms.append(_elem373)
5944 mandeep.dh 20219
          iprot.readListEnd()
20220
        else:
20221
          iprot.skip(ftype)
20222
      elif fid == 2:
20223
        if ftype == TType.I64:
20224
          self.offset = iprot.readI64();
20225
        else:
20226
          iprot.skip(ftype)
20227
      elif fid == 3:
20228
        if ftype == TType.I64:
20229
          self.limit = iprot.readI64();
20230
        else:
20231
          iprot.skip(ftype)
20232
      else:
20233
        iprot.skip(ftype)
20234
      iprot.readFieldEnd()
20235
    iprot.readStructEnd()
20236
 
20237
  def write(self, oprot):
20238
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
20239
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
20240
      return
20241
    oprot.writeStructBegin('searchItemsInRange_args')
20242
    if self.searchTerms is not None:
20243
      oprot.writeFieldBegin('searchTerms', TType.LIST, 1)
20244
      oprot.writeListBegin(TType.STRING, len(self.searchTerms))
21838 amit.gupta 20245
      for iter374 in self.searchTerms:
20246
        oprot.writeString(iter374)
5944 mandeep.dh 20247
      oprot.writeListEnd()
20248
      oprot.writeFieldEnd()
20249
    if self.offset is not None:
20250
      oprot.writeFieldBegin('offset', TType.I64, 2)
20251
      oprot.writeI64(self.offset)
20252
      oprot.writeFieldEnd()
20253
    if self.limit is not None:
20254
      oprot.writeFieldBegin('limit', TType.I64, 3)
20255
      oprot.writeI64(self.limit)
20256
      oprot.writeFieldEnd()
20257
    oprot.writeFieldStop()
20258
    oprot.writeStructEnd()
20259
 
20260
  def validate(self):
20261
    return
20262
 
20263
 
20264
  def __repr__(self):
20265
    L = ['%s=%r' % (key, value)
20266
      for key, value in self.__dict__.iteritems()]
20267
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
20268
 
20269
  def __eq__(self, other):
20270
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
20271
 
20272
  def __ne__(self, other):
20273
    return not (self == other)
20274
 
20275
class searchItemsInRange_result:
20276
  """
20277
  Attributes:
20278
   - success
20279
  """
20280
 
20281
  thrift_spec = (
20282
    (0, TType.LIST, 'success', (TType.STRUCT,(Item, Item.thrift_spec)), None, ), # 0
20283
  )
20284
 
20285
  def __init__(self, success=None,):
20286
    self.success = success
20287
 
20288
  def read(self, iprot):
20289
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
20290
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
20291
      return
20292
    iprot.readStructBegin()
20293
    while True:
20294
      (fname, ftype, fid) = iprot.readFieldBegin()
20295
      if ftype == TType.STOP:
20296
        break
20297
      if fid == 0:
20298
        if ftype == TType.LIST:
20299
          self.success = []
21838 amit.gupta 20300
          (_etype378, _size375) = iprot.readListBegin()
20301
          for _i379 in xrange(_size375):
20302
            _elem380 = Item()
20303
            _elem380.read(iprot)
20304
            self.success.append(_elem380)
5944 mandeep.dh 20305
          iprot.readListEnd()
20306
        else:
20307
          iprot.skip(ftype)
20308
      else:
20309
        iprot.skip(ftype)
20310
      iprot.readFieldEnd()
20311
    iprot.readStructEnd()
20312
 
20313
  def write(self, oprot):
20314
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
20315
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
20316
      return
20317
    oprot.writeStructBegin('searchItemsInRange_result')
20318
    if self.success is not None:
20319
      oprot.writeFieldBegin('success', TType.LIST, 0)
20320
      oprot.writeListBegin(TType.STRUCT, len(self.success))
21838 amit.gupta 20321
      for iter381 in self.success:
20322
        iter381.write(oprot)
5944 mandeep.dh 20323
      oprot.writeListEnd()
20324
      oprot.writeFieldEnd()
20325
    oprot.writeFieldStop()
20326
    oprot.writeStructEnd()
20327
 
20328
  def validate(self):
20329
    return
20330
 
20331
 
20332
  def __repr__(self):
20333
    L = ['%s=%r' % (key, value)
20334
      for key, value in self.__dict__.iteritems()]
20335
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
20336
 
20337
  def __eq__(self, other):
20338
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
20339
 
20340
  def __ne__(self, other):
20341
    return not (self == other)
20342
 
20343
class getSearchResultCount_args:
20344
  """
20345
  Attributes:
20346
   - searchTerms
20347
  """
20348
 
20349
  thrift_spec = (
20350
    None, # 0
20351
    (1, TType.LIST, 'searchTerms', (TType.STRING,None), None, ), # 1
20352
  )
20353
 
20354
  def __init__(self, searchTerms=None,):
20355
    self.searchTerms = searchTerms
20356
 
20357
  def read(self, iprot):
20358
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
20359
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
20360
      return
20361
    iprot.readStructBegin()
20362
    while True:
20363
      (fname, ftype, fid) = iprot.readFieldBegin()
20364
      if ftype == TType.STOP:
20365
        break
20366
      if fid == 1:
20367
        if ftype == TType.LIST:
20368
          self.searchTerms = []
21838 amit.gupta 20369
          (_etype385, _size382) = iprot.readListBegin()
20370
          for _i386 in xrange(_size382):
20371
            _elem387 = iprot.readString();
20372
            self.searchTerms.append(_elem387)
5944 mandeep.dh 20373
          iprot.readListEnd()
20374
        else:
20375
          iprot.skip(ftype)
20376
      else:
20377
        iprot.skip(ftype)
20378
      iprot.readFieldEnd()
20379
    iprot.readStructEnd()
20380
 
20381
  def write(self, oprot):
20382
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
20383
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
20384
      return
20385
    oprot.writeStructBegin('getSearchResultCount_args')
20386
    if self.searchTerms is not None:
20387
      oprot.writeFieldBegin('searchTerms', TType.LIST, 1)
20388
      oprot.writeListBegin(TType.STRING, len(self.searchTerms))
21838 amit.gupta 20389
      for iter388 in self.searchTerms:
20390
        oprot.writeString(iter388)
5944 mandeep.dh 20391
      oprot.writeListEnd()
20392
      oprot.writeFieldEnd()
20393
    oprot.writeFieldStop()
20394
    oprot.writeStructEnd()
20395
 
20396
  def validate(self):
20397
    return
20398
 
20399
 
20400
  def __repr__(self):
20401
    L = ['%s=%r' % (key, value)
20402
      for key, value in self.__dict__.iteritems()]
20403
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
20404
 
20405
  def __eq__(self, other):
20406
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
20407
 
20408
  def __ne__(self, other):
20409
    return not (self == other)
20410
 
20411
class getSearchResultCount_result:
20412
  """
20413
  Attributes:
20414
   - success
20415
  """
20416
 
20417
  thrift_spec = (
20418
    (0, TType.I32, 'success', None, None, ), # 0
20419
  )
20420
 
20421
  def __init__(self, success=None,):
20422
    self.success = success
20423
 
20424
  def read(self, iprot):
20425
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
20426
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
20427
      return
20428
    iprot.readStructBegin()
20429
    while True:
20430
      (fname, ftype, fid) = iprot.readFieldBegin()
20431
      if ftype == TType.STOP:
20432
        break
20433
      if fid == 0:
20434
        if ftype == TType.I32:
20435
          self.success = iprot.readI32();
20436
        else:
20437
          iprot.skip(ftype)
20438
      else:
20439
        iprot.skip(ftype)
20440
      iprot.readFieldEnd()
20441
    iprot.readStructEnd()
20442
 
20443
  def write(self, oprot):
20444
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
20445
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
20446
      return
20447
    oprot.writeStructBegin('getSearchResultCount_result')
20448
    if self.success is not None:
20449
      oprot.writeFieldBegin('success', TType.I32, 0)
20450
      oprot.writeI32(self.success)
20451
      oprot.writeFieldEnd()
20452
    oprot.writeFieldStop()
20453
    oprot.writeStructEnd()
20454
 
20455
  def validate(self):
20456
    return
20457
 
20458
 
20459
  def __repr__(self):
20460
    L = ['%s=%r' % (key, value)
20461
      for key, value in self.__dict__.iteritems()]
20462
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
20463
 
20464
  def __eq__(self, other):
20465
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
20466
 
20467
  def __ne__(self, other):
20468
    return not (self == other)
20469
 
20470
class getProductNotifications_args:
20471
  """
20472
  Attributes:
20473
   - startDateTime
20474
  """
20475
 
20476
  thrift_spec = (
20477
    None, # 0
20478
    (1, TType.I64, 'startDateTime', None, None, ), # 1
20479
  )
20480
 
20481
  def __init__(self, startDateTime=None,):
20482
    self.startDateTime = startDateTime
20483
 
20484
  def read(self, iprot):
20485
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
20486
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
20487
      return
20488
    iprot.readStructBegin()
20489
    while True:
20490
      (fname, ftype, fid) = iprot.readFieldBegin()
20491
      if ftype == TType.STOP:
20492
        break
20493
      if fid == 1:
20494
        if ftype == TType.I64:
20495
          self.startDateTime = iprot.readI64();
20496
        else:
20497
          iprot.skip(ftype)
20498
      else:
20499
        iprot.skip(ftype)
20500
      iprot.readFieldEnd()
20501
    iprot.readStructEnd()
20502
 
20503
  def write(self, oprot):
20504
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
20505
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
20506
      return
20507
    oprot.writeStructBegin('getProductNotifications_args')
20508
    if self.startDateTime is not None:
20509
      oprot.writeFieldBegin('startDateTime', TType.I64, 1)
20510
      oprot.writeI64(self.startDateTime)
20511
      oprot.writeFieldEnd()
20512
    oprot.writeFieldStop()
20513
    oprot.writeStructEnd()
20514
 
20515
  def validate(self):
20516
    return
20517
 
20518
 
20519
  def __repr__(self):
20520
    L = ['%s=%r' % (key, value)
20521
      for key, value in self.__dict__.iteritems()]
20522
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
20523
 
20524
  def __eq__(self, other):
20525
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
20526
 
20527
  def __ne__(self, other):
20528
    return not (self == other)
20529
 
20530
class getProductNotifications_result:
20531
  """
20532
  Attributes:
20533
   - success
20534
  """
20535
 
20536
  thrift_spec = (
20537
    (0, TType.LIST, 'success', (TType.STRUCT,(ProductNotificationRequest, ProductNotificationRequest.thrift_spec)), None, ), # 0
20538
  )
20539
 
20540
  def __init__(self, success=None,):
20541
    self.success = success
20542
 
20543
  def read(self, iprot):
20544
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
20545
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
20546
      return
20547
    iprot.readStructBegin()
20548
    while True:
20549
      (fname, ftype, fid) = iprot.readFieldBegin()
20550
      if ftype == TType.STOP:
20551
        break
20552
      if fid == 0:
20553
        if ftype == TType.LIST:
20554
          self.success = []
21838 amit.gupta 20555
          (_etype392, _size389) = iprot.readListBegin()
20556
          for _i393 in xrange(_size389):
20557
            _elem394 = ProductNotificationRequest()
20558
            _elem394.read(iprot)
20559
            self.success.append(_elem394)
5944 mandeep.dh 20560
          iprot.readListEnd()
20561
        else:
20562
          iprot.skip(ftype)
20563
      else:
20564
        iprot.skip(ftype)
20565
      iprot.readFieldEnd()
20566
    iprot.readStructEnd()
20567
 
20568
  def write(self, oprot):
20569
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
20570
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
20571
      return
20572
    oprot.writeStructBegin('getProductNotifications_result')
20573
    if self.success is not None:
20574
      oprot.writeFieldBegin('success', TType.LIST, 0)
20575
      oprot.writeListBegin(TType.STRUCT, len(self.success))
21838 amit.gupta 20576
      for iter395 in self.success:
20577
        iter395.write(oprot)
5944 mandeep.dh 20578
      oprot.writeListEnd()
20579
      oprot.writeFieldEnd()
20580
    oprot.writeFieldStop()
20581
    oprot.writeStructEnd()
20582
 
20583
  def validate(self):
20584
    return
20585
 
20586
 
20587
  def __repr__(self):
20588
    L = ['%s=%r' % (key, value)
20589
      for key, value in self.__dict__.iteritems()]
20590
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
20591
 
20592
  def __eq__(self, other):
20593
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
20594
 
20595
  def __ne__(self, other):
20596
    return not (self == other)
20597
 
20598
class getProductNotificationRequestCount_args:
20599
  """
20600
  Attributes:
20601
   - startDateTime
7897 amar.kumar 20602
   - categoryId
5944 mandeep.dh 20603
  """
20604
 
20605
  thrift_spec = (
20606
    None, # 0
20607
    (1, TType.I64, 'startDateTime', None, None, ), # 1
7897 amar.kumar 20608
    (2, TType.I64, 'categoryId', None, None, ), # 2
5944 mandeep.dh 20609
  )
20610
 
7897 amar.kumar 20611
  def __init__(self, startDateTime=None, categoryId=None,):
5944 mandeep.dh 20612
    self.startDateTime = startDateTime
7897 amar.kumar 20613
    self.categoryId = categoryId
5944 mandeep.dh 20614
 
20615
  def read(self, iprot):
20616
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
20617
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
20618
      return
20619
    iprot.readStructBegin()
20620
    while True:
20621
      (fname, ftype, fid) = iprot.readFieldBegin()
20622
      if ftype == TType.STOP:
20623
        break
20624
      if fid == 1:
20625
        if ftype == TType.I64:
20626
          self.startDateTime = iprot.readI64();
20627
        else:
20628
          iprot.skip(ftype)
7897 amar.kumar 20629
      elif fid == 2:
20630
        if ftype == TType.I64:
20631
          self.categoryId = iprot.readI64();
20632
        else:
20633
          iprot.skip(ftype)
5944 mandeep.dh 20634
      else:
20635
        iprot.skip(ftype)
20636
      iprot.readFieldEnd()
20637
    iprot.readStructEnd()
20638
 
20639
  def write(self, oprot):
20640
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
20641
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
20642
      return
20643
    oprot.writeStructBegin('getProductNotificationRequestCount_args')
20644
    if self.startDateTime is not None:
20645
      oprot.writeFieldBegin('startDateTime', TType.I64, 1)
20646
      oprot.writeI64(self.startDateTime)
20647
      oprot.writeFieldEnd()
7897 amar.kumar 20648
    if self.categoryId is not None:
20649
      oprot.writeFieldBegin('categoryId', TType.I64, 2)
20650
      oprot.writeI64(self.categoryId)
20651
      oprot.writeFieldEnd()
5944 mandeep.dh 20652
    oprot.writeFieldStop()
20653
    oprot.writeStructEnd()
20654
 
20655
  def validate(self):
20656
    return
20657
 
20658
 
20659
  def __repr__(self):
20660
    L = ['%s=%r' % (key, value)
20661
      for key, value in self.__dict__.iteritems()]
20662
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
20663
 
20664
  def __eq__(self, other):
20665
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
20666
 
20667
  def __ne__(self, other):
20668
    return not (self == other)
20669
 
20670
class getProductNotificationRequestCount_result:
20671
  """
20672
  Attributes:
20673
   - success
20674
  """
20675
 
20676
  thrift_spec = (
20677
    (0, TType.LIST, 'success', (TType.STRUCT,(ProductNotificationRequestCount, ProductNotificationRequestCount.thrift_spec)), None, ), # 0
20678
  )
20679
 
20680
  def __init__(self, success=None,):
20681
    self.success = success
20682
 
20683
  def read(self, iprot):
20684
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
20685
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
20686
      return
20687
    iprot.readStructBegin()
20688
    while True:
20689
      (fname, ftype, fid) = iprot.readFieldBegin()
20690
      if ftype == TType.STOP:
20691
        break
20692
      if fid == 0:
20693
        if ftype == TType.LIST:
20694
          self.success = []
21838 amit.gupta 20695
          (_etype399, _size396) = iprot.readListBegin()
20696
          for _i400 in xrange(_size396):
20697
            _elem401 = ProductNotificationRequestCount()
20698
            _elem401.read(iprot)
20699
            self.success.append(_elem401)
5944 mandeep.dh 20700
          iprot.readListEnd()
20701
        else:
20702
          iprot.skip(ftype)
20703
      else:
20704
        iprot.skip(ftype)
20705
      iprot.readFieldEnd()
20706
    iprot.readStructEnd()
20707
 
20708
  def write(self, oprot):
20709
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
20710
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
20711
      return
20712
    oprot.writeStructBegin('getProductNotificationRequestCount_result')
20713
    if self.success is not None:
20714
      oprot.writeFieldBegin('success', TType.LIST, 0)
20715
      oprot.writeListBegin(TType.STRUCT, len(self.success))
21838 amit.gupta 20716
      for iter402 in self.success:
20717
        iter402.write(oprot)
5944 mandeep.dh 20718
      oprot.writeListEnd()
20719
      oprot.writeFieldEnd()
20720
    oprot.writeFieldStop()
20721
    oprot.writeStructEnd()
20722
 
20723
  def validate(self):
20724
    return
20725
 
20726
 
20727
  def __repr__(self):
20728
    L = ['%s=%r' % (key, value)
20729
      for key, value in self.__dict__.iteritems()]
20730
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
20731
 
20732
  def __eq__(self, other):
20733
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
20734
 
20735
  def __ne__(self, other):
20736
    return not (self == other)
20737
 
20738
class addAuthorizationLog_args:
20739
  """
20740
  Attributes:
20741
   - itemId
20742
   - username
20743
   - reason
20744
  """
20745
 
20746
  thrift_spec = (
20747
    None, # 0
20748
    (1, TType.I64, 'itemId', None, None, ), # 1
20749
    (2, TType.STRING, 'username', None, None, ), # 2
20750
    (3, TType.STRING, 'reason', None, None, ), # 3
20751
  )
20752
 
20753
  def __init__(self, itemId=None, username=None, reason=None,):
20754
    self.itemId = itemId
20755
    self.username = username
20756
    self.reason = reason
20757
 
20758
  def read(self, iprot):
20759
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
20760
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
20761
      return
20762
    iprot.readStructBegin()
20763
    while True:
20764
      (fname, ftype, fid) = iprot.readFieldBegin()
20765
      if ftype == TType.STOP:
20766
        break
20767
      if fid == 1:
20768
        if ftype == TType.I64:
20769
          self.itemId = iprot.readI64();
20770
        else:
20771
          iprot.skip(ftype)
20772
      elif fid == 2:
20773
        if ftype == TType.STRING:
20774
          self.username = iprot.readString();
20775
        else:
20776
          iprot.skip(ftype)
20777
      elif fid == 3:
20778
        if ftype == TType.STRING:
20779
          self.reason = iprot.readString();
20780
        else:
20781
          iprot.skip(ftype)
20782
      else:
20783
        iprot.skip(ftype)
20784
      iprot.readFieldEnd()
20785
    iprot.readStructEnd()
20786
 
20787
  def write(self, oprot):
20788
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
20789
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
20790
      return
20791
    oprot.writeStructBegin('addAuthorizationLog_args')
20792
    if self.itemId is not None:
20793
      oprot.writeFieldBegin('itemId', TType.I64, 1)
20794
      oprot.writeI64(self.itemId)
20795
      oprot.writeFieldEnd()
20796
    if self.username is not None:
20797
      oprot.writeFieldBegin('username', TType.STRING, 2)
20798
      oprot.writeString(self.username)
20799
      oprot.writeFieldEnd()
20800
    if self.reason is not None:
20801
      oprot.writeFieldBegin('reason', TType.STRING, 3)
20802
      oprot.writeString(self.reason)
20803
      oprot.writeFieldEnd()
20804
    oprot.writeFieldStop()
20805
    oprot.writeStructEnd()
20806
 
20807
  def validate(self):
20808
    return
20809
 
20810
 
20811
  def __repr__(self):
20812
    L = ['%s=%r' % (key, value)
20813
      for key, value in self.__dict__.iteritems()]
20814
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
20815
 
20816
  def __eq__(self, other):
20817
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
20818
 
20819
  def __ne__(self, other):
20820
    return not (self == other)
20821
 
20822
class addAuthorizationLog_result:
20823
  """
20824
  Attributes:
20825
   - success
20826
   - cex
20827
  """
20828
 
20829
  thrift_spec = (
20830
    (0, TType.BOOL, 'success', None, None, ), # 0
20831
    (1, TType.STRUCT, 'cex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
20832
  )
20833
 
20834
  def __init__(self, success=None, cex=None,):
20835
    self.success = success
20836
    self.cex = cex
20837
 
20838
  def read(self, iprot):
20839
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
20840
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
20841
      return
20842
    iprot.readStructBegin()
20843
    while True:
20844
      (fname, ftype, fid) = iprot.readFieldBegin()
20845
      if ftype == TType.STOP:
20846
        break
20847
      if fid == 0:
20848
        if ftype == TType.BOOL:
20849
          self.success = iprot.readBool();
20850
        else:
20851
          iprot.skip(ftype)
20852
      elif fid == 1:
20853
        if ftype == TType.STRUCT:
20854
          self.cex = CatalogServiceException()
20855
          self.cex.read(iprot)
20856
        else:
20857
          iprot.skip(ftype)
20858
      else:
20859
        iprot.skip(ftype)
20860
      iprot.readFieldEnd()
20861
    iprot.readStructEnd()
20862
 
20863
  def write(self, oprot):
20864
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
20865
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
20866
      return
20867
    oprot.writeStructBegin('addAuthorizationLog_result')
20868
    if self.success is not None:
20869
      oprot.writeFieldBegin('success', TType.BOOL, 0)
20870
      oprot.writeBool(self.success)
20871
      oprot.writeFieldEnd()
20872
    if self.cex is not None:
20873
      oprot.writeFieldBegin('cex', TType.STRUCT, 1)
20874
      self.cex.write(oprot)
20875
      oprot.writeFieldEnd()
20876
    oprot.writeFieldStop()
20877
    oprot.writeStructEnd()
20878
 
20879
  def validate(self):
20880
    return
20881
 
20882
 
20883
  def __repr__(self):
20884
    L = ['%s=%r' % (key, value)
20885
      for key, value in self.__dict__.iteritems()]
20886
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
20887
 
20888
  def __eq__(self, other):
20889
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
20890
 
20891
  def __ne__(self, other):
20892
    return not (self == other)
20893
 
20894
class addupdateVoucherForItem_args:
20895
  """
20896
  Attributes:
20897
   - catalog_item_id
20898
   - voucherType
20899
   - voucherAmount
20900
  """
20901
 
20902
  thrift_spec = (
20903
    None, # 0
20904
    (1, TType.I64, 'catalog_item_id', None, None, ), # 1
20905
    (2, TType.I64, 'voucherType', None, None, ), # 2
20906
    (3, TType.I64, 'voucherAmount', None, None, ), # 3
20907
  )
20908
 
20909
  def __init__(self, catalog_item_id=None, voucherType=None, voucherAmount=None,):
20910
    self.catalog_item_id = catalog_item_id
20911
    self.voucherType = voucherType
20912
    self.voucherAmount = voucherAmount
20913
 
20914
  def read(self, iprot):
20915
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
20916
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
20917
      return
20918
    iprot.readStructBegin()
20919
    while True:
20920
      (fname, ftype, fid) = iprot.readFieldBegin()
20921
      if ftype == TType.STOP:
20922
        break
20923
      if fid == 1:
20924
        if ftype == TType.I64:
20925
          self.catalog_item_id = iprot.readI64();
20926
        else:
20927
          iprot.skip(ftype)
20928
      elif fid == 2:
20929
        if ftype == TType.I64:
20930
          self.voucherType = iprot.readI64();
20931
        else:
20932
          iprot.skip(ftype)
20933
      elif fid == 3:
20934
        if ftype == TType.I64:
20935
          self.voucherAmount = iprot.readI64();
20936
        else:
20937
          iprot.skip(ftype)
20938
      else:
20939
        iprot.skip(ftype)
20940
      iprot.readFieldEnd()
20941
    iprot.readStructEnd()
20942
 
20943
  def write(self, oprot):
20944
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
20945
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
20946
      return
20947
    oprot.writeStructBegin('addupdateVoucherForItem_args')
20948
    if self.catalog_item_id is not None:
20949
      oprot.writeFieldBegin('catalog_item_id', TType.I64, 1)
20950
      oprot.writeI64(self.catalog_item_id)
20951
      oprot.writeFieldEnd()
20952
    if self.voucherType is not None:
20953
      oprot.writeFieldBegin('voucherType', TType.I64, 2)
20954
      oprot.writeI64(self.voucherType)
20955
      oprot.writeFieldEnd()
20956
    if self.voucherAmount is not None:
20957
      oprot.writeFieldBegin('voucherAmount', TType.I64, 3)
20958
      oprot.writeI64(self.voucherAmount)
20959
      oprot.writeFieldEnd()
20960
    oprot.writeFieldStop()
20961
    oprot.writeStructEnd()
20962
 
20963
  def validate(self):
20964
    return
20965
 
20966
 
20967
  def __repr__(self):
20968
    L = ['%s=%r' % (key, value)
20969
      for key, value in self.__dict__.iteritems()]
20970
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
20971
 
20972
  def __eq__(self, other):
20973
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
20974
 
20975
  def __ne__(self, other):
20976
    return not (self == other)
20977
 
20978
class addupdateVoucherForItem_result:
20979
  """
20980
  Attributes:
20981
   - success
20982
   - cex
20983
  """
20984
 
20985
  thrift_spec = (
20986
    (0, TType.BOOL, 'success', None, None, ), # 0
20987
    (1, TType.STRUCT, 'cex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
20988
  )
20989
 
20990
  def __init__(self, success=None, cex=None,):
20991
    self.success = success
20992
    self.cex = cex
20993
 
20994
  def read(self, iprot):
20995
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
20996
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
20997
      return
20998
    iprot.readStructBegin()
20999
    while True:
21000
      (fname, ftype, fid) = iprot.readFieldBegin()
21001
      if ftype == TType.STOP:
21002
        break
21003
      if fid == 0:
21004
        if ftype == TType.BOOL:
21005
          self.success = iprot.readBool();
21006
        else:
21007
          iprot.skip(ftype)
21008
      elif fid == 1:
21009
        if ftype == TType.STRUCT:
21010
          self.cex = CatalogServiceException()
21011
          self.cex.read(iprot)
21012
        else:
21013
          iprot.skip(ftype)
21014
      else:
21015
        iprot.skip(ftype)
21016
      iprot.readFieldEnd()
21017
    iprot.readStructEnd()
21018
 
21019
  def write(self, oprot):
21020
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
21021
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
21022
      return
21023
    oprot.writeStructBegin('addupdateVoucherForItem_result')
21024
    if self.success is not None:
21025
      oprot.writeFieldBegin('success', TType.BOOL, 0)
21026
      oprot.writeBool(self.success)
21027
      oprot.writeFieldEnd()
21028
    if self.cex is not None:
21029
      oprot.writeFieldBegin('cex', TType.STRUCT, 1)
21030
      self.cex.write(oprot)
21031
      oprot.writeFieldEnd()
21032
    oprot.writeFieldStop()
21033
    oprot.writeStructEnd()
21034
 
21035
  def validate(self):
21036
    return
21037
 
21038
 
21039
  def __repr__(self):
21040
    L = ['%s=%r' % (key, value)
21041
      for key, value in self.__dict__.iteritems()]
21042
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
21043
 
21044
  def __eq__(self, other):
21045
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
21046
 
21047
  def __ne__(self, other):
21048
    return not (self == other)
21049
 
21050
class deleteVoucherForItem_args:
21051
  """
21052
  Attributes:
21053
   - catalog_item_id
21054
   - voucherType
21055
  """
21056
 
21057
  thrift_spec = (
21058
    None, # 0
21059
    (1, TType.I64, 'catalog_item_id', None, None, ), # 1
21060
    (2, TType.I64, 'voucherType', None, None, ), # 2
21061
  )
21062
 
21063
  def __init__(self, catalog_item_id=None, voucherType=None,):
21064
    self.catalog_item_id = catalog_item_id
21065
    self.voucherType = voucherType
21066
 
21067
  def read(self, iprot):
21068
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
21069
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
21070
      return
21071
    iprot.readStructBegin()
21072
    while True:
21073
      (fname, ftype, fid) = iprot.readFieldBegin()
21074
      if ftype == TType.STOP:
21075
        break
21076
      if fid == 1:
21077
        if ftype == TType.I64:
21078
          self.catalog_item_id = iprot.readI64();
21079
        else:
21080
          iprot.skip(ftype)
21081
      elif fid == 2:
21082
        if ftype == TType.I64:
21083
          self.voucherType = iprot.readI64();
21084
        else:
21085
          iprot.skip(ftype)
21086
      else:
21087
        iprot.skip(ftype)
21088
      iprot.readFieldEnd()
21089
    iprot.readStructEnd()
21090
 
21091
  def write(self, oprot):
21092
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
21093
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
21094
      return
21095
    oprot.writeStructBegin('deleteVoucherForItem_args')
21096
    if self.catalog_item_id is not None:
21097
      oprot.writeFieldBegin('catalog_item_id', TType.I64, 1)
21098
      oprot.writeI64(self.catalog_item_id)
21099
      oprot.writeFieldEnd()
21100
    if self.voucherType is not None:
21101
      oprot.writeFieldBegin('voucherType', TType.I64, 2)
21102
      oprot.writeI64(self.voucherType)
21103
      oprot.writeFieldEnd()
21104
    oprot.writeFieldStop()
21105
    oprot.writeStructEnd()
21106
 
21107
  def validate(self):
21108
    return
21109
 
21110
 
21111
  def __repr__(self):
21112
    L = ['%s=%r' % (key, value)
21113
      for key, value in self.__dict__.iteritems()]
21114
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
21115
 
21116
  def __eq__(self, other):
21117
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
21118
 
21119
  def __ne__(self, other):
21120
    return not (self == other)
21121
 
21122
class deleteVoucherForItem_result:
21123
  """
21124
  Attributes:
21125
   - success
21126
   - cex
21127
  """
21128
 
21129
  thrift_spec = (
21130
    (0, TType.BOOL, 'success', None, None, ), # 0
21131
    (1, TType.STRUCT, 'cex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
21132
  )
21133
 
21134
  def __init__(self, success=None, cex=None,):
21135
    self.success = success
21136
    self.cex = cex
21137
 
21138
  def read(self, iprot):
21139
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
21140
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
21141
      return
21142
    iprot.readStructBegin()
21143
    while True:
21144
      (fname, ftype, fid) = iprot.readFieldBegin()
21145
      if ftype == TType.STOP:
21146
        break
21147
      if fid == 0:
21148
        if ftype == TType.BOOL:
21149
          self.success = iprot.readBool();
21150
        else:
21151
          iprot.skip(ftype)
21152
      elif fid == 1:
21153
        if ftype == TType.STRUCT:
21154
          self.cex = CatalogServiceException()
21155
          self.cex.read(iprot)
21156
        else:
21157
          iprot.skip(ftype)
21158
      else:
21159
        iprot.skip(ftype)
21160
      iprot.readFieldEnd()
21161
    iprot.readStructEnd()
21162
 
21163
  def write(self, oprot):
21164
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
21165
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
21166
      return
21167
    oprot.writeStructBegin('deleteVoucherForItem_result')
21168
    if self.success is not None:
21169
      oprot.writeFieldBegin('success', TType.BOOL, 0)
21170
      oprot.writeBool(self.success)
21171
      oprot.writeFieldEnd()
21172
    if self.cex is not None:
21173
      oprot.writeFieldBegin('cex', TType.STRUCT, 1)
21174
      self.cex.write(oprot)
21175
      oprot.writeFieldEnd()
21176
    oprot.writeFieldStop()
21177
    oprot.writeStructEnd()
21178
 
21179
  def validate(self):
21180
    return
21181
 
21182
 
21183
  def __repr__(self):
21184
    L = ['%s=%r' % (key, value)
21185
      for key, value in self.__dict__.iteritems()]
21186
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
21187
 
21188
  def __eq__(self, other):
21189
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
21190
 
21191
  def __ne__(self, other):
21192
    return not (self == other)
21193
 
21194
class getVoucherAmount_args:
21195
  """
21196
  Attributes:
21197
   - itemId
21198
   - voucherType
21199
  """
21200
 
21201
  thrift_spec = (
21202
    None, # 0
21203
    (1, TType.I64, 'itemId', None, None, ), # 1
21204
    (2, TType.I64, 'voucherType', None, None, ), # 2
21205
  )
21206
 
21207
  def __init__(self, itemId=None, voucherType=None,):
21208
    self.itemId = itemId
21209
    self.voucherType = voucherType
21210
 
21211
  def read(self, iprot):
21212
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
21213
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
21214
      return
21215
    iprot.readStructBegin()
21216
    while True:
21217
      (fname, ftype, fid) = iprot.readFieldBegin()
21218
      if ftype == TType.STOP:
21219
        break
21220
      if fid == 1:
21221
        if ftype == TType.I64:
21222
          self.itemId = iprot.readI64();
21223
        else:
21224
          iprot.skip(ftype)
21225
      elif fid == 2:
21226
        if ftype == TType.I64:
21227
          self.voucherType = iprot.readI64();
21228
        else:
21229
          iprot.skip(ftype)
21230
      else:
21231
        iprot.skip(ftype)
21232
      iprot.readFieldEnd()
21233
    iprot.readStructEnd()
21234
 
21235
  def write(self, oprot):
21236
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
21237
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
21238
      return
21239
    oprot.writeStructBegin('getVoucherAmount_args')
21240
    if self.itemId is not None:
21241
      oprot.writeFieldBegin('itemId', TType.I64, 1)
21242
      oprot.writeI64(self.itemId)
21243
      oprot.writeFieldEnd()
21244
    if self.voucherType is not None:
21245
      oprot.writeFieldBegin('voucherType', TType.I64, 2)
21246
      oprot.writeI64(self.voucherType)
21247
      oprot.writeFieldEnd()
21248
    oprot.writeFieldStop()
21249
    oprot.writeStructEnd()
21250
 
21251
  def validate(self):
21252
    return
21253
 
21254
 
21255
  def __repr__(self):
21256
    L = ['%s=%r' % (key, value)
21257
      for key, value in self.__dict__.iteritems()]
21258
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
21259
 
21260
  def __eq__(self, other):
21261
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
21262
 
21263
  def __ne__(self, other):
21264
    return not (self == other)
21265
 
21266
class getVoucherAmount_result:
21267
  """
21268
  Attributes:
21269
   - success
21270
  """
21271
 
21272
  thrift_spec = (
21273
    (0, TType.I64, 'success', None, None, ), # 0
21274
  )
21275
 
21276
  def __init__(self, success=None,):
21277
    self.success = success
21278
 
21279
  def read(self, iprot):
21280
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
21281
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
21282
      return
21283
    iprot.readStructBegin()
21284
    while True:
21285
      (fname, ftype, fid) = iprot.readFieldBegin()
21286
      if ftype == TType.STOP:
21287
        break
21288
      if fid == 0:
21289
        if ftype == TType.I64:
21290
          self.success = iprot.readI64();
21291
        else:
21292
          iprot.skip(ftype)
21293
      else:
21294
        iprot.skip(ftype)
21295
      iprot.readFieldEnd()
21296
    iprot.readStructEnd()
21297
 
21298
  def write(self, oprot):
21299
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
21300
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
21301
      return
21302
    oprot.writeStructBegin('getVoucherAmount_result')
21303
    if self.success is not None:
21304
      oprot.writeFieldBegin('success', TType.I64, 0)
21305
      oprot.writeI64(self.success)
21306
      oprot.writeFieldEnd()
21307
    oprot.writeFieldStop()
21308
    oprot.writeStructEnd()
21309
 
21310
  def validate(self):
21311
    return
21312
 
21313
 
21314
  def __repr__(self):
21315
    L = ['%s=%r' % (key, value)
21316
      for key, value in self.__dict__.iteritems()]
21317
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
21318
 
21319
  def __eq__(self, other):
21320
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
21321
 
21322
  def __ne__(self, other):
21323
    return not (self == other)
21324
 
21325
class getAllItemVouchers_args:
21326
  """
21327
  Attributes:
21328
   - itemId
21329
  """
21330
 
21331
  thrift_spec = (
21332
    None, # 0
21333
    (1, TType.I64, 'itemId', None, None, ), # 1
21334
  )
21335
 
21336
  def __init__(self, itemId=None,):
21337
    self.itemId = itemId
21338
 
21339
  def read(self, iprot):
21340
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
21341
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
21342
      return
21343
    iprot.readStructBegin()
21344
    while True:
21345
      (fname, ftype, fid) = iprot.readFieldBegin()
21346
      if ftype == TType.STOP:
21347
        break
21348
      if fid == 1:
21349
        if ftype == TType.I64:
21350
          self.itemId = iprot.readI64();
21351
        else:
21352
          iprot.skip(ftype)
21353
      else:
21354
        iprot.skip(ftype)
21355
      iprot.readFieldEnd()
21356
    iprot.readStructEnd()
21357
 
21358
  def write(self, oprot):
21359
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
21360
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
21361
      return
21362
    oprot.writeStructBegin('getAllItemVouchers_args')
21363
    if self.itemId is not None:
21364
      oprot.writeFieldBegin('itemId', TType.I64, 1)
21365
      oprot.writeI64(self.itemId)
21366
      oprot.writeFieldEnd()
21367
    oprot.writeFieldStop()
21368
    oprot.writeStructEnd()
21369
 
21370
  def validate(self):
21371
    return
21372
 
21373
 
21374
  def __repr__(self):
21375
    L = ['%s=%r' % (key, value)
21376
      for key, value in self.__dict__.iteritems()]
21377
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
21378
 
21379
  def __eq__(self, other):
21380
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
21381
 
21382
  def __ne__(self, other):
21383
    return not (self == other)
21384
 
21385
class getAllItemVouchers_result:
21386
  """
21387
  Attributes:
21388
   - success
21389
  """
21390
 
21391
  thrift_spec = (
21392
    (0, TType.LIST, 'success', (TType.STRUCT,(VoucherItemMapping, VoucherItemMapping.thrift_spec)), None, ), # 0
21393
  )
21394
 
21395
  def __init__(self, success=None,):
21396
    self.success = success
21397
 
21398
  def read(self, iprot):
21399
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
21400
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
21401
      return
21402
    iprot.readStructBegin()
21403
    while True:
21404
      (fname, ftype, fid) = iprot.readFieldBegin()
21405
      if ftype == TType.STOP:
21406
        break
21407
      if fid == 0:
21408
        if ftype == TType.LIST:
21409
          self.success = []
21838 amit.gupta 21410
          (_etype406, _size403) = iprot.readListBegin()
21411
          for _i407 in xrange(_size403):
21412
            _elem408 = VoucherItemMapping()
21413
            _elem408.read(iprot)
21414
            self.success.append(_elem408)
5944 mandeep.dh 21415
          iprot.readListEnd()
21416
        else:
21417
          iprot.skip(ftype)
21418
      else:
21419
        iprot.skip(ftype)
21420
      iprot.readFieldEnd()
21421
    iprot.readStructEnd()
21422
 
21423
  def write(self, oprot):
21424
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
21425
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
21426
      return
21427
    oprot.writeStructBegin('getAllItemVouchers_result')
21428
    if self.success is not None:
21429
      oprot.writeFieldBegin('success', TType.LIST, 0)
21430
      oprot.writeListBegin(TType.STRUCT, len(self.success))
21838 amit.gupta 21431
      for iter409 in self.success:
21432
        iter409.write(oprot)
5944 mandeep.dh 21433
      oprot.writeListEnd()
21434
      oprot.writeFieldEnd()
21435
    oprot.writeFieldStop()
21436
    oprot.writeStructEnd()
21437
 
21438
  def validate(self):
21439
    return
21440
 
21441
 
21442
  def __repr__(self):
21443
    L = ['%s=%r' % (key, value)
21444
      for key, value in self.__dict__.iteritems()]
21445
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
21446
 
21447
  def __eq__(self, other):
21448
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
21449
 
21450
  def __ne__(self, other):
21451
    return not (self == other)
21452
 
21453
class isValidCatalogItemId_args:
21454
  """
21455
  Attributes:
21456
   - catalog_item_id
21457
  """
21458
 
21459
  thrift_spec = (
21460
    None, # 0
21461
    (1, TType.I64, 'catalog_item_id', None, None, ), # 1
21462
  )
21463
 
21464
  def __init__(self, catalog_item_id=None,):
21465
    self.catalog_item_id = catalog_item_id
21466
 
21467
  def read(self, iprot):
21468
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
21469
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
21470
      return
21471
    iprot.readStructBegin()
21472
    while True:
21473
      (fname, ftype, fid) = iprot.readFieldBegin()
21474
      if ftype == TType.STOP:
21475
        break
21476
      if fid == 1:
21477
        if ftype == TType.I64:
21478
          self.catalog_item_id = iprot.readI64();
21479
        else:
21480
          iprot.skip(ftype)
21481
      else:
21482
        iprot.skip(ftype)
21483
      iprot.readFieldEnd()
21484
    iprot.readStructEnd()
21485
 
21486
  def write(self, oprot):
21487
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
21488
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
21489
      return
21490
    oprot.writeStructBegin('isValidCatalogItemId_args')
21491
    if self.catalog_item_id is not None:
21492
      oprot.writeFieldBegin('catalog_item_id', TType.I64, 1)
21493
      oprot.writeI64(self.catalog_item_id)
21494
      oprot.writeFieldEnd()
21495
    oprot.writeFieldStop()
21496
    oprot.writeStructEnd()
21497
 
21498
  def validate(self):
21499
    return
21500
 
21501
 
21502
  def __repr__(self):
21503
    L = ['%s=%r' % (key, value)
21504
      for key, value in self.__dict__.iteritems()]
21505
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
21506
 
21507
  def __eq__(self, other):
21508
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
21509
 
21510
  def __ne__(self, other):
21511
    return not (self == other)
21512
 
21513
class isValidCatalogItemId_result:
21514
  """
21515
  Attributes:
21516
   - success
21517
  """
21518
 
21519
  thrift_spec = (
21520
    (0, TType.BOOL, 'success', None, None, ), # 0
21521
  )
21522
 
21523
  def __init__(self, success=None,):
21524
    self.success = success
21525
 
21526
  def read(self, iprot):
21527
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
21528
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
21529
      return
21530
    iprot.readStructBegin()
21531
    while True:
21532
      (fname, ftype, fid) = iprot.readFieldBegin()
21533
      if ftype == TType.STOP:
21534
        break
21535
      if fid == 0:
21536
        if ftype == TType.BOOL:
21537
          self.success = iprot.readBool();
21538
        else:
21539
          iprot.skip(ftype)
21540
      else:
21541
        iprot.skip(ftype)
21542
      iprot.readFieldEnd()
21543
    iprot.readStructEnd()
21544
 
21545
  def write(self, oprot):
21546
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
21547
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
21548
      return
21549
    oprot.writeStructBegin('isValidCatalogItemId_result')
21550
    if self.success is not None:
21551
      oprot.writeFieldBegin('success', TType.BOOL, 0)
21552
      oprot.writeBool(self.success)
21553
      oprot.writeFieldEnd()
21554
    oprot.writeFieldStop()
21555
    oprot.writeStructEnd()
21556
 
21557
  def validate(self):
21558
    return
21559
 
21560
 
21561
  def __repr__(self):
21562
    L = ['%s=%r' % (key, value)
21563
      for key, value in self.__dict__.iteritems()]
21564
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
21565
 
21566
  def __eq__(self, other):
21567
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
21568
 
21569
  def __ne__(self, other):
21570
    return not (self == other)
6039 amit.gupta 21571
 
21572
class getVatPercentageForItem_args:
21573
  """
21574
  Attributes:
21575
   - itemId
7330 amit.gupta 21576
   - stateId
6039 amit.gupta 21577
   - price
21578
  """
21579
 
21580
  thrift_spec = (
21581
    None, # 0
21582
    (1, TType.I64, 'itemId', None, None, ), # 1
7330 amit.gupta 21583
    (2, TType.I64, 'stateId', None, None, ), # 2
21584
    (3, TType.DOUBLE, 'price', None, None, ), # 3
6039 amit.gupta 21585
  )
21586
 
7330 amit.gupta 21587
  def __init__(self, itemId=None, stateId=None, price=None,):
6039 amit.gupta 21588
    self.itemId = itemId
7330 amit.gupta 21589
    self.stateId = stateId
6039 amit.gupta 21590
    self.price = price
21591
 
21592
  def read(self, iprot):
21593
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
21594
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
21595
      return
21596
    iprot.readStructBegin()
21597
    while True:
21598
      (fname, ftype, fid) = iprot.readFieldBegin()
21599
      if ftype == TType.STOP:
21600
        break
21601
      if fid == 1:
21602
        if ftype == TType.I64:
21603
          self.itemId = iprot.readI64();
21604
        else:
21605
          iprot.skip(ftype)
21606
      elif fid == 2:
7330 amit.gupta 21607
        if ftype == TType.I64:
21608
          self.stateId = iprot.readI64();
21609
        else:
21610
          iprot.skip(ftype)
21611
      elif fid == 3:
6039 amit.gupta 21612
        if ftype == TType.DOUBLE:
21613
          self.price = iprot.readDouble();
21614
        else:
21615
          iprot.skip(ftype)
21616
      else:
21617
        iprot.skip(ftype)
21618
      iprot.readFieldEnd()
21619
    iprot.readStructEnd()
21620
 
21621
  def write(self, oprot):
21622
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
21623
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
21624
      return
21625
    oprot.writeStructBegin('getVatPercentageForItem_args')
21626
    if self.itemId is not None:
21627
      oprot.writeFieldBegin('itemId', TType.I64, 1)
21628
      oprot.writeI64(self.itemId)
21629
      oprot.writeFieldEnd()
7330 amit.gupta 21630
    if self.stateId is not None:
21631
      oprot.writeFieldBegin('stateId', TType.I64, 2)
21632
      oprot.writeI64(self.stateId)
21633
      oprot.writeFieldEnd()
6039 amit.gupta 21634
    if self.price is not None:
7330 amit.gupta 21635
      oprot.writeFieldBegin('price', TType.DOUBLE, 3)
6039 amit.gupta 21636
      oprot.writeDouble(self.price)
21637
      oprot.writeFieldEnd()
21638
    oprot.writeFieldStop()
21639
    oprot.writeStructEnd()
21640
 
21641
  def validate(self):
21642
    return
21643
 
21644
 
21645
  def __repr__(self):
21646
    L = ['%s=%r' % (key, value)
21647
      for key, value in self.__dict__.iteritems()]
21648
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
21649
 
21650
  def __eq__(self, other):
21651
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
21652
 
21653
  def __ne__(self, other):
21654
    return not (self == other)
21655
 
21656
class getVatPercentageForItem_result:
21657
  """
21658
  Attributes:
21659
   - success
7340 amit.gupta 21660
   - cex
6039 amit.gupta 21661
  """
21662
 
21663
  thrift_spec = (
21664
    (0, TType.DOUBLE, 'success', None, None, ), # 0
7340 amit.gupta 21665
    (1, TType.STRUCT, 'cex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
6039 amit.gupta 21666
  )
21667
 
7340 amit.gupta 21668
  def __init__(self, success=None, cex=None,):
6039 amit.gupta 21669
    self.success = success
7340 amit.gupta 21670
    self.cex = cex
6039 amit.gupta 21671
 
21672
  def read(self, iprot):
21673
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
21674
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
21675
      return
21676
    iprot.readStructBegin()
21677
    while True:
21678
      (fname, ftype, fid) = iprot.readFieldBegin()
21679
      if ftype == TType.STOP:
21680
        break
21681
      if fid == 0:
21682
        if ftype == TType.DOUBLE:
21683
          self.success = iprot.readDouble();
21684
        else:
21685
          iprot.skip(ftype)
7340 amit.gupta 21686
      elif fid == 1:
21687
        if ftype == TType.STRUCT:
21688
          self.cex = CatalogServiceException()
21689
          self.cex.read(iprot)
21690
        else:
21691
          iprot.skip(ftype)
6039 amit.gupta 21692
      else:
21693
        iprot.skip(ftype)
21694
      iprot.readFieldEnd()
21695
    iprot.readStructEnd()
21696
 
21697
  def write(self, oprot):
21698
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
21699
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
21700
      return
21701
    oprot.writeStructBegin('getVatPercentageForItem_result')
21702
    if self.success is not None:
21703
      oprot.writeFieldBegin('success', TType.DOUBLE, 0)
21704
      oprot.writeDouble(self.success)
21705
      oprot.writeFieldEnd()
7340 amit.gupta 21706
    if self.cex is not None:
21707
      oprot.writeFieldBegin('cex', TType.STRUCT, 1)
21708
      self.cex.write(oprot)
21709
      oprot.writeFieldEnd()
6039 amit.gupta 21710
    oprot.writeFieldStop()
21711
    oprot.writeStructEnd()
21712
 
21713
  def validate(self):
21714
    return
21715
 
21716
 
21717
  def __repr__(self):
21718
    L = ['%s=%r' % (key, value)
21719
      for key, value in self.__dict__.iteritems()]
21720
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
21721
 
21722
  def __eq__(self, other):
21723
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
21724
 
21725
  def __ne__(self, other):
21726
    return not (self == other)
21727
 
21728
class getVatAmountForItem_args:
21729
  """
21730
  Attributes:
21731
   - itemId
21732
   - price
21733
  """
21734
 
21735
  thrift_spec = (
21736
    None, # 0
21737
    (1, TType.I64, 'itemId', None, None, ), # 1
21738
    (2, TType.DOUBLE, 'price', None, None, ), # 2
21739
  )
21740
 
21741
  def __init__(self, itemId=None, price=None,):
21742
    self.itemId = itemId
21743
    self.price = price
21744
 
21745
  def read(self, iprot):
21746
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
21747
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
21748
      return
21749
    iprot.readStructBegin()
21750
    while True:
21751
      (fname, ftype, fid) = iprot.readFieldBegin()
21752
      if ftype == TType.STOP:
21753
        break
21754
      if fid == 1:
21755
        if ftype == TType.I64:
21756
          self.itemId = iprot.readI64();
21757
        else:
21758
          iprot.skip(ftype)
21759
      elif fid == 2:
21760
        if ftype == TType.DOUBLE:
21761
          self.price = iprot.readDouble();
21762
        else:
21763
          iprot.skip(ftype)
21764
      else:
21765
        iprot.skip(ftype)
21766
      iprot.readFieldEnd()
21767
    iprot.readStructEnd()
21768
 
21769
  def write(self, oprot):
21770
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
21771
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
21772
      return
21773
    oprot.writeStructBegin('getVatAmountForItem_args')
21774
    if self.itemId is not None:
21775
      oprot.writeFieldBegin('itemId', TType.I64, 1)
21776
      oprot.writeI64(self.itemId)
21777
      oprot.writeFieldEnd()
21778
    if self.price is not None:
21779
      oprot.writeFieldBegin('price', TType.DOUBLE, 2)
21780
      oprot.writeDouble(self.price)
21781
      oprot.writeFieldEnd()
21782
    oprot.writeFieldStop()
21783
    oprot.writeStructEnd()
21784
 
21785
  def validate(self):
21786
    return
21787
 
21788
 
21789
  def __repr__(self):
21790
    L = ['%s=%r' % (key, value)
21791
      for key, value in self.__dict__.iteritems()]
21792
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
21793
 
21794
  def __eq__(self, other):
21795
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
21796
 
21797
  def __ne__(self, other):
21798
    return not (self == other)
21799
 
21800
class getVatAmountForItem_result:
21801
  """
21802
  Attributes:
21803
   - success
21804
  """
21805
 
21806
  thrift_spec = (
21807
    (0, TType.DOUBLE, 'success', None, None, ), # 0
21808
  )
21809
 
21810
  def __init__(self, success=None,):
21811
    self.success = success
21812
 
21813
  def read(self, iprot):
21814
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
21815
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
21816
      return
21817
    iprot.readStructBegin()
21818
    while True:
21819
      (fname, ftype, fid) = iprot.readFieldBegin()
21820
      if ftype == TType.STOP:
21821
        break
21822
      if fid == 0:
21823
        if ftype == TType.DOUBLE:
21824
          self.success = iprot.readDouble();
21825
        else:
21826
          iprot.skip(ftype)
21827
      else:
21828
        iprot.skip(ftype)
21829
      iprot.readFieldEnd()
21830
    iprot.readStructEnd()
21831
 
21832
  def write(self, oprot):
21833
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
21834
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
21835
      return
21836
    oprot.writeStructBegin('getVatAmountForItem_result')
21837
    if self.success is not None:
21838
      oprot.writeFieldBegin('success', TType.DOUBLE, 0)
21839
      oprot.writeDouble(self.success)
21840
      oprot.writeFieldEnd()
21841
    oprot.writeFieldStop()
21842
    oprot.writeStructEnd()
21843
 
21844
  def validate(self):
21845
    return
21846
 
21847
 
21848
  def __repr__(self):
21849
    L = ['%s=%r' % (key, value)
21850
      for key, value in self.__dict__.iteritems()]
21851
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
21852
 
21853
  def __eq__(self, other):
21854
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
21855
 
21856
  def __ne__(self, other):
21857
    return not (self == other)
6531 vikram.rag 21858
 
21859
class getAllIgnoredInventoryUpdateItemsList_args:
21860
  """
21861
  Attributes:
21862
   - offset
21863
   - limit
21864
  """
21865
 
21866
  thrift_spec = (
21867
    None, # 0
21868
    (1, TType.I32, 'offset', None, None, ), # 1
21869
    (2, TType.I32, 'limit', None, None, ), # 2
21870
  )
21871
 
21872
  def __init__(self, offset=None, limit=None,):
21873
    self.offset = offset
21874
    self.limit = limit
21875
 
21876
  def read(self, iprot):
21877
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
21878
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
21879
      return
21880
    iprot.readStructBegin()
21881
    while True:
21882
      (fname, ftype, fid) = iprot.readFieldBegin()
21883
      if ftype == TType.STOP:
21884
        break
21885
      if fid == 1:
21886
        if ftype == TType.I32:
21887
          self.offset = iprot.readI32();
21888
        else:
21889
          iprot.skip(ftype)
21890
      elif fid == 2:
21891
        if ftype == TType.I32:
21892
          self.limit = iprot.readI32();
21893
        else:
21894
          iprot.skip(ftype)
21895
      else:
21896
        iprot.skip(ftype)
21897
      iprot.readFieldEnd()
21898
    iprot.readStructEnd()
21899
 
21900
  def write(self, oprot):
21901
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
21902
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
21903
      return
21904
    oprot.writeStructBegin('getAllIgnoredInventoryUpdateItemsList_args')
21905
    if self.offset is not None:
21906
      oprot.writeFieldBegin('offset', TType.I32, 1)
21907
      oprot.writeI32(self.offset)
21908
      oprot.writeFieldEnd()
21909
    if self.limit is not None:
21910
      oprot.writeFieldBegin('limit', TType.I32, 2)
21911
      oprot.writeI32(self.limit)
21912
      oprot.writeFieldEnd()
21913
    oprot.writeFieldStop()
21914
    oprot.writeStructEnd()
21915
 
21916
  def validate(self):
21917
    return
21918
 
21919
 
21920
  def __repr__(self):
21921
    L = ['%s=%r' % (key, value)
21922
      for key, value in self.__dict__.iteritems()]
21923
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
21924
 
21925
  def __eq__(self, other):
21926
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
21927
 
21928
  def __ne__(self, other):
21929
    return not (self == other)
21930
 
21931
class getAllIgnoredInventoryUpdateItemsList_result:
21932
  """
21933
  Attributes:
21934
   - success
21935
  """
21936
 
21937
  thrift_spec = (
21938
    (0, TType.LIST, 'success', (TType.STRUCT,(Item, Item.thrift_spec)), None, ), # 0
21939
  )
21940
 
21941
  def __init__(self, success=None,):
21942
    self.success = success
21943
 
21944
  def read(self, iprot):
21945
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
21946
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
21947
      return
21948
    iprot.readStructBegin()
21949
    while True:
21950
      (fname, ftype, fid) = iprot.readFieldBegin()
21951
      if ftype == TType.STOP:
21952
        break
21953
      if fid == 0:
21954
        if ftype == TType.LIST:
21955
          self.success = []
21838 amit.gupta 21956
          (_etype413, _size410) = iprot.readListBegin()
21957
          for _i414 in xrange(_size410):
21958
            _elem415 = Item()
21959
            _elem415.read(iprot)
21960
            self.success.append(_elem415)
6531 vikram.rag 21961
          iprot.readListEnd()
21962
        else:
21963
          iprot.skip(ftype)
21964
      else:
21965
        iprot.skip(ftype)
21966
      iprot.readFieldEnd()
21967
    iprot.readStructEnd()
21968
 
21969
  def write(self, oprot):
21970
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
21971
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
21972
      return
21973
    oprot.writeStructBegin('getAllIgnoredInventoryUpdateItemsList_result')
21974
    if self.success is not None:
21975
      oprot.writeFieldBegin('success', TType.LIST, 0)
21976
      oprot.writeListBegin(TType.STRUCT, len(self.success))
21838 amit.gupta 21977
      for iter416 in self.success:
21978
        iter416.write(oprot)
6531 vikram.rag 21979
      oprot.writeListEnd()
21980
      oprot.writeFieldEnd()
21981
    oprot.writeFieldStop()
21982
    oprot.writeStructEnd()
21983
 
21984
  def validate(self):
21985
    return
21986
 
21987
 
21988
  def __repr__(self):
21989
    L = ['%s=%r' % (key, value)
21990
      for key, value in self.__dict__.iteritems()]
21991
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
21992
 
21993
  def __eq__(self, other):
21994
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
21995
 
21996
  def __ne__(self, other):
21997
    return not (self == other)
6805 anupam.sin 21998
 
6821 amar.kumar 21999
class getAllAliveItems_args:
22000
 
22001
  thrift_spec = (
22002
  )
22003
 
22004
  def read(self, iprot):
22005
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
22006
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
22007
      return
22008
    iprot.readStructBegin()
22009
    while True:
22010
      (fname, ftype, fid) = iprot.readFieldBegin()
22011
      if ftype == TType.STOP:
22012
        break
22013
      else:
22014
        iprot.skip(ftype)
22015
      iprot.readFieldEnd()
22016
    iprot.readStructEnd()
22017
 
22018
  def write(self, oprot):
22019
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
22020
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
22021
      return
22022
    oprot.writeStructBegin('getAllAliveItems_args')
22023
    oprot.writeFieldStop()
22024
    oprot.writeStructEnd()
22025
 
22026
  def validate(self):
22027
    return
22028
 
22029
 
22030
  def __repr__(self):
22031
    L = ['%s=%r' % (key, value)
22032
      for key, value in self.__dict__.iteritems()]
22033
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
22034
 
22035
  def __eq__(self, other):
22036
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
22037
 
22038
  def __ne__(self, other):
22039
    return not (self == other)
22040
 
22041
class getAllAliveItems_result:
22042
  """
22043
  Attributes:
22044
   - success
22045
  """
22046
 
22047
  thrift_spec = (
22048
    (0, TType.LIST, 'success', (TType.STRUCT,(Item, Item.thrift_spec)), None, ), # 0
22049
  )
22050
 
22051
  def __init__(self, success=None,):
22052
    self.success = success
22053
 
22054
  def read(self, iprot):
22055
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
22056
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
22057
      return
22058
    iprot.readStructBegin()
22059
    while True:
22060
      (fname, ftype, fid) = iprot.readFieldBegin()
22061
      if ftype == TType.STOP:
22062
        break
22063
      if fid == 0:
22064
        if ftype == TType.LIST:
22065
          self.success = []
21838 amit.gupta 22066
          (_etype420, _size417) = iprot.readListBegin()
22067
          for _i421 in xrange(_size417):
22068
            _elem422 = Item()
22069
            _elem422.read(iprot)
22070
            self.success.append(_elem422)
6821 amar.kumar 22071
          iprot.readListEnd()
22072
        else:
22073
          iprot.skip(ftype)
22074
      else:
22075
        iprot.skip(ftype)
22076
      iprot.readFieldEnd()
22077
    iprot.readStructEnd()
22078
 
22079
  def write(self, oprot):
22080
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
22081
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
22082
      return
22083
    oprot.writeStructBegin('getAllAliveItems_result')
22084
    if self.success is not None:
22085
      oprot.writeFieldBegin('success', TType.LIST, 0)
22086
      oprot.writeListBegin(TType.STRUCT, len(self.success))
21838 amit.gupta 22087
      for iter423 in self.success:
22088
        iter423.write(oprot)
6821 amar.kumar 22089
      oprot.writeListEnd()
22090
      oprot.writeFieldEnd()
22091
    oprot.writeFieldStop()
22092
    oprot.writeStructEnd()
22093
 
22094
  def validate(self):
22095
    return
22096
 
22097
 
22098
  def __repr__(self):
22099
    L = ['%s=%r' % (key, value)
22100
      for key, value in self.__dict__.iteritems()]
22101
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
22102
 
22103
  def __eq__(self, other):
22104
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
22105
 
22106
  def __ne__(self, other):
22107
    return not (self == other)
22108
 
6805 anupam.sin 22109
class getInsuranceAmount_args:
22110
  """
22111
  Attributes:
22112
   - itemId
6921 anupam.sin 22113
   - price
6805 anupam.sin 22114
   - insurerId
22115
   - quantity
22116
  """
22117
 
22118
  thrift_spec = (
22119
    None, # 0
22120
    (1, TType.I64, 'itemId', None, None, ), # 1
6921 anupam.sin 22121
    (2, TType.DOUBLE, 'price', None, None, ), # 2
22122
    (3, TType.I64, 'insurerId', None, None, ), # 3
22123
    (4, TType.I64, 'quantity', None, None, ), # 4
6805 anupam.sin 22124
  )
22125
 
6921 anupam.sin 22126
  def __init__(self, itemId=None, price=None, insurerId=None, quantity=None,):
6805 anupam.sin 22127
    self.itemId = itemId
6921 anupam.sin 22128
    self.price = price
6805 anupam.sin 22129
    self.insurerId = insurerId
22130
    self.quantity = quantity
22131
 
22132
  def read(self, iprot):
22133
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
22134
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
22135
      return
22136
    iprot.readStructBegin()
22137
    while True:
22138
      (fname, ftype, fid) = iprot.readFieldBegin()
22139
      if ftype == TType.STOP:
22140
        break
22141
      if fid == 1:
22142
        if ftype == TType.I64:
22143
          self.itemId = iprot.readI64();
22144
        else:
22145
          iprot.skip(ftype)
22146
      elif fid == 2:
6921 anupam.sin 22147
        if ftype == TType.DOUBLE:
22148
          self.price = iprot.readDouble();
22149
        else:
22150
          iprot.skip(ftype)
22151
      elif fid == 3:
6805 anupam.sin 22152
        if ftype == TType.I64:
22153
          self.insurerId = iprot.readI64();
22154
        else:
22155
          iprot.skip(ftype)
6921 anupam.sin 22156
      elif fid == 4:
6805 anupam.sin 22157
        if ftype == TType.I64:
22158
          self.quantity = iprot.readI64();
22159
        else:
22160
          iprot.skip(ftype)
22161
      else:
22162
        iprot.skip(ftype)
22163
      iprot.readFieldEnd()
22164
    iprot.readStructEnd()
22165
 
22166
  def write(self, oprot):
22167
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
22168
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
22169
      return
22170
    oprot.writeStructBegin('getInsuranceAmount_args')
22171
    if self.itemId is not None:
22172
      oprot.writeFieldBegin('itemId', TType.I64, 1)
22173
      oprot.writeI64(self.itemId)
22174
      oprot.writeFieldEnd()
6921 anupam.sin 22175
    if self.price is not None:
22176
      oprot.writeFieldBegin('price', TType.DOUBLE, 2)
22177
      oprot.writeDouble(self.price)
22178
      oprot.writeFieldEnd()
6805 anupam.sin 22179
    if self.insurerId is not None:
6921 anupam.sin 22180
      oprot.writeFieldBegin('insurerId', TType.I64, 3)
6805 anupam.sin 22181
      oprot.writeI64(self.insurerId)
22182
      oprot.writeFieldEnd()
22183
    if self.quantity is not None:
6921 anupam.sin 22184
      oprot.writeFieldBegin('quantity', TType.I64, 4)
6805 anupam.sin 22185
      oprot.writeI64(self.quantity)
22186
      oprot.writeFieldEnd()
22187
    oprot.writeFieldStop()
22188
    oprot.writeStructEnd()
22189
 
22190
  def validate(self):
22191
    return
22192
 
22193
 
22194
  def __repr__(self):
22195
    L = ['%s=%r' % (key, value)
22196
      for key, value in self.__dict__.iteritems()]
22197
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
22198
 
22199
  def __eq__(self, other):
22200
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
22201
 
22202
  def __ne__(self, other):
22203
    return not (self == other)
22204
 
22205
class getInsuranceAmount_result:
22206
  """
22207
  Attributes:
22208
   - success
22209
  """
22210
 
22211
  thrift_spec = (
22212
    (0, TType.I64, 'success', None, None, ), # 0
22213
  )
22214
 
22215
  def __init__(self, success=None,):
22216
    self.success = success
22217
 
22218
  def read(self, iprot):
22219
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
22220
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
22221
      return
22222
    iprot.readStructBegin()
22223
    while True:
22224
      (fname, ftype, fid) = iprot.readFieldBegin()
22225
      if ftype == TType.STOP:
22226
        break
22227
      if fid == 0:
22228
        if ftype == TType.I64:
22229
          self.success = iprot.readI64();
22230
        else:
22231
          iprot.skip(ftype)
22232
      else:
22233
        iprot.skip(ftype)
22234
      iprot.readFieldEnd()
22235
    iprot.readStructEnd()
22236
 
22237
  def write(self, oprot):
22238
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
22239
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
22240
      return
22241
    oprot.writeStructBegin('getInsuranceAmount_result')
22242
    if self.success is not None:
22243
      oprot.writeFieldBegin('success', TType.I64, 0)
22244
      oprot.writeI64(self.success)
22245
      oprot.writeFieldEnd()
22246
    oprot.writeFieldStop()
22247
    oprot.writeStructEnd()
22248
 
22249
  def validate(self):
22250
    return
22251
 
22252
 
22253
  def __repr__(self):
22254
    L = ['%s=%r' % (key, value)
22255
      for key, value in self.__dict__.iteritems()]
22256
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
22257
 
22258
  def __eq__(self, other):
22259
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
22260
 
22261
  def __ne__(self, other):
22262
    return not (self == other)
22263
 
22264
class getInsurer_args:
22265
  """
22266
  Attributes:
22267
   - insurerId
22268
  """
22269
 
22270
  thrift_spec = (
22271
    None, # 0
22272
    (1, TType.I64, 'insurerId', None, None, ), # 1
22273
  )
22274
 
22275
  def __init__(self, insurerId=None,):
22276
    self.insurerId = insurerId
22277
 
22278
  def read(self, iprot):
22279
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
22280
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
22281
      return
22282
    iprot.readStructBegin()
22283
    while True:
22284
      (fname, ftype, fid) = iprot.readFieldBegin()
22285
      if ftype == TType.STOP:
22286
        break
22287
      if fid == 1:
22288
        if ftype == TType.I64:
22289
          self.insurerId = iprot.readI64();
22290
        else:
22291
          iprot.skip(ftype)
22292
      else:
22293
        iprot.skip(ftype)
22294
      iprot.readFieldEnd()
22295
    iprot.readStructEnd()
22296
 
22297
  def write(self, oprot):
22298
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
22299
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
22300
      return
22301
    oprot.writeStructBegin('getInsurer_args')
22302
    if self.insurerId is not None:
22303
      oprot.writeFieldBegin('insurerId', TType.I64, 1)
22304
      oprot.writeI64(self.insurerId)
22305
      oprot.writeFieldEnd()
22306
    oprot.writeFieldStop()
22307
    oprot.writeStructEnd()
22308
 
22309
  def validate(self):
22310
    return
22311
 
22312
 
22313
  def __repr__(self):
22314
    L = ['%s=%r' % (key, value)
22315
      for key, value in self.__dict__.iteritems()]
22316
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
22317
 
22318
  def __eq__(self, other):
22319
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
22320
 
22321
  def __ne__(self, other):
22322
    return not (self == other)
22323
 
22324
class getInsurer_result:
22325
  """
22326
  Attributes:
22327
   - success
22328
  """
22329
 
22330
  thrift_spec = (
22331
    (0, TType.STRUCT, 'success', (Insurer, Insurer.thrift_spec), None, ), # 0
22332
  )
22333
 
22334
  def __init__(self, success=None,):
22335
    self.success = success
22336
 
22337
  def read(self, iprot):
22338
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
22339
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
22340
      return
22341
    iprot.readStructBegin()
22342
    while True:
22343
      (fname, ftype, fid) = iprot.readFieldBegin()
22344
      if ftype == TType.STOP:
22345
        break
22346
      if fid == 0:
22347
        if ftype == TType.STRUCT:
22348
          self.success = Insurer()
22349
          self.success.read(iprot)
22350
        else:
22351
          iprot.skip(ftype)
22352
      else:
22353
        iprot.skip(ftype)
22354
      iprot.readFieldEnd()
22355
    iprot.readStructEnd()
22356
 
22357
  def write(self, oprot):
22358
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
22359
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
22360
      return
22361
    oprot.writeStructBegin('getInsurer_result')
22362
    if self.success is not None:
22363
      oprot.writeFieldBegin('success', TType.STRUCT, 0)
22364
      self.success.write(oprot)
22365
      oprot.writeFieldEnd()
22366
    oprot.writeFieldStop()
22367
    oprot.writeStructEnd()
22368
 
22369
  def validate(self):
22370
    return
22371
 
22372
 
22373
  def __repr__(self):
22374
    L = ['%s=%r' % (key, value)
22375
      for key, value in self.__dict__.iteritems()]
22376
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
22377
 
22378
  def __eq__(self, other):
22379
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
22380
 
22381
  def __ne__(self, other):
22382
    return not (self == other)
6838 vikram.rag 22383
 
22384
class getAllInsurers_args:
22385
 
22386
  thrift_spec = (
22387
  )
22388
 
22389
  def read(self, iprot):
22390
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
22391
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
22392
      return
22393
    iprot.readStructBegin()
22394
    while True:
22395
      (fname, ftype, fid) = iprot.readFieldBegin()
22396
      if ftype == TType.STOP:
22397
        break
22398
      else:
22399
        iprot.skip(ftype)
22400
      iprot.readFieldEnd()
22401
    iprot.readStructEnd()
22402
 
22403
  def write(self, oprot):
22404
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
22405
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
22406
      return
22407
    oprot.writeStructBegin('getAllInsurers_args')
22408
    oprot.writeFieldStop()
22409
    oprot.writeStructEnd()
22410
 
22411
  def validate(self):
22412
    return
22413
 
22414
 
22415
  def __repr__(self):
22416
    L = ['%s=%r' % (key, value)
22417
      for key, value in self.__dict__.iteritems()]
22418
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
22419
 
22420
  def __eq__(self, other):
22421
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
22422
 
22423
  def __ne__(self, other):
22424
    return not (self == other)
22425
 
22426
class getAllInsurers_result:
22427
  """
22428
  Attributes:
22429
   - success
22430
  """
22431
 
22432
  thrift_spec = (
22433
    (0, TType.LIST, 'success', (TType.STRUCT,(Insurer, Insurer.thrift_spec)), None, ), # 0
22434
  )
22435
 
22436
  def __init__(self, success=None,):
22437
    self.success = success
22438
 
22439
  def read(self, iprot):
22440
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
22441
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
22442
      return
22443
    iprot.readStructBegin()
22444
    while True:
22445
      (fname, ftype, fid) = iprot.readFieldBegin()
22446
      if ftype == TType.STOP:
22447
        break
22448
      if fid == 0:
22449
        if ftype == TType.LIST:
22450
          self.success = []
21838 amit.gupta 22451
          (_etype427, _size424) = iprot.readListBegin()
22452
          for _i428 in xrange(_size424):
22453
            _elem429 = Insurer()
22454
            _elem429.read(iprot)
22455
            self.success.append(_elem429)
6838 vikram.rag 22456
          iprot.readListEnd()
22457
        else:
22458
          iprot.skip(ftype)
22459
      else:
22460
        iprot.skip(ftype)
22461
      iprot.readFieldEnd()
22462
    iprot.readStructEnd()
22463
 
22464
  def write(self, oprot):
22465
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
22466
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
22467
      return
22468
    oprot.writeStructBegin('getAllInsurers_result')
22469
    if self.success is not None:
22470
      oprot.writeFieldBegin('success', TType.LIST, 0)
22471
      oprot.writeListBegin(TType.STRUCT, len(self.success))
21838 amit.gupta 22472
      for iter430 in self.success:
22473
        iter430.write(oprot)
6838 vikram.rag 22474
      oprot.writeListEnd()
22475
      oprot.writeFieldEnd()
22476
    oprot.writeFieldStop()
22477
    oprot.writeStructEnd()
22478
 
22479
  def validate(self):
22480
    return
22481
 
22482
 
22483
  def __repr__(self):
22484
    L = ['%s=%r' % (key, value)
22485
      for key, value in self.__dict__.iteritems()]
22486
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
22487
 
22488
  def __eq__(self, other):
22489
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
22490
 
22491
  def __ne__(self, other):
22492
    return not (self == other)
6962 rajveer 22493
 
22494
class updateInsuranceDeclaredAmount_args:
22495
  """
22496
  Attributes:
22497
   - insurerId
22498
   - amount
22499
  """
22500
 
22501
  thrift_spec = (
22502
    None, # 0
22503
    (1, TType.I64, 'insurerId', None, None, ), # 1
22504
    (2, TType.DOUBLE, 'amount', None, None, ), # 2
22505
  )
22506
 
22507
  def __init__(self, insurerId=None, amount=None,):
22508
    self.insurerId = insurerId
22509
    self.amount = amount
22510
 
22511
  def read(self, iprot):
22512
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
22513
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
22514
      return
22515
    iprot.readStructBegin()
22516
    while True:
22517
      (fname, ftype, fid) = iprot.readFieldBegin()
22518
      if ftype == TType.STOP:
22519
        break
22520
      if fid == 1:
22521
        if ftype == TType.I64:
22522
          self.insurerId = iprot.readI64();
22523
        else:
22524
          iprot.skip(ftype)
22525
      elif fid == 2:
22526
        if ftype == TType.DOUBLE:
22527
          self.amount = iprot.readDouble();
22528
        else:
22529
          iprot.skip(ftype)
22530
      else:
22531
        iprot.skip(ftype)
22532
      iprot.readFieldEnd()
22533
    iprot.readStructEnd()
22534
 
22535
  def write(self, oprot):
22536
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
22537
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
22538
      return
22539
    oprot.writeStructBegin('updateInsuranceDeclaredAmount_args')
22540
    if self.insurerId is not None:
22541
      oprot.writeFieldBegin('insurerId', TType.I64, 1)
22542
      oprot.writeI64(self.insurerId)
22543
      oprot.writeFieldEnd()
22544
    if self.amount is not None:
22545
      oprot.writeFieldBegin('amount', TType.DOUBLE, 2)
22546
      oprot.writeDouble(self.amount)
22547
      oprot.writeFieldEnd()
22548
    oprot.writeFieldStop()
22549
    oprot.writeStructEnd()
22550
 
22551
  def validate(self):
22552
    return
22553
 
22554
 
22555
  def __repr__(self):
22556
    L = ['%s=%r' % (key, value)
22557
      for key, value in self.__dict__.iteritems()]
22558
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
22559
 
22560
  def __eq__(self, other):
22561
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
22562
 
22563
  def __ne__(self, other):
22564
    return not (self == other)
22565
 
22566
class updateInsuranceDeclaredAmount_result:
22567
 
22568
  thrift_spec = (
22569
  )
22570
 
22571
  def read(self, iprot):
22572
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
22573
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
22574
      return
22575
    iprot.readStructBegin()
22576
    while True:
22577
      (fname, ftype, fid) = iprot.readFieldBegin()
22578
      if ftype == TType.STOP:
22579
        break
22580
      else:
22581
        iprot.skip(ftype)
22582
      iprot.readFieldEnd()
22583
    iprot.readStructEnd()
22584
 
22585
  def write(self, oprot):
22586
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
22587
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
22588
      return
22589
    oprot.writeStructBegin('updateInsuranceDeclaredAmount_result')
22590
    oprot.writeFieldStop()
22591
    oprot.writeStructEnd()
22592
 
22593
  def validate(self):
22594
    return
22595
 
22596
 
22597
  def __repr__(self):
22598
    L = ['%s=%r' % (key, value)
22599
      for key, value in self.__dict__.iteritems()]
22600
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
22601
 
22602
  def __eq__(self, other):
22603
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
22604
 
22605
  def __ne__(self, other):
22606
    return not (self == other)
7190 amar.kumar 22607
 
22608
class getFreebieForItem_args:
22609
  """
22610
  Attributes:
22611
   - itemId
22612
  """
22613
 
22614
  thrift_spec = (
22615
    None, # 0
22616
    (1, TType.I64, 'itemId', None, None, ), # 1
22617
  )
22618
 
22619
  def __init__(self, itemId=None,):
22620
    self.itemId = itemId
22621
 
22622
  def read(self, iprot):
22623
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
22624
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
22625
      return
22626
    iprot.readStructBegin()
22627
    while True:
22628
      (fname, ftype, fid) = iprot.readFieldBegin()
22629
      if ftype == TType.STOP:
22630
        break
22631
      if fid == 1:
22632
        if ftype == TType.I64:
22633
          self.itemId = iprot.readI64();
22634
        else:
22635
          iprot.skip(ftype)
22636
      else:
22637
        iprot.skip(ftype)
22638
      iprot.readFieldEnd()
22639
    iprot.readStructEnd()
22640
 
22641
  def write(self, oprot):
22642
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
22643
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
22644
      return
22645
    oprot.writeStructBegin('getFreebieForItem_args')
22646
    if self.itemId is not None:
22647
      oprot.writeFieldBegin('itemId', TType.I64, 1)
22648
      oprot.writeI64(self.itemId)
22649
      oprot.writeFieldEnd()
22650
    oprot.writeFieldStop()
22651
    oprot.writeStructEnd()
22652
 
22653
  def validate(self):
22654
    return
22655
 
22656
 
22657
  def __repr__(self):
22658
    L = ['%s=%r' % (key, value)
22659
      for key, value in self.__dict__.iteritems()]
22660
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
22661
 
22662
  def __eq__(self, other):
22663
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
22664
 
22665
  def __ne__(self, other):
22666
    return not (self == other)
22667
 
22668
class getFreebieForItem_result:
22669
  """
22670
  Attributes:
22671
   - success
22672
  """
22673
 
22674
  thrift_spec = (
22675
    (0, TType.I64, 'success', None, None, ), # 0
22676
  )
22677
 
22678
  def __init__(self, success=None,):
22679
    self.success = success
22680
 
22681
  def read(self, iprot):
22682
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
22683
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
22684
      return
22685
    iprot.readStructBegin()
22686
    while True:
22687
      (fname, ftype, fid) = iprot.readFieldBegin()
22688
      if ftype == TType.STOP:
22689
        break
22690
      if fid == 0:
22691
        if ftype == TType.I64:
22692
          self.success = iprot.readI64();
22693
        else:
22694
          iprot.skip(ftype)
22695
      else:
22696
        iprot.skip(ftype)
22697
      iprot.readFieldEnd()
22698
    iprot.readStructEnd()
22699
 
22700
  def write(self, oprot):
22701
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
22702
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
22703
      return
22704
    oprot.writeStructBegin('getFreebieForItem_result')
22705
    if self.success is not None:
22706
      oprot.writeFieldBegin('success', TType.I64, 0)
22707
      oprot.writeI64(self.success)
22708
      oprot.writeFieldEnd()
22709
    oprot.writeFieldStop()
22710
    oprot.writeStructEnd()
22711
 
22712
  def validate(self):
22713
    return
22714
 
22715
 
22716
  def __repr__(self):
22717
    L = ['%s=%r' % (key, value)
22718
      for key, value in self.__dict__.iteritems()]
22719
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
22720
 
22721
  def __eq__(self, other):
22722
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
22723
 
22724
  def __ne__(self, other):
22725
    return not (self == other)
22726
 
22727
class addOrUpdateFreebieForItem_args:
22728
  """
22729
  Attributes:
22730
   - freebieItem
22731
  """
22732
 
22733
  thrift_spec = (
22734
    None, # 0
22735
    (1, TType.STRUCT, 'freebieItem', (FreebieItem, FreebieItem.thrift_spec), None, ), # 1
22736
  )
22737
 
22738
  def __init__(self, freebieItem=None,):
22739
    self.freebieItem = freebieItem
22740
 
22741
  def read(self, iprot):
22742
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
22743
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
22744
      return
22745
    iprot.readStructBegin()
22746
    while True:
22747
      (fname, ftype, fid) = iprot.readFieldBegin()
22748
      if ftype == TType.STOP:
22749
        break
22750
      if fid == 1:
22751
        if ftype == TType.STRUCT:
22752
          self.freebieItem = FreebieItem()
22753
          self.freebieItem.read(iprot)
22754
        else:
22755
          iprot.skip(ftype)
22756
      else:
22757
        iprot.skip(ftype)
22758
      iprot.readFieldEnd()
22759
    iprot.readStructEnd()
22760
 
22761
  def write(self, oprot):
22762
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
22763
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
22764
      return
22765
    oprot.writeStructBegin('addOrUpdateFreebieForItem_args')
22766
    if self.freebieItem is not None:
22767
      oprot.writeFieldBegin('freebieItem', TType.STRUCT, 1)
22768
      self.freebieItem.write(oprot)
22769
      oprot.writeFieldEnd()
22770
    oprot.writeFieldStop()
22771
    oprot.writeStructEnd()
22772
 
22773
  def validate(self):
22774
    return
22775
 
22776
 
22777
  def __repr__(self):
22778
    L = ['%s=%r' % (key, value)
22779
      for key, value in self.__dict__.iteritems()]
22780
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
22781
 
22782
  def __eq__(self, other):
22783
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
22784
 
22785
  def __ne__(self, other):
22786
    return not (self == other)
22787
 
22788
class addOrUpdateFreebieForItem_result:
22789
 
22790
  thrift_spec = (
22791
  )
22792
 
22793
  def read(self, iprot):
22794
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
22795
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
22796
      return
22797
    iprot.readStructBegin()
22798
    while True:
22799
      (fname, ftype, fid) = iprot.readFieldBegin()
22800
      if ftype == TType.STOP:
22801
        break
22802
      else:
22803
        iprot.skip(ftype)
22804
      iprot.readFieldEnd()
22805
    iprot.readStructEnd()
22806
 
22807
  def write(self, oprot):
22808
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
22809
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
22810
      return
22811
    oprot.writeStructBegin('addOrUpdateFreebieForItem_result')
22812
    oprot.writeFieldStop()
22813
    oprot.writeStructEnd()
22814
 
22815
  def validate(self):
22816
    return
22817
 
22818
 
22819
  def __repr__(self):
22820
    L = ['%s=%r' % (key, value)
22821
      for key, value in self.__dict__.iteritems()]
22822
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
22823
 
22824
  def __eq__(self, other):
22825
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
22826
 
22827
  def __ne__(self, other):
22828
    return not (self == other)
7256 rajveer 22829
 
7272 amit.gupta 22830
class addOrUpdateBrandInfo_args:
22831
  """
22832
  Attributes:
22833
   - brandInfo
22834
  """
22835
 
22836
  thrift_spec = (
22837
    None, # 0
22838
    (1, TType.STRUCT, 'brandInfo', (BrandInfo, BrandInfo.thrift_spec), None, ), # 1
22839
  )
22840
 
22841
  def __init__(self, brandInfo=None,):
22842
    self.brandInfo = brandInfo
22843
 
22844
  def read(self, iprot):
22845
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
22846
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
22847
      return
22848
    iprot.readStructBegin()
22849
    while True:
22850
      (fname, ftype, fid) = iprot.readFieldBegin()
22851
      if ftype == TType.STOP:
22852
        break
22853
      if fid == 1:
22854
        if ftype == TType.STRUCT:
22855
          self.brandInfo = BrandInfo()
22856
          self.brandInfo.read(iprot)
22857
        else:
22858
          iprot.skip(ftype)
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('addOrUpdateBrandInfo_args')
22869
    if self.brandInfo is not None:
22870
      oprot.writeFieldBegin('brandInfo', TType.STRUCT, 1)
22871
      self.brandInfo.write(oprot)
22872
      oprot.writeFieldEnd()
22873
    oprot.writeFieldStop()
22874
    oprot.writeStructEnd()
22875
 
22876
  def validate(self):
22877
    return
22878
 
22879
 
22880
  def __repr__(self):
22881
    L = ['%s=%r' % (key, value)
22882
      for key, value in self.__dict__.iteritems()]
22883
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
22884
 
22885
  def __eq__(self, other):
22886
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
22887
 
22888
  def __ne__(self, other):
22889
    return not (self == other)
22890
 
22891
class addOrUpdateBrandInfo_result:
22892
 
22893
  thrift_spec = (
22894
  )
22895
 
22896
  def read(self, iprot):
22897
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
22898
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
22899
      return
22900
    iprot.readStructBegin()
22901
    while True:
22902
      (fname, ftype, fid) = iprot.readFieldBegin()
22903
      if ftype == TType.STOP:
22904
        break
22905
      else:
22906
        iprot.skip(ftype)
22907
      iprot.readFieldEnd()
22908
    iprot.readStructEnd()
22909
 
22910
  def write(self, oprot):
22911
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
22912
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
22913
      return
22914
    oprot.writeStructBegin('addOrUpdateBrandInfo_result')
22915
    oprot.writeFieldStop()
22916
    oprot.writeStructEnd()
22917
 
22918
  def validate(self):
22919
    return
22920
 
22921
 
22922
  def __repr__(self):
22923
    L = ['%s=%r' % (key, value)
22924
      for key, value in self.__dict__.iteritems()]
22925
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
22926
 
22927
  def __eq__(self, other):
22928
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
22929
 
22930
  def __ne__(self, other):
22931
    return not (self == other)
22932
 
22933
class getBrandInfo_args:
22934
 
22935
  thrift_spec = (
22936
  )
22937
 
22938
  def read(self, iprot):
22939
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
22940
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
22941
      return
22942
    iprot.readStructBegin()
22943
    while True:
22944
      (fname, ftype, fid) = iprot.readFieldBegin()
22945
      if ftype == TType.STOP:
22946
        break
22947
      else:
22948
        iprot.skip(ftype)
22949
      iprot.readFieldEnd()
22950
    iprot.readStructEnd()
22951
 
22952
  def write(self, oprot):
22953
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
22954
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
22955
      return
22956
    oprot.writeStructBegin('getBrandInfo_args')
22957
    oprot.writeFieldStop()
22958
    oprot.writeStructEnd()
22959
 
22960
  def validate(self):
22961
    return
22962
 
22963
 
22964
  def __repr__(self):
22965
    L = ['%s=%r' % (key, value)
22966
      for key, value in self.__dict__.iteritems()]
22967
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
22968
 
22969
  def __eq__(self, other):
22970
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
22971
 
22972
  def __ne__(self, other):
22973
    return not (self == other)
22974
 
22975
class getBrandInfo_result:
22976
  """
22977
  Attributes:
22978
   - success
22979
  """
22980
 
22981
  thrift_spec = (
22982
    (0, TType.MAP, 'success', (TType.STRING,None,TType.STRUCT,(BrandInfo, BrandInfo.thrift_spec)), None, ), # 0
22983
  )
22984
 
22985
  def __init__(self, success=None,):
22986
    self.success = success
22987
 
22988
  def read(self, iprot):
22989
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
22990
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
22991
      return
22992
    iprot.readStructBegin()
22993
    while True:
22994
      (fname, ftype, fid) = iprot.readFieldBegin()
22995
      if ftype == TType.STOP:
22996
        break
22997
      if fid == 0:
22998
        if ftype == TType.MAP:
22999
          self.success = {}
21838 amit.gupta 23000
          (_ktype432, _vtype433, _size431 ) = iprot.readMapBegin() 
23001
          for _i435 in xrange(_size431):
23002
            _key436 = iprot.readString();
23003
            _val437 = BrandInfo()
23004
            _val437.read(iprot)
23005
            self.success[_key436] = _val437
7272 amit.gupta 23006
          iprot.readMapEnd()
23007
        else:
23008
          iprot.skip(ftype)
23009
      else:
23010
        iprot.skip(ftype)
23011
      iprot.readFieldEnd()
23012
    iprot.readStructEnd()
23013
 
23014
  def write(self, oprot):
23015
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
23016
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
23017
      return
23018
    oprot.writeStructBegin('getBrandInfo_result')
23019
    if self.success is not None:
23020
      oprot.writeFieldBegin('success', TType.MAP, 0)
23021
      oprot.writeMapBegin(TType.STRING, TType.STRUCT, len(self.success))
21838 amit.gupta 23022
      for kiter438,viter439 in self.success.items():
23023
        oprot.writeString(kiter438)
23024
        viter439.write(oprot)
7272 amit.gupta 23025
      oprot.writeMapEnd()
23026
      oprot.writeFieldEnd()
23027
    oprot.writeFieldStop()
23028
    oprot.writeStructEnd()
23029
 
23030
  def validate(self):
23031
    return
23032
 
23033
 
23034
  def __repr__(self):
23035
    L = ['%s=%r' % (key, value)
23036
      for key, value in self.__dict__.iteritems()]
23037
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
23038
 
23039
  def __eq__(self, other):
23040
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
23041
 
23042
  def __ne__(self, other):
23043
    return not (self == other)
23044
 
7256 rajveer 23045
class getStorePricing_args:
23046
  """
23047
  Attributes:
23048
   - itemId
23049
  """
23050
 
23051
  thrift_spec = (
23052
    None, # 0
23053
    (1, TType.I64, 'itemId', None, None, ), # 1
23054
  )
23055
 
23056
  def __init__(self, itemId=None,):
23057
    self.itemId = itemId
23058
 
23059
  def read(self, iprot):
23060
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
23061
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
23062
      return
23063
    iprot.readStructBegin()
23064
    while True:
23065
      (fname, ftype, fid) = iprot.readFieldBegin()
23066
      if ftype == TType.STOP:
23067
        break
23068
      if fid == 1:
23069
        if ftype == TType.I64:
23070
          self.itemId = iprot.readI64();
23071
        else:
23072
          iprot.skip(ftype)
23073
      else:
23074
        iprot.skip(ftype)
23075
      iprot.readFieldEnd()
23076
    iprot.readStructEnd()
23077
 
23078
  def write(self, oprot):
23079
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
23080
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
23081
      return
23082
    oprot.writeStructBegin('getStorePricing_args')
23083
    if self.itemId is not None:
23084
      oprot.writeFieldBegin('itemId', TType.I64, 1)
23085
      oprot.writeI64(self.itemId)
23086
      oprot.writeFieldEnd()
23087
    oprot.writeFieldStop()
23088
    oprot.writeStructEnd()
23089
 
23090
  def validate(self):
23091
    return
23092
 
23093
 
23094
  def __repr__(self):
23095
    L = ['%s=%r' % (key, value)
23096
      for key, value in self.__dict__.iteritems()]
23097
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
23098
 
23099
  def __eq__(self, other):
23100
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
23101
 
23102
  def __ne__(self, other):
23103
    return not (self == other)
23104
 
23105
class getStorePricing_result:
23106
  """
23107
  Attributes:
23108
   - success
23109
  """
23110
 
23111
  thrift_spec = (
23112
    (0, TType.STRUCT, 'success', (StorePricing, StorePricing.thrift_spec), None, ), # 0
23113
  )
23114
 
23115
  def __init__(self, success=None,):
23116
    self.success = success
23117
 
23118
  def read(self, iprot):
23119
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
23120
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
23121
      return
23122
    iprot.readStructBegin()
23123
    while True:
23124
      (fname, ftype, fid) = iprot.readFieldBegin()
23125
      if ftype == TType.STOP:
23126
        break
23127
      if fid == 0:
23128
        if ftype == TType.STRUCT:
23129
          self.success = StorePricing()
23130
          self.success.read(iprot)
23131
        else:
23132
          iprot.skip(ftype)
23133
      else:
23134
        iprot.skip(ftype)
23135
      iprot.readFieldEnd()
23136
    iprot.readStructEnd()
23137
 
23138
  def write(self, oprot):
23139
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
23140
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
23141
      return
23142
    oprot.writeStructBegin('getStorePricing_result')
23143
    if self.success is not None:
23144
      oprot.writeFieldBegin('success', TType.STRUCT, 0)
23145
      self.success.write(oprot)
23146
      oprot.writeFieldEnd()
23147
    oprot.writeFieldStop()
23148
    oprot.writeStructEnd()
23149
 
23150
  def validate(self):
23151
    return
23152
 
23153
 
23154
  def __repr__(self):
23155
    L = ['%s=%r' % (key, value)
23156
      for key, value in self.__dict__.iteritems()]
23157
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
23158
 
23159
  def __eq__(self, other):
23160
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
23161
 
23162
  def __ne__(self, other):
23163
    return not (self == other)
7265 rajveer 23164
 
7306 rajveer 23165
class getStorePricings_args:
23166
  """
23167
  Attributes:
23168
   - itemIds
23169
  """
23170
 
23171
  thrift_spec = (
23172
    None, # 0
23173
    (1, TType.LIST, 'itemIds', (TType.I64,None), None, ), # 1
23174
  )
23175
 
23176
  def __init__(self, itemIds=None,):
23177
    self.itemIds = itemIds
23178
 
23179
  def read(self, iprot):
23180
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
23181
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
23182
      return
23183
    iprot.readStructBegin()
23184
    while True:
23185
      (fname, ftype, fid) = iprot.readFieldBegin()
23186
      if ftype == TType.STOP:
23187
        break
23188
      if fid == 1:
23189
        if ftype == TType.LIST:
23190
          self.itemIds = []
21838 amit.gupta 23191
          (_etype443, _size440) = iprot.readListBegin()
23192
          for _i444 in xrange(_size440):
23193
            _elem445 = iprot.readI64();
23194
            self.itemIds.append(_elem445)
7306 rajveer 23195
          iprot.readListEnd()
23196
        else:
23197
          iprot.skip(ftype)
23198
      else:
23199
        iprot.skip(ftype)
23200
      iprot.readFieldEnd()
23201
    iprot.readStructEnd()
23202
 
23203
  def write(self, oprot):
23204
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
23205
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
23206
      return
23207
    oprot.writeStructBegin('getStorePricings_args')
23208
    if self.itemIds is not None:
23209
      oprot.writeFieldBegin('itemIds', TType.LIST, 1)
23210
      oprot.writeListBegin(TType.I64, len(self.itemIds))
21838 amit.gupta 23211
      for iter446 in self.itemIds:
23212
        oprot.writeI64(iter446)
7306 rajveer 23213
      oprot.writeListEnd()
23214
      oprot.writeFieldEnd()
23215
    oprot.writeFieldStop()
23216
    oprot.writeStructEnd()
23217
 
23218
  def validate(self):
23219
    return
23220
 
23221
 
23222
  def __repr__(self):
23223
    L = ['%s=%r' % (key, value)
23224
      for key, value in self.__dict__.iteritems()]
23225
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
23226
 
23227
  def __eq__(self, other):
23228
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
23229
 
23230
  def __ne__(self, other):
23231
    return not (self == other)
23232
 
23233
class getStorePricings_result:
23234
  """
23235
  Attributes:
23236
   - success
23237
  """
23238
 
23239
  thrift_spec = (
23240
    (0, TType.LIST, 'success', (TType.STRUCT,(StorePricing, StorePricing.thrift_spec)), None, ), # 0
23241
  )
23242
 
23243
  def __init__(self, success=None,):
23244
    self.success = success
23245
 
23246
  def read(self, iprot):
23247
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
23248
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
23249
      return
23250
    iprot.readStructBegin()
23251
    while True:
23252
      (fname, ftype, fid) = iprot.readFieldBegin()
23253
      if ftype == TType.STOP:
23254
        break
23255
      if fid == 0:
23256
        if ftype == TType.LIST:
23257
          self.success = []
21838 amit.gupta 23258
          (_etype450, _size447) = iprot.readListBegin()
23259
          for _i451 in xrange(_size447):
23260
            _elem452 = StorePricing()
23261
            _elem452.read(iprot)
23262
            self.success.append(_elem452)
7306 rajveer 23263
          iprot.readListEnd()
23264
        else:
23265
          iprot.skip(ftype)
23266
      else:
23267
        iprot.skip(ftype)
23268
      iprot.readFieldEnd()
23269
    iprot.readStructEnd()
23270
 
23271
  def write(self, oprot):
23272
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
23273
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
23274
      return
23275
    oprot.writeStructBegin('getStorePricings_result')
23276
    if self.success is not None:
23277
      oprot.writeFieldBegin('success', TType.LIST, 0)
23278
      oprot.writeListBegin(TType.STRUCT, len(self.success))
21838 amit.gupta 23279
      for iter453 in self.success:
23280
        iter453.write(oprot)
7306 rajveer 23281
      oprot.writeListEnd()
23282
      oprot.writeFieldEnd()
23283
    oprot.writeFieldStop()
23284
    oprot.writeStructEnd()
23285
 
23286
  def validate(self):
23287
    return
23288
 
23289
 
23290
  def __repr__(self):
23291
    L = ['%s=%r' % (key, value)
23292
      for key, value in self.__dict__.iteritems()]
23293
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
23294
 
23295
  def __eq__(self, other):
23296
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
23297
 
23298
  def __ne__(self, other):
23299
    return not (self == other)
23300
 
7265 rajveer 23301
class updateStorePricing_args:
23302
  """
23303
  Attributes:
23304
   - sp
7382 rajveer 23305
   - allColors
7265 rajveer 23306
  """
23307
 
23308
  thrift_spec = (
23309
    None, # 0
23310
    (1, TType.STRUCT, 'sp', (StorePricing, StorePricing.thrift_spec), None, ), # 1
7382 rajveer 23311
    (2, TType.BOOL, 'allColors', None, None, ), # 2
7265 rajveer 23312
  )
23313
 
7382 rajveer 23314
  def __init__(self, sp=None, allColors=None,):
7265 rajveer 23315
    self.sp = sp
7382 rajveer 23316
    self.allColors = allColors
7265 rajveer 23317
 
23318
  def read(self, iprot):
23319
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
23320
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
23321
      return
23322
    iprot.readStructBegin()
23323
    while True:
23324
      (fname, ftype, fid) = iprot.readFieldBegin()
23325
      if ftype == TType.STOP:
23326
        break
23327
      if fid == 1:
23328
        if ftype == TType.STRUCT:
23329
          self.sp = StorePricing()
23330
          self.sp.read(iprot)
23331
        else:
23332
          iprot.skip(ftype)
7382 rajveer 23333
      elif fid == 2:
23334
        if ftype == TType.BOOL:
23335
          self.allColors = iprot.readBool();
23336
        else:
23337
          iprot.skip(ftype)
7265 rajveer 23338
      else:
23339
        iprot.skip(ftype)
23340
      iprot.readFieldEnd()
23341
    iprot.readStructEnd()
23342
 
23343
  def write(self, oprot):
23344
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
23345
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
23346
      return
23347
    oprot.writeStructBegin('updateStorePricing_args')
23348
    if self.sp is not None:
23349
      oprot.writeFieldBegin('sp', TType.STRUCT, 1)
23350
      self.sp.write(oprot)
23351
      oprot.writeFieldEnd()
7382 rajveer 23352
    if self.allColors is not None:
23353
      oprot.writeFieldBegin('allColors', TType.BOOL, 2)
23354
      oprot.writeBool(self.allColors)
23355
      oprot.writeFieldEnd()
7265 rajveer 23356
    oprot.writeFieldStop()
23357
    oprot.writeStructEnd()
23358
 
23359
  def validate(self):
23360
    return
23361
 
23362
 
23363
  def __repr__(self):
23364
    L = ['%s=%r' % (key, value)
23365
      for key, value in self.__dict__.iteritems()]
23366
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
23367
 
23368
  def __eq__(self, other):
23369
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
23370
 
23371
  def __ne__(self, other):
23372
    return not (self == other)
23373
 
23374
class updateStorePricing_result:
23375
 
23376
  thrift_spec = (
23377
  )
23378
 
23379
  def read(self, iprot):
23380
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
23381
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
23382
      return
23383
    iprot.readStructBegin()
23384
    while True:
23385
      (fname, ftype, fid) = iprot.readFieldBegin()
23386
      if ftype == TType.STOP:
23387
        break
23388
      else:
23389
        iprot.skip(ftype)
23390
      iprot.readFieldEnd()
23391
    iprot.readStructEnd()
23392
 
23393
  def write(self, oprot):
23394
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
23395
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
23396
      return
23397
    oprot.writeStructBegin('updateStorePricing_result')
23398
    oprot.writeFieldStop()
23399
    oprot.writeStructEnd()
23400
 
23401
  def validate(self):
23402
    return
23403
 
23404
 
23405
  def __repr__(self):
23406
    L = ['%s=%r' % (key, value)
23407
      for key, value in self.__dict__.iteritems()]
23408
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
23409
 
23410
  def __eq__(self, other):
23411
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
23412
 
23413
  def __ne__(self, other):
23414
    return not (self == other)
7281 kshitij.so 23415
 
23416
class getAllAmazonListedItems_args:
23417
 
23418
  thrift_spec = (
23419
  )
23420
 
23421
  def read(self, iprot):
23422
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
23423
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
23424
      return
23425
    iprot.readStructBegin()
23426
    while True:
23427
      (fname, ftype, fid) = iprot.readFieldBegin()
23428
      if ftype == TType.STOP:
23429
        break
23430
      else:
23431
        iprot.skip(ftype)
23432
      iprot.readFieldEnd()
23433
    iprot.readStructEnd()
23434
 
23435
  def write(self, oprot):
23436
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
23437
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
23438
      return
23439
    oprot.writeStructBegin('getAllAmazonListedItems_args')
23440
    oprot.writeFieldStop()
23441
    oprot.writeStructEnd()
23442
 
23443
  def validate(self):
23444
    return
23445
 
23446
 
23447
  def __repr__(self):
23448
    L = ['%s=%r' % (key, value)
23449
      for key, value in self.__dict__.iteritems()]
23450
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
23451
 
23452
  def __eq__(self, other):
23453
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
23454
 
23455
  def __ne__(self, other):
23456
    return not (self == other)
23457
 
23458
class getAllAmazonListedItems_result:
23459
  """
23460
  Attributes:
23461
   - success
23462
  """
23463
 
23464
  thrift_spec = (
23465
    (0, TType.LIST, 'success', (TType.STRUCT,(Amazonlisted, Amazonlisted.thrift_spec)), None, ), # 0
23466
  )
23467
 
23468
  def __init__(self, success=None,):
23469
    self.success = success
23470
 
23471
  def read(self, iprot):
23472
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
23473
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
23474
      return
23475
    iprot.readStructBegin()
23476
    while True:
23477
      (fname, ftype, fid) = iprot.readFieldBegin()
23478
      if ftype == TType.STOP:
23479
        break
23480
      if fid == 0:
23481
        if ftype == TType.LIST:
23482
          self.success = []
21838 amit.gupta 23483
          (_etype457, _size454) = iprot.readListBegin()
23484
          for _i458 in xrange(_size454):
23485
            _elem459 = Amazonlisted()
23486
            _elem459.read(iprot)
23487
            self.success.append(_elem459)
7281 kshitij.so 23488
          iprot.readListEnd()
23489
        else:
23490
          iprot.skip(ftype)
23491
      else:
23492
        iprot.skip(ftype)
23493
      iprot.readFieldEnd()
23494
    iprot.readStructEnd()
23495
 
23496
  def write(self, oprot):
23497
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
23498
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
23499
      return
23500
    oprot.writeStructBegin('getAllAmazonListedItems_result')
23501
    if self.success is not None:
23502
      oprot.writeFieldBegin('success', TType.LIST, 0)
23503
      oprot.writeListBegin(TType.STRUCT, len(self.success))
21838 amit.gupta 23504
      for iter460 in self.success:
23505
        iter460.write(oprot)
7281 kshitij.so 23506
      oprot.writeListEnd()
23507
      oprot.writeFieldEnd()
23508
    oprot.writeFieldStop()
23509
    oprot.writeStructEnd()
23510
 
23511
  def validate(self):
23512
    return
23513
 
23514
 
23515
  def __repr__(self):
23516
    L = ['%s=%r' % (key, value)
23517
      for key, value in self.__dict__.iteritems()]
23518
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
23519
 
23520
  def __eq__(self, other):
23521
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
23522
 
23523
  def __ne__(self, other):
23524
    return not (self == other)
23525
 
8619 kshitij.so 23526
class searchAmazonItems_args:
23527
  """
23528
  Attributes:
23529
   - searchTerm
23530
   - offset
23531
   - limit
23532
  """
23533
 
23534
  thrift_spec = (
23535
    None, # 0
23536
    (1, TType.LIST, 'searchTerm', (TType.STRING,None), None, ), # 1
23537
    (2, TType.I64, 'offset', None, None, ), # 2
23538
    (3, TType.I64, 'limit', None, None, ), # 3
23539
  )
23540
 
23541
  def __init__(self, searchTerm=None, offset=None, limit=None,):
23542
    self.searchTerm = searchTerm
23543
    self.offset = offset
23544
    self.limit = limit
23545
 
23546
  def read(self, iprot):
23547
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
23548
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
23549
      return
23550
    iprot.readStructBegin()
23551
    while True:
23552
      (fname, ftype, fid) = iprot.readFieldBegin()
23553
      if ftype == TType.STOP:
23554
        break
23555
      if fid == 1:
23556
        if ftype == TType.LIST:
23557
          self.searchTerm = []
21838 amit.gupta 23558
          (_etype464, _size461) = iprot.readListBegin()
23559
          for _i465 in xrange(_size461):
23560
            _elem466 = iprot.readString();
23561
            self.searchTerm.append(_elem466)
8619 kshitij.so 23562
          iprot.readListEnd()
23563
        else:
23564
          iprot.skip(ftype)
23565
      elif fid == 2:
23566
        if ftype == TType.I64:
23567
          self.offset = iprot.readI64();
23568
        else:
23569
          iprot.skip(ftype)
23570
      elif fid == 3:
23571
        if ftype == TType.I64:
23572
          self.limit = iprot.readI64();
23573
        else:
23574
          iprot.skip(ftype)
23575
      else:
23576
        iprot.skip(ftype)
23577
      iprot.readFieldEnd()
23578
    iprot.readStructEnd()
23579
 
23580
  def write(self, oprot):
23581
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
23582
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
23583
      return
23584
    oprot.writeStructBegin('searchAmazonItems_args')
23585
    if self.searchTerm is not None:
23586
      oprot.writeFieldBegin('searchTerm', TType.LIST, 1)
23587
      oprot.writeListBegin(TType.STRING, len(self.searchTerm))
21838 amit.gupta 23588
      for iter467 in self.searchTerm:
23589
        oprot.writeString(iter467)
8619 kshitij.so 23590
      oprot.writeListEnd()
23591
      oprot.writeFieldEnd()
23592
    if self.offset is not None:
23593
      oprot.writeFieldBegin('offset', TType.I64, 2)
23594
      oprot.writeI64(self.offset)
23595
      oprot.writeFieldEnd()
23596
    if self.limit is not None:
23597
      oprot.writeFieldBegin('limit', TType.I64, 3)
23598
      oprot.writeI64(self.limit)
23599
      oprot.writeFieldEnd()
23600
    oprot.writeFieldStop()
23601
    oprot.writeStructEnd()
23602
 
23603
  def validate(self):
23604
    return
23605
 
23606
 
23607
  def __repr__(self):
23608
    L = ['%s=%r' % (key, value)
23609
      for key, value in self.__dict__.iteritems()]
23610
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
23611
 
23612
  def __eq__(self, other):
23613
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
23614
 
23615
  def __ne__(self, other):
23616
    return not (self == other)
23617
 
23618
class searchAmazonItems_result:
23619
  """
23620
  Attributes:
23621
   - success
23622
  """
23623
 
23624
  thrift_spec = (
23625
    (0, TType.LIST, 'success', (TType.STRUCT,(Amazonlisted, Amazonlisted.thrift_spec)), None, ), # 0
23626
  )
23627
 
23628
  def __init__(self, success=None,):
23629
    self.success = success
23630
 
23631
  def read(self, iprot):
23632
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
23633
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
23634
      return
23635
    iprot.readStructBegin()
23636
    while True:
23637
      (fname, ftype, fid) = iprot.readFieldBegin()
23638
      if ftype == TType.STOP:
23639
        break
23640
      if fid == 0:
23641
        if ftype == TType.LIST:
23642
          self.success = []
21838 amit.gupta 23643
          (_etype471, _size468) = iprot.readListBegin()
23644
          for _i472 in xrange(_size468):
23645
            _elem473 = Amazonlisted()
23646
            _elem473.read(iprot)
23647
            self.success.append(_elem473)
8619 kshitij.so 23648
          iprot.readListEnd()
23649
        else:
23650
          iprot.skip(ftype)
23651
      else:
23652
        iprot.skip(ftype)
23653
      iprot.readFieldEnd()
23654
    iprot.readStructEnd()
23655
 
23656
  def write(self, oprot):
23657
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
23658
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
23659
      return
23660
    oprot.writeStructBegin('searchAmazonItems_result')
23661
    if self.success is not None:
23662
      oprot.writeFieldBegin('success', TType.LIST, 0)
23663
      oprot.writeListBegin(TType.STRUCT, len(self.success))
21838 amit.gupta 23664
      for iter474 in self.success:
23665
        iter474.write(oprot)
8619 kshitij.so 23666
      oprot.writeListEnd()
23667
      oprot.writeFieldEnd()
23668
    oprot.writeFieldStop()
23669
    oprot.writeStructEnd()
23670
 
23671
  def validate(self):
23672
    return
23673
 
23674
 
23675
  def __repr__(self):
23676
    L = ['%s=%r' % (key, value)
23677
      for key, value in self.__dict__.iteritems()]
23678
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
23679
 
23680
  def __eq__(self, other):
23681
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
23682
 
23683
  def __ne__(self, other):
23684
    return not (self == other)
23685
 
23686
class getAmazonSearchResultCount_args:
23687
  """
23688
  Attributes:
23689
   - searchTerm
23690
  """
23691
 
23692
  thrift_spec = (
23693
    None, # 0
23694
    (1, TType.LIST, 'searchTerm', (TType.STRING,None), None, ), # 1
23695
  )
23696
 
23697
  def __init__(self, searchTerm=None,):
23698
    self.searchTerm = searchTerm
23699
 
23700
  def read(self, iprot):
23701
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
23702
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
23703
      return
23704
    iprot.readStructBegin()
23705
    while True:
23706
      (fname, ftype, fid) = iprot.readFieldBegin()
23707
      if ftype == TType.STOP:
23708
        break
23709
      if fid == 1:
23710
        if ftype == TType.LIST:
23711
          self.searchTerm = []
21838 amit.gupta 23712
          (_etype478, _size475) = iprot.readListBegin()
23713
          for _i479 in xrange(_size475):
23714
            _elem480 = iprot.readString();
23715
            self.searchTerm.append(_elem480)
8619 kshitij.so 23716
          iprot.readListEnd()
23717
        else:
23718
          iprot.skip(ftype)
23719
      else:
23720
        iprot.skip(ftype)
23721
      iprot.readFieldEnd()
23722
    iprot.readStructEnd()
23723
 
23724
  def write(self, oprot):
23725
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
23726
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
23727
      return
23728
    oprot.writeStructBegin('getAmazonSearchResultCount_args')
23729
    if self.searchTerm is not None:
23730
      oprot.writeFieldBegin('searchTerm', TType.LIST, 1)
23731
      oprot.writeListBegin(TType.STRING, len(self.searchTerm))
21838 amit.gupta 23732
      for iter481 in self.searchTerm:
23733
        oprot.writeString(iter481)
8619 kshitij.so 23734
      oprot.writeListEnd()
23735
      oprot.writeFieldEnd()
23736
    oprot.writeFieldStop()
23737
    oprot.writeStructEnd()
23738
 
23739
  def validate(self):
23740
    return
23741
 
23742
 
23743
  def __repr__(self):
23744
    L = ['%s=%r' % (key, value)
23745
      for key, value in self.__dict__.iteritems()]
23746
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
23747
 
23748
  def __eq__(self, other):
23749
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
23750
 
23751
  def __ne__(self, other):
23752
    return not (self == other)
23753
 
23754
class getAmazonSearchResultCount_result:
23755
  """
23756
  Attributes:
23757
   - success
23758
  """
23759
 
23760
  thrift_spec = (
23761
    (0, TType.I64, 'success', None, None, ), # 0
23762
  )
23763
 
23764
  def __init__(self, success=None,):
23765
    self.success = success
23766
 
23767
  def read(self, iprot):
23768
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
23769
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
23770
      return
23771
    iprot.readStructBegin()
23772
    while True:
23773
      (fname, ftype, fid) = iprot.readFieldBegin()
23774
      if ftype == TType.STOP:
23775
        break
23776
      if fid == 0:
23777
        if ftype == TType.I64:
23778
          self.success = iprot.readI64();
23779
        else:
23780
          iprot.skip(ftype)
23781
      else:
23782
        iprot.skip(ftype)
23783
      iprot.readFieldEnd()
23784
    iprot.readStructEnd()
23785
 
23786
  def write(self, oprot):
23787
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
23788
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
23789
      return
23790
    oprot.writeStructBegin('getAmazonSearchResultCount_result')
23791
    if self.success is not None:
23792
      oprot.writeFieldBegin('success', TType.I64, 0)
23793
      oprot.writeI64(self.success)
23794
      oprot.writeFieldEnd()
23795
    oprot.writeFieldStop()
23796
    oprot.writeStructEnd()
23797
 
23798
  def validate(self):
23799
    return
23800
 
23801
 
23802
  def __repr__(self):
23803
    L = ['%s=%r' % (key, value)
23804
      for key, value in self.__dict__.iteritems()]
23805
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
23806
 
23807
  def __eq__(self, other):
23808
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
23809
 
23810
  def __ne__(self, other):
23811
    return not (self == other)
23812
 
23813
class getCountForAmazonlistedItems_args:
23814
 
23815
  thrift_spec = (
23816
  )
23817
 
23818
  def read(self, iprot):
23819
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
23820
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
23821
      return
23822
    iprot.readStructBegin()
23823
    while True:
23824
      (fname, ftype, fid) = iprot.readFieldBegin()
23825
      if ftype == TType.STOP:
23826
        break
23827
      else:
23828
        iprot.skip(ftype)
23829
      iprot.readFieldEnd()
23830
    iprot.readStructEnd()
23831
 
23832
  def write(self, oprot):
23833
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
23834
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
23835
      return
23836
    oprot.writeStructBegin('getCountForAmazonlistedItems_args')
23837
    oprot.writeFieldStop()
23838
    oprot.writeStructEnd()
23839
 
23840
  def validate(self):
23841
    return
23842
 
23843
 
23844
  def __repr__(self):
23845
    L = ['%s=%r' % (key, value)
23846
      for key, value in self.__dict__.iteritems()]
23847
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
23848
 
23849
  def __eq__(self, other):
23850
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
23851
 
23852
  def __ne__(self, other):
23853
    return not (self == other)
23854
 
23855
class getCountForAmazonlistedItems_result:
23856
  """
23857
  Attributes:
23858
   - success
23859
  """
23860
 
23861
  thrift_spec = (
23862
    (0, TType.I64, 'success', None, None, ), # 0
23863
  )
23864
 
23865
  def __init__(self, success=None,):
23866
    self.success = success
23867
 
23868
  def read(self, iprot):
23869
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
23870
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
23871
      return
23872
    iprot.readStructBegin()
23873
    while True:
23874
      (fname, ftype, fid) = iprot.readFieldBegin()
23875
      if ftype == TType.STOP:
23876
        break
23877
      if fid == 0:
23878
        if ftype == TType.I64:
23879
          self.success = iprot.readI64();
23880
        else:
23881
          iprot.skip(ftype)
23882
      else:
23883
        iprot.skip(ftype)
23884
      iprot.readFieldEnd()
23885
    iprot.readStructEnd()
23886
 
23887
  def write(self, oprot):
23888
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
23889
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
23890
      return
23891
    oprot.writeStructBegin('getCountForAmazonlistedItems_result')
23892
    if self.success is not None:
23893
      oprot.writeFieldBegin('success', TType.I64, 0)
23894
      oprot.writeI64(self.success)
23895
      oprot.writeFieldEnd()
23896
    oprot.writeFieldStop()
23897
    oprot.writeStructEnd()
23898
 
23899
  def validate(self):
23900
    return
23901
 
23902
 
23903
  def __repr__(self):
23904
    L = ['%s=%r' % (key, value)
23905
      for key, value in self.__dict__.iteritems()]
23906
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
23907
 
23908
  def __eq__(self, other):
23909
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
23910
 
23911
  def __ne__(self, other):
23912
    return not (self == other)
23913
 
7281 kshitij.so 23914
class getAmazonItemDetails_args:
23915
  """
23916
  Attributes:
23917
   - itemId
23918
  """
23919
 
23920
  thrift_spec = (
23921
    None, # 0
23922
    (1, TType.I64, 'itemId', None, None, ), # 1
23923
  )
23924
 
23925
  def __init__(self, itemId=None,):
23926
    self.itemId = itemId
23927
 
23928
  def read(self, iprot):
23929
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
23930
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
23931
      return
23932
    iprot.readStructBegin()
23933
    while True:
23934
      (fname, ftype, fid) = iprot.readFieldBegin()
23935
      if ftype == TType.STOP:
23936
        break
23937
      if fid == 1:
23938
        if ftype == TType.I64:
23939
          self.itemId = iprot.readI64();
23940
        else:
23941
          iprot.skip(ftype)
23942
      else:
23943
        iprot.skip(ftype)
23944
      iprot.readFieldEnd()
23945
    iprot.readStructEnd()
23946
 
23947
  def write(self, oprot):
23948
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
23949
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
23950
      return
23951
    oprot.writeStructBegin('getAmazonItemDetails_args')
23952
    if self.itemId is not None:
23953
      oprot.writeFieldBegin('itemId', TType.I64, 1)
23954
      oprot.writeI64(self.itemId)
23955
      oprot.writeFieldEnd()
23956
    oprot.writeFieldStop()
23957
    oprot.writeStructEnd()
23958
 
23959
  def validate(self):
23960
    return
23961
 
23962
 
23963
  def __repr__(self):
23964
    L = ['%s=%r' % (key, value)
23965
      for key, value in self.__dict__.iteritems()]
23966
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
23967
 
23968
  def __eq__(self, other):
23969
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
23970
 
23971
  def __ne__(self, other):
23972
    return not (self == other)
23973
 
23974
class getAmazonItemDetails_result:
23975
  """
23976
  Attributes:
23977
   - success
23978
  """
23979
 
23980
  thrift_spec = (
23981
    (0, TType.STRUCT, 'success', (Amazonlisted, Amazonlisted.thrift_spec), None, ), # 0
23982
  )
23983
 
23984
  def __init__(self, success=None,):
23985
    self.success = success
23986
 
23987
  def read(self, iprot):
23988
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
23989
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
23990
      return
23991
    iprot.readStructBegin()
23992
    while True:
23993
      (fname, ftype, fid) = iprot.readFieldBegin()
23994
      if ftype == TType.STOP:
23995
        break
23996
      if fid == 0:
23997
        if ftype == TType.STRUCT:
23998
          self.success = Amazonlisted()
23999
          self.success.read(iprot)
24000
        else:
24001
          iprot.skip(ftype)
24002
      else:
24003
        iprot.skip(ftype)
24004
      iprot.readFieldEnd()
24005
    iprot.readStructEnd()
24006
 
24007
  def write(self, oprot):
24008
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
24009
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
24010
      return
24011
    oprot.writeStructBegin('getAmazonItemDetails_result')
24012
    if self.success is not None:
24013
      oprot.writeFieldBegin('success', TType.STRUCT, 0)
24014
      self.success.write(oprot)
24015
      oprot.writeFieldEnd()
24016
    oprot.writeFieldStop()
24017
    oprot.writeStructEnd()
24018
 
24019
  def validate(self):
24020
    return
24021
 
24022
 
24023
  def __repr__(self):
24024
    L = ['%s=%r' % (key, value)
24025
      for key, value in self.__dict__.iteritems()]
24026
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
24027
 
24028
  def __eq__(self, other):
24029
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
24030
 
24031
  def __ne__(self, other):
24032
    return not (self == other)
24033
 
24034
class updateAmazonItemDetails_args:
24035
  """
24036
  Attributes:
8168 kshitij.so 24037
   - amazonlisted
7281 kshitij.so 24038
  """
24039
 
24040
  thrift_spec = (
24041
    None, # 0
8168 kshitij.so 24042
    (1, TType.STRUCT, 'amazonlisted', (Amazonlisted, Amazonlisted.thrift_spec), None, ), # 1
7281 kshitij.so 24043
  )
24044
 
8168 kshitij.so 24045
  def __init__(self, amazonlisted=None,):
24046
    self.amazonlisted = amazonlisted
7281 kshitij.so 24047
 
24048
  def read(self, iprot):
24049
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
24050
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
24051
      return
24052
    iprot.readStructBegin()
24053
    while True:
24054
      (fname, ftype, fid) = iprot.readFieldBegin()
24055
      if ftype == TType.STOP:
24056
        break
24057
      if fid == 1:
8168 kshitij.so 24058
        if ftype == TType.STRUCT:
24059
          self.amazonlisted = Amazonlisted()
24060
          self.amazonlisted.read(iprot)
7281 kshitij.so 24061
        else:
24062
          iprot.skip(ftype)
24063
      else:
24064
        iprot.skip(ftype)
24065
      iprot.readFieldEnd()
24066
    iprot.readStructEnd()
24067
 
24068
  def write(self, oprot):
24069
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
24070
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
24071
      return
24072
    oprot.writeStructBegin('updateAmazonItemDetails_args')
8168 kshitij.so 24073
    if self.amazonlisted is not None:
24074
      oprot.writeFieldBegin('amazonlisted', TType.STRUCT, 1)
24075
      self.amazonlisted.write(oprot)
7281 kshitij.so 24076
      oprot.writeFieldEnd()
24077
    oprot.writeFieldStop()
24078
    oprot.writeStructEnd()
24079
 
24080
  def validate(self):
24081
    return
24082
 
24083
 
24084
  def __repr__(self):
24085
    L = ['%s=%r' % (key, value)
24086
      for key, value in self.__dict__.iteritems()]
24087
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
24088
 
24089
  def __eq__(self, other):
24090
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
24091
 
24092
  def __ne__(self, other):
24093
    return not (self == other)
24094
 
24095
class updateAmazonItemDetails_result:
24096
 
24097
  thrift_spec = (
24098
  )
24099
 
24100
  def read(self, iprot):
24101
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
24102
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
24103
      return
24104
    iprot.readStructBegin()
24105
    while True:
24106
      (fname, ftype, fid) = iprot.readFieldBegin()
24107
      if ftype == TType.STOP:
24108
        break
24109
      else:
24110
        iprot.skip(ftype)
24111
      iprot.readFieldEnd()
24112
    iprot.readStructEnd()
24113
 
24114
  def write(self, oprot):
24115
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
24116
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
24117
      return
24118
    oprot.writeStructBegin('updateAmazonItemDetails_result')
24119
    oprot.writeFieldStop()
24120
    oprot.writeStructEnd()
24121
 
24122
  def validate(self):
24123
    return
24124
 
24125
 
24126
  def __repr__(self):
24127
    L = ['%s=%r' % (key, value)
24128
      for key, value in self.__dict__.iteritems()]
24129
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
24130
 
24131
  def __eq__(self, other):
24132
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
24133
 
24134
  def __ne__(self, other):
24135
    return not (self == other)
24136
 
24137
class addAmazonItem_args:
24138
  """
24139
  Attributes:
24140
   - amazonlisted
24141
  """
24142
 
24143
  thrift_spec = (
24144
    None, # 0
24145
    (1, TType.STRUCT, 'amazonlisted', (Amazonlisted, Amazonlisted.thrift_spec), None, ), # 1
24146
  )
24147
 
24148
  def __init__(self, amazonlisted=None,):
24149
    self.amazonlisted = amazonlisted
24150
 
24151
  def read(self, iprot):
24152
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
24153
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
24154
      return
24155
    iprot.readStructBegin()
24156
    while True:
24157
      (fname, ftype, fid) = iprot.readFieldBegin()
24158
      if ftype == TType.STOP:
24159
        break
24160
      if fid == 1:
24161
        if ftype == TType.STRUCT:
24162
          self.amazonlisted = Amazonlisted()
24163
          self.amazonlisted.read(iprot)
24164
        else:
24165
          iprot.skip(ftype)
24166
      else:
24167
        iprot.skip(ftype)
24168
      iprot.readFieldEnd()
24169
    iprot.readStructEnd()
24170
 
24171
  def write(self, oprot):
24172
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
24173
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
24174
      return
24175
    oprot.writeStructBegin('addAmazonItem_args')
24176
    if self.amazonlisted is not None:
24177
      oprot.writeFieldBegin('amazonlisted', TType.STRUCT, 1)
24178
      self.amazonlisted.write(oprot)
24179
      oprot.writeFieldEnd()
24180
    oprot.writeFieldStop()
24181
    oprot.writeStructEnd()
24182
 
24183
  def validate(self):
24184
    return
24185
 
24186
 
24187
  def __repr__(self):
24188
    L = ['%s=%r' % (key, value)
24189
      for key, value in self.__dict__.iteritems()]
24190
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
24191
 
24192
  def __eq__(self, other):
24193
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
24194
 
24195
  def __ne__(self, other):
24196
    return not (self == other)
24197
 
24198
class addAmazonItem_result:
24199
 
24200
  thrift_spec = (
24201
  )
24202
 
24203
  def read(self, iprot):
24204
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
24205
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
24206
      return
24207
    iprot.readStructBegin()
24208
    while True:
24209
      (fname, ftype, fid) = iprot.readFieldBegin()
24210
      if ftype == TType.STOP:
24211
        break
24212
      else:
24213
        iprot.skip(ftype)
24214
      iprot.readFieldEnd()
24215
    iprot.readStructEnd()
24216
 
24217
  def write(self, oprot):
24218
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
24219
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
24220
      return
24221
    oprot.writeStructBegin('addAmazonItem_result')
24222
    oprot.writeFieldStop()
24223
    oprot.writeStructEnd()
24224
 
24225
  def validate(self):
24226
    return
24227
 
24228
 
24229
  def __repr__(self):
24230
    L = ['%s=%r' % (key, value)
24231
      for key, value in self.__dict__.iteritems()]
24232
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
24233
 
24234
  def __eq__(self, other):
24235
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
24236
 
24237
  def __ne__(self, other):
24238
    return not (self == other)
7291 vikram.rag 24239
 
24240
class getAsinItems_args:
24241
 
24242
  thrift_spec = (
24243
  )
24244
 
24245
  def read(self, iprot):
24246
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
24247
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
24248
      return
24249
    iprot.readStructBegin()
24250
    while True:
24251
      (fname, ftype, fid) = iprot.readFieldBegin()
24252
      if ftype == TType.STOP:
24253
        break
24254
      else:
24255
        iprot.skip(ftype)
24256
      iprot.readFieldEnd()
24257
    iprot.readStructEnd()
24258
 
24259
  def write(self, oprot):
24260
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
24261
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
24262
      return
24263
    oprot.writeStructBegin('getAsinItems_args')
24264
    oprot.writeFieldStop()
24265
    oprot.writeStructEnd()
24266
 
24267
  def validate(self):
24268
    return
24269
 
24270
 
24271
  def __repr__(self):
24272
    L = ['%s=%r' % (key, value)
24273
      for key, value in self.__dict__.iteritems()]
24274
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
24275
 
24276
  def __eq__(self, other):
24277
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
24278
 
24279
  def __ne__(self, other):
24280
    return not (self == other)
24281
 
24282
class getAsinItems_result:
24283
  """
24284
  Attributes:
24285
   - success
24286
  """
24287
 
24288
  thrift_spec = (
24289
    (0, TType.LIST, 'success', (TType.STRUCT,(Item, Item.thrift_spec)), None, ), # 0
24290
  )
24291
 
24292
  def __init__(self, success=None,):
24293
    self.success = success
24294
 
24295
  def read(self, iprot):
24296
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
24297
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
24298
      return
24299
    iprot.readStructBegin()
24300
    while True:
24301
      (fname, ftype, fid) = iprot.readFieldBegin()
24302
      if ftype == TType.STOP:
24303
        break
24304
      if fid == 0:
24305
        if ftype == TType.LIST:
24306
          self.success = []
21838 amit.gupta 24307
          (_etype485, _size482) = iprot.readListBegin()
24308
          for _i486 in xrange(_size482):
24309
            _elem487 = Item()
24310
            _elem487.read(iprot)
24311
            self.success.append(_elem487)
7291 vikram.rag 24312
          iprot.readListEnd()
24313
        else:
24314
          iprot.skip(ftype)
24315
      else:
24316
        iprot.skip(ftype)
24317
      iprot.readFieldEnd()
24318
    iprot.readStructEnd()
24319
 
24320
  def write(self, oprot):
24321
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
24322
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
24323
      return
24324
    oprot.writeStructBegin('getAsinItems_result')
24325
    if self.success is not None:
24326
      oprot.writeFieldBegin('success', TType.LIST, 0)
24327
      oprot.writeListBegin(TType.STRUCT, len(self.success))
21838 amit.gupta 24328
      for iter488 in self.success:
24329
        iter488.write(oprot)
7291 vikram.rag 24330
      oprot.writeListEnd()
24331
      oprot.writeFieldEnd()
24332
    oprot.writeFieldStop()
24333
    oprot.writeStructEnd()
24334
 
24335
  def validate(self):
24336
    return
24337
 
24338
 
24339
  def __repr__(self):
24340
    L = ['%s=%r' % (key, value)
24341
      for key, value in self.__dict__.iteritems()]
24342
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
24343
 
24344
  def __eq__(self, other):
24345
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
24346
 
24347
  def __ne__(self, other):
24348
    return not (self == other)
24349
 
24350
class getAllFbaListedItems_args:
24351
 
24352
  thrift_spec = (
24353
  )
24354
 
24355
  def read(self, iprot):
24356
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
24357
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
24358
      return
24359
    iprot.readStructBegin()
24360
    while True:
24361
      (fname, ftype, fid) = iprot.readFieldBegin()
24362
      if ftype == TType.STOP:
24363
        break
24364
      else:
24365
        iprot.skip(ftype)
24366
      iprot.readFieldEnd()
24367
    iprot.readStructEnd()
24368
 
24369
  def write(self, oprot):
24370
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
24371
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
24372
      return
24373
    oprot.writeStructBegin('getAllFbaListedItems_args')
24374
    oprot.writeFieldStop()
24375
    oprot.writeStructEnd()
24376
 
24377
  def validate(self):
24378
    return
24379
 
24380
 
24381
  def __repr__(self):
24382
    L = ['%s=%r' % (key, value)
24383
      for key, value in self.__dict__.iteritems()]
24384
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
24385
 
24386
  def __eq__(self, other):
24387
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
24388
 
24389
  def __ne__(self, other):
24390
    return not (self == other)
24391
 
24392
class getAllFbaListedItems_result:
24393
  """
24394
  Attributes:
24395
   - success
24396
  """
24397
 
24398
  thrift_spec = (
24399
    (0, TType.LIST, 'success', (TType.STRUCT,(Amazonlisted, Amazonlisted.thrift_spec)), None, ), # 0
24400
  )
24401
 
24402
  def __init__(self, success=None,):
24403
    self.success = success
24404
 
24405
  def read(self, iprot):
24406
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
24407
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
24408
      return
24409
    iprot.readStructBegin()
24410
    while True:
24411
      (fname, ftype, fid) = iprot.readFieldBegin()
24412
      if ftype == TType.STOP:
24413
        break
24414
      if fid == 0:
24415
        if ftype == TType.LIST:
24416
          self.success = []
21838 amit.gupta 24417
          (_etype492, _size489) = iprot.readListBegin()
24418
          for _i493 in xrange(_size489):
24419
            _elem494 = Amazonlisted()
24420
            _elem494.read(iprot)
24421
            self.success.append(_elem494)
7291 vikram.rag 24422
          iprot.readListEnd()
24423
        else:
24424
          iprot.skip(ftype)
24425
      else:
24426
        iprot.skip(ftype)
24427
      iprot.readFieldEnd()
24428
    iprot.readStructEnd()
24429
 
24430
  def write(self, oprot):
24431
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
24432
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
24433
      return
24434
    oprot.writeStructBegin('getAllFbaListedItems_result')
24435
    if self.success is not None:
24436
      oprot.writeFieldBegin('success', TType.LIST, 0)
24437
      oprot.writeListBegin(TType.STRUCT, len(self.success))
21838 amit.gupta 24438
      for iter495 in self.success:
24439
        iter495.write(oprot)
7291 vikram.rag 24440
      oprot.writeListEnd()
24441
      oprot.writeFieldEnd()
24442
    oprot.writeFieldStop()
24443
    oprot.writeStructEnd()
24444
 
24445
  def validate(self):
24446
    return
24447
 
24448
 
24449
  def __repr__(self):
24450
    L = ['%s=%r' % (key, value)
24451
      for key, value in self.__dict__.iteritems()]
24452
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
24453
 
24454
  def __eq__(self, other):
24455
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
24456
 
24457
  def __ne__(self, other):
24458
    return not (self == other)
24459
 
24460
class getAllNonFbaListedItems_args:
24461
 
24462
  thrift_spec = (
24463
  )
24464
 
24465
  def read(self, iprot):
24466
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
24467
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
24468
      return
24469
    iprot.readStructBegin()
24470
    while True:
24471
      (fname, ftype, fid) = iprot.readFieldBegin()
24472
      if ftype == TType.STOP:
24473
        break
24474
      else:
24475
        iprot.skip(ftype)
24476
      iprot.readFieldEnd()
24477
    iprot.readStructEnd()
24478
 
24479
  def write(self, oprot):
24480
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
24481
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
24482
      return
24483
    oprot.writeStructBegin('getAllNonFbaListedItems_args')
24484
    oprot.writeFieldStop()
24485
    oprot.writeStructEnd()
24486
 
24487
  def validate(self):
24488
    return
24489
 
24490
 
24491
  def __repr__(self):
24492
    L = ['%s=%r' % (key, value)
24493
      for key, value in self.__dict__.iteritems()]
24494
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
24495
 
24496
  def __eq__(self, other):
24497
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
24498
 
24499
  def __ne__(self, other):
24500
    return not (self == other)
24501
 
24502
class getAllNonFbaListedItems_result:
24503
  """
24504
  Attributes:
24505
   - success
24506
  """
24507
 
24508
  thrift_spec = (
24509
    (0, TType.LIST, 'success', (TType.STRUCT,(Amazonlisted, Amazonlisted.thrift_spec)), None, ), # 0
24510
  )
24511
 
24512
  def __init__(self, success=None,):
24513
    self.success = success
24514
 
24515
  def read(self, iprot):
24516
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
24517
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
24518
      return
24519
    iprot.readStructBegin()
24520
    while True:
24521
      (fname, ftype, fid) = iprot.readFieldBegin()
24522
      if ftype == TType.STOP:
24523
        break
24524
      if fid == 0:
24525
        if ftype == TType.LIST:
24526
          self.success = []
21838 amit.gupta 24527
          (_etype499, _size496) = iprot.readListBegin()
24528
          for _i500 in xrange(_size496):
24529
            _elem501 = Amazonlisted()
24530
            _elem501.read(iprot)
24531
            self.success.append(_elem501)
7291 vikram.rag 24532
          iprot.readListEnd()
24533
        else:
24534
          iprot.skip(ftype)
24535
      else:
24536
        iprot.skip(ftype)
24537
      iprot.readFieldEnd()
24538
    iprot.readStructEnd()
24539
 
24540
  def write(self, oprot):
24541
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
24542
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
24543
      return
24544
    oprot.writeStructBegin('getAllNonFbaListedItems_result')
24545
    if self.success is not None:
24546
      oprot.writeFieldBegin('success', TType.LIST, 0)
24547
      oprot.writeListBegin(TType.STRUCT, len(self.success))
21838 amit.gupta 24548
      for iter502 in self.success:
24549
        iter502.write(oprot)
7291 vikram.rag 24550
      oprot.writeListEnd()
24551
      oprot.writeFieldEnd()
24552
    oprot.writeFieldStop()
24553
    oprot.writeStructEnd()
24554
 
24555
  def validate(self):
24556
    return
24557
 
24558
 
24559
  def __repr__(self):
24560
    L = ['%s=%r' % (key, value)
24561
      for key, value in self.__dict__.iteritems()]
24562
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
24563
 
24564
  def __eq__(self, other):
24565
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
24566
 
24567
  def __ne__(self, other):
24568
    return not (self == other)
7460 kshitij.so 24569
 
24570
class updateItemInventory_args:
24571
  """
24572
  Attributes:
24573
   - itemId
24574
   - holdInventory
24575
   - defaultInventory
24576
  """
24577
 
24578
  thrift_spec = (
24579
    None, # 0
24580
    (1, TType.I64, 'itemId', None, None, ), # 1
24581
    (2, TType.I64, 'holdInventory', None, None, ), # 2
24582
    (3, TType.I64, 'defaultInventory', None, None, ), # 3
24583
  )
24584
 
24585
  def __init__(self, itemId=None, holdInventory=None, defaultInventory=None,):
24586
    self.itemId = itemId
24587
    self.holdInventory = holdInventory
24588
    self.defaultInventory = defaultInventory
24589
 
24590
  def read(self, iprot):
24591
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
24592
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
24593
      return
24594
    iprot.readStructBegin()
24595
    while True:
24596
      (fname, ftype, fid) = iprot.readFieldBegin()
24597
      if ftype == TType.STOP:
24598
        break
24599
      if fid == 1:
24600
        if ftype == TType.I64:
24601
          self.itemId = iprot.readI64();
24602
        else:
24603
          iprot.skip(ftype)
24604
      elif fid == 2:
24605
        if ftype == TType.I64:
24606
          self.holdInventory = iprot.readI64();
24607
        else:
24608
          iprot.skip(ftype)
24609
      elif fid == 3:
24610
        if ftype == TType.I64:
24611
          self.defaultInventory = iprot.readI64();
24612
        else:
24613
          iprot.skip(ftype)
24614
      else:
24615
        iprot.skip(ftype)
24616
      iprot.readFieldEnd()
24617
    iprot.readStructEnd()
24618
 
24619
  def write(self, oprot):
24620
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
24621
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
24622
      return
24623
    oprot.writeStructBegin('updateItemInventory_args')
24624
    if self.itemId is not None:
24625
      oprot.writeFieldBegin('itemId', TType.I64, 1)
24626
      oprot.writeI64(self.itemId)
24627
      oprot.writeFieldEnd()
24628
    if self.holdInventory is not None:
24629
      oprot.writeFieldBegin('holdInventory', TType.I64, 2)
24630
      oprot.writeI64(self.holdInventory)
24631
      oprot.writeFieldEnd()
24632
    if self.defaultInventory is not None:
24633
      oprot.writeFieldBegin('defaultInventory', TType.I64, 3)
24634
      oprot.writeI64(self.defaultInventory)
24635
      oprot.writeFieldEnd()
24636
    oprot.writeFieldStop()
24637
    oprot.writeStructEnd()
24638
 
24639
  def validate(self):
24640
    return
24641
 
24642
 
24643
  def __repr__(self):
24644
    L = ['%s=%r' % (key, value)
24645
      for key, value in self.__dict__.iteritems()]
24646
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
24647
 
24648
  def __eq__(self, other):
24649
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
24650
 
24651
  def __ne__(self, other):
24652
    return not (self == other)
24653
 
24654
class updateItemInventory_result:
24655
  """
24656
  Attributes:
24657
   - success
24658
  """
24659
 
24660
  thrift_spec = (
24661
    (0, TType.BOOL, 'success', None, None, ), # 0
24662
  )
24663
 
24664
  def __init__(self, success=None,):
24665
    self.success = success
24666
 
24667
  def read(self, iprot):
24668
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
24669
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
24670
      return
24671
    iprot.readStructBegin()
24672
    while True:
24673
      (fname, ftype, fid) = iprot.readFieldBegin()
24674
      if ftype == TType.STOP:
24675
        break
24676
      if fid == 0:
24677
        if ftype == TType.BOOL:
24678
          self.success = iprot.readBool();
24679
        else:
24680
          iprot.skip(ftype)
24681
      else:
24682
        iprot.skip(ftype)
24683
      iprot.readFieldEnd()
24684
    iprot.readStructEnd()
24685
 
24686
  def write(self, oprot):
24687
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
24688
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
24689
      return
24690
    oprot.writeStructBegin('updateItemInventory_result')
24691
    if self.success is not None:
24692
      oprot.writeFieldBegin('success', TType.BOOL, 0)
24693
      oprot.writeBool(self.success)
24694
      oprot.writeFieldEnd()
24695
    oprot.writeFieldStop()
24696
    oprot.writeStructEnd()
24697
 
24698
  def validate(self):
24699
    return
24700
 
24701
 
24702
  def __repr__(self):
24703
    L = ['%s=%r' % (key, value)
24704
      for key, value in self.__dict__.iteritems()]
24705
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
24706
 
24707
  def __eq__(self, other):
24708
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
24709
 
24710
  def __ne__(self, other):
24711
    return not (self == other)
7770 kshitij.so 24712
 
24713
class updateTimestampForAmazonFeeds_args:
24714
  """
24715
  Attributes:
24716
   - type
24717
   - sku
24718
   - timestamp
24719
  """
24720
 
24721
  thrift_spec = (
24722
    None, # 0
24723
    (1, TType.STRING, 'type', None, None, ), # 1
24724
    (2, TType.LIST, 'sku', (TType.I64,None), None, ), # 2
24725
    (3, TType.I64, 'timestamp', None, None, ), # 3
24726
  )
24727
 
24728
  def __init__(self, type=None, sku=None, timestamp=None,):
24729
    self.type = type
24730
    self.sku = sku
24731
    self.timestamp = timestamp
24732
 
24733
  def read(self, iprot):
24734
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
24735
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
24736
      return
24737
    iprot.readStructBegin()
24738
    while True:
24739
      (fname, ftype, fid) = iprot.readFieldBegin()
24740
      if ftype == TType.STOP:
24741
        break
24742
      if fid == 1:
24743
        if ftype == TType.STRING:
24744
          self.type = iprot.readString();
24745
        else:
24746
          iprot.skip(ftype)
24747
      elif fid == 2:
24748
        if ftype == TType.LIST:
24749
          self.sku = []
21838 amit.gupta 24750
          (_etype506, _size503) = iprot.readListBegin()
24751
          for _i507 in xrange(_size503):
24752
            _elem508 = iprot.readI64();
24753
            self.sku.append(_elem508)
7770 kshitij.so 24754
          iprot.readListEnd()
24755
        else:
24756
          iprot.skip(ftype)
24757
      elif fid == 3:
24758
        if ftype == TType.I64:
24759
          self.timestamp = iprot.readI64();
24760
        else:
24761
          iprot.skip(ftype)
24762
      else:
24763
        iprot.skip(ftype)
24764
      iprot.readFieldEnd()
24765
    iprot.readStructEnd()
24766
 
24767
  def write(self, oprot):
24768
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
24769
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
24770
      return
24771
    oprot.writeStructBegin('updateTimestampForAmazonFeeds_args')
24772
    if self.type is not None:
24773
      oprot.writeFieldBegin('type', TType.STRING, 1)
24774
      oprot.writeString(self.type)
24775
      oprot.writeFieldEnd()
24776
    if self.sku is not None:
24777
      oprot.writeFieldBegin('sku', TType.LIST, 2)
24778
      oprot.writeListBegin(TType.I64, len(self.sku))
21838 amit.gupta 24779
      for iter509 in self.sku:
24780
        oprot.writeI64(iter509)
7770 kshitij.so 24781
      oprot.writeListEnd()
24782
      oprot.writeFieldEnd()
24783
    if self.timestamp is not None:
24784
      oprot.writeFieldBegin('timestamp', TType.I64, 3)
24785
      oprot.writeI64(self.timestamp)
24786
      oprot.writeFieldEnd()
24787
    oprot.writeFieldStop()
24788
    oprot.writeStructEnd()
24789
 
24790
  def validate(self):
24791
    return
24792
 
24793
 
24794
  def __repr__(self):
24795
    L = ['%s=%r' % (key, value)
24796
      for key, value in self.__dict__.iteritems()]
24797
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
24798
 
24799
  def __eq__(self, other):
24800
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
24801
 
24802
  def __ne__(self, other):
24803
    return not (self == other)
24804
 
24805
class updateTimestampForAmazonFeeds_result:
24806
  """
24807
  Attributes:
24808
   - success
24809
  """
24810
 
24811
  thrift_spec = (
24812
    (0, TType.BOOL, 'success', None, None, ), # 0
24813
  )
24814
 
24815
  def __init__(self, success=None,):
24816
    self.success = success
24817
 
24818
  def read(self, iprot):
24819
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
24820
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
24821
      return
24822
    iprot.readStructBegin()
24823
    while True:
24824
      (fname, ftype, fid) = iprot.readFieldBegin()
24825
      if ftype == TType.STOP:
24826
        break
24827
      if fid == 0:
24828
        if ftype == TType.BOOL:
24829
          self.success = iprot.readBool();
24830
        else:
24831
          iprot.skip(ftype)
24832
      else:
24833
        iprot.skip(ftype)
24834
      iprot.readFieldEnd()
24835
    iprot.readStructEnd()
24836
 
24837
  def write(self, oprot):
24838
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
24839
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
24840
      return
24841
    oprot.writeStructBegin('updateTimestampForAmazonFeeds_result')
24842
    if self.success is not None:
24843
      oprot.writeFieldBegin('success', TType.BOOL, 0)
24844
      oprot.writeBool(self.success)
24845
      oprot.writeFieldEnd()
24846
    oprot.writeFieldStop()
24847
    oprot.writeStructEnd()
24848
 
24849
  def validate(self):
24850
    return
24851
 
24852
 
24853
  def __repr__(self):
24854
    L = ['%s=%r' % (key, value)
24855
      for key, value in self.__dict__.iteritems()]
24856
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
24857
 
24858
  def __eq__(self, other):
24859
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
24860
 
24861
  def __ne__(self, other):
24862
    return not (self == other)
7897 amar.kumar 24863
 
24864
class getAllParentCategories_args:
24865
 
24866
  thrift_spec = (
24867
  )
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
24878
      else:
24879
        iprot.skip(ftype)
24880
      iprot.readFieldEnd()
24881
    iprot.readStructEnd()
24882
 
24883
  def write(self, oprot):
24884
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
24885
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
24886
      return
24887
    oprot.writeStructBegin('getAllParentCategories_args')
24888
    oprot.writeFieldStop()
24889
    oprot.writeStructEnd()
24890
 
24891
  def validate(self):
24892
    return
24893
 
24894
 
24895
  def __repr__(self):
24896
    L = ['%s=%r' % (key, value)
24897
      for key, value in self.__dict__.iteritems()]
24898
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
24899
 
24900
  def __eq__(self, other):
24901
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
24902
 
24903
  def __ne__(self, other):
24904
    return not (self == other)
24905
 
24906
class getAllParentCategories_result:
24907
  """
24908
  Attributes:
24909
   - success
24910
  """
24911
 
24912
  thrift_spec = (
24913
    (0, TType.LIST, 'success', (TType.STRUCT,(Category, Category.thrift_spec)), None, ), # 0
24914
  )
24915
 
24916
  def __init__(self, success=None,):
24917
    self.success = success
24918
 
24919
  def read(self, iprot):
24920
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
24921
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
24922
      return
24923
    iprot.readStructBegin()
24924
    while True:
24925
      (fname, ftype, fid) = iprot.readFieldBegin()
24926
      if ftype == TType.STOP:
24927
        break
24928
      if fid == 0:
24929
        if ftype == TType.LIST:
24930
          self.success = []
21838 amit.gupta 24931
          (_etype513, _size510) = iprot.readListBegin()
24932
          for _i514 in xrange(_size510):
24933
            _elem515 = Category()
24934
            _elem515.read(iprot)
24935
            self.success.append(_elem515)
7897 amar.kumar 24936
          iprot.readListEnd()
24937
        else:
24938
          iprot.skip(ftype)
24939
      else:
24940
        iprot.skip(ftype)
24941
      iprot.readFieldEnd()
24942
    iprot.readStructEnd()
24943
 
24944
  def write(self, oprot):
24945
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
24946
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
24947
      return
24948
    oprot.writeStructBegin('getAllParentCategories_result')
24949
    if self.success is not None:
24950
      oprot.writeFieldBegin('success', TType.LIST, 0)
24951
      oprot.writeListBegin(TType.STRUCT, len(self.success))
21838 amit.gupta 24952
      for iter516 in self.success:
24953
        iter516.write(oprot)
7897 amar.kumar 24954
      oprot.writeListEnd()
24955
      oprot.writeFieldEnd()
24956
    oprot.writeFieldStop()
24957
    oprot.writeStructEnd()
24958
 
24959
  def validate(self):
24960
    return
24961
 
24962
 
24963
  def __repr__(self):
24964
    L = ['%s=%r' % (key, value)
24965
      for key, value in self.__dict__.iteritems()]
24966
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
24967
 
24968
  def __eq__(self, other):
24969
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
24970
 
24971
  def __ne__(self, other):
24972
    return not (self == other)
7977 kshitij.so 24973
 
24974
class addPageViewEvent_args:
24975
  """
24976
  Attributes:
24977
   - pageViewEvents
24978
  """
24979
 
24980
  thrift_spec = (
24981
    None, # 0
24982
    (1, TType.STRUCT, 'pageViewEvents', (PageViewEvents, PageViewEvents.thrift_spec), None, ), # 1
24983
  )
24984
 
24985
  def __init__(self, pageViewEvents=None,):
24986
    self.pageViewEvents = pageViewEvents
24987
 
24988
  def read(self, iprot):
24989
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
24990
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
24991
      return
24992
    iprot.readStructBegin()
24993
    while True:
24994
      (fname, ftype, fid) = iprot.readFieldBegin()
24995
      if ftype == TType.STOP:
24996
        break
24997
      if fid == 1:
24998
        if ftype == TType.STRUCT:
24999
          self.pageViewEvents = PageViewEvents()
25000
          self.pageViewEvents.read(iprot)
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
25012
    oprot.writeStructBegin('addPageViewEvent_args')
25013
    if self.pageViewEvents is not None:
25014
      oprot.writeFieldBegin('pageViewEvents', TType.STRUCT, 1)
25015
      self.pageViewEvents.write(oprot)
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
 
25035
class addPageViewEvent_result:
25036
 
25037
  thrift_spec = (
25038
  )
25039
 
25040
  def read(self, iprot):
25041
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
25042
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
25043
      return
25044
    iprot.readStructBegin()
25045
    while True:
25046
      (fname, ftype, fid) = iprot.readFieldBegin()
25047
      if ftype == TType.STOP:
25048
        break
25049
      else:
25050
        iprot.skip(ftype)
25051
      iprot.readFieldEnd()
25052
    iprot.readStructEnd()
25053
 
25054
  def write(self, oprot):
25055
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
25056
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
25057
      return
25058
    oprot.writeStructBegin('addPageViewEvent_result')
25059
    oprot.writeFieldStop()
25060
    oprot.writeStructEnd()
25061
 
25062
  def validate(self):
25063
    return
25064
 
25065
 
25066
  def __repr__(self):
25067
    L = ['%s=%r' % (key, value)
25068
      for key, value in self.__dict__.iteritems()]
25069
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
25070
 
25071
  def __eq__(self, other):
25072
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
25073
 
25074
  def __ne__(self, other):
25075
    return not (self == other)
25076
 
25077
class addCartEvent_args:
25078
  """
25079
  Attributes:
25080
   - cartEvents
25081
  """
25082
 
25083
  thrift_spec = (
25084
    None, # 0
25085
    (1, TType.STRUCT, 'cartEvents', (CartEvents, CartEvents.thrift_spec), None, ), # 1
25086
  )
25087
 
25088
  def __init__(self, cartEvents=None,):
25089
    self.cartEvents = cartEvents
25090
 
25091
  def read(self, iprot):
25092
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
25093
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
25094
      return
25095
    iprot.readStructBegin()
25096
    while True:
25097
      (fname, ftype, fid) = iprot.readFieldBegin()
25098
      if ftype == TType.STOP:
25099
        break
25100
      if fid == 1:
25101
        if ftype == TType.STRUCT:
25102
          self.cartEvents = CartEvents()
25103
          self.cartEvents.read(iprot)
25104
        else:
25105
          iprot.skip(ftype)
25106
      else:
25107
        iprot.skip(ftype)
25108
      iprot.readFieldEnd()
25109
    iprot.readStructEnd()
25110
 
25111
  def write(self, oprot):
25112
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
25113
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
25114
      return
25115
    oprot.writeStructBegin('addCartEvent_args')
25116
    if self.cartEvents is not None:
25117
      oprot.writeFieldBegin('cartEvents', TType.STRUCT, 1)
25118
      self.cartEvents.write(oprot)
25119
      oprot.writeFieldEnd()
25120
    oprot.writeFieldStop()
25121
    oprot.writeStructEnd()
25122
 
25123
  def validate(self):
25124
    return
25125
 
25126
 
25127
  def __repr__(self):
25128
    L = ['%s=%r' % (key, value)
25129
      for key, value in self.__dict__.iteritems()]
25130
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
25131
 
25132
  def __eq__(self, other):
25133
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
25134
 
25135
  def __ne__(self, other):
25136
    return not (self == other)
25137
 
25138
class addCartEvent_result:
25139
 
25140
  thrift_spec = (
25141
  )
25142
 
25143
  def read(self, iprot):
25144
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
25145
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
25146
      return
25147
    iprot.readStructBegin()
25148
    while True:
25149
      (fname, ftype, fid) = iprot.readFieldBegin()
25150
      if ftype == TType.STOP:
25151
        break
25152
      else:
25153
        iprot.skip(ftype)
25154
      iprot.readFieldEnd()
25155
    iprot.readStructEnd()
25156
 
25157
  def write(self, oprot):
25158
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
25159
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
25160
      return
25161
    oprot.writeStructBegin('addCartEvent_result')
25162
    oprot.writeFieldStop()
25163
    oprot.writeStructEnd()
25164
 
25165
  def validate(self):
25166
    return
25167
 
25168
 
25169
  def __repr__(self):
25170
    L = ['%s=%r' % (key, value)
25171
      for key, value in self.__dict__.iteritems()]
25172
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
25173
 
25174
  def __eq__(self, other):
25175
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
25176
 
25177
  def __ne__(self, other):
25178
    return not (self == other)
8139 kshitij.so 25179
 
8182 amar.kumar 25180
class addEbayItem_args:
25181
  """
25182
  Attributes:
25183
   - ebayItem
25184
  """
25185
 
25186
  thrift_spec = (
25187
    None, # 0
25188
    (1, TType.STRUCT, 'ebayItem', (EbayItem, EbayItem.thrift_spec), None, ), # 1
25189
  )
25190
 
25191
  def __init__(self, ebayItem=None,):
25192
    self.ebayItem = ebayItem
25193
 
25194
  def read(self, iprot):
25195
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
25196
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
25197
      return
25198
    iprot.readStructBegin()
25199
    while True:
25200
      (fname, ftype, fid) = iprot.readFieldBegin()
25201
      if ftype == TType.STOP:
25202
        break
25203
      if fid == 1:
25204
        if ftype == TType.STRUCT:
25205
          self.ebayItem = EbayItem()
25206
          self.ebayItem.read(iprot)
25207
        else:
25208
          iprot.skip(ftype)
25209
      else:
25210
        iprot.skip(ftype)
25211
      iprot.readFieldEnd()
25212
    iprot.readStructEnd()
25213
 
25214
  def write(self, oprot):
25215
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
25216
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
25217
      return
25218
    oprot.writeStructBegin('addEbayItem_args')
25219
    if self.ebayItem is not None:
25220
      oprot.writeFieldBegin('ebayItem', TType.STRUCT, 1)
25221
      self.ebayItem.write(oprot)
25222
      oprot.writeFieldEnd()
25223
    oprot.writeFieldStop()
25224
    oprot.writeStructEnd()
25225
 
25226
  def validate(self):
25227
    return
25228
 
25229
 
25230
  def __repr__(self):
25231
    L = ['%s=%r' % (key, value)
25232
      for key, value in self.__dict__.iteritems()]
25233
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
25234
 
25235
  def __eq__(self, other):
25236
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
25237
 
25238
  def __ne__(self, other):
25239
    return not (self == other)
25240
 
25241
class addEbayItem_result:
25242
 
25243
  thrift_spec = (
25244
  )
25245
 
25246
  def read(self, iprot):
25247
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
25248
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
25249
      return
25250
    iprot.readStructBegin()
25251
    while True:
25252
      (fname, ftype, fid) = iprot.readFieldBegin()
25253
      if ftype == TType.STOP:
25254
        break
25255
      else:
25256
        iprot.skip(ftype)
25257
      iprot.readFieldEnd()
25258
    iprot.readStructEnd()
25259
 
25260
  def write(self, oprot):
25261
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
25262
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
25263
      return
25264
    oprot.writeStructBegin('addEbayItem_result')
25265
    oprot.writeFieldStop()
25266
    oprot.writeStructEnd()
25267
 
25268
  def validate(self):
25269
    return
25270
 
25271
 
25272
  def __repr__(self):
25273
    L = ['%s=%r' % (key, value)
25274
      for key, value in self.__dict__.iteritems()]
25275
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
25276
 
25277
  def __eq__(self, other):
25278
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
25279
 
25280
  def __ne__(self, other):
25281
    return not (self == other)
25282
 
25283
class getEbayItem_args:
25284
  """
25285
  Attributes:
25286
   - listingId
25287
  """
25288
 
25289
  thrift_spec = (
25290
    None, # 0
25291
    (1, TType.STRING, 'listingId', None, None, ), # 1
25292
  )
25293
 
25294
  def __init__(self, listingId=None,):
25295
    self.listingId = listingId
25296
 
25297
  def read(self, iprot):
25298
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
25299
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
25300
      return
25301
    iprot.readStructBegin()
25302
    while True:
25303
      (fname, ftype, fid) = iprot.readFieldBegin()
25304
      if ftype == TType.STOP:
25305
        break
25306
      if fid == 1:
25307
        if ftype == TType.STRING:
25308
          self.listingId = iprot.readString();
25309
        else:
25310
          iprot.skip(ftype)
25311
      else:
25312
        iprot.skip(ftype)
25313
      iprot.readFieldEnd()
25314
    iprot.readStructEnd()
25315
 
25316
  def write(self, oprot):
25317
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
25318
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
25319
      return
25320
    oprot.writeStructBegin('getEbayItem_args')
25321
    if self.listingId is not None:
25322
      oprot.writeFieldBegin('listingId', TType.STRING, 1)
25323
      oprot.writeString(self.listingId)
25324
      oprot.writeFieldEnd()
25325
    oprot.writeFieldStop()
25326
    oprot.writeStructEnd()
25327
 
25328
  def validate(self):
25329
    return
25330
 
25331
 
25332
  def __repr__(self):
25333
    L = ['%s=%r' % (key, value)
25334
      for key, value in self.__dict__.iteritems()]
25335
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
25336
 
25337
  def __eq__(self, other):
25338
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
25339
 
25340
  def __ne__(self, other):
25341
    return not (self == other)
25342
 
25343
class getEbayItem_result:
25344
  """
25345
  Attributes:
25346
   - success
25347
  """
25348
 
25349
  thrift_spec = (
25350
    (0, TType.STRUCT, 'success', (EbayItem, EbayItem.thrift_spec), None, ), # 0
25351
  )
25352
 
25353
  def __init__(self, success=None,):
25354
    self.success = success
25355
 
25356
  def read(self, iprot):
25357
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
25358
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
25359
      return
25360
    iprot.readStructBegin()
25361
    while True:
25362
      (fname, ftype, fid) = iprot.readFieldBegin()
25363
      if ftype == TType.STOP:
25364
        break
25365
      if fid == 0:
25366
        if ftype == TType.STRUCT:
25367
          self.success = EbayItem()
25368
          self.success.read(iprot)
25369
        else:
25370
          iprot.skip(ftype)
25371
      else:
25372
        iprot.skip(ftype)
25373
      iprot.readFieldEnd()
25374
    iprot.readStructEnd()
25375
 
25376
  def write(self, oprot):
25377
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
25378
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
25379
      return
25380
    oprot.writeStructBegin('getEbayItem_result')
25381
    if self.success is not None:
25382
      oprot.writeFieldBegin('success', TType.STRUCT, 0)
25383
      self.success.write(oprot)
25384
      oprot.writeFieldEnd()
25385
    oprot.writeFieldStop()
25386
    oprot.writeStructEnd()
25387
 
25388
  def validate(self):
25389
    return
25390
 
25391
 
25392
  def __repr__(self):
25393
    L = ['%s=%r' % (key, value)
25394
      for key, value in self.__dict__.iteritems()]
25395
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
25396
 
25397
  def __eq__(self, other):
25398
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
25399
 
25400
  def __ne__(self, other):
25401
    return not (self == other)
25402
 
25403
class updateEbayItem_args:
25404
  """
25405
  Attributes:
25406
   - ebayItem
25407
  """
25408
 
25409
  thrift_spec = (
25410
    None, # 0
25411
    (1, TType.STRUCT, 'ebayItem', (EbayItem, EbayItem.thrift_spec), None, ), # 1
25412
  )
25413
 
25414
  def __init__(self, ebayItem=None,):
25415
    self.ebayItem = ebayItem
25416
 
25417
  def read(self, iprot):
25418
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
25419
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
25420
      return
25421
    iprot.readStructBegin()
25422
    while True:
25423
      (fname, ftype, fid) = iprot.readFieldBegin()
25424
      if ftype == TType.STOP:
25425
        break
25426
      if fid == 1:
25427
        if ftype == TType.STRUCT:
25428
          self.ebayItem = EbayItem()
25429
          self.ebayItem.read(iprot)
25430
        else:
25431
          iprot.skip(ftype)
25432
      else:
25433
        iprot.skip(ftype)
25434
      iprot.readFieldEnd()
25435
    iprot.readStructEnd()
25436
 
25437
  def write(self, oprot):
25438
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
25439
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
25440
      return
25441
    oprot.writeStructBegin('updateEbayItem_args')
25442
    if self.ebayItem is not None:
25443
      oprot.writeFieldBegin('ebayItem', TType.STRUCT, 1)
25444
      self.ebayItem.write(oprot)
25445
      oprot.writeFieldEnd()
25446
    oprot.writeFieldStop()
25447
    oprot.writeStructEnd()
25448
 
25449
  def validate(self):
25450
    return
25451
 
25452
 
25453
  def __repr__(self):
25454
    L = ['%s=%r' % (key, value)
25455
      for key, value in self.__dict__.iteritems()]
25456
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
25457
 
25458
  def __eq__(self, other):
25459
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
25460
 
25461
  def __ne__(self, other):
25462
    return not (self == other)
25463
 
25464
class updateEbayItem_result:
25465
 
25466
  thrift_spec = (
25467
  )
25468
 
25469
  def read(self, iprot):
25470
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
25471
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
25472
      return
25473
    iprot.readStructBegin()
25474
    while True:
25475
      (fname, ftype, fid) = iprot.readFieldBegin()
25476
      if ftype == TType.STOP:
25477
        break
25478
      else:
25479
        iprot.skip(ftype)
25480
      iprot.readFieldEnd()
25481
    iprot.readStructEnd()
25482
 
25483
  def write(self, oprot):
25484
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
25485
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
25486
      return
25487
    oprot.writeStructBegin('updateEbayItem_result')
25488
    oprot.writeFieldStop()
25489
    oprot.writeStructEnd()
25490
 
25491
  def validate(self):
25492
    return
25493
 
25494
 
25495
  def __repr__(self):
25496
    L = ['%s=%r' % (key, value)
25497
      for key, value in self.__dict__.iteritems()]
25498
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
25499
 
25500
  def __eq__(self, other):
25501
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
25502
 
25503
  def __ne__(self, other):
25504
    return not (self == other)
25505
 
8139 kshitij.so 25506
class getAmazonListedItems_args:
25507
  """
25508
  Attributes:
25509
   - offset
25510
   - limit
25511
  """
25512
 
25513
  thrift_spec = (
25514
    None, # 0
25515
    (1, TType.I64, 'offset', None, None, ), # 1
25516
    (2, TType.I64, 'limit', None, None, ), # 2
25517
  )
25518
 
25519
  def __init__(self, offset=None, limit=None,):
25520
    self.offset = offset
25521
    self.limit = limit
25522
 
25523
  def read(self, iprot):
25524
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
25525
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
25526
      return
25527
    iprot.readStructBegin()
25528
    while True:
25529
      (fname, ftype, fid) = iprot.readFieldBegin()
25530
      if ftype == TType.STOP:
25531
        break
25532
      if fid == 1:
25533
        if ftype == TType.I64:
25534
          self.offset = iprot.readI64();
25535
        else:
25536
          iprot.skip(ftype)
25537
      elif fid == 2:
25538
        if ftype == TType.I64:
25539
          self.limit = iprot.readI64();
25540
        else:
25541
          iprot.skip(ftype)
25542
      else:
25543
        iprot.skip(ftype)
25544
      iprot.readFieldEnd()
25545
    iprot.readStructEnd()
25546
 
25547
  def write(self, oprot):
25548
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
25549
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
25550
      return
25551
    oprot.writeStructBegin('getAmazonListedItems_args')
25552
    if self.offset is not None:
25553
      oprot.writeFieldBegin('offset', TType.I64, 1)
25554
      oprot.writeI64(self.offset)
25555
      oprot.writeFieldEnd()
25556
    if self.limit is not None:
25557
      oprot.writeFieldBegin('limit', TType.I64, 2)
25558
      oprot.writeI64(self.limit)
25559
      oprot.writeFieldEnd()
25560
    oprot.writeFieldStop()
25561
    oprot.writeStructEnd()
25562
 
25563
  def validate(self):
25564
    return
25565
 
25566
 
25567
  def __repr__(self):
25568
    L = ['%s=%r' % (key, value)
25569
      for key, value in self.__dict__.iteritems()]
25570
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
25571
 
25572
  def __eq__(self, other):
25573
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
25574
 
25575
  def __ne__(self, other):
25576
    return not (self == other)
25577
 
25578
class getAmazonListedItems_result:
25579
  """
25580
  Attributes:
25581
   - success
25582
  """
25583
 
25584
  thrift_spec = (
25585
    (0, TType.LIST, 'success', (TType.STRUCT,(Amazonlisted, Amazonlisted.thrift_spec)), None, ), # 0
25586
  )
25587
 
25588
  def __init__(self, success=None,):
25589
    self.success = success
25590
 
25591
  def read(self, iprot):
25592
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
25593
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
25594
      return
25595
    iprot.readStructBegin()
25596
    while True:
25597
      (fname, ftype, fid) = iprot.readFieldBegin()
25598
      if ftype == TType.STOP:
25599
        break
25600
      if fid == 0:
25601
        if ftype == TType.LIST:
25602
          self.success = []
21838 amit.gupta 25603
          (_etype520, _size517) = iprot.readListBegin()
25604
          for _i521 in xrange(_size517):
25605
            _elem522 = Amazonlisted()
25606
            _elem522.read(iprot)
25607
            self.success.append(_elem522)
8139 kshitij.so 25608
          iprot.readListEnd()
25609
        else:
25610
          iprot.skip(ftype)
25611
      else:
25612
        iprot.skip(ftype)
25613
      iprot.readFieldEnd()
25614
    iprot.readStructEnd()
25615
 
25616
  def write(self, oprot):
25617
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
25618
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
25619
      return
25620
    oprot.writeStructBegin('getAmazonListedItems_result')
25621
    if self.success is not None:
25622
      oprot.writeFieldBegin('success', TType.LIST, 0)
25623
      oprot.writeListBegin(TType.STRUCT, len(self.success))
21838 amit.gupta 25624
      for iter523 in self.success:
25625
        iter523.write(oprot)
8139 kshitij.so 25626
      oprot.writeListEnd()
25627
      oprot.writeFieldEnd()
25628
    oprot.writeFieldStop()
25629
    oprot.writeStructEnd()
25630
 
25631
  def validate(self):
25632
    return
25633
 
25634
 
25635
  def __repr__(self):
25636
    L = ['%s=%r' % (key, value)
25637
      for key, value in self.__dict__.iteritems()]
25638
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
25639
 
25640
  def __eq__(self, other):
25641
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
25642
 
25643
  def __ne__(self, other):
25644
    return not (self == other)
8168 kshitij.so 25645
 
25646
class updateAmazonAttributesInBulk_args:
25647
  """
25648
  Attributes:
25649
   - amazonlisted
25650
  """
25651
 
25652
  thrift_spec = (
25653
    None, # 0
25654
    (1, TType.MAP, 'amazonlisted', (TType.I64,None,TType.STRUCT,(Amazonlisted, Amazonlisted.thrift_spec)), None, ), # 1
25655
  )
25656
 
25657
  def __init__(self, amazonlisted=None,):
25658
    self.amazonlisted = amazonlisted
25659
 
25660
  def read(self, iprot):
25661
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
25662
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
25663
      return
25664
    iprot.readStructBegin()
25665
    while True:
25666
      (fname, ftype, fid) = iprot.readFieldBegin()
25667
      if ftype == TType.STOP:
25668
        break
25669
      if fid == 1:
25670
        if ftype == TType.MAP:
25671
          self.amazonlisted = {}
21838 amit.gupta 25672
          (_ktype525, _vtype526, _size524 ) = iprot.readMapBegin() 
25673
          for _i528 in xrange(_size524):
25674
            _key529 = iprot.readI64();
25675
            _val530 = Amazonlisted()
25676
            _val530.read(iprot)
25677
            self.amazonlisted[_key529] = _val530
8168 kshitij.so 25678
          iprot.readMapEnd()
25679
        else:
25680
          iprot.skip(ftype)
25681
      else:
25682
        iprot.skip(ftype)
25683
      iprot.readFieldEnd()
25684
    iprot.readStructEnd()
25685
 
25686
  def write(self, oprot):
25687
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
25688
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
25689
      return
25690
    oprot.writeStructBegin('updateAmazonAttributesInBulk_args')
25691
    if self.amazonlisted is not None:
25692
      oprot.writeFieldBegin('amazonlisted', TType.MAP, 1)
25693
      oprot.writeMapBegin(TType.I64, TType.STRUCT, len(self.amazonlisted))
21838 amit.gupta 25694
      for kiter531,viter532 in self.amazonlisted.items():
25695
        oprot.writeI64(kiter531)
25696
        viter532.write(oprot)
8168 kshitij.so 25697
      oprot.writeMapEnd()
25698
      oprot.writeFieldEnd()
25699
    oprot.writeFieldStop()
25700
    oprot.writeStructEnd()
25701
 
25702
  def validate(self):
25703
    return
25704
 
25705
 
25706
  def __repr__(self):
25707
    L = ['%s=%r' % (key, value)
25708
      for key, value in self.__dict__.iteritems()]
25709
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
25710
 
25711
  def __eq__(self, other):
25712
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
25713
 
25714
  def __ne__(self, other):
25715
    return not (self == other)
25716
 
25717
class updateAmazonAttributesInBulk_result:
25718
  """
25719
  Attributes:
25720
   - success
25721
  """
25722
 
25723
  thrift_spec = (
25724
    (0, TType.BOOL, 'success', None, None, ), # 0
25725
  )
25726
 
25727
  def __init__(self, success=None,):
25728
    self.success = success
25729
 
25730
  def read(self, iprot):
25731
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
25732
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
25733
      return
25734
    iprot.readStructBegin()
25735
    while True:
25736
      (fname, ftype, fid) = iprot.readFieldBegin()
25737
      if ftype == TType.STOP:
25738
        break
25739
      if fid == 0:
25740
        if ftype == TType.BOOL:
25741
          self.success = iprot.readBool();
25742
        else:
25743
          iprot.skip(ftype)
25744
      else:
25745
        iprot.skip(ftype)
25746
      iprot.readFieldEnd()
25747
    iprot.readStructEnd()
25748
 
25749
  def write(self, oprot):
25750
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
25751
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
25752
      return
25753
    oprot.writeStructBegin('updateAmazonAttributesInBulk_result')
25754
    if self.success is not None:
25755
      oprot.writeFieldBegin('success', TType.BOOL, 0)
25756
      oprot.writeBool(self.success)
25757
      oprot.writeFieldEnd()
25758
    oprot.writeFieldStop()
25759
    oprot.writeStructEnd()
25760
 
25761
  def validate(self):
25762
    return
25763
 
25764
 
25765
  def __repr__(self):
25766
    L = ['%s=%r' % (key, value)
25767
      for key, value in self.__dict__.iteritems()]
25768
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
25769
 
25770
  def __eq__(self, other):
25771
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
25772
 
25773
  def __ne__(self, other):
25774
    return not (self == other)
8379 vikram.rag 25775
 
25776
class getAllItemstoListOnFba_args:
25777
 
25778
  thrift_spec = (
25779
  )
25780
 
25781
  def read(self, iprot):
25782
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
25783
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
25784
      return
25785
    iprot.readStructBegin()
25786
    while True:
25787
      (fname, ftype, fid) = iprot.readFieldBegin()
25788
      if ftype == TType.STOP:
25789
        break
25790
      else:
25791
        iprot.skip(ftype)
25792
      iprot.readFieldEnd()
25793
    iprot.readStructEnd()
25794
 
25795
  def write(self, oprot):
25796
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
25797
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
25798
      return
25799
    oprot.writeStructBegin('getAllItemstoListOnFba_args')
25800
    oprot.writeFieldStop()
25801
    oprot.writeStructEnd()
25802
 
25803
  def validate(self):
25804
    return
25805
 
25806
 
25807
  def __repr__(self):
25808
    L = ['%s=%r' % (key, value)
25809
      for key, value in self.__dict__.iteritems()]
25810
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
25811
 
25812
  def __eq__(self, other):
25813
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
25814
 
25815
  def __ne__(self, other):
25816
    return not (self == other)
25817
 
25818
class getAllItemstoListOnFba_result:
25819
  """
25820
  Attributes:
25821
   - success
25822
  """
25823
 
25824
  thrift_spec = (
25825
    (0, TType.LIST, 'success', (TType.STRUCT,(Amazonlisted, Amazonlisted.thrift_spec)), None, ), # 0
25826
  )
25827
 
25828
  def __init__(self, success=None,):
25829
    self.success = success
25830
 
25831
  def read(self, iprot):
25832
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
25833
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
25834
      return
25835
    iprot.readStructBegin()
25836
    while True:
25837
      (fname, ftype, fid) = iprot.readFieldBegin()
25838
      if ftype == TType.STOP:
25839
        break
25840
      if fid == 0:
25841
        if ftype == TType.LIST:
25842
          self.success = []
21838 amit.gupta 25843
          (_etype536, _size533) = iprot.readListBegin()
25844
          for _i537 in xrange(_size533):
25845
            _elem538 = Amazonlisted()
25846
            _elem538.read(iprot)
25847
            self.success.append(_elem538)
8379 vikram.rag 25848
          iprot.readListEnd()
25849
        else:
25850
          iprot.skip(ftype)
25851
      else:
25852
        iprot.skip(ftype)
25853
      iprot.readFieldEnd()
25854
    iprot.readStructEnd()
25855
 
25856
  def write(self, oprot):
25857
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
25858
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
25859
      return
25860
    oprot.writeStructBegin('getAllItemstoListOnFba_result')
25861
    if self.success is not None:
25862
      oprot.writeFieldBegin('success', TType.LIST, 0)
25863
      oprot.writeListBegin(TType.STRUCT, len(self.success))
21838 amit.gupta 25864
      for iter539 in self.success:
25865
        iter539.write(oprot)
8379 vikram.rag 25866
      oprot.writeListEnd()
25867
      oprot.writeFieldEnd()
25868
    oprot.writeFieldStop()
25869
    oprot.writeStructEnd()
25870
 
25871
  def validate(self):
25872
    return
25873
 
25874
 
25875
  def __repr__(self):
25876
    L = ['%s=%r' % (key, value)
25877
      for key, value in self.__dict__.iteritems()]
25878
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
25879
 
25880
  def __eq__(self, other):
25881
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
25882
 
25883
  def __ne__(self, other):
25884
    return not (self == other)
25885
 
25886
class getAllItemstoListOnNonFba_args:
25887
 
25888
  thrift_spec = (
25889
  )
25890
 
25891
  def read(self, iprot):
25892
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
25893
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
25894
      return
25895
    iprot.readStructBegin()
25896
    while True:
25897
      (fname, ftype, fid) = iprot.readFieldBegin()
25898
      if ftype == TType.STOP:
25899
        break
25900
      else:
25901
        iprot.skip(ftype)
25902
      iprot.readFieldEnd()
25903
    iprot.readStructEnd()
25904
 
25905
  def write(self, oprot):
25906
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
25907
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
25908
      return
25909
    oprot.writeStructBegin('getAllItemstoListOnNonFba_args')
25910
    oprot.writeFieldStop()
25911
    oprot.writeStructEnd()
25912
 
25913
  def validate(self):
25914
    return
25915
 
25916
 
25917
  def __repr__(self):
25918
    L = ['%s=%r' % (key, value)
25919
      for key, value in self.__dict__.iteritems()]
25920
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
25921
 
25922
  def __eq__(self, other):
25923
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
25924
 
25925
  def __ne__(self, other):
25926
    return not (self == other)
25927
 
25928
class getAllItemstoListOnNonFba_result:
25929
  """
25930
  Attributes:
25931
   - success
25932
  """
25933
 
25934
  thrift_spec = (
25935
    (0, TType.LIST, 'success', (TType.STRUCT,(Amazonlisted, Amazonlisted.thrift_spec)), None, ), # 0
25936
  )
25937
 
25938
  def __init__(self, success=None,):
25939
    self.success = success
25940
 
25941
  def read(self, iprot):
25942
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
25943
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
25944
      return
25945
    iprot.readStructBegin()
25946
    while True:
25947
      (fname, ftype, fid) = iprot.readFieldBegin()
25948
      if ftype == TType.STOP:
25949
        break
25950
      if fid == 0:
25951
        if ftype == TType.LIST:
25952
          self.success = []
21838 amit.gupta 25953
          (_etype543, _size540) = iprot.readListBegin()
25954
          for _i544 in xrange(_size540):
25955
            _elem545 = Amazonlisted()
25956
            _elem545.read(iprot)
25957
            self.success.append(_elem545)
8379 vikram.rag 25958
          iprot.readListEnd()
25959
        else:
25960
          iprot.skip(ftype)
25961
      else:
25962
        iprot.skip(ftype)
25963
      iprot.readFieldEnd()
25964
    iprot.readStructEnd()
25965
 
25966
  def write(self, oprot):
25967
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
25968
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
25969
      return
25970
    oprot.writeStructBegin('getAllItemstoListOnNonFba_result')
25971
    if self.success is not None:
25972
      oprot.writeFieldBegin('success', TType.LIST, 0)
25973
      oprot.writeListBegin(TType.STRUCT, len(self.success))
21838 amit.gupta 25974
      for iter546 in self.success:
25975
        iter546.write(oprot)
8379 vikram.rag 25976
      oprot.writeListEnd()
25977
      oprot.writeFieldEnd()
25978
    oprot.writeFieldStop()
25979
    oprot.writeStructEnd()
25980
 
25981
  def validate(self):
25982
    return
25983
 
25984
 
25985
  def __repr__(self):
25986
    L = ['%s=%r' % (key, value)
25987
      for key, value in self.__dict__.iteritems()]
25988
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
25989
 
25990
  def __eq__(self, other):
25991
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
25992
 
25993
  def __ne__(self, other):
25994
    return not (self == other)
8616 vikram.rag 25995
 
9242 kshitij.so 25996
class updateAsin_args:
25997
  """
25998
  Attributes:
25999
   - item
26000
  """
8616 vikram.rag 26001
 
26002
  thrift_spec = (
9242 kshitij.so 26003
    None, # 0
26004
    (1, TType.MAP, 'item', (TType.I64,None,TType.STRUCT,(Item, Item.thrift_spec)), None, ), # 1
8616 vikram.rag 26005
  )
26006
 
9242 kshitij.so 26007
  def __init__(self, item=None,):
26008
    self.item = item
26009
 
8616 vikram.rag 26010
  def read(self, iprot):
26011
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
26012
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
26013
      return
26014
    iprot.readStructBegin()
26015
    while True:
26016
      (fname, ftype, fid) = iprot.readFieldBegin()
26017
      if ftype == TType.STOP:
26018
        break
9242 kshitij.so 26019
      if fid == 1:
26020
        if ftype == TType.MAP:
26021
          self.item = {}
21838 amit.gupta 26022
          (_ktype548, _vtype549, _size547 ) = iprot.readMapBegin() 
26023
          for _i551 in xrange(_size547):
26024
            _key552 = iprot.readI64();
26025
            _val553 = Item()
26026
            _val553.read(iprot)
26027
            self.item[_key552] = _val553
9242 kshitij.so 26028
          iprot.readMapEnd()
26029
        else:
26030
          iprot.skip(ftype)
8616 vikram.rag 26031
      else:
26032
        iprot.skip(ftype)
26033
      iprot.readFieldEnd()
26034
    iprot.readStructEnd()
26035
 
26036
  def write(self, oprot):
26037
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
26038
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
26039
      return
9242 kshitij.so 26040
    oprot.writeStructBegin('updateAsin_args')
26041
    if self.item is not None:
26042
      oprot.writeFieldBegin('item', TType.MAP, 1)
26043
      oprot.writeMapBegin(TType.I64, TType.STRUCT, len(self.item))
21838 amit.gupta 26044
      for kiter554,viter555 in self.item.items():
26045
        oprot.writeI64(kiter554)
26046
        viter555.write(oprot)
9242 kshitij.so 26047
      oprot.writeMapEnd()
26048
      oprot.writeFieldEnd()
8616 vikram.rag 26049
    oprot.writeFieldStop()
26050
    oprot.writeStructEnd()
26051
 
26052
  def validate(self):
26053
    return
26054
 
26055
 
26056
  def __repr__(self):
26057
    L = ['%s=%r' % (key, value)
26058
      for key, value in self.__dict__.iteritems()]
26059
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
26060
 
26061
  def __eq__(self, other):
26062
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
26063
 
26064
  def __ne__(self, other):
26065
    return not (self == other)
26066
 
9242 kshitij.so 26067
class updateAsin_result:
8616 vikram.rag 26068
 
26069
  thrift_spec = (
26070
  )
26071
 
26072
  def read(self, iprot):
26073
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
26074
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
26075
      return
26076
    iprot.readStructBegin()
26077
    while True:
26078
      (fname, ftype, fid) = iprot.readFieldBegin()
26079
      if ftype == TType.STOP:
26080
        break
26081
      else:
26082
        iprot.skip(ftype)
26083
      iprot.readFieldEnd()
26084
    iprot.readStructEnd()
26085
 
26086
  def write(self, oprot):
26087
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
26088
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
26089
      return
9242 kshitij.so 26090
    oprot.writeStructBegin('updateAsin_result')
8616 vikram.rag 26091
    oprot.writeFieldStop()
26092
    oprot.writeStructEnd()
26093
 
26094
  def validate(self):
26095
    return
26096
 
26097
 
26098
  def __repr__(self):
26099
    L = ['%s=%r' % (key, value)
26100
      for key, value in self.__dict__.iteritems()]
26101
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
26102
 
26103
  def __eq__(self, other):
26104
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
26105
 
26106
  def __ne__(self, other):
26107
    return not (self == other)
8619 kshitij.so 26108
 
9242 kshitij.so 26109
class addOrUpdateSnapdealItem_args:
8619 kshitij.so 26110
  """
26111
  Attributes:
9242 kshitij.so 26112
   - snapdealitem
8619 kshitij.so 26113
  """
26114
 
9242 kshitij.so 26115
  thrift_spec = None
26116
  def __init__(self, snapdealitem=None,):
26117
    self.snapdealitem = snapdealitem
8619 kshitij.so 26118
 
26119
  def read(self, iprot):
26120
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
26121
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
26122
      return
26123
    iprot.readStructBegin()
26124
    while True:
26125
      (fname, ftype, fid) = iprot.readFieldBegin()
26126
      if ftype == TType.STOP:
26127
        break
9242 kshitij.so 26128
      if fid == -1:
26129
        if ftype == TType.STRUCT:
26130
          self.snapdealitem = SnapdealItem()
26131
          self.snapdealitem.read(iprot)
8619 kshitij.so 26132
        else:
26133
          iprot.skip(ftype)
26134
      else:
26135
        iprot.skip(ftype)
26136
      iprot.readFieldEnd()
26137
    iprot.readStructEnd()
26138
 
26139
  def write(self, oprot):
26140
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
26141
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
26142
      return
9242 kshitij.so 26143
    oprot.writeStructBegin('addOrUpdateSnapdealItem_args')
26144
    if self.snapdealitem is not None:
26145
      oprot.writeFieldBegin('snapdealitem', TType.STRUCT, -1)
26146
      self.snapdealitem.write(oprot)
8619 kshitij.so 26147
      oprot.writeFieldEnd()
26148
    oprot.writeFieldStop()
26149
    oprot.writeStructEnd()
26150
 
26151
  def validate(self):
26152
    return
26153
 
26154
 
26155
  def __repr__(self):
26156
    L = ['%s=%r' % (key, value)
26157
      for key, value in self.__dict__.iteritems()]
26158
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
26159
 
26160
  def __eq__(self, other):
26161
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
26162
 
26163
  def __ne__(self, other):
26164
    return not (self == other)
26165
 
9242 kshitij.so 26166
class addOrUpdateSnapdealItem_result:
26167
  """
26168
  Attributes:
26169
   - success
26170
  """
8619 kshitij.so 26171
 
26172
  thrift_spec = (
9242 kshitij.so 26173
    (0, TType.BOOL, 'success', None, None, ), # 0
8619 kshitij.so 26174
  )
26175
 
9242 kshitij.so 26176
  def __init__(self, success=None,):
26177
    self.success = success
26178
 
8619 kshitij.so 26179
  def read(self, iprot):
26180
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
26181
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
26182
      return
26183
    iprot.readStructBegin()
26184
    while True:
26185
      (fname, ftype, fid) = iprot.readFieldBegin()
26186
      if ftype == TType.STOP:
26187
        break
9242 kshitij.so 26188
      if fid == 0:
26189
        if ftype == TType.BOOL:
26190
          self.success = iprot.readBool();
26191
        else:
26192
          iprot.skip(ftype)
8619 kshitij.so 26193
      else:
26194
        iprot.skip(ftype)
26195
      iprot.readFieldEnd()
26196
    iprot.readStructEnd()
26197
 
26198
  def write(self, oprot):
26199
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
26200
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
26201
      return
9242 kshitij.so 26202
    oprot.writeStructBegin('addOrUpdateSnapdealItem_result')
26203
    if self.success is not None:
26204
      oprot.writeFieldBegin('success', TType.BOOL, 0)
26205
      oprot.writeBool(self.success)
26206
      oprot.writeFieldEnd()
8619 kshitij.so 26207
    oprot.writeFieldStop()
26208
    oprot.writeStructEnd()
26209
 
26210
  def validate(self):
26211
    return
26212
 
26213
 
26214
  def __repr__(self):
26215
    L = ['%s=%r' % (key, value)
26216
      for key, value in self.__dict__.iteritems()]
26217
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
26218
 
26219
  def __eq__(self, other):
26220
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
26221
 
26222
  def __ne__(self, other):
26223
    return not (self == other)
8739 vikram.rag 26224
 
9242 kshitij.so 26225
class getSnapdealItem_args:
8739 vikram.rag 26226
  """
26227
  Attributes:
9242 kshitij.so 26228
   - item_id
8739 vikram.rag 26229
  """
26230
 
9242 kshitij.so 26231
  thrift_spec = (
26232
    None, # 0
26233
    (1, TType.I64, 'item_id', None, None, ), # 1
26234
  )
8739 vikram.rag 26235
 
9242 kshitij.so 26236
  def __init__(self, item_id=None,):
26237
    self.item_id = item_id
26238
 
8739 vikram.rag 26239
  def read(self, iprot):
26240
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
26241
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
26242
      return
26243
    iprot.readStructBegin()
26244
    while True:
26245
      (fname, ftype, fid) = iprot.readFieldBegin()
26246
      if ftype == TType.STOP:
26247
        break
9242 kshitij.so 26248
      if fid == 1:
26249
        if ftype == TType.I64:
26250
          self.item_id = iprot.readI64();
8739 vikram.rag 26251
        else:
26252
          iprot.skip(ftype)
26253
      else:
26254
        iprot.skip(ftype)
26255
      iprot.readFieldEnd()
26256
    iprot.readStructEnd()
26257
 
26258
  def write(self, oprot):
26259
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
26260
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
26261
      return
9242 kshitij.so 26262
    oprot.writeStructBegin('getSnapdealItem_args')
26263
    if self.item_id is not None:
26264
      oprot.writeFieldBegin('item_id', TType.I64, 1)
26265
      oprot.writeI64(self.item_id)
8739 vikram.rag 26266
      oprot.writeFieldEnd()
26267
    oprot.writeFieldStop()
26268
    oprot.writeStructEnd()
26269
 
26270
  def validate(self):
26271
    return
26272
 
26273
 
26274
  def __repr__(self):
26275
    L = ['%s=%r' % (key, value)
26276
      for key, value in self.__dict__.iteritems()]
26277
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
26278
 
26279
  def __eq__(self, other):
26280
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
26281
 
26282
  def __ne__(self, other):
26283
    return not (self == other)
26284
 
9242 kshitij.so 26285
class getSnapdealItem_result:
8739 vikram.rag 26286
  """
26287
  Attributes:
26288
   - success
26289
  """
26290
 
26291
  thrift_spec = (
9242 kshitij.so 26292
    (0, TType.STRUCT, 'success', (SnapdealItem, SnapdealItem.thrift_spec), None, ), # 0
8739 vikram.rag 26293
  )
26294
 
26295
  def __init__(self, success=None,):
26296
    self.success = success
26297
 
26298
  def read(self, iprot):
26299
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
26300
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
26301
      return
26302
    iprot.readStructBegin()
26303
    while True:
26304
      (fname, ftype, fid) = iprot.readFieldBegin()
26305
      if ftype == TType.STOP:
26306
        break
26307
      if fid == 0:
9242 kshitij.so 26308
        if ftype == TType.STRUCT:
26309
          self.success = SnapdealItem()
26310
          self.success.read(iprot)
8739 vikram.rag 26311
        else:
26312
          iprot.skip(ftype)
26313
      else:
26314
        iprot.skip(ftype)
26315
      iprot.readFieldEnd()
26316
    iprot.readStructEnd()
26317
 
26318
  def write(self, oprot):
26319
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
26320
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
26321
      return
9242 kshitij.so 26322
    oprot.writeStructBegin('getSnapdealItem_result')
8739 vikram.rag 26323
    if self.success is not None:
9242 kshitij.so 26324
      oprot.writeFieldBegin('success', TType.STRUCT, 0)
26325
      self.success.write(oprot)
8739 vikram.rag 26326
      oprot.writeFieldEnd()
26327
    oprot.writeFieldStop()
26328
    oprot.writeStructEnd()
26329
 
26330
  def validate(self):
26331
    return
26332
 
26333
 
26334
  def __repr__(self):
26335
    L = ['%s=%r' % (key, value)
26336
      for key, value in self.__dict__.iteritems()]
26337
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
26338
 
26339
  def __eq__(self, other):
26340
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
26341
 
26342
  def __ne__(self, other):
26343
    return not (self == other)
26344
 
9242 kshitij.so 26345
class getSnapdealItemDetails_args:
8739 vikram.rag 26346
  """
26347
  Attributes:
26348
   - item_id
26349
  """
26350
 
26351
  thrift_spec = (
26352
    None, # 0
26353
    (1, TType.I64, 'item_id', None, None, ), # 1
26354
  )
26355
 
26356
  def __init__(self, item_id=None,):
26357
    self.item_id = item_id
26358
 
26359
  def read(self, iprot):
26360
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
26361
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
26362
      return
26363
    iprot.readStructBegin()
26364
    while True:
26365
      (fname, ftype, fid) = iprot.readFieldBegin()
26366
      if ftype == TType.STOP:
26367
        break
26368
      if fid == 1:
26369
        if ftype == TType.I64:
26370
          self.item_id = iprot.readI64();
26371
        else:
26372
          iprot.skip(ftype)
26373
      else:
26374
        iprot.skip(ftype)
26375
      iprot.readFieldEnd()
26376
    iprot.readStructEnd()
26377
 
26378
  def write(self, oprot):
26379
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
26380
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
26381
      return
9242 kshitij.so 26382
    oprot.writeStructBegin('getSnapdealItemDetails_args')
8739 vikram.rag 26383
    if self.item_id is not None:
26384
      oprot.writeFieldBegin('item_id', TType.I64, 1)
26385
      oprot.writeI64(self.item_id)
26386
      oprot.writeFieldEnd()
26387
    oprot.writeFieldStop()
26388
    oprot.writeStructEnd()
26389
 
26390
  def validate(self):
26391
    return
26392
 
26393
 
26394
  def __repr__(self):
26395
    L = ['%s=%r' % (key, value)
26396
      for key, value in self.__dict__.iteritems()]
26397
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
26398
 
26399
  def __eq__(self, other):
26400
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
26401
 
26402
  def __ne__(self, other):
26403
    return not (self == other)
26404
 
9242 kshitij.so 26405
class getSnapdealItemDetails_result:
8739 vikram.rag 26406
  """
26407
  Attributes:
26408
   - success
26409
  """
26410
 
26411
  thrift_spec = (
9242 kshitij.so 26412
    (0, TType.STRUCT, 'success', (SnapdealItemDetails, SnapdealItemDetails.thrift_spec), None, ), # 0
8739 vikram.rag 26413
  )
26414
 
26415
  def __init__(self, success=None,):
26416
    self.success = success
26417
 
26418
  def read(self, iprot):
26419
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
26420
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
26421
      return
26422
    iprot.readStructBegin()
26423
    while True:
26424
      (fname, ftype, fid) = iprot.readFieldBegin()
26425
      if ftype == TType.STOP:
26426
        break
26427
      if fid == 0:
26428
        if ftype == TType.STRUCT:
9242 kshitij.so 26429
          self.success = SnapdealItemDetails()
8739 vikram.rag 26430
          self.success.read(iprot)
26431
        else:
26432
          iprot.skip(ftype)
26433
      else:
26434
        iprot.skip(ftype)
26435
      iprot.readFieldEnd()
26436
    iprot.readStructEnd()
26437
 
26438
  def write(self, oprot):
26439
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
26440
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
26441
      return
9242 kshitij.so 26442
    oprot.writeStructBegin('getSnapdealItemDetails_result')
8739 vikram.rag 26443
    if self.success is not None:
26444
      oprot.writeFieldBegin('success', TType.STRUCT, 0)
26445
      self.success.write(oprot)
26446
      oprot.writeFieldEnd()
26447
    oprot.writeFieldStop()
26448
    oprot.writeStructEnd()
26449
 
26450
  def validate(self):
26451
    return
26452
 
26453
 
26454
  def __repr__(self):
26455
    L = ['%s=%r' % (key, value)
26456
      for key, value in self.__dict__.iteritems()]
26457
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
26458
 
26459
  def __eq__(self, other):
26460
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
26461
 
26462
  def __ne__(self, other):
26463
    return not (self == other)
26464
 
26465
class getAllSnapdealItems_args:
26466
 
26467
  thrift_spec = (
26468
  )
26469
 
26470
  def read(self, iprot):
26471
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
26472
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
26473
      return
26474
    iprot.readStructBegin()
26475
    while True:
26476
      (fname, ftype, fid) = iprot.readFieldBegin()
26477
      if ftype == TType.STOP:
26478
        break
26479
      else:
26480
        iprot.skip(ftype)
26481
      iprot.readFieldEnd()
26482
    iprot.readStructEnd()
26483
 
26484
  def write(self, oprot):
26485
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
26486
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
26487
      return
26488
    oprot.writeStructBegin('getAllSnapdealItems_args')
26489
    oprot.writeFieldStop()
26490
    oprot.writeStructEnd()
26491
 
26492
  def validate(self):
26493
    return
26494
 
26495
 
26496
  def __repr__(self):
26497
    L = ['%s=%r' % (key, value)
26498
      for key, value in self.__dict__.iteritems()]
26499
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
26500
 
26501
  def __eq__(self, other):
26502
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
26503
 
26504
  def __ne__(self, other):
26505
    return not (self == other)
26506
 
26507
class getAllSnapdealItems_result:
26508
  """
26509
  Attributes:
26510
   - success
26511
  """
26512
 
26513
  thrift_spec = (
9242 kshitij.so 26514
    (0, TType.LIST, 'success', (TType.STRUCT,(SnapdealItemDetails, SnapdealItemDetails.thrift_spec)), None, ), # 0
8739 vikram.rag 26515
  )
26516
 
26517
  def __init__(self, success=None,):
26518
    self.success = success
26519
 
26520
  def read(self, iprot):
26521
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
26522
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
26523
      return
26524
    iprot.readStructBegin()
26525
    while True:
26526
      (fname, ftype, fid) = iprot.readFieldBegin()
26527
      if ftype == TType.STOP:
26528
        break
26529
      if fid == 0:
26530
        if ftype == TType.LIST:
26531
          self.success = []
21838 amit.gupta 26532
          (_etype559, _size556) = iprot.readListBegin()
26533
          for _i560 in xrange(_size556):
26534
            _elem561 = SnapdealItemDetails()
26535
            _elem561.read(iprot)
26536
            self.success.append(_elem561)
9242 kshitij.so 26537
          iprot.readListEnd()
26538
        else:
26539
          iprot.skip(ftype)
26540
      else:
26541
        iprot.skip(ftype)
26542
      iprot.readFieldEnd()
26543
    iprot.readStructEnd()
26544
 
26545
  def write(self, oprot):
26546
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
26547
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
26548
      return
26549
    oprot.writeStructBegin('getAllSnapdealItems_result')
26550
    if self.success is not None:
26551
      oprot.writeFieldBegin('success', TType.LIST, 0)
26552
      oprot.writeListBegin(TType.STRUCT, len(self.success))
21838 amit.gupta 26553
      for iter562 in self.success:
26554
        iter562.write(oprot)
9242 kshitij.so 26555
      oprot.writeListEnd()
26556
      oprot.writeFieldEnd()
26557
    oprot.writeFieldStop()
26558
    oprot.writeStructEnd()
26559
 
26560
  def validate(self):
26561
    return
26562
 
26563
 
26564
  def __repr__(self):
26565
    L = ['%s=%r' % (key, value)
26566
      for key, value in self.__dict__.iteritems()]
26567
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
26568
 
26569
  def __eq__(self, other):
26570
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
26571
 
26572
  def __ne__(self, other):
26573
    return not (self == other)
26574
 
26575
class getSnapdealItems_args:
26576
  """
26577
  Attributes:
26578
   - offset
26579
   - limit
26580
  """
26581
 
26582
  thrift_spec = (
26583
    None, # 0
26584
    (1, TType.I64, 'offset', None, None, ), # 1
26585
    (2, TType.I64, 'limit', None, None, ), # 2
26586
  )
26587
 
26588
  def __init__(self, offset=None, limit=None,):
26589
    self.offset = offset
26590
    self.limit = limit
26591
 
26592
  def read(self, iprot):
26593
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
26594
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
26595
      return
26596
    iprot.readStructBegin()
26597
    while True:
26598
      (fname, ftype, fid) = iprot.readFieldBegin()
26599
      if ftype == TType.STOP:
26600
        break
26601
      if fid == 1:
26602
        if ftype == TType.I64:
26603
          self.offset = iprot.readI64();
26604
        else:
26605
          iprot.skip(ftype)
26606
      elif fid == 2:
26607
        if ftype == TType.I64:
26608
          self.limit = iprot.readI64();
26609
        else:
26610
          iprot.skip(ftype)
26611
      else:
26612
        iprot.skip(ftype)
26613
      iprot.readFieldEnd()
26614
    iprot.readStructEnd()
26615
 
26616
  def write(self, oprot):
26617
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
26618
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
26619
      return
26620
    oprot.writeStructBegin('getSnapdealItems_args')
26621
    if self.offset is not None:
26622
      oprot.writeFieldBegin('offset', TType.I64, 1)
26623
      oprot.writeI64(self.offset)
26624
      oprot.writeFieldEnd()
26625
    if self.limit is not None:
26626
      oprot.writeFieldBegin('limit', TType.I64, 2)
26627
      oprot.writeI64(self.limit)
26628
      oprot.writeFieldEnd()
26629
    oprot.writeFieldStop()
26630
    oprot.writeStructEnd()
26631
 
26632
  def validate(self):
26633
    return
26634
 
26635
 
26636
  def __repr__(self):
26637
    L = ['%s=%r' % (key, value)
26638
      for key, value in self.__dict__.iteritems()]
26639
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
26640
 
26641
  def __eq__(self, other):
26642
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
26643
 
26644
  def __ne__(self, other):
26645
    return not (self == other)
26646
 
26647
class getSnapdealItems_result:
26648
  """
26649
  Attributes:
26650
   - success
26651
  """
26652
 
26653
  thrift_spec = (
26654
    (0, TType.LIST, 'success', (TType.STRUCT,(SnapdealItemDetails, SnapdealItemDetails.thrift_spec)), None, ), # 0
26655
  )
26656
 
26657
  def __init__(self, success=None,):
26658
    self.success = success
26659
 
26660
  def read(self, iprot):
26661
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
26662
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
26663
      return
26664
    iprot.readStructBegin()
26665
    while True:
26666
      (fname, ftype, fid) = iprot.readFieldBegin()
26667
      if ftype == TType.STOP:
26668
        break
26669
      if fid == 0:
26670
        if ftype == TType.LIST:
26671
          self.success = []
21838 amit.gupta 26672
          (_etype566, _size563) = iprot.readListBegin()
26673
          for _i567 in xrange(_size563):
26674
            _elem568 = SnapdealItemDetails()
26675
            _elem568.read(iprot)
26676
            self.success.append(_elem568)
8739 vikram.rag 26677
          iprot.readListEnd()
26678
        else:
26679
          iprot.skip(ftype)
26680
      else:
26681
        iprot.skip(ftype)
26682
      iprot.readFieldEnd()
26683
    iprot.readStructEnd()
26684
 
26685
  def write(self, oprot):
26686
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
26687
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
26688
      return
9242 kshitij.so 26689
    oprot.writeStructBegin('getSnapdealItems_result')
8739 vikram.rag 26690
    if self.success is not None:
26691
      oprot.writeFieldBegin('success', TType.LIST, 0)
26692
      oprot.writeListBegin(TType.STRUCT, len(self.success))
21838 amit.gupta 26693
      for iter569 in self.success:
26694
        iter569.write(oprot)
8739 vikram.rag 26695
      oprot.writeListEnd()
26696
      oprot.writeFieldEnd()
26697
    oprot.writeFieldStop()
26698
    oprot.writeStructEnd()
26699
 
26700
  def validate(self):
26701
    return
26702
 
26703
 
26704
  def __repr__(self):
26705
    L = ['%s=%r' % (key, value)
26706
      for key, value in self.__dict__.iteritems()]
26707
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
26708
 
26709
  def __eq__(self, other):
26710
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
26711
 
26712
  def __ne__(self, other):
26713
    return not (self == other)
9242 kshitij.so 26714
 
26715
class searchSnapdealItems_args:
26716
  """
26717
  Attributes:
26718
   - searchTerm
26719
   - offset
26720
   - limit
26721
  """
26722
 
26723
  thrift_spec = (
26724
    None, # 0
26725
    (1, TType.LIST, 'searchTerm', (TType.STRING,None), None, ), # 1
26726
    (2, TType.I64, 'offset', None, None, ), # 2
26727
    (3, TType.I64, 'limit', None, None, ), # 3
26728
  )
26729
 
26730
  def __init__(self, searchTerm=None, offset=None, limit=None,):
26731
    self.searchTerm = searchTerm
26732
    self.offset = offset
26733
    self.limit = limit
26734
 
26735
  def read(self, iprot):
26736
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
26737
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
26738
      return
26739
    iprot.readStructBegin()
26740
    while True:
26741
      (fname, ftype, fid) = iprot.readFieldBegin()
26742
      if ftype == TType.STOP:
26743
        break
26744
      if fid == 1:
26745
        if ftype == TType.LIST:
26746
          self.searchTerm = []
21838 amit.gupta 26747
          (_etype573, _size570) = iprot.readListBegin()
26748
          for _i574 in xrange(_size570):
26749
            _elem575 = iprot.readString();
26750
            self.searchTerm.append(_elem575)
9242 kshitij.so 26751
          iprot.readListEnd()
26752
        else:
26753
          iprot.skip(ftype)
26754
      elif fid == 2:
26755
        if ftype == TType.I64:
26756
          self.offset = iprot.readI64();
26757
        else:
26758
          iprot.skip(ftype)
26759
      elif fid == 3:
26760
        if ftype == TType.I64:
26761
          self.limit = iprot.readI64();
26762
        else:
26763
          iprot.skip(ftype)
26764
      else:
26765
        iprot.skip(ftype)
26766
      iprot.readFieldEnd()
26767
    iprot.readStructEnd()
26768
 
26769
  def write(self, oprot):
26770
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
26771
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
26772
      return
26773
    oprot.writeStructBegin('searchSnapdealItems_args')
26774
    if self.searchTerm is not None:
26775
      oprot.writeFieldBegin('searchTerm', TType.LIST, 1)
26776
      oprot.writeListBegin(TType.STRING, len(self.searchTerm))
21838 amit.gupta 26777
      for iter576 in self.searchTerm:
26778
        oprot.writeString(iter576)
9242 kshitij.so 26779
      oprot.writeListEnd()
26780
      oprot.writeFieldEnd()
26781
    if self.offset is not None:
26782
      oprot.writeFieldBegin('offset', TType.I64, 2)
26783
      oprot.writeI64(self.offset)
26784
      oprot.writeFieldEnd()
26785
    if self.limit is not None:
26786
      oprot.writeFieldBegin('limit', TType.I64, 3)
26787
      oprot.writeI64(self.limit)
26788
      oprot.writeFieldEnd()
26789
    oprot.writeFieldStop()
26790
    oprot.writeStructEnd()
26791
 
26792
  def validate(self):
26793
    return
26794
 
26795
 
26796
  def __repr__(self):
26797
    L = ['%s=%r' % (key, value)
26798
      for key, value in self.__dict__.iteritems()]
26799
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
26800
 
26801
  def __eq__(self, other):
26802
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
26803
 
26804
  def __ne__(self, other):
26805
    return not (self == other)
26806
 
26807
class searchSnapdealItems_result:
26808
  """
26809
  Attributes:
26810
   - success
26811
  """
26812
 
26813
  thrift_spec = (
26814
    (0, TType.LIST, 'success', (TType.STRUCT,(SnapdealItemDetails, SnapdealItemDetails.thrift_spec)), None, ), # 0
26815
  )
26816
 
26817
  def __init__(self, success=None,):
26818
    self.success = success
26819
 
26820
  def read(self, iprot):
26821
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
26822
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
26823
      return
26824
    iprot.readStructBegin()
26825
    while True:
26826
      (fname, ftype, fid) = iprot.readFieldBegin()
26827
      if ftype == TType.STOP:
26828
        break
26829
      if fid == 0:
26830
        if ftype == TType.LIST:
26831
          self.success = []
21838 amit.gupta 26832
          (_etype580, _size577) = iprot.readListBegin()
26833
          for _i581 in xrange(_size577):
26834
            _elem582 = SnapdealItemDetails()
26835
            _elem582.read(iprot)
26836
            self.success.append(_elem582)
9242 kshitij.so 26837
          iprot.readListEnd()
26838
        else:
26839
          iprot.skip(ftype)
26840
      else:
26841
        iprot.skip(ftype)
26842
      iprot.readFieldEnd()
26843
    iprot.readStructEnd()
26844
 
26845
  def write(self, oprot):
26846
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
26847
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
26848
      return
26849
    oprot.writeStructBegin('searchSnapdealItems_result')
26850
    if self.success is not None:
26851
      oprot.writeFieldBegin('success', TType.LIST, 0)
26852
      oprot.writeListBegin(TType.STRUCT, len(self.success))
21838 amit.gupta 26853
      for iter583 in self.success:
26854
        iter583.write(oprot)
9242 kshitij.so 26855
      oprot.writeListEnd()
26856
      oprot.writeFieldEnd()
26857
    oprot.writeFieldStop()
26858
    oprot.writeStructEnd()
26859
 
26860
  def validate(self):
26861
    return
26862
 
26863
 
26864
  def __repr__(self):
26865
    L = ['%s=%r' % (key, value)
26866
      for key, value in self.__dict__.iteritems()]
26867
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
26868
 
26869
  def __eq__(self, other):
26870
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
26871
 
26872
  def __ne__(self, other):
26873
    return not (self == other)
26874
 
26875
class getCountForSnapdealItems_args:
26876
 
26877
  thrift_spec = (
26878
  )
26879
 
26880
  def read(self, iprot):
26881
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
26882
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
26883
      return
26884
    iprot.readStructBegin()
26885
    while True:
26886
      (fname, ftype, fid) = iprot.readFieldBegin()
26887
      if ftype == TType.STOP:
26888
        break
26889
      else:
26890
        iprot.skip(ftype)
26891
      iprot.readFieldEnd()
26892
    iprot.readStructEnd()
26893
 
26894
  def write(self, oprot):
26895
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
26896
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
26897
      return
26898
    oprot.writeStructBegin('getCountForSnapdealItems_args')
26899
    oprot.writeFieldStop()
26900
    oprot.writeStructEnd()
26901
 
26902
  def validate(self):
26903
    return
26904
 
26905
 
26906
  def __repr__(self):
26907
    L = ['%s=%r' % (key, value)
26908
      for key, value in self.__dict__.iteritems()]
26909
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
26910
 
26911
  def __eq__(self, other):
26912
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
26913
 
26914
  def __ne__(self, other):
26915
    return not (self == other)
26916
 
26917
class getCountForSnapdealItems_result:
26918
  """
26919
  Attributes:
26920
   - success
26921
  """
26922
 
26923
  thrift_spec = (
26924
    (0, TType.I64, 'success', None, None, ), # 0
26925
  )
26926
 
26927
  def __init__(self, success=None,):
26928
    self.success = success
26929
 
26930
  def read(self, iprot):
26931
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
26932
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
26933
      return
26934
    iprot.readStructBegin()
26935
    while True:
26936
      (fname, ftype, fid) = iprot.readFieldBegin()
26937
      if ftype == TType.STOP:
26938
        break
26939
      if fid == 0:
26940
        if ftype == TType.I64:
26941
          self.success = iprot.readI64();
26942
        else:
26943
          iprot.skip(ftype)
26944
      else:
26945
        iprot.skip(ftype)
26946
      iprot.readFieldEnd()
26947
    iprot.readStructEnd()
26948
 
26949
  def write(self, oprot):
26950
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
26951
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
26952
      return
26953
    oprot.writeStructBegin('getCountForSnapdealItems_result')
26954
    if self.success is not None:
26955
      oprot.writeFieldBegin('success', TType.I64, 0)
26956
      oprot.writeI64(self.success)
26957
      oprot.writeFieldEnd()
26958
    oprot.writeFieldStop()
26959
    oprot.writeStructEnd()
26960
 
26961
  def validate(self):
26962
    return
26963
 
26964
 
26965
  def __repr__(self):
26966
    L = ['%s=%r' % (key, value)
26967
      for key, value in self.__dict__.iteritems()]
26968
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
26969
 
26970
  def __eq__(self, other):
26971
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
26972
 
26973
  def __ne__(self, other):
26974
    return not (self == other)
26975
 
26976
class getSnapdealSearchResultCount_args:
26977
  """
26978
  Attributes:
26979
   - searchTerm
26980
  """
26981
 
26982
  thrift_spec = (
26983
    None, # 0
26984
    (1, TType.LIST, 'searchTerm', (TType.STRING,None), None, ), # 1
26985
  )
26986
 
26987
  def __init__(self, searchTerm=None,):
26988
    self.searchTerm = searchTerm
26989
 
26990
  def read(self, iprot):
26991
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
26992
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
26993
      return
26994
    iprot.readStructBegin()
26995
    while True:
26996
      (fname, ftype, fid) = iprot.readFieldBegin()
26997
      if ftype == TType.STOP:
26998
        break
26999
      if fid == 1:
27000
        if ftype == TType.LIST:
27001
          self.searchTerm = []
21838 amit.gupta 27002
          (_etype587, _size584) = iprot.readListBegin()
27003
          for _i588 in xrange(_size584):
27004
            _elem589 = iprot.readString();
27005
            self.searchTerm.append(_elem589)
9242 kshitij.so 27006
          iprot.readListEnd()
27007
        else:
27008
          iprot.skip(ftype)
27009
      else:
27010
        iprot.skip(ftype)
27011
      iprot.readFieldEnd()
27012
    iprot.readStructEnd()
27013
 
27014
  def write(self, oprot):
27015
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
27016
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
27017
      return
27018
    oprot.writeStructBegin('getSnapdealSearchResultCount_args')
27019
    if self.searchTerm is not None:
27020
      oprot.writeFieldBegin('searchTerm', TType.LIST, 1)
27021
      oprot.writeListBegin(TType.STRING, len(self.searchTerm))
21838 amit.gupta 27022
      for iter590 in self.searchTerm:
27023
        oprot.writeString(iter590)
9242 kshitij.so 27024
      oprot.writeListEnd()
27025
      oprot.writeFieldEnd()
27026
    oprot.writeFieldStop()
27027
    oprot.writeStructEnd()
27028
 
27029
  def validate(self):
27030
    return
27031
 
27032
 
27033
  def __repr__(self):
27034
    L = ['%s=%r' % (key, value)
27035
      for key, value in self.__dict__.iteritems()]
27036
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
27037
 
27038
  def __eq__(self, other):
27039
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
27040
 
27041
  def __ne__(self, other):
27042
    return not (self == other)
27043
 
27044
class getSnapdealSearchResultCount_result:
27045
  """
27046
  Attributes:
27047
   - success
27048
  """
27049
 
27050
  thrift_spec = (
27051
    (0, TType.I64, 'success', None, None, ), # 0
27052
  )
27053
 
27054
  def __init__(self, success=None,):
27055
    self.success = success
27056
 
27057
  def read(self, iprot):
27058
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
27059
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
27060
      return
27061
    iprot.readStructBegin()
27062
    while True:
27063
      (fname, ftype, fid) = iprot.readFieldBegin()
27064
      if ftype == TType.STOP:
27065
        break
27066
      if fid == 0:
27067
        if ftype == TType.I64:
27068
          self.success = iprot.readI64();
27069
        else:
27070
          iprot.skip(ftype)
27071
      else:
27072
        iprot.skip(ftype)
27073
      iprot.readFieldEnd()
27074
    iprot.readStructEnd()
27075
 
27076
  def write(self, oprot):
27077
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
27078
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
27079
      return
27080
    oprot.writeStructBegin('getSnapdealSearchResultCount_result')
27081
    if self.success is not None:
27082
      oprot.writeFieldBegin('success', TType.I64, 0)
27083
      oprot.writeI64(self.success)
27084
      oprot.writeFieldEnd()
27085
    oprot.writeFieldStop()
27086
    oprot.writeStructEnd()
27087
 
27088
  def validate(self):
27089
    return
27090
 
27091
 
27092
  def __repr__(self):
27093
    L = ['%s=%r' % (key, value)
27094
      for key, value in self.__dict__.iteritems()]
27095
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
27096
 
27097
  def __eq__(self, other):
27098
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
27099
 
27100
  def __ne__(self, other):
27101
    return not (self == other)
9299 kshitij.so 27102
 
27103
class getPrefferedInsurerForItem_args:
27104
  """
27105
  Attributes:
27106
   - itemId
27107
   - insurerType
27108
  """
27109
 
27110
  thrift_spec = (
27111
    None, # 0
27112
    (1, TType.I64, 'itemId', None, None, ), # 1
27113
    (2, TType.I32, 'insurerType', None, None, ), # 2
27114
  )
27115
 
27116
  def __init__(self, itemId=None, insurerType=None,):
27117
    self.itemId = itemId
27118
    self.insurerType = insurerType
27119
 
27120
  def read(self, iprot):
27121
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
27122
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
27123
      return
27124
    iprot.readStructBegin()
27125
    while True:
27126
      (fname, ftype, fid) = iprot.readFieldBegin()
27127
      if ftype == TType.STOP:
27128
        break
27129
      if fid == 1:
27130
        if ftype == TType.I64:
27131
          self.itemId = iprot.readI64();
27132
        else:
27133
          iprot.skip(ftype)
27134
      elif fid == 2:
27135
        if ftype == TType.I32:
27136
          self.insurerType = iprot.readI32();
27137
        else:
27138
          iprot.skip(ftype)
27139
      else:
27140
        iprot.skip(ftype)
27141
      iprot.readFieldEnd()
27142
    iprot.readStructEnd()
27143
 
27144
  def write(self, oprot):
27145
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
27146
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
27147
      return
27148
    oprot.writeStructBegin('getPrefferedInsurerForItem_args')
27149
    if self.itemId is not None:
27150
      oprot.writeFieldBegin('itemId', TType.I64, 1)
27151
      oprot.writeI64(self.itemId)
27152
      oprot.writeFieldEnd()
27153
    if self.insurerType is not None:
27154
      oprot.writeFieldBegin('insurerType', TType.I32, 2)
27155
      oprot.writeI32(self.insurerType)
27156
      oprot.writeFieldEnd()
27157
    oprot.writeFieldStop()
27158
    oprot.writeStructEnd()
27159
 
27160
  def validate(self):
27161
    return
27162
 
27163
 
27164
  def __repr__(self):
27165
    L = ['%s=%r' % (key, value)
27166
      for key, value in self.__dict__.iteritems()]
27167
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
27168
 
27169
  def __eq__(self, other):
27170
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
27171
 
27172
  def __ne__(self, other):
27173
    return not (self == other)
27174
 
27175
class getPrefferedInsurerForItem_result:
27176
  """
27177
  Attributes:
27178
   - success
27179
  """
27180
 
27181
  thrift_spec = (
27182
    (0, TType.I64, 'success', None, None, ), # 0
27183
  )
27184
 
27185
  def __init__(self, success=None,):
27186
    self.success = success
27187
 
27188
  def read(self, iprot):
27189
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
27190
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
27191
      return
27192
    iprot.readStructBegin()
27193
    while True:
27194
      (fname, ftype, fid) = iprot.readFieldBegin()
27195
      if ftype == TType.STOP:
27196
        break
27197
      if fid == 0:
27198
        if ftype == TType.I64:
27199
          self.success = iprot.readI64();
27200
        else:
27201
          iprot.skip(ftype)
27202
      else:
27203
        iprot.skip(ftype)
27204
      iprot.readFieldEnd()
27205
    iprot.readStructEnd()
27206
 
27207
  def write(self, oprot):
27208
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
27209
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
27210
      return
27211
    oprot.writeStructBegin('getPrefferedInsurerForItem_result')
27212
    if self.success is not None:
27213
      oprot.writeFieldBegin('success', TType.I64, 0)
27214
      oprot.writeI64(self.success)
27215
      oprot.writeFieldEnd()
27216
    oprot.writeFieldStop()
27217
    oprot.writeStructEnd()
27218
 
27219
  def validate(self):
27220
    return
27221
 
27222
 
27223
  def __repr__(self):
27224
    L = ['%s=%r' % (key, value)
27225
      for key, value in self.__dict__.iteritems()]
27226
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
27227
 
27228
  def __eq__(self, other):
27229
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
27230
 
27231
  def __ne__(self, other):
27232
    return not (self == other)
9456 vikram.rag 27233
 
27234
class getSnapdealItembySkuAtSnapdeal_args:
27235
  """
27236
  Attributes:
27237
   - skuAtSnapdeal
27238
  """
27239
 
27240
  thrift_spec = None
27241
  def __init__(self, skuAtSnapdeal=None,):
27242
    self.skuAtSnapdeal = skuAtSnapdeal
27243
 
27244
  def read(self, iprot):
27245
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
27246
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
27247
      return
27248
    iprot.readStructBegin()
27249
    while True:
27250
      (fname, ftype, fid) = iprot.readFieldBegin()
27251
      if ftype == TType.STOP:
27252
        break
27253
      if fid == -1:
27254
        if ftype == TType.STRING:
27255
          self.skuAtSnapdeal = iprot.readString();
27256
        else:
27257
          iprot.skip(ftype)
27258
      else:
27259
        iprot.skip(ftype)
27260
      iprot.readFieldEnd()
27261
    iprot.readStructEnd()
27262
 
27263
  def write(self, oprot):
27264
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
27265
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
27266
      return
27267
    oprot.writeStructBegin('getSnapdealItembySkuAtSnapdeal_args')
27268
    if self.skuAtSnapdeal is not None:
27269
      oprot.writeFieldBegin('skuAtSnapdeal', TType.STRING, -1)
27270
      oprot.writeString(self.skuAtSnapdeal)
27271
      oprot.writeFieldEnd()
27272
    oprot.writeFieldStop()
27273
    oprot.writeStructEnd()
27274
 
27275
  def validate(self):
27276
    return
27277
 
27278
 
27279
  def __repr__(self):
27280
    L = ['%s=%r' % (key, value)
27281
      for key, value in self.__dict__.iteritems()]
27282
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
27283
 
27284
  def __eq__(self, other):
27285
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
27286
 
27287
  def __ne__(self, other):
27288
    return not (self == other)
27289
 
27290
class getSnapdealItembySkuAtSnapdeal_result:
27291
  """
27292
  Attributes:
27293
   - success
27294
  """
27295
 
27296
  thrift_spec = (
27297
    (0, TType.STRUCT, 'success', (SnapdealItem, SnapdealItem.thrift_spec), None, ), # 0
27298
  )
27299
 
27300
  def __init__(self, success=None,):
27301
    self.success = success
27302
 
27303
  def read(self, iprot):
27304
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
27305
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
27306
      return
27307
    iprot.readStructBegin()
27308
    while True:
27309
      (fname, ftype, fid) = iprot.readFieldBegin()
27310
      if ftype == TType.STOP:
27311
        break
27312
      if fid == 0:
27313
        if ftype == TType.STRUCT:
27314
          self.success = SnapdealItem()
27315
          self.success.read(iprot)
27316
        else:
27317
          iprot.skip(ftype)
27318
      else:
27319
        iprot.skip(ftype)
27320
      iprot.readFieldEnd()
27321
    iprot.readStructEnd()
27322
 
27323
  def write(self, oprot):
27324
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
27325
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
27326
      return
27327
    oprot.writeStructBegin('getSnapdealItembySkuAtSnapdeal_result')
27328
    if self.success is not None:
27329
      oprot.writeFieldBegin('success', TType.STRUCT, 0)
27330
      self.success.write(oprot)
27331
      oprot.writeFieldEnd()
27332
    oprot.writeFieldStop()
27333
    oprot.writeStructEnd()
27334
 
27335
  def validate(self):
27336
    return
27337
 
27338
 
27339
  def __repr__(self):
27340
    L = ['%s=%r' % (key, value)
27341
      for key, value in self.__dict__.iteritems()]
27342
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
27343
 
27344
  def __eq__(self, other):
27345
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
27346
 
27347
  def __ne__(self, other):
27348
    return not (self == other)
9621 manish.sha 27349
 
27350
class getProductFeedSubmit_args:
27351
  """
27352
  Attributes:
27353
   - catalogItemId
27354
  """
27355
 
27356
  thrift_spec = (
27357
    None, # 0
27358
    (1, TType.I64, 'catalogItemId', None, None, ), # 1
27359
  )
27360
 
27361
  def __init__(self, catalogItemId=None,):
27362
    self.catalogItemId = catalogItemId
27363
 
27364
  def read(self, iprot):
27365
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
27366
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
27367
      return
27368
    iprot.readStructBegin()
27369
    while True:
27370
      (fname, ftype, fid) = iprot.readFieldBegin()
27371
      if ftype == TType.STOP:
27372
        break
27373
      if fid == 1:
27374
        if ftype == TType.I64:
27375
          self.catalogItemId = iprot.readI64();
27376
        else:
27377
          iprot.skip(ftype)
27378
      else:
27379
        iprot.skip(ftype)
27380
      iprot.readFieldEnd()
27381
    iprot.readStructEnd()
27382
 
27383
  def write(self, oprot):
27384
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
27385
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
27386
      return
27387
    oprot.writeStructBegin('getProductFeedSubmit_args')
27388
    if self.catalogItemId is not None:
27389
      oprot.writeFieldBegin('catalogItemId', TType.I64, 1)
27390
      oprot.writeI64(self.catalogItemId)
27391
      oprot.writeFieldEnd()
27392
    oprot.writeFieldStop()
27393
    oprot.writeStructEnd()
27394
 
27395
  def validate(self):
27396
    return
27397
 
27398
 
27399
  def __repr__(self):
27400
    L = ['%s=%r' % (key, value)
27401
      for key, value in self.__dict__.iteritems()]
27402
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
27403
 
27404
  def __eq__(self, other):
27405
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
27406
 
27407
  def __ne__(self, other):
27408
    return not (self == other)
27409
 
27410
class getProductFeedSubmit_result:
27411
  """
27412
  Attributes:
27413
   - success
27414
   - cex
27415
  """
27416
 
27417
  thrift_spec = (
27418
    (0, TType.STRUCT, 'success', (ProductFeedSubmit, ProductFeedSubmit.thrift_spec), None, ), # 0
27419
    (1, TType.STRUCT, 'cex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
27420
  )
27421
 
27422
  def __init__(self, success=None, cex=None,):
27423
    self.success = success
27424
    self.cex = cex
27425
 
27426
  def read(self, iprot):
27427
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
27428
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
27429
      return
27430
    iprot.readStructBegin()
27431
    while True:
27432
      (fname, ftype, fid) = iprot.readFieldBegin()
27433
      if ftype == TType.STOP:
27434
        break
27435
      if fid == 0:
27436
        if ftype == TType.STRUCT:
27437
          self.success = ProductFeedSubmit()
27438
          self.success.read(iprot)
27439
        else:
27440
          iprot.skip(ftype)
27441
      elif fid == 1:
27442
        if ftype == TType.STRUCT:
27443
          self.cex = CatalogServiceException()
27444
          self.cex.read(iprot)
27445
        else:
27446
          iprot.skip(ftype)
27447
      else:
27448
        iprot.skip(ftype)
27449
      iprot.readFieldEnd()
27450
    iprot.readStructEnd()
27451
 
27452
  def write(self, oprot):
27453
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
27454
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
27455
      return
27456
    oprot.writeStructBegin('getProductFeedSubmit_result')
27457
    if self.success is not None:
27458
      oprot.writeFieldBegin('success', TType.STRUCT, 0)
27459
      self.success.write(oprot)
27460
      oprot.writeFieldEnd()
27461
    if self.cex is not None:
27462
      oprot.writeFieldBegin('cex', TType.STRUCT, 1)
27463
      self.cex.write(oprot)
27464
      oprot.writeFieldEnd()
27465
    oprot.writeFieldStop()
27466
    oprot.writeStructEnd()
27467
 
27468
  def validate(self):
27469
    return
27470
 
27471
 
27472
  def __repr__(self):
27473
    L = ['%s=%r' % (key, value)
27474
      for key, value in self.__dict__.iteritems()]
27475
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
27476
 
27477
  def __eq__(self, other):
27478
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
27479
 
27480
  def __ne__(self, other):
27481
    return not (self == other)
27482
 
27483
class addProductFeedSubmit_args:
27484
  """
27485
  Attributes:
27486
   - productFeedSubmit
27487
  """
27488
 
27489
  thrift_spec = (
27490
    None, # 0
27491
    (1, TType.STRUCT, 'productFeedSubmit', (ProductFeedSubmit, ProductFeedSubmit.thrift_spec), None, ), # 1
27492
  )
27493
 
27494
  def __init__(self, productFeedSubmit=None,):
27495
    self.productFeedSubmit = productFeedSubmit
27496
 
27497
  def read(self, iprot):
27498
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
27499
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
27500
      return
27501
    iprot.readStructBegin()
27502
    while True:
27503
      (fname, ftype, fid) = iprot.readFieldBegin()
27504
      if ftype == TType.STOP:
27505
        break
27506
      if fid == 1:
27507
        if ftype == TType.STRUCT:
27508
          self.productFeedSubmit = ProductFeedSubmit()
27509
          self.productFeedSubmit.read(iprot)
27510
        else:
27511
          iprot.skip(ftype)
27512
      else:
27513
        iprot.skip(ftype)
27514
      iprot.readFieldEnd()
27515
    iprot.readStructEnd()
27516
 
27517
  def write(self, oprot):
27518
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
27519
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
27520
      return
27521
    oprot.writeStructBegin('addProductFeedSubmit_args')
27522
    if self.productFeedSubmit is not None:
27523
      oprot.writeFieldBegin('productFeedSubmit', TType.STRUCT, 1)
27524
      self.productFeedSubmit.write(oprot)
27525
      oprot.writeFieldEnd()
27526
    oprot.writeFieldStop()
27527
    oprot.writeStructEnd()
27528
 
27529
  def validate(self):
27530
    return
27531
 
27532
 
27533
  def __repr__(self):
27534
    L = ['%s=%r' % (key, value)
27535
      for key, value in self.__dict__.iteritems()]
27536
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
27537
 
27538
  def __eq__(self, other):
27539
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
27540
 
27541
  def __ne__(self, other):
27542
    return not (self == other)
27543
 
27544
class addProductFeedSubmit_result:
27545
  """
27546
  Attributes:
27547
   - success
27548
   - cex
27549
  """
27550
 
27551
  thrift_spec = (
27552
    (0, TType.BOOL, 'success', None, None, ), # 0
27553
    (1, TType.STRUCT, 'cex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
27554
  )
27555
 
27556
  def __init__(self, success=None, cex=None,):
27557
    self.success = success
27558
    self.cex = cex
27559
 
27560
  def read(self, iprot):
27561
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
27562
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
27563
      return
27564
    iprot.readStructBegin()
27565
    while True:
27566
      (fname, ftype, fid) = iprot.readFieldBegin()
27567
      if ftype == TType.STOP:
27568
        break
27569
      if fid == 0:
27570
        if ftype == TType.BOOL:
27571
          self.success = iprot.readBool();
27572
        else:
27573
          iprot.skip(ftype)
27574
      elif fid == 1:
27575
        if ftype == TType.STRUCT:
27576
          self.cex = CatalogServiceException()
27577
          self.cex.read(iprot)
27578
        else:
27579
          iprot.skip(ftype)
27580
      else:
27581
        iprot.skip(ftype)
27582
      iprot.readFieldEnd()
27583
    iprot.readStructEnd()
27584
 
27585
  def write(self, oprot):
27586
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
27587
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
27588
      return
27589
    oprot.writeStructBegin('addProductFeedSubmit_result')
27590
    if self.success is not None:
27591
      oprot.writeFieldBegin('success', TType.BOOL, 0)
27592
      oprot.writeBool(self.success)
27593
      oprot.writeFieldEnd()
27594
    if self.cex is not None:
27595
      oprot.writeFieldBegin('cex', TType.STRUCT, 1)
27596
      self.cex.write(oprot)
27597
      oprot.writeFieldEnd()
27598
    oprot.writeFieldStop()
27599
    oprot.writeStructEnd()
27600
 
27601
  def validate(self):
27602
    return
27603
 
27604
 
27605
  def __repr__(self):
27606
    L = ['%s=%r' % (key, value)
27607
      for key, value in self.__dict__.iteritems()]
27608
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
27609
 
27610
  def __eq__(self, other):
27611
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
27612
 
27613
  def __ne__(self, other):
27614
    return not (self == other)
27615
 
27616
class updateProductFeedSubmit_args:
27617
  """
27618
  Attributes:
27619
   - productFeedSubmit
27620
  """
27621
 
27622
  thrift_spec = (
27623
    None, # 0
27624
    (1, TType.STRUCT, 'productFeedSubmit', (ProductFeedSubmit, ProductFeedSubmit.thrift_spec), None, ), # 1
27625
  )
27626
 
27627
  def __init__(self, productFeedSubmit=None,):
27628
    self.productFeedSubmit = productFeedSubmit
27629
 
27630
  def read(self, iprot):
27631
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
27632
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
27633
      return
27634
    iprot.readStructBegin()
27635
    while True:
27636
      (fname, ftype, fid) = iprot.readFieldBegin()
27637
      if ftype == TType.STOP:
27638
        break
27639
      if fid == 1:
27640
        if ftype == TType.STRUCT:
27641
          self.productFeedSubmit = ProductFeedSubmit()
27642
          self.productFeedSubmit.read(iprot)
27643
        else:
27644
          iprot.skip(ftype)
27645
      else:
27646
        iprot.skip(ftype)
27647
      iprot.readFieldEnd()
27648
    iprot.readStructEnd()
27649
 
27650
  def write(self, oprot):
27651
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
27652
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
27653
      return
27654
    oprot.writeStructBegin('updateProductFeedSubmit_args')
27655
    if self.productFeedSubmit is not None:
27656
      oprot.writeFieldBegin('productFeedSubmit', TType.STRUCT, 1)
27657
      self.productFeedSubmit.write(oprot)
27658
      oprot.writeFieldEnd()
27659
    oprot.writeFieldStop()
27660
    oprot.writeStructEnd()
27661
 
27662
  def validate(self):
27663
    return
27664
 
27665
 
27666
  def __repr__(self):
27667
    L = ['%s=%r' % (key, value)
27668
      for key, value in self.__dict__.iteritems()]
27669
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
27670
 
27671
  def __eq__(self, other):
27672
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
27673
 
27674
  def __ne__(self, other):
27675
    return not (self == other)
27676
 
27677
class updateProductFeedSubmit_result:
27678
  """
27679
  Attributes:
27680
   - success
27681
   - cex
27682
  """
27683
 
27684
  thrift_spec = (
27685
    (0, TType.BOOL, 'success', None, None, ), # 0
27686
    (1, TType.STRUCT, 'cex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
27687
  )
27688
 
27689
  def __init__(self, success=None, cex=None,):
27690
    self.success = success
27691
    self.cex = cex
27692
 
27693
  def read(self, iprot):
27694
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
27695
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
27696
      return
27697
    iprot.readStructBegin()
27698
    while True:
27699
      (fname, ftype, fid) = iprot.readFieldBegin()
27700
      if ftype == TType.STOP:
27701
        break
27702
      if fid == 0:
27703
        if ftype == TType.BOOL:
27704
          self.success = iprot.readBool();
27705
        else:
27706
          iprot.skip(ftype)
27707
      elif fid == 1:
27708
        if ftype == TType.STRUCT:
27709
          self.cex = CatalogServiceException()
27710
          self.cex.read(iprot)
27711
        else:
27712
          iprot.skip(ftype)
27713
      else:
27714
        iprot.skip(ftype)
27715
      iprot.readFieldEnd()
27716
    iprot.readStructEnd()
27717
 
27718
  def write(self, oprot):
27719
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
27720
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
27721
      return
27722
    oprot.writeStructBegin('updateProductFeedSubmit_result')
27723
    if self.success is not None:
27724
      oprot.writeFieldBegin('success', TType.BOOL, 0)
27725
      oprot.writeBool(self.success)
27726
      oprot.writeFieldEnd()
27727
    if self.cex is not None:
27728
      oprot.writeFieldBegin('cex', TType.STRUCT, 1)
27729
      self.cex.write(oprot)
27730
      oprot.writeFieldEnd()
27731
    oprot.writeFieldStop()
27732
    oprot.writeStructEnd()
27733
 
27734
  def validate(self):
27735
    return
27736
 
27737
 
27738
  def __repr__(self):
27739
    L = ['%s=%r' % (key, value)
27740
      for key, value in self.__dict__.iteritems()]
27741
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
27742
 
27743
  def __eq__(self, other):
27744
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
27745
 
27746
  def __ne__(self, other):
27747
    return not (self == other)
27748
 
27749
class deleteProductFeedSubmit_args:
27750
  """
27751
  Attributes:
27752
   - catalogItemId
27753
  """
27754
 
27755
  thrift_spec = (
27756
    None, # 0
27757
    (1, TType.I64, 'catalogItemId', None, None, ), # 1
27758
  )
27759
 
27760
  def __init__(self, catalogItemId=None,):
27761
    self.catalogItemId = catalogItemId
27762
 
27763
  def read(self, iprot):
27764
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
27765
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
27766
      return
27767
    iprot.readStructBegin()
27768
    while True:
27769
      (fname, ftype, fid) = iprot.readFieldBegin()
27770
      if ftype == TType.STOP:
27771
        break
27772
      if fid == 1:
27773
        if ftype == TType.I64:
27774
          self.catalogItemId = iprot.readI64();
27775
        else:
27776
          iprot.skip(ftype)
27777
      else:
27778
        iprot.skip(ftype)
27779
      iprot.readFieldEnd()
27780
    iprot.readStructEnd()
27781
 
27782
  def write(self, oprot):
27783
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
27784
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
27785
      return
27786
    oprot.writeStructBegin('deleteProductFeedSubmit_args')
27787
    if self.catalogItemId is not None:
27788
      oprot.writeFieldBegin('catalogItemId', TType.I64, 1)
27789
      oprot.writeI64(self.catalogItemId)
27790
      oprot.writeFieldEnd()
27791
    oprot.writeFieldStop()
27792
    oprot.writeStructEnd()
27793
 
27794
  def validate(self):
27795
    return
27796
 
27797
 
27798
  def __repr__(self):
27799
    L = ['%s=%r' % (key, value)
27800
      for key, value in self.__dict__.iteritems()]
27801
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
27802
 
27803
  def __eq__(self, other):
27804
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
27805
 
27806
  def __ne__(self, other):
27807
    return not (self == other)
27808
 
27809
class deleteProductFeedSubmit_result:
27810
  """
27811
  Attributes:
27812
   - success
27813
   - cex
27814
  """
27815
 
27816
  thrift_spec = (
27817
    (0, TType.BOOL, 'success', None, None, ), # 0
27818
    (1, TType.STRUCT, 'cex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
27819
  )
27820
 
27821
  def __init__(self, success=None, cex=None,):
27822
    self.success = success
27823
    self.cex = cex
27824
 
27825
  def read(self, iprot):
27826
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
27827
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
27828
      return
27829
    iprot.readStructBegin()
27830
    while True:
27831
      (fname, ftype, fid) = iprot.readFieldBegin()
27832
      if ftype == TType.STOP:
27833
        break
27834
      if fid == 0:
27835
        if ftype == TType.BOOL:
27836
          self.success = iprot.readBool();
27837
        else:
27838
          iprot.skip(ftype)
27839
      elif fid == 1:
27840
        if ftype == TType.STRUCT:
27841
          self.cex = CatalogServiceException()
27842
          self.cex.read(iprot)
27843
        else:
27844
          iprot.skip(ftype)
27845
      else:
27846
        iprot.skip(ftype)
27847
      iprot.readFieldEnd()
27848
    iprot.readStructEnd()
27849
 
27850
  def write(self, oprot):
27851
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
27852
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
27853
      return
27854
    oprot.writeStructBegin('deleteProductFeedSubmit_result')
27855
    if self.success is not None:
27856
      oprot.writeFieldBegin('success', TType.BOOL, 0)
27857
      oprot.writeBool(self.success)
27858
      oprot.writeFieldEnd()
27859
    if self.cex is not None:
27860
      oprot.writeFieldBegin('cex', TType.STRUCT, 1)
27861
      self.cex.write(oprot)
27862
      oprot.writeFieldEnd()
27863
    oprot.writeFieldStop()
27864
    oprot.writeStructEnd()
27865
 
27866
  def validate(self):
27867
    return
27868
 
27869
 
27870
  def __repr__(self):
27871
    L = ['%s=%r' % (key, value)
27872
      for key, value in self.__dict__.iteritems()]
27873
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
27874
 
27875
  def __eq__(self, other):
27876
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
27877
 
27878
  def __ne__(self, other):
27879
    return not (self == other)
27880
 
27881
class getAllProductFeedSubmit_args:
27882
 
27883
  thrift_spec = (
27884
  )
27885
 
27886
  def read(self, iprot):
27887
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
27888
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
27889
      return
27890
    iprot.readStructBegin()
27891
    while True:
27892
      (fname, ftype, fid) = iprot.readFieldBegin()
27893
      if ftype == TType.STOP:
27894
        break
27895
      else:
27896
        iprot.skip(ftype)
27897
      iprot.readFieldEnd()
27898
    iprot.readStructEnd()
27899
 
27900
  def write(self, oprot):
27901
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
27902
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
27903
      return
27904
    oprot.writeStructBegin('getAllProductFeedSubmit_args')
27905
    oprot.writeFieldStop()
27906
    oprot.writeStructEnd()
27907
 
27908
  def validate(self):
27909
    return
27910
 
27911
 
27912
  def __repr__(self):
27913
    L = ['%s=%r' % (key, value)
27914
      for key, value in self.__dict__.iteritems()]
27915
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
27916
 
27917
  def __eq__(self, other):
27918
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
27919
 
27920
  def __ne__(self, other):
27921
    return not (self == other)
27922
 
27923
class getAllProductFeedSubmit_result:
27924
  """
27925
  Attributes:
27926
   - success
27927
   - cex
27928
  """
27929
 
27930
  thrift_spec = (
27931
    (0, TType.LIST, 'success', (TType.STRUCT,(ProductFeedSubmit, ProductFeedSubmit.thrift_spec)), None, ), # 0
27932
    (1, TType.STRUCT, 'cex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
27933
  )
27934
 
27935
  def __init__(self, success=None, cex=None,):
27936
    self.success = success
27937
    self.cex = cex
27938
 
27939
  def read(self, iprot):
27940
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
27941
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
27942
      return
27943
    iprot.readStructBegin()
27944
    while True:
27945
      (fname, ftype, fid) = iprot.readFieldBegin()
27946
      if ftype == TType.STOP:
27947
        break
27948
      if fid == 0:
27949
        if ftype == TType.LIST:
27950
          self.success = []
21838 amit.gupta 27951
          (_etype594, _size591) = iprot.readListBegin()
27952
          for _i595 in xrange(_size591):
27953
            _elem596 = ProductFeedSubmit()
27954
            _elem596.read(iprot)
27955
            self.success.append(_elem596)
9621 manish.sha 27956
          iprot.readListEnd()
27957
        else:
27958
          iprot.skip(ftype)
27959
      elif fid == 1:
27960
        if ftype == TType.STRUCT:
27961
          self.cex = CatalogServiceException()
27962
          self.cex.read(iprot)
27963
        else:
27964
          iprot.skip(ftype)
27965
      else:
27966
        iprot.skip(ftype)
27967
      iprot.readFieldEnd()
27968
    iprot.readStructEnd()
27969
 
27970
  def write(self, oprot):
27971
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
27972
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
27973
      return
27974
    oprot.writeStructBegin('getAllProductFeedSubmit_result')
27975
    if self.success is not None:
27976
      oprot.writeFieldBegin('success', TType.LIST, 0)
27977
      oprot.writeListBegin(TType.STRUCT, len(self.success))
21838 amit.gupta 27978
      for iter597 in self.success:
27979
        iter597.write(oprot)
9621 manish.sha 27980
      oprot.writeListEnd()
27981
      oprot.writeFieldEnd()
27982
    if self.cex is not None:
27983
      oprot.writeFieldBegin('cex', TType.STRUCT, 1)
27984
      self.cex.write(oprot)
27985
      oprot.writeFieldEnd()
27986
    oprot.writeFieldStop()
27987
    oprot.writeStructEnd()
27988
 
27989
  def validate(self):
27990
    return
27991
 
27992
 
27993
  def __repr__(self):
27994
    L = ['%s=%r' % (key, value)
27995
      for key, value in self.__dict__.iteritems()]
27996
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
27997
 
27998
  def __eq__(self, other):
27999
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
28000
 
28001
  def __ne__(self, other):
28002
    return not (self == other)
9724 kshitij.so 28003
 
28004
class getMarketplacedetailsForItem_args:
28005
  """
28006
  Attributes:
28007
   - itemId
28008
   - sourceId
28009
  """
28010
 
28011
  thrift_spec = (
28012
    None, # 0
28013
    (1, TType.I64, 'itemId', None, None, ), # 1
28014
    (2, TType.I64, 'sourceId', None, None, ), # 2
28015
  )
28016
 
28017
  def __init__(self, itemId=None, sourceId=None,):
28018
    self.itemId = itemId
28019
    self.sourceId = sourceId
28020
 
28021
  def read(self, iprot):
28022
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
28023
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
28024
      return
28025
    iprot.readStructBegin()
28026
    while True:
28027
      (fname, ftype, fid) = iprot.readFieldBegin()
28028
      if ftype == TType.STOP:
28029
        break
28030
      if fid == 1:
28031
        if ftype == TType.I64:
28032
          self.itemId = iprot.readI64();
28033
        else:
28034
          iprot.skip(ftype)
28035
      elif fid == 2:
28036
        if ftype == TType.I64:
28037
          self.sourceId = iprot.readI64();
28038
        else:
28039
          iprot.skip(ftype)
28040
      else:
28041
        iprot.skip(ftype)
28042
      iprot.readFieldEnd()
28043
    iprot.readStructEnd()
28044
 
28045
  def write(self, oprot):
28046
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
28047
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
28048
      return
28049
    oprot.writeStructBegin('getMarketplacedetailsForItem_args')
28050
    if self.itemId is not None:
28051
      oprot.writeFieldBegin('itemId', TType.I64, 1)
28052
      oprot.writeI64(self.itemId)
28053
      oprot.writeFieldEnd()
28054
    if self.sourceId is not None:
28055
      oprot.writeFieldBegin('sourceId', TType.I64, 2)
28056
      oprot.writeI64(self.sourceId)
28057
      oprot.writeFieldEnd()
28058
    oprot.writeFieldStop()
28059
    oprot.writeStructEnd()
28060
 
28061
  def validate(self):
28062
    return
28063
 
28064
 
28065
  def __repr__(self):
28066
    L = ['%s=%r' % (key, value)
28067
      for key, value in self.__dict__.iteritems()]
28068
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
28069
 
28070
  def __eq__(self, other):
28071
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
28072
 
28073
  def __ne__(self, other):
28074
    return not (self == other)
28075
 
28076
class getMarketplacedetailsForItem_result:
28077
  """
28078
  Attributes:
28079
   - success
28080
  """
28081
 
28082
  thrift_spec = (
28083
    (0, TType.STRUCT, 'success', (MarketplaceItems, MarketplaceItems.thrift_spec), None, ), # 0
28084
  )
28085
 
28086
  def __init__(self, success=None,):
28087
    self.success = success
28088
 
28089
  def read(self, iprot):
28090
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
28091
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
28092
      return
28093
    iprot.readStructBegin()
28094
    while True:
28095
      (fname, ftype, fid) = iprot.readFieldBegin()
28096
      if ftype == TType.STOP:
28097
        break
28098
      if fid == 0:
28099
        if ftype == TType.STRUCT:
28100
          self.success = MarketplaceItems()
28101
          self.success.read(iprot)
28102
        else:
28103
          iprot.skip(ftype)
28104
      else:
28105
        iprot.skip(ftype)
28106
      iprot.readFieldEnd()
28107
    iprot.readStructEnd()
28108
 
28109
  def write(self, oprot):
28110
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
28111
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
28112
      return
28113
    oprot.writeStructBegin('getMarketplacedetailsForItem_result')
28114
    if self.success is not None:
28115
      oprot.writeFieldBegin('success', TType.STRUCT, 0)
28116
      self.success.write(oprot)
28117
      oprot.writeFieldEnd()
28118
    oprot.writeFieldStop()
28119
    oprot.writeStructEnd()
28120
 
28121
  def validate(self):
28122
    return
28123
 
28124
 
28125
  def __repr__(self):
28126
    L = ['%s=%r' % (key, value)
28127
      for key, value in self.__dict__.iteritems()]
28128
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
28129
 
28130
  def __eq__(self, other):
28131
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
28132
 
28133
  def __ne__(self, other):
28134
    return not (self == other)
28135
 
28136
class updateMarketplaceAttributesForItem_args:
28137
  """
28138
  Attributes:
28139
   - marketPlaceItem
28140
  """
28141
 
28142
  thrift_spec = (
28143
    None, # 0
28144
    (1, TType.STRUCT, 'marketPlaceItem', (MarketplaceItems, MarketplaceItems.thrift_spec), None, ), # 1
28145
  )
28146
 
28147
  def __init__(self, marketPlaceItem=None,):
28148
    self.marketPlaceItem = marketPlaceItem
28149
 
28150
  def read(self, iprot):
28151
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
28152
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
28153
      return
28154
    iprot.readStructBegin()
28155
    while True:
28156
      (fname, ftype, fid) = iprot.readFieldBegin()
28157
      if ftype == TType.STOP:
28158
        break
28159
      if fid == 1:
28160
        if ftype == TType.STRUCT:
28161
          self.marketPlaceItem = MarketplaceItems()
28162
          self.marketPlaceItem.read(iprot)
28163
        else:
28164
          iprot.skip(ftype)
28165
      else:
28166
        iprot.skip(ftype)
28167
      iprot.readFieldEnd()
28168
    iprot.readStructEnd()
28169
 
28170
  def write(self, oprot):
28171
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
28172
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
28173
      return
28174
    oprot.writeStructBegin('updateMarketplaceAttributesForItem_args')
28175
    if self.marketPlaceItem is not None:
28176
      oprot.writeFieldBegin('marketPlaceItem', TType.STRUCT, 1)
28177
      self.marketPlaceItem.write(oprot)
28178
      oprot.writeFieldEnd()
28179
    oprot.writeFieldStop()
28180
    oprot.writeStructEnd()
28181
 
28182
  def validate(self):
28183
    return
28184
 
28185
 
28186
  def __repr__(self):
28187
    L = ['%s=%r' % (key, value)
28188
      for key, value in self.__dict__.iteritems()]
28189
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
28190
 
28191
  def __eq__(self, other):
28192
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
28193
 
28194
  def __ne__(self, other):
28195
    return not (self == other)
28196
 
28197
class updateMarketplaceAttributesForItem_result:
28198
  """
28199
  Attributes:
28200
   - success
28201
  """
28202
 
28203
  thrift_spec = (
28204
    (0, TType.BOOL, 'success', None, None, ), # 0
28205
  )
28206
 
28207
  def __init__(self, success=None,):
28208
    self.success = success
28209
 
28210
  def read(self, iprot):
28211
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
28212
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
28213
      return
28214
    iprot.readStructBegin()
28215
    while True:
28216
      (fname, ftype, fid) = iprot.readFieldBegin()
28217
      if ftype == TType.STOP:
28218
        break
28219
      if fid == 0:
28220
        if ftype == TType.BOOL:
28221
          self.success = iprot.readBool();
28222
        else:
28223
          iprot.skip(ftype)
28224
      else:
28225
        iprot.skip(ftype)
28226
      iprot.readFieldEnd()
28227
    iprot.readStructEnd()
28228
 
28229
  def write(self, oprot):
28230
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
28231
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
28232
      return
28233
    oprot.writeStructBegin('updateMarketplaceAttributesForItem_result')
28234
    if self.success is not None:
28235
      oprot.writeFieldBegin('success', TType.BOOL, 0)
28236
      oprot.writeBool(self.success)
28237
      oprot.writeFieldEnd()
28238
    oprot.writeFieldStop()
28239
    oprot.writeStructEnd()
28240
 
28241
  def validate(self):
28242
    return
28243
 
28244
 
28245
  def __repr__(self):
28246
    L = ['%s=%r' % (key, value)
28247
      for key, value in self.__dict__.iteritems()]
28248
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
28249
 
28250
  def __eq__(self, other):
28251
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
28252
 
28253
  def __ne__(self, other):
28254
    return not (self == other)
9776 vikram.rag 28255
 
9779 kshitij.so 28256
class getCostingForMarketplace_args:
28257
  """
28258
  Attributes:
28259
   - source
28260
   - item_id
28261
  """
28262
 
28263
  thrift_spec = (
28264
    None, # 0
28265
    (1, TType.I64, 'source', None, None, ), # 1
28266
    (2, TType.I64, 'item_id', None, None, ), # 2
28267
  )
28268
 
28269
  def __init__(self, source=None, item_id=None,):
28270
    self.source = source
28271
    self.item_id = item_id
28272
 
28273
  def read(self, iprot):
28274
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
28275
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
28276
      return
28277
    iprot.readStructBegin()
28278
    while True:
28279
      (fname, ftype, fid) = iprot.readFieldBegin()
28280
      if ftype == TType.STOP:
28281
        break
28282
      if fid == 1:
28283
        if ftype == TType.I64:
28284
          self.source = iprot.readI64();
28285
        else:
28286
          iprot.skip(ftype)
28287
      elif fid == 2:
28288
        if ftype == TType.I64:
28289
          self.item_id = iprot.readI64();
28290
        else:
28291
          iprot.skip(ftype)
28292
      else:
28293
        iprot.skip(ftype)
28294
      iprot.readFieldEnd()
28295
    iprot.readStructEnd()
28296
 
28297
  def write(self, oprot):
28298
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
28299
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
28300
      return
28301
    oprot.writeStructBegin('getCostingForMarketplace_args')
28302
    if self.source is not None:
28303
      oprot.writeFieldBegin('source', TType.I64, 1)
28304
      oprot.writeI64(self.source)
28305
      oprot.writeFieldEnd()
28306
    if self.item_id is not None:
28307
      oprot.writeFieldBegin('item_id', TType.I64, 2)
28308
      oprot.writeI64(self.item_id)
28309
      oprot.writeFieldEnd()
28310
    oprot.writeFieldStop()
28311
    oprot.writeStructEnd()
28312
 
28313
  def validate(self):
28314
    return
28315
 
28316
 
28317
  def __repr__(self):
28318
    L = ['%s=%r' % (key, value)
28319
      for key, value in self.__dict__.iteritems()]
28320
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
28321
 
28322
  def __eq__(self, other):
28323
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
28324
 
28325
  def __ne__(self, other):
28326
    return not (self == other)
28327
 
28328
class getCostingForMarketplace_result:
28329
  """
28330
  Attributes:
28331
   - success
28332
  """
28333
 
28334
  thrift_spec = (
28335
    (0, TType.STRUCT, 'success', (MarketplacePercentage, MarketplacePercentage.thrift_spec), None, ), # 0
28336
  )
28337
 
28338
  def __init__(self, success=None,):
28339
    self.success = success
28340
 
28341
  def read(self, iprot):
28342
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
28343
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
28344
      return
28345
    iprot.readStructBegin()
28346
    while True:
28347
      (fname, ftype, fid) = iprot.readFieldBegin()
28348
      if ftype == TType.STOP:
28349
        break
28350
      if fid == 0:
28351
        if ftype == TType.STRUCT:
28352
          self.success = MarketplacePercentage()
28353
          self.success.read(iprot)
28354
        else:
28355
          iprot.skip(ftype)
28356
      else:
28357
        iprot.skip(ftype)
28358
      iprot.readFieldEnd()
28359
    iprot.readStructEnd()
28360
 
28361
  def write(self, oprot):
28362
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
28363
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
28364
      return
28365
    oprot.writeStructBegin('getCostingForMarketplace_result')
28366
    if self.success is not None:
28367
      oprot.writeFieldBegin('success', TType.STRUCT, 0)
28368
      self.success.write(oprot)
28369
      oprot.writeFieldEnd()
28370
    oprot.writeFieldStop()
28371
    oprot.writeStructEnd()
28372
 
28373
  def validate(self):
28374
    return
28375
 
28376
 
28377
  def __repr__(self):
28378
    L = ['%s=%r' % (key, value)
28379
      for key, value in self.__dict__.iteritems()]
28380
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
28381
 
28382
  def __eq__(self, other):
28383
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
28384
 
28385
  def __ne__(self, other):
28386
    return not (self == other)
28387
 
9776 vikram.rag 28388
class getMarketPlaceItemsForPriceUpdate_args:
28389
  """
28390
  Attributes:
28391
   - source
28392
  """
28393
 
28394
  thrift_spec = (
28395
    None, # 0
28396
    (1, TType.I64, 'source', None, None, ), # 1
28397
  )
28398
 
28399
  def __init__(self, source=None,):
28400
    self.source = source
28401
 
28402
  def read(self, iprot):
28403
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
28404
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
28405
      return
28406
    iprot.readStructBegin()
28407
    while True:
28408
      (fname, ftype, fid) = iprot.readFieldBegin()
28409
      if ftype == TType.STOP:
28410
        break
28411
      if fid == 1:
28412
        if ftype == TType.I64:
28413
          self.source = iprot.readI64();
28414
        else:
28415
          iprot.skip(ftype)
28416
      else:
28417
        iprot.skip(ftype)
28418
      iprot.readFieldEnd()
28419
    iprot.readStructEnd()
28420
 
28421
  def write(self, oprot):
28422
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
28423
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
28424
      return
28425
    oprot.writeStructBegin('getMarketPlaceItemsForPriceUpdate_args')
28426
    if self.source is not None:
28427
      oprot.writeFieldBegin('source', TType.I64, 1)
28428
      oprot.writeI64(self.source)
28429
      oprot.writeFieldEnd()
28430
    oprot.writeFieldStop()
28431
    oprot.writeStructEnd()
28432
 
28433
  def validate(self):
28434
    return
28435
 
28436
 
28437
  def __repr__(self):
28438
    L = ['%s=%r' % (key, value)
28439
      for key, value in self.__dict__.iteritems()]
28440
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
28441
 
28442
  def __eq__(self, other):
28443
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
28444
 
28445
  def __ne__(self, other):
28446
    return not (self == other)
28447
 
28448
class getMarketPlaceItemsForPriceUpdate_result:
28449
  """
28450
  Attributes:
28451
   - success
28452
  """
28453
 
28454
  thrift_spec = (
28455
    (0, TType.LIST, 'success', (TType.STRUCT,(MarketPlaceItemPrice, MarketPlaceItemPrice.thrift_spec)), None, ), # 0
28456
  )
28457
 
28458
  def __init__(self, success=None,):
28459
    self.success = success
28460
 
28461
  def read(self, iprot):
28462
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
28463
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
28464
      return
28465
    iprot.readStructBegin()
28466
    while True:
28467
      (fname, ftype, fid) = iprot.readFieldBegin()
28468
      if ftype == TType.STOP:
28469
        break
28470
      if fid == 0:
28471
        if ftype == TType.LIST:
28472
          self.success = []
21838 amit.gupta 28473
          (_etype601, _size598) = iprot.readListBegin()
28474
          for _i602 in xrange(_size598):
28475
            _elem603 = MarketPlaceItemPrice()
28476
            _elem603.read(iprot)
28477
            self.success.append(_elem603)
9776 vikram.rag 28478
          iprot.readListEnd()
28479
        else:
28480
          iprot.skip(ftype)
28481
      else:
28482
        iprot.skip(ftype)
28483
      iprot.readFieldEnd()
28484
    iprot.readStructEnd()
28485
 
28486
  def write(self, oprot):
28487
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
28488
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
28489
      return
28490
    oprot.writeStructBegin('getMarketPlaceItemsForPriceUpdate_result')
28491
    if self.success is not None:
28492
      oprot.writeFieldBegin('success', TType.LIST, 0)
28493
      oprot.writeListBegin(TType.STRUCT, len(self.success))
21838 amit.gupta 28494
      for iter604 in self.success:
28495
        iter604.write(oprot)
9776 vikram.rag 28496
      oprot.writeListEnd()
28497
      oprot.writeFieldEnd()
28498
    oprot.writeFieldStop()
28499
    oprot.writeStructEnd()
28500
 
28501
  def validate(self):
28502
    return
28503
 
28504
 
28505
  def __repr__(self):
28506
    L = ['%s=%r' % (key, value)
28507
      for key, value in self.__dict__.iteritems()]
28508
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
28509
 
28510
  def __eq__(self, other):
28511
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
28512
 
28513
  def __ne__(self, other):
28514
    return not (self == other)
28515
 
28516
class updateMarketPlacePriceUpdateStatus_args:
28517
  """
28518
  Attributes:
28519
   - skulist
28520
   - timestamp
9816 kshitij.so 28521
   - source
9776 vikram.rag 28522
  """
28523
 
28524
  thrift_spec = (
28525
    None, # 0
28526
    (1, TType.LIST, 'skulist', (TType.I64,None), None, ), # 1
28527
    (2, TType.I64, 'timestamp', None, None, ), # 2
9816 kshitij.so 28528
    (3, TType.I64, 'source', None, None, ), # 3
9776 vikram.rag 28529
  )
28530
 
9816 kshitij.so 28531
  def __init__(self, skulist=None, timestamp=None, source=None,):
9776 vikram.rag 28532
    self.skulist = skulist
28533
    self.timestamp = timestamp
9816 kshitij.so 28534
    self.source = source
9776 vikram.rag 28535
 
28536
  def read(self, iprot):
28537
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
28538
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
28539
      return
28540
    iprot.readStructBegin()
28541
    while True:
28542
      (fname, ftype, fid) = iprot.readFieldBegin()
28543
      if ftype == TType.STOP:
28544
        break
28545
      if fid == 1:
28546
        if ftype == TType.LIST:
28547
          self.skulist = []
21838 amit.gupta 28548
          (_etype608, _size605) = iprot.readListBegin()
28549
          for _i609 in xrange(_size605):
28550
            _elem610 = iprot.readI64();
28551
            self.skulist.append(_elem610)
9776 vikram.rag 28552
          iprot.readListEnd()
28553
        else:
28554
          iprot.skip(ftype)
28555
      elif fid == 2:
28556
        if ftype == TType.I64:
28557
          self.timestamp = iprot.readI64();
28558
        else:
28559
          iprot.skip(ftype)
9816 kshitij.so 28560
      elif fid == 3:
28561
        if ftype == TType.I64:
28562
          self.source = iprot.readI64();
28563
        else:
28564
          iprot.skip(ftype)
9776 vikram.rag 28565
      else:
28566
        iprot.skip(ftype)
28567
      iprot.readFieldEnd()
28568
    iprot.readStructEnd()
28569
 
28570
  def write(self, oprot):
28571
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
28572
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
28573
      return
28574
    oprot.writeStructBegin('updateMarketPlacePriceUpdateStatus_args')
28575
    if self.skulist is not None:
28576
      oprot.writeFieldBegin('skulist', TType.LIST, 1)
28577
      oprot.writeListBegin(TType.I64, len(self.skulist))
21838 amit.gupta 28578
      for iter611 in self.skulist:
28579
        oprot.writeI64(iter611)
9776 vikram.rag 28580
      oprot.writeListEnd()
28581
      oprot.writeFieldEnd()
28582
    if self.timestamp is not None:
28583
      oprot.writeFieldBegin('timestamp', TType.I64, 2)
28584
      oprot.writeI64(self.timestamp)
28585
      oprot.writeFieldEnd()
9816 kshitij.so 28586
    if self.source is not None:
28587
      oprot.writeFieldBegin('source', TType.I64, 3)
28588
      oprot.writeI64(self.source)
28589
      oprot.writeFieldEnd()
9776 vikram.rag 28590
    oprot.writeFieldStop()
28591
    oprot.writeStructEnd()
28592
 
28593
  def validate(self):
28594
    return
28595
 
28596
 
28597
  def __repr__(self):
28598
    L = ['%s=%r' % (key, value)
28599
      for key, value in self.__dict__.iteritems()]
28600
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
28601
 
28602
  def __eq__(self, other):
28603
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
28604
 
28605
  def __ne__(self, other):
28606
    return not (self == other)
28607
 
28608
class updateMarketPlacePriceUpdateStatus_result:
28609
 
28610
  thrift_spec = (
28611
  )
28612
 
28613
  def read(self, iprot):
28614
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
28615
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
28616
      return
28617
    iprot.readStructBegin()
28618
    while True:
28619
      (fname, ftype, fid) = iprot.readFieldBegin()
28620
      if ftype == TType.STOP:
28621
        break
28622
      else:
28623
        iprot.skip(ftype)
28624
      iprot.readFieldEnd()
28625
    iprot.readStructEnd()
28626
 
28627
  def write(self, oprot):
28628
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
28629
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
28630
      return
28631
    oprot.writeStructBegin('updateMarketPlacePriceUpdateStatus_result')
28632
    oprot.writeFieldStop()
28633
    oprot.writeStructEnd()
28634
 
28635
  def validate(self):
28636
    return
28637
 
28638
 
28639
  def __repr__(self):
28640
    L = ['%s=%r' % (key, value)
28641
      for key, value in self.__dict__.iteritems()]
28642
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
28643
 
28644
  def __eq__(self, other):
28645
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
28646
 
28647
  def __ne__(self, other):
28648
    return not (self == other)
9861 rajveer 28649
 
28650
class updateItemHoldInventory_args:
28651
  """
28652
  Attributes:
28653
   - itemHoldMap
28654
  """
28655
 
28656
  thrift_spec = (
28657
    None, # 0
28658
    (1, TType.MAP, 'itemHoldMap', (TType.I64,None,TType.I64,None), None, ), # 1
28659
  )
28660
 
28661
  def __init__(self, itemHoldMap=None,):
28662
    self.itemHoldMap = itemHoldMap
28663
 
28664
  def read(self, iprot):
28665
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
28666
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
28667
      return
28668
    iprot.readStructBegin()
28669
    while True:
28670
      (fname, ftype, fid) = iprot.readFieldBegin()
28671
      if ftype == TType.STOP:
28672
        break
28673
      if fid == 1:
28674
        if ftype == TType.MAP:
28675
          self.itemHoldMap = {}
21838 amit.gupta 28676
          (_ktype613, _vtype614, _size612 ) = iprot.readMapBegin() 
28677
          for _i616 in xrange(_size612):
28678
            _key617 = iprot.readI64();
28679
            _val618 = iprot.readI64();
28680
            self.itemHoldMap[_key617] = _val618
9861 rajveer 28681
          iprot.readMapEnd()
28682
        else:
28683
          iprot.skip(ftype)
28684
      else:
28685
        iprot.skip(ftype)
28686
      iprot.readFieldEnd()
28687
    iprot.readStructEnd()
28688
 
28689
  def write(self, oprot):
28690
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
28691
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
28692
      return
28693
    oprot.writeStructBegin('updateItemHoldInventory_args')
28694
    if self.itemHoldMap is not None:
28695
      oprot.writeFieldBegin('itemHoldMap', TType.MAP, 1)
28696
      oprot.writeMapBegin(TType.I64, TType.I64, len(self.itemHoldMap))
21838 amit.gupta 28697
      for kiter619,viter620 in self.itemHoldMap.items():
28698
        oprot.writeI64(kiter619)
28699
        oprot.writeI64(viter620)
9861 rajveer 28700
      oprot.writeMapEnd()
28701
      oprot.writeFieldEnd()
28702
    oprot.writeFieldStop()
28703
    oprot.writeStructEnd()
28704
 
28705
  def validate(self):
28706
    return
28707
 
28708
 
28709
  def __repr__(self):
28710
    L = ['%s=%r' % (key, value)
28711
      for key, value in self.__dict__.iteritems()]
28712
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
28713
 
28714
  def __eq__(self, other):
28715
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
28716
 
28717
  def __ne__(self, other):
28718
    return not (self == other)
28719
 
28720
class updateItemHoldInventory_result:
28721
 
28722
  thrift_spec = (
28723
  )
28724
 
28725
  def read(self, iprot):
28726
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
28727
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
28728
      return
28729
    iprot.readStructBegin()
28730
    while True:
28731
      (fname, ftype, fid) = iprot.readFieldBegin()
28732
      if ftype == TType.STOP:
28733
        break
28734
      else:
28735
        iprot.skip(ftype)
28736
      iprot.readFieldEnd()
28737
    iprot.readStructEnd()
28738
 
28739
  def write(self, oprot):
28740
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
28741
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
28742
      return
28743
    oprot.writeStructBegin('updateItemHoldInventory_result')
28744
    oprot.writeFieldStop()
28745
    oprot.writeStructEnd()
28746
 
28747
  def validate(self):
28748
    return
28749
 
28750
 
28751
  def __repr__(self):
28752
    L = ['%s=%r' % (key, value)
28753
      for key, value in self.__dict__.iteritems()]
28754
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
28755
 
28756
  def __eq__(self, other):
28757
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
28758
 
28759
  def __ne__(self, other):
28760
    return not (self == other)
9895 vikram.rag 28761
 
28762
class updateNlcAtMarketplaces_args:
28763
  """
28764
  Attributes:
28765
   - item_id
28766
   - vendor_id
28767
   - nlc
28768
  """
28769
 
28770
  thrift_spec = None
28771
  def __init__(self, item_id=None, vendor_id=None, nlc=None,):
28772
    self.item_id = item_id
28773
    self.vendor_id = vendor_id
28774
    self.nlc = nlc
28775
 
28776
  def read(self, iprot):
28777
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
28778
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
28779
      return
28780
    iprot.readStructBegin()
28781
    while True:
28782
      (fname, ftype, fid) = iprot.readFieldBegin()
28783
      if ftype == TType.STOP:
28784
        break
28785
      if fid == 1:
28786
        if ftype == TType.I64:
28787
          self.item_id = iprot.readI64();
28788
        else:
28789
          iprot.skip(ftype)
28790
      elif fid == 2:
28791
        if ftype == TType.I64:
28792
          self.vendor_id = iprot.readI64();
28793
        else:
28794
          iprot.skip(ftype)
28795
      elif fid == -1:
28796
        if ftype == TType.DOUBLE:
28797
          self.nlc = iprot.readDouble();
28798
        else:
28799
          iprot.skip(ftype)
28800
      else:
28801
        iprot.skip(ftype)
28802
      iprot.readFieldEnd()
28803
    iprot.readStructEnd()
28804
 
28805
  def write(self, oprot):
28806
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
28807
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
28808
      return
28809
    oprot.writeStructBegin('updateNlcAtMarketplaces_args')
28810
    if self.nlc is not None:
28811
      oprot.writeFieldBegin('nlc', TType.DOUBLE, -1)
28812
      oprot.writeDouble(self.nlc)
28813
      oprot.writeFieldEnd()
28814
    if self.item_id is not None:
28815
      oprot.writeFieldBegin('item_id', TType.I64, 1)
28816
      oprot.writeI64(self.item_id)
28817
      oprot.writeFieldEnd()
28818
    if self.vendor_id is not None:
28819
      oprot.writeFieldBegin('vendor_id', TType.I64, 2)
28820
      oprot.writeI64(self.vendor_id)
28821
      oprot.writeFieldEnd()
28822
    oprot.writeFieldStop()
28823
    oprot.writeStructEnd()
28824
 
28825
  def validate(self):
28826
    return
28827
 
28828
 
28829
  def __repr__(self):
28830
    L = ['%s=%r' % (key, value)
28831
      for key, value in self.__dict__.iteritems()]
28832
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
28833
 
28834
  def __eq__(self, other):
28835
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
28836
 
28837
  def __ne__(self, other):
28838
    return not (self == other)
28839
 
28840
class updateNlcAtMarketplaces_result:
28841
 
28842
  thrift_spec = (
28843
  )
28844
 
28845
  def read(self, iprot):
28846
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
28847
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
28848
      return
28849
    iprot.readStructBegin()
28850
    while True:
28851
      (fname, ftype, fid) = iprot.readFieldBegin()
28852
      if ftype == TType.STOP:
28853
        break
28854
      else:
28855
        iprot.skip(ftype)
28856
      iprot.readFieldEnd()
28857
    iprot.readStructEnd()
28858
 
28859
  def write(self, oprot):
28860
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
28861
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
28862
      return
28863
    oprot.writeStructBegin('updateNlcAtMarketplaces_result')
28864
    oprot.writeFieldStop()
28865
    oprot.writeStructEnd()
28866
 
28867
  def validate(self):
28868
    return
28869
 
28870
 
28871
  def __repr__(self):
28872
    L = ['%s=%r' % (key, value)
28873
      for key, value in self.__dict__.iteritems()]
28874
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
28875
 
28876
  def __eq__(self, other):
28877
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
28878
 
28879
  def __ne__(self, other):
28880
    return not (self == other)
9945 vikram.rag 28881
 
28882
class getAllFlipkartItems_args:
28883
 
28884
  thrift_spec = (
28885
  )
28886
 
28887
  def read(self, iprot):
28888
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
28889
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
28890
      return
28891
    iprot.readStructBegin()
28892
    while True:
28893
      (fname, ftype, fid) = iprot.readFieldBegin()
28894
      if ftype == TType.STOP:
28895
        break
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
28905
    oprot.writeStructBegin('getAllFlipkartItems_args')
28906
    oprot.writeFieldStop()
28907
    oprot.writeStructEnd()
28908
 
28909
  def validate(self):
28910
    return
28911
 
28912
 
28913
  def __repr__(self):
28914
    L = ['%s=%r' % (key, value)
28915
      for key, value in self.__dict__.iteritems()]
28916
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
28917
 
28918
  def __eq__(self, other):
28919
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
28920
 
28921
  def __ne__(self, other):
28922
    return not (self == other)
28923
 
28924
class getAllFlipkartItems_result:
28925
  """
28926
  Attributes:
28927
   - success
28928
  """
28929
 
28930
  thrift_spec = (
28931
    (0, TType.LIST, 'success', (TType.STRUCT,(FlipkartItem, FlipkartItem.thrift_spec)), None, ), # 0
28932
  )
28933
 
28934
  def __init__(self, success=None,):
28935
    self.success = success
28936
 
28937
  def read(self, iprot):
28938
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
28939
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
28940
      return
28941
    iprot.readStructBegin()
28942
    while True:
28943
      (fname, ftype, fid) = iprot.readFieldBegin()
28944
      if ftype == TType.STOP:
28945
        break
28946
      if fid == 0:
28947
        if ftype == TType.LIST:
28948
          self.success = []
21838 amit.gupta 28949
          (_etype624, _size621) = iprot.readListBegin()
28950
          for _i625 in xrange(_size621):
28951
            _elem626 = FlipkartItem()
28952
            _elem626.read(iprot)
28953
            self.success.append(_elem626)
9945 vikram.rag 28954
          iprot.readListEnd()
28955
        else:
28956
          iprot.skip(ftype)
28957
      else:
28958
        iprot.skip(ftype)
28959
      iprot.readFieldEnd()
28960
    iprot.readStructEnd()
28961
 
28962
  def write(self, oprot):
28963
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
28964
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
28965
      return
28966
    oprot.writeStructBegin('getAllFlipkartItems_result')
28967
    if self.success is not None:
28968
      oprot.writeFieldBegin('success', TType.LIST, 0)
28969
      oprot.writeListBegin(TType.STRUCT, len(self.success))
21838 amit.gupta 28970
      for iter627 in self.success:
28971
        iter627.write(oprot)
9945 vikram.rag 28972
      oprot.writeListEnd()
28973
      oprot.writeFieldEnd()
28974
    oprot.writeFieldStop()
28975
    oprot.writeStructEnd()
28976
 
28977
  def validate(self):
28978
    return
28979
 
28980
 
28981
  def __repr__(self):
28982
    L = ['%s=%r' % (key, value)
28983
      for key, value in self.__dict__.iteritems()]
28984
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
28985
 
28986
  def __eq__(self, other):
28987
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
28988
 
28989
  def __ne__(self, other):
28990
    return not (self == other)
10097 kshitij.so 28991
 
28992
class addOrUpdateFlipkartItem_args:
28993
  """
28994
  Attributes:
28995
   - flipkartitem
28996
  """
28997
 
28998
  thrift_spec = None
28999
  def __init__(self, flipkartitem=None,):
29000
    self.flipkartitem = flipkartitem
29001
 
29002
  def read(self, iprot):
29003
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
29004
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
29005
      return
29006
    iprot.readStructBegin()
29007
    while True:
29008
      (fname, ftype, fid) = iprot.readFieldBegin()
29009
      if ftype == TType.STOP:
29010
        break
29011
      if fid == -1:
29012
        if ftype == TType.STRUCT:
29013
          self.flipkartitem = FlipkartItem()
29014
          self.flipkartitem.read(iprot)
29015
        else:
29016
          iprot.skip(ftype)
29017
      else:
29018
        iprot.skip(ftype)
29019
      iprot.readFieldEnd()
29020
    iprot.readStructEnd()
29021
 
29022
  def write(self, oprot):
29023
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
29024
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
29025
      return
29026
    oprot.writeStructBegin('addOrUpdateFlipkartItem_args')
29027
    if self.flipkartitem is not None:
29028
      oprot.writeFieldBegin('flipkartitem', TType.STRUCT, -1)
29029
      self.flipkartitem.write(oprot)
29030
      oprot.writeFieldEnd()
29031
    oprot.writeFieldStop()
29032
    oprot.writeStructEnd()
29033
 
29034
  def validate(self):
29035
    return
29036
 
29037
 
29038
  def __repr__(self):
29039
    L = ['%s=%r' % (key, value)
29040
      for key, value in self.__dict__.iteritems()]
29041
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
29042
 
29043
  def __eq__(self, other):
29044
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
29045
 
29046
  def __ne__(self, other):
29047
    return not (self == other)
29048
 
29049
class addOrUpdateFlipkartItem_result:
29050
  """
29051
  Attributes:
29052
   - success
29053
  """
29054
 
29055
  thrift_spec = (
29056
    (0, TType.BOOL, 'success', None, None, ), # 0
29057
  )
29058
 
29059
  def __init__(self, success=None,):
29060
    self.success = success
29061
 
29062
  def read(self, iprot):
29063
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
29064
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
29065
      return
29066
    iprot.readStructBegin()
29067
    while True:
29068
      (fname, ftype, fid) = iprot.readFieldBegin()
29069
      if ftype == TType.STOP:
29070
        break
29071
      if fid == 0:
29072
        if ftype == TType.BOOL:
29073
          self.success = iprot.readBool();
29074
        else:
29075
          iprot.skip(ftype)
29076
      else:
29077
        iprot.skip(ftype)
29078
      iprot.readFieldEnd()
29079
    iprot.readStructEnd()
29080
 
29081
  def write(self, oprot):
29082
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
29083
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
29084
      return
29085
    oprot.writeStructBegin('addOrUpdateFlipkartItem_result')
29086
    if self.success is not None:
29087
      oprot.writeFieldBegin('success', TType.BOOL, 0)
29088
      oprot.writeBool(self.success)
29089
      oprot.writeFieldEnd()
29090
    oprot.writeFieldStop()
29091
    oprot.writeStructEnd()
29092
 
29093
  def validate(self):
29094
    return
29095
 
29096
 
29097
  def __repr__(self):
29098
    L = ['%s=%r' % (key, value)
29099
      for key, value in self.__dict__.iteritems()]
29100
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
29101
 
29102
  def __eq__(self, other):
29103
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
29104
 
29105
  def __ne__(self, other):
29106
    return not (self == other)
29107
 
29108
class getFlipkartItem_args:
29109
  """
29110
  Attributes:
29111
   - item_id
29112
  """
29113
 
29114
  thrift_spec = (
29115
    None, # 0
29116
    (1, TType.I64, 'item_id', None, None, ), # 1
29117
  )
29118
 
29119
  def __init__(self, item_id=None,):
29120
    self.item_id = item_id
29121
 
29122
  def read(self, iprot):
29123
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
29124
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
29125
      return
29126
    iprot.readStructBegin()
29127
    while True:
29128
      (fname, ftype, fid) = iprot.readFieldBegin()
29129
      if ftype == TType.STOP:
29130
        break
29131
      if fid == 1:
29132
        if ftype == TType.I64:
29133
          self.item_id = iprot.readI64();
29134
        else:
29135
          iprot.skip(ftype)
29136
      else:
29137
        iprot.skip(ftype)
29138
      iprot.readFieldEnd()
29139
    iprot.readStructEnd()
29140
 
29141
  def write(self, oprot):
29142
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
29143
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
29144
      return
29145
    oprot.writeStructBegin('getFlipkartItem_args')
29146
    if self.item_id is not None:
29147
      oprot.writeFieldBegin('item_id', TType.I64, 1)
29148
      oprot.writeI64(self.item_id)
29149
      oprot.writeFieldEnd()
29150
    oprot.writeFieldStop()
29151
    oprot.writeStructEnd()
29152
 
29153
  def validate(self):
29154
    return
29155
 
29156
 
29157
  def __repr__(self):
29158
    L = ['%s=%r' % (key, value)
29159
      for key, value in self.__dict__.iteritems()]
29160
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
29161
 
29162
  def __eq__(self, other):
29163
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
29164
 
29165
  def __ne__(self, other):
29166
    return not (self == other)
29167
 
29168
class getFlipkartItem_result:
29169
  """
29170
  Attributes:
29171
   - success
29172
  """
29173
 
29174
  thrift_spec = (
29175
    (0, TType.STRUCT, 'success', (FlipkartItem, FlipkartItem.thrift_spec), None, ), # 0
29176
  )
29177
 
29178
  def __init__(self, success=None,):
29179
    self.success = success
29180
 
29181
  def read(self, iprot):
29182
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
29183
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
29184
      return
29185
    iprot.readStructBegin()
29186
    while True:
29187
      (fname, ftype, fid) = iprot.readFieldBegin()
29188
      if ftype == TType.STOP:
29189
        break
29190
      if fid == 0:
29191
        if ftype == TType.STRUCT:
29192
          self.success = FlipkartItem()
29193
          self.success.read(iprot)
29194
        else:
29195
          iprot.skip(ftype)
29196
      else:
29197
        iprot.skip(ftype)
29198
      iprot.readFieldEnd()
29199
    iprot.readStructEnd()
29200
 
29201
  def write(self, oprot):
29202
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
29203
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
29204
      return
29205
    oprot.writeStructBegin('getFlipkartItem_result')
29206
    if self.success is not None:
29207
      oprot.writeFieldBegin('success', TType.STRUCT, 0)
29208
      self.success.write(oprot)
29209
      oprot.writeFieldEnd()
29210
    oprot.writeFieldStop()
29211
    oprot.writeStructEnd()
29212
 
29213
  def validate(self):
29214
    return
29215
 
29216
 
29217
  def __repr__(self):
29218
    L = ['%s=%r' % (key, value)
29219
      for key, value in self.__dict__.iteritems()]
29220
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
29221
 
29222
  def __eq__(self, other):
29223
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
29224
 
29225
  def __ne__(self, other):
29226
    return not (self == other)
29227
 
29228
class getFlipkartItemDetails_args:
29229
  """
29230
  Attributes:
29231
   - item_id
29232
  """
29233
 
29234
  thrift_spec = (
29235
    None, # 0
29236
    (1, TType.I64, 'item_id', None, None, ), # 1
29237
  )
29238
 
29239
  def __init__(self, item_id=None,):
29240
    self.item_id = item_id
29241
 
29242
  def read(self, iprot):
29243
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
29244
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
29245
      return
29246
    iprot.readStructBegin()
29247
    while True:
29248
      (fname, ftype, fid) = iprot.readFieldBegin()
29249
      if ftype == TType.STOP:
29250
        break
29251
      if fid == 1:
29252
        if ftype == TType.I64:
29253
          self.item_id = iprot.readI64();
29254
        else:
29255
          iprot.skip(ftype)
29256
      else:
29257
        iprot.skip(ftype)
29258
      iprot.readFieldEnd()
29259
    iprot.readStructEnd()
29260
 
29261
  def write(self, oprot):
29262
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
29263
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
29264
      return
29265
    oprot.writeStructBegin('getFlipkartItemDetails_args')
29266
    if self.item_id is not None:
29267
      oprot.writeFieldBegin('item_id', TType.I64, 1)
29268
      oprot.writeI64(self.item_id)
29269
      oprot.writeFieldEnd()
29270
    oprot.writeFieldStop()
29271
    oprot.writeStructEnd()
29272
 
29273
  def validate(self):
29274
    return
29275
 
29276
 
29277
  def __repr__(self):
29278
    L = ['%s=%r' % (key, value)
29279
      for key, value in self.__dict__.iteritems()]
29280
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
29281
 
29282
  def __eq__(self, other):
29283
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
29284
 
29285
  def __ne__(self, other):
29286
    return not (self == other)
29287
 
29288
class getFlipkartItemDetails_result:
29289
  """
29290
  Attributes:
29291
   - success
29292
  """
29293
 
29294
  thrift_spec = (
29295
    (0, TType.STRUCT, 'success', (FlipkartItemDetails, FlipkartItemDetails.thrift_spec), None, ), # 0
29296
  )
29297
 
29298
  def __init__(self, success=None,):
29299
    self.success = success
29300
 
29301
  def read(self, iprot):
29302
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
29303
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
29304
      return
29305
    iprot.readStructBegin()
29306
    while True:
29307
      (fname, ftype, fid) = iprot.readFieldBegin()
29308
      if ftype == TType.STOP:
29309
        break
29310
      if fid == 0:
29311
        if ftype == TType.STRUCT:
29312
          self.success = FlipkartItemDetails()
29313
          self.success.read(iprot)
29314
        else:
29315
          iprot.skip(ftype)
29316
      else:
29317
        iprot.skip(ftype)
29318
      iprot.readFieldEnd()
29319
    iprot.readStructEnd()
29320
 
29321
  def write(self, oprot):
29322
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
29323
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
29324
      return
29325
    oprot.writeStructBegin('getFlipkartItemDetails_result')
29326
    if self.success is not None:
29327
      oprot.writeFieldBegin('success', TType.STRUCT, 0)
29328
      self.success.write(oprot)
29329
      oprot.writeFieldEnd()
29330
    oprot.writeFieldStop()
29331
    oprot.writeStructEnd()
29332
 
29333
  def validate(self):
29334
    return
29335
 
29336
 
29337
  def __repr__(self):
29338
    L = ['%s=%r' % (key, value)
29339
      for key, value in self.__dict__.iteritems()]
29340
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
29341
 
29342
  def __eq__(self, other):
29343
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
29344
 
29345
  def __ne__(self, other):
29346
    return not (self == other)
29347
 
29348
class getFlipkartItems_args:
29349
  """
29350
  Attributes:
29351
   - offset
29352
   - limit
29353
  """
29354
 
29355
  thrift_spec = (
29356
    None, # 0
29357
    (1, TType.I64, 'offset', None, None, ), # 1
29358
    (2, TType.I64, 'limit', None, None, ), # 2
29359
  )
29360
 
29361
  def __init__(self, offset=None, limit=None,):
29362
    self.offset = offset
29363
    self.limit = limit
29364
 
29365
  def read(self, iprot):
29366
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
29367
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
29368
      return
29369
    iprot.readStructBegin()
29370
    while True:
29371
      (fname, ftype, fid) = iprot.readFieldBegin()
29372
      if ftype == TType.STOP:
29373
        break
29374
      if fid == 1:
29375
        if ftype == TType.I64:
29376
          self.offset = iprot.readI64();
29377
        else:
29378
          iprot.skip(ftype)
29379
      elif fid == 2:
29380
        if ftype == TType.I64:
29381
          self.limit = iprot.readI64();
29382
        else:
29383
          iprot.skip(ftype)
29384
      else:
29385
        iprot.skip(ftype)
29386
      iprot.readFieldEnd()
29387
    iprot.readStructEnd()
29388
 
29389
  def write(self, oprot):
29390
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
29391
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
29392
      return
29393
    oprot.writeStructBegin('getFlipkartItems_args')
29394
    if self.offset is not None:
29395
      oprot.writeFieldBegin('offset', TType.I64, 1)
29396
      oprot.writeI64(self.offset)
29397
      oprot.writeFieldEnd()
29398
    if self.limit is not None:
29399
      oprot.writeFieldBegin('limit', TType.I64, 2)
29400
      oprot.writeI64(self.limit)
29401
      oprot.writeFieldEnd()
29402
    oprot.writeFieldStop()
29403
    oprot.writeStructEnd()
29404
 
29405
  def validate(self):
29406
    return
29407
 
29408
 
29409
  def __repr__(self):
29410
    L = ['%s=%r' % (key, value)
29411
      for key, value in self.__dict__.iteritems()]
29412
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
29413
 
29414
  def __eq__(self, other):
29415
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
29416
 
29417
  def __ne__(self, other):
29418
    return not (self == other)
29419
 
29420
class getFlipkartItems_result:
29421
  """
29422
  Attributes:
29423
   - success
29424
  """
29425
 
29426
  thrift_spec = (
29427
    (0, TType.LIST, 'success', (TType.STRUCT,(FlipkartItemDetails, FlipkartItemDetails.thrift_spec)), None, ), # 0
29428
  )
29429
 
29430
  def __init__(self, success=None,):
29431
    self.success = success
29432
 
29433
  def read(self, iprot):
29434
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
29435
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
29436
      return
29437
    iprot.readStructBegin()
29438
    while True:
29439
      (fname, ftype, fid) = iprot.readFieldBegin()
29440
      if ftype == TType.STOP:
29441
        break
29442
      if fid == 0:
29443
        if ftype == TType.LIST:
29444
          self.success = []
21838 amit.gupta 29445
          (_etype631, _size628) = iprot.readListBegin()
29446
          for _i632 in xrange(_size628):
29447
            _elem633 = FlipkartItemDetails()
29448
            _elem633.read(iprot)
29449
            self.success.append(_elem633)
10097 kshitij.so 29450
          iprot.readListEnd()
29451
        else:
29452
          iprot.skip(ftype)
29453
      else:
29454
        iprot.skip(ftype)
29455
      iprot.readFieldEnd()
29456
    iprot.readStructEnd()
29457
 
29458
  def write(self, oprot):
29459
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
29460
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
29461
      return
29462
    oprot.writeStructBegin('getFlipkartItems_result')
29463
    if self.success is not None:
29464
      oprot.writeFieldBegin('success', TType.LIST, 0)
29465
      oprot.writeListBegin(TType.STRUCT, len(self.success))
21838 amit.gupta 29466
      for iter634 in self.success:
29467
        iter634.write(oprot)
10097 kshitij.so 29468
      oprot.writeListEnd()
29469
      oprot.writeFieldEnd()
29470
    oprot.writeFieldStop()
29471
    oprot.writeStructEnd()
29472
 
29473
  def validate(self):
29474
    return
29475
 
29476
 
29477
  def __repr__(self):
29478
    L = ['%s=%r' % (key, value)
29479
      for key, value in self.__dict__.iteritems()]
29480
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
29481
 
29482
  def __eq__(self, other):
29483
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
29484
 
29485
  def __ne__(self, other):
29486
    return not (self == other)
29487
 
29488
class searchFlipkartItems_args:
29489
  """
29490
  Attributes:
29491
   - searchTerm
29492
   - offset
29493
   - limit
29494
  """
29495
 
29496
  thrift_spec = (
29497
    None, # 0
29498
    (1, TType.LIST, 'searchTerm', (TType.STRING,None), None, ), # 1
29499
    (2, TType.I64, 'offset', None, None, ), # 2
29500
    (3, TType.I64, 'limit', None, None, ), # 3
29501
  )
29502
 
29503
  def __init__(self, searchTerm=None, offset=None, limit=None,):
29504
    self.searchTerm = searchTerm
29505
    self.offset = offset
29506
    self.limit = limit
29507
 
29508
  def read(self, iprot):
29509
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
29510
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
29511
      return
29512
    iprot.readStructBegin()
29513
    while True:
29514
      (fname, ftype, fid) = iprot.readFieldBegin()
29515
      if ftype == TType.STOP:
29516
        break
29517
      if fid == 1:
29518
        if ftype == TType.LIST:
29519
          self.searchTerm = []
21838 amit.gupta 29520
          (_etype638, _size635) = iprot.readListBegin()
29521
          for _i639 in xrange(_size635):
29522
            _elem640 = iprot.readString();
29523
            self.searchTerm.append(_elem640)
10097 kshitij.so 29524
          iprot.readListEnd()
29525
        else:
29526
          iprot.skip(ftype)
29527
      elif fid == 2:
29528
        if ftype == TType.I64:
29529
          self.offset = iprot.readI64();
29530
        else:
29531
          iprot.skip(ftype)
29532
      elif fid == 3:
29533
        if ftype == TType.I64:
29534
          self.limit = iprot.readI64();
29535
        else:
29536
          iprot.skip(ftype)
29537
      else:
29538
        iprot.skip(ftype)
29539
      iprot.readFieldEnd()
29540
    iprot.readStructEnd()
29541
 
29542
  def write(self, oprot):
29543
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
29544
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
29545
      return
29546
    oprot.writeStructBegin('searchFlipkartItems_args')
29547
    if self.searchTerm is not None:
29548
      oprot.writeFieldBegin('searchTerm', TType.LIST, 1)
29549
      oprot.writeListBegin(TType.STRING, len(self.searchTerm))
21838 amit.gupta 29550
      for iter641 in self.searchTerm:
29551
        oprot.writeString(iter641)
10097 kshitij.so 29552
      oprot.writeListEnd()
29553
      oprot.writeFieldEnd()
29554
    if self.offset is not None:
29555
      oprot.writeFieldBegin('offset', TType.I64, 2)
29556
      oprot.writeI64(self.offset)
29557
      oprot.writeFieldEnd()
29558
    if self.limit is not None:
29559
      oprot.writeFieldBegin('limit', TType.I64, 3)
29560
      oprot.writeI64(self.limit)
29561
      oprot.writeFieldEnd()
29562
    oprot.writeFieldStop()
29563
    oprot.writeStructEnd()
29564
 
29565
  def validate(self):
29566
    return
29567
 
29568
 
29569
  def __repr__(self):
29570
    L = ['%s=%r' % (key, value)
29571
      for key, value in self.__dict__.iteritems()]
29572
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
29573
 
29574
  def __eq__(self, other):
29575
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
29576
 
29577
  def __ne__(self, other):
29578
    return not (self == other)
29579
 
29580
class searchFlipkartItems_result:
29581
  """
29582
  Attributes:
29583
   - success
29584
  """
29585
 
29586
  thrift_spec = (
29587
    (0, TType.LIST, 'success', (TType.STRUCT,(FlipkartItemDetails, FlipkartItemDetails.thrift_spec)), None, ), # 0
29588
  )
29589
 
29590
  def __init__(self, success=None,):
29591
    self.success = success
29592
 
29593
  def read(self, iprot):
29594
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
29595
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
29596
      return
29597
    iprot.readStructBegin()
29598
    while True:
29599
      (fname, ftype, fid) = iprot.readFieldBegin()
29600
      if ftype == TType.STOP:
29601
        break
29602
      if fid == 0:
29603
        if ftype == TType.LIST:
29604
          self.success = []
21838 amit.gupta 29605
          (_etype645, _size642) = iprot.readListBegin()
29606
          for _i646 in xrange(_size642):
29607
            _elem647 = FlipkartItemDetails()
29608
            _elem647.read(iprot)
29609
            self.success.append(_elem647)
10097 kshitij.so 29610
          iprot.readListEnd()
29611
        else:
29612
          iprot.skip(ftype)
29613
      else:
29614
        iprot.skip(ftype)
29615
      iprot.readFieldEnd()
29616
    iprot.readStructEnd()
29617
 
29618
  def write(self, oprot):
29619
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
29620
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
29621
      return
29622
    oprot.writeStructBegin('searchFlipkartItems_result')
29623
    if self.success is not None:
29624
      oprot.writeFieldBegin('success', TType.LIST, 0)
29625
      oprot.writeListBegin(TType.STRUCT, len(self.success))
21838 amit.gupta 29626
      for iter648 in self.success:
29627
        iter648.write(oprot)
10097 kshitij.so 29628
      oprot.writeListEnd()
29629
      oprot.writeFieldEnd()
29630
    oprot.writeFieldStop()
29631
    oprot.writeStructEnd()
29632
 
29633
  def validate(self):
29634
    return
29635
 
29636
 
29637
  def __repr__(self):
29638
    L = ['%s=%r' % (key, value)
29639
      for key, value in self.__dict__.iteritems()]
29640
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
29641
 
29642
  def __eq__(self, other):
29643
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
29644
 
29645
  def __ne__(self, other):
29646
    return not (self == other)
29647
 
29648
class getCountForFlipkartItems_args:
29649
 
29650
  thrift_spec = (
29651
  )
29652
 
29653
  def read(self, iprot):
29654
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
29655
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
29656
      return
29657
    iprot.readStructBegin()
29658
    while True:
29659
      (fname, ftype, fid) = iprot.readFieldBegin()
29660
      if ftype == TType.STOP:
29661
        break
29662
      else:
29663
        iprot.skip(ftype)
29664
      iprot.readFieldEnd()
29665
    iprot.readStructEnd()
29666
 
29667
  def write(self, oprot):
29668
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
29669
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
29670
      return
29671
    oprot.writeStructBegin('getCountForFlipkartItems_args')
29672
    oprot.writeFieldStop()
29673
    oprot.writeStructEnd()
29674
 
29675
  def validate(self):
29676
    return
29677
 
29678
 
29679
  def __repr__(self):
29680
    L = ['%s=%r' % (key, value)
29681
      for key, value in self.__dict__.iteritems()]
29682
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
29683
 
29684
  def __eq__(self, other):
29685
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
29686
 
29687
  def __ne__(self, other):
29688
    return not (self == other)
29689
 
29690
class getCountForFlipkartItems_result:
29691
  """
29692
  Attributes:
29693
   - success
29694
  """
29695
 
29696
  thrift_spec = (
29697
    (0, TType.I64, 'success', None, None, ), # 0
29698
  )
29699
 
29700
  def __init__(self, success=None,):
29701
    self.success = success
29702
 
29703
  def read(self, iprot):
29704
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
29705
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
29706
      return
29707
    iprot.readStructBegin()
29708
    while True:
29709
      (fname, ftype, fid) = iprot.readFieldBegin()
29710
      if ftype == TType.STOP:
29711
        break
29712
      if fid == 0:
29713
        if ftype == TType.I64:
29714
          self.success = iprot.readI64();
29715
        else:
29716
          iprot.skip(ftype)
29717
      else:
29718
        iprot.skip(ftype)
29719
      iprot.readFieldEnd()
29720
    iprot.readStructEnd()
29721
 
29722
  def write(self, oprot):
29723
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
29724
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
29725
      return
29726
    oprot.writeStructBegin('getCountForFlipkartItems_result')
29727
    if self.success is not None:
29728
      oprot.writeFieldBegin('success', TType.I64, 0)
29729
      oprot.writeI64(self.success)
29730
      oprot.writeFieldEnd()
29731
    oprot.writeFieldStop()
29732
    oprot.writeStructEnd()
29733
 
29734
  def validate(self):
29735
    return
29736
 
29737
 
29738
  def __repr__(self):
29739
    L = ['%s=%r' % (key, value)
29740
      for key, value in self.__dict__.iteritems()]
29741
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
29742
 
29743
  def __eq__(self, other):
29744
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
29745
 
29746
  def __ne__(self, other):
29747
    return not (self == other)
29748
 
29749
class getFlipkartSearchResultCount_args:
29750
  """
29751
  Attributes:
29752
   - searchTerm
29753
  """
29754
 
29755
  thrift_spec = (
29756
    None, # 0
29757
    (1, TType.LIST, 'searchTerm', (TType.STRING,None), None, ), # 1
29758
  )
29759
 
29760
  def __init__(self, searchTerm=None,):
29761
    self.searchTerm = searchTerm
29762
 
29763
  def read(self, iprot):
29764
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
29765
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
29766
      return
29767
    iprot.readStructBegin()
29768
    while True:
29769
      (fname, ftype, fid) = iprot.readFieldBegin()
29770
      if ftype == TType.STOP:
29771
        break
29772
      if fid == 1:
29773
        if ftype == TType.LIST:
29774
          self.searchTerm = []
21838 amit.gupta 29775
          (_etype652, _size649) = iprot.readListBegin()
29776
          for _i653 in xrange(_size649):
29777
            _elem654 = iprot.readString();
29778
            self.searchTerm.append(_elem654)
10097 kshitij.so 29779
          iprot.readListEnd()
29780
        else:
29781
          iprot.skip(ftype)
29782
      else:
29783
        iprot.skip(ftype)
29784
      iprot.readFieldEnd()
29785
    iprot.readStructEnd()
29786
 
29787
  def write(self, oprot):
29788
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
29789
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
29790
      return
29791
    oprot.writeStructBegin('getFlipkartSearchResultCount_args')
29792
    if self.searchTerm is not None:
29793
      oprot.writeFieldBegin('searchTerm', TType.LIST, 1)
29794
      oprot.writeListBegin(TType.STRING, len(self.searchTerm))
21838 amit.gupta 29795
      for iter655 in self.searchTerm:
29796
        oprot.writeString(iter655)
10097 kshitij.so 29797
      oprot.writeListEnd()
29798
      oprot.writeFieldEnd()
29799
    oprot.writeFieldStop()
29800
    oprot.writeStructEnd()
29801
 
29802
  def validate(self):
29803
    return
29804
 
29805
 
29806
  def __repr__(self):
29807
    L = ['%s=%r' % (key, value)
29808
      for key, value in self.__dict__.iteritems()]
29809
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
29810
 
29811
  def __eq__(self, other):
29812
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
29813
 
29814
  def __ne__(self, other):
29815
    return not (self == other)
29816
 
29817
class getFlipkartSearchResultCount_result:
29818
  """
29819
  Attributes:
29820
   - success
29821
  """
29822
 
29823
  thrift_spec = (
29824
    (0, TType.I64, 'success', None, None, ), # 0
29825
  )
29826
 
29827
  def __init__(self, success=None,):
29828
    self.success = success
29829
 
29830
  def read(self, iprot):
29831
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
29832
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
29833
      return
29834
    iprot.readStructBegin()
29835
    while True:
29836
      (fname, ftype, fid) = iprot.readFieldBegin()
29837
      if ftype == TType.STOP:
29838
        break
29839
      if fid == 0:
29840
        if ftype == TType.I64:
29841
          self.success = iprot.readI64();
29842
        else:
29843
          iprot.skip(ftype)
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('getFlipkartSearchResultCount_result')
29854
    if self.success is not None:
29855
      oprot.writeFieldBegin('success', TType.I64, 0)
29856
      oprot.writeI64(self.success)
29857
      oprot.writeFieldEnd()
29858
    oprot.writeFieldStop()
29859
    oprot.writeStructEnd()
29860
 
29861
  def validate(self):
29862
    return
29863
 
29864
 
29865
  def __repr__(self):
29866
    L = ['%s=%r' % (key, value)
29867
      for key, value in self.__dict__.iteritems()]
29868
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
29869
 
29870
  def __eq__(self, other):
29871
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
29872
 
29873
  def __ne__(self, other):
29874
    return not (self == other)
29875
 
29876
class getAllFkItems_args:
29877
 
29878
  thrift_spec = (
29879
  )
29880
 
29881
  def read(self, iprot):
29882
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
29883
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
29884
      return
29885
    iprot.readStructBegin()
29886
    while True:
29887
      (fname, ftype, fid) = iprot.readFieldBegin()
29888
      if ftype == TType.STOP:
29889
        break
29890
      else:
29891
        iprot.skip(ftype)
29892
      iprot.readFieldEnd()
29893
    iprot.readStructEnd()
29894
 
29895
  def write(self, oprot):
29896
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
29897
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
29898
      return
29899
    oprot.writeStructBegin('getAllFkItems_args')
29900
    oprot.writeFieldStop()
29901
    oprot.writeStructEnd()
29902
 
29903
  def validate(self):
29904
    return
29905
 
29906
 
29907
  def __repr__(self):
29908
    L = ['%s=%r' % (key, value)
29909
      for key, value in self.__dict__.iteritems()]
29910
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
29911
 
29912
  def __eq__(self, other):
29913
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
29914
 
29915
  def __ne__(self, other):
29916
    return not (self == other)
29917
 
29918
class getAllFkItems_result:
29919
  """
29920
  Attributes:
29921
   - success
29922
  """
29923
 
29924
  thrift_spec = (
29925
    (0, TType.LIST, 'success', (TType.STRUCT,(FlipkartItemDetails, FlipkartItemDetails.thrift_spec)), None, ), # 0
29926
  )
29927
 
29928
  def __init__(self, success=None,):
29929
    self.success = success
29930
 
29931
  def read(self, iprot):
29932
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
29933
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
29934
      return
29935
    iprot.readStructBegin()
29936
    while True:
29937
      (fname, ftype, fid) = iprot.readFieldBegin()
29938
      if ftype == TType.STOP:
29939
        break
29940
      if fid == 0:
29941
        if ftype == TType.LIST:
29942
          self.success = []
21838 amit.gupta 29943
          (_etype659, _size656) = iprot.readListBegin()
29944
          for _i660 in xrange(_size656):
29945
            _elem661 = FlipkartItemDetails()
29946
            _elem661.read(iprot)
29947
            self.success.append(_elem661)
10097 kshitij.so 29948
          iprot.readListEnd()
29949
        else:
29950
          iprot.skip(ftype)
29951
      else:
29952
        iprot.skip(ftype)
29953
      iprot.readFieldEnd()
29954
    iprot.readStructEnd()
29955
 
29956
  def write(self, oprot):
29957
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
29958
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
29959
      return
29960
    oprot.writeStructBegin('getAllFkItems_result')
29961
    if self.success is not None:
29962
      oprot.writeFieldBegin('success', TType.LIST, 0)
29963
      oprot.writeListBegin(TType.STRUCT, len(self.success))
21838 amit.gupta 29964
      for iter662 in self.success:
29965
        iter662.write(oprot)
10097 kshitij.so 29966
      oprot.writeListEnd()
29967
      oprot.writeFieldEnd()
29968
    oprot.writeFieldStop()
29969
    oprot.writeStructEnd()
29970
 
29971
  def validate(self):
29972
    return
29973
 
29974
 
29975
  def __repr__(self):
29976
    L = ['%s=%r' % (key, value)
29977
      for key, value in self.__dict__.iteritems()]
29978
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
29979
 
29980
  def __eq__(self, other):
29981
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
29982
 
29983
  def __ne__(self, other):
29984
    return not (self == other)
10140 vikram.rag 29985
 
29986
class getFlipkartItemBySkyAtFlipkart_args:
29987
  """
29988
  Attributes:
29989
   - sku
29990
  """
29991
 
11531 vikram.rag 29992
  thrift_spec = None
10140 vikram.rag 29993
  def __init__(self, sku=None,):
29994
    self.sku = sku
29995
 
29996
  def read(self, iprot):
29997
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
29998
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
29999
      return
30000
    iprot.readStructBegin()
30001
    while True:
30002
      (fname, ftype, fid) = iprot.readFieldBegin()
30003
      if ftype == TType.STOP:
30004
        break
11531 vikram.rag 30005
      if fid == -1:
10140 vikram.rag 30006
        if ftype == TType.STRING:
30007
          self.sku = iprot.readString();
30008
        else:
30009
          iprot.skip(ftype)
30010
      else:
30011
        iprot.skip(ftype)
30012
      iprot.readFieldEnd()
30013
    iprot.readStructEnd()
30014
 
30015
  def write(self, oprot):
30016
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
30017
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
30018
      return
30019
    oprot.writeStructBegin('getFlipkartItemBySkyAtFlipkart_args')
30020
    if self.sku is not None:
11531 vikram.rag 30021
      oprot.writeFieldBegin('sku', TType.STRING, -1)
10140 vikram.rag 30022
      oprot.writeString(self.sku)
30023
      oprot.writeFieldEnd()
30024
    oprot.writeFieldStop()
30025
    oprot.writeStructEnd()
30026
 
30027
  def validate(self):
30028
    return
30029
 
30030
 
30031
  def __repr__(self):
30032
    L = ['%s=%r' % (key, value)
30033
      for key, value in self.__dict__.iteritems()]
30034
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
30035
 
30036
  def __eq__(self, other):
30037
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
30038
 
30039
  def __ne__(self, other):
30040
    return not (self == other)
30041
 
30042
class getFlipkartItemBySkyAtFlipkart_result:
30043
  """
30044
  Attributes:
30045
   - success
30046
  """
30047
 
30048
  thrift_spec = (
30049
    (0, TType.STRUCT, 'success', (FlipkartItem, FlipkartItem.thrift_spec), None, ), # 0
30050
  )
30051
 
30052
  def __init__(self, success=None,):
30053
    self.success = success
30054
 
30055
  def read(self, iprot):
30056
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
30057
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
30058
      return
30059
    iprot.readStructBegin()
30060
    while True:
30061
      (fname, ftype, fid) = iprot.readFieldBegin()
30062
      if ftype == TType.STOP:
30063
        break
30064
      if fid == 0:
30065
        if ftype == TType.STRUCT:
30066
          self.success = FlipkartItem()
30067
          self.success.read(iprot)
30068
        else:
30069
          iprot.skip(ftype)
30070
      else:
30071
        iprot.skip(ftype)
30072
      iprot.readFieldEnd()
30073
    iprot.readStructEnd()
30074
 
30075
  def write(self, oprot):
30076
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
30077
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
30078
      return
30079
    oprot.writeStructBegin('getFlipkartItemBySkyAtFlipkart_result')
30080
    if self.success is not None:
30081
      oprot.writeFieldBegin('success', TType.STRUCT, 0)
30082
      self.success.write(oprot)
30083
      oprot.writeFieldEnd()
30084
    oprot.writeFieldStop()
30085
    oprot.writeStructEnd()
30086
 
30087
  def validate(self):
30088
    return
30089
 
30090
 
30091
  def __repr__(self):
30092
    L = ['%s=%r' % (key, value)
30093
      for key, value in self.__dict__.iteritems()]
30094
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
30095
 
30096
  def __eq__(self, other):
30097
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
30098
 
30099
  def __ne__(self, other):
30100
    return not (self == other)
10909 vikram.rag 30101
 
11015 kshitij.so 30102
class getMarketplaceHistory_args:
30103
  """
30104
  Attributes:
30105
   - source
30106
   - offset
30107
   - itemId
30108
  """
10909 vikram.rag 30109
 
30110
  thrift_spec = (
11015 kshitij.so 30111
    None, # 0
30112
    (1, TType.I64, 'source', None, None, ), # 1
30113
    (2, TType.I64, 'offset', None, None, ), # 2
30114
    (3, TType.I64, 'itemId', None, None, ), # 3
10909 vikram.rag 30115
  )
30116
 
11015 kshitij.so 30117
  def __init__(self, source=None, offset=None, itemId=None,):
30118
    self.source = source
30119
    self.offset = offset
30120
    self.itemId = itemId
30121
 
10909 vikram.rag 30122
  def read(self, iprot):
30123
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
30124
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
30125
      return
30126
    iprot.readStructBegin()
30127
    while True:
30128
      (fname, ftype, fid) = iprot.readFieldBegin()
30129
      if ftype == TType.STOP:
30130
        break
11015 kshitij.so 30131
      if fid == 1:
30132
        if ftype == TType.I64:
30133
          self.source = iprot.readI64();
30134
        else:
30135
          iprot.skip(ftype)
30136
      elif fid == 2:
30137
        if ftype == TType.I64:
30138
          self.offset = iprot.readI64();
30139
        else:
30140
          iprot.skip(ftype)
30141
      elif fid == 3:
30142
        if ftype == TType.I64:
30143
          self.itemId = iprot.readI64();
30144
        else:
30145
          iprot.skip(ftype)
10909 vikram.rag 30146
      else:
30147
        iprot.skip(ftype)
30148
      iprot.readFieldEnd()
30149
    iprot.readStructEnd()
30150
 
30151
  def write(self, oprot):
30152
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
30153
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
30154
      return
11015 kshitij.so 30155
    oprot.writeStructBegin('getMarketplaceHistory_args')
30156
    if self.source is not None:
30157
      oprot.writeFieldBegin('source', TType.I64, 1)
30158
      oprot.writeI64(self.source)
30159
      oprot.writeFieldEnd()
30160
    if self.offset is not None:
30161
      oprot.writeFieldBegin('offset', TType.I64, 2)
30162
      oprot.writeI64(self.offset)
30163
      oprot.writeFieldEnd()
30164
    if self.itemId is not None:
30165
      oprot.writeFieldBegin('itemId', TType.I64, 3)
30166
      oprot.writeI64(self.itemId)
30167
      oprot.writeFieldEnd()
10909 vikram.rag 30168
    oprot.writeFieldStop()
30169
    oprot.writeStructEnd()
30170
 
30171
  def validate(self):
30172
    return
30173
 
30174
 
30175
  def __repr__(self):
30176
    L = ['%s=%r' % (key, value)
30177
      for key, value in self.__dict__.iteritems()]
30178
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
30179
 
30180
  def __eq__(self, other):
30181
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
30182
 
30183
  def __ne__(self, other):
30184
    return not (self == other)
30185
 
11015 kshitij.so 30186
class getMarketplaceHistory_result:
10909 vikram.rag 30187
  """
30188
  Attributes:
30189
   - success
30190
  """
30191
 
30192
  thrift_spec = (
11015 kshitij.so 30193
    (0, TType.LIST, 'success', (TType.STRUCT,(MarketplaceHistory, MarketplaceHistory.thrift_spec)), None, ), # 0
10909 vikram.rag 30194
  )
30195
 
30196
  def __init__(self, success=None,):
30197
    self.success = success
30198
 
30199
  def read(self, iprot):
30200
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
30201
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
30202
      return
30203
    iprot.readStructBegin()
30204
    while True:
30205
      (fname, ftype, fid) = iprot.readFieldBegin()
30206
      if ftype == TType.STOP:
30207
        break
30208
      if fid == 0:
30209
        if ftype == TType.LIST:
30210
          self.success = []
21838 amit.gupta 30211
          (_etype666, _size663) = iprot.readListBegin()
30212
          for _i667 in xrange(_size663):
30213
            _elem668 = MarketplaceHistory()
30214
            _elem668.read(iprot)
30215
            self.success.append(_elem668)
10909 vikram.rag 30216
          iprot.readListEnd()
30217
        else:
30218
          iprot.skip(ftype)
30219
      else:
30220
        iprot.skip(ftype)
30221
      iprot.readFieldEnd()
30222
    iprot.readStructEnd()
30223
 
30224
  def write(self, oprot):
30225
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
30226
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
30227
      return
11015 kshitij.so 30228
    oprot.writeStructBegin('getMarketplaceHistory_result')
10909 vikram.rag 30229
    if self.success is not None:
30230
      oprot.writeFieldBegin('success', TType.LIST, 0)
30231
      oprot.writeListBegin(TType.STRUCT, len(self.success))
21838 amit.gupta 30232
      for iter669 in self.success:
30233
        iter669.write(oprot)
10909 vikram.rag 30234
      oprot.writeListEnd()
30235
      oprot.writeFieldEnd()
30236
    oprot.writeFieldStop()
30237
    oprot.writeStructEnd()
30238
 
30239
  def validate(self):
30240
    return
30241
 
30242
 
30243
  def __repr__(self):
30244
    L = ['%s=%r' % (key, value)
30245
      for key, value in self.__dict__.iteritems()]
30246
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
30247
 
30248
  def __eq__(self, other):
30249
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
30250
 
30251
  def __ne__(self, other):
30252
    return not (self == other)
10924 vikram.rag 30253
 
11015 kshitij.so 30254
class getAllFbbListedItems_args:
10924 vikram.rag 30255
 
30256
  thrift_spec = (
30257
  )
30258
 
30259
  def read(self, iprot):
30260
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
30261
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
30262
      return
30263
    iprot.readStructBegin()
30264
    while True:
30265
      (fname, ftype, fid) = iprot.readFieldBegin()
30266
      if ftype == TType.STOP:
30267
        break
30268
      else:
30269
        iprot.skip(ftype)
30270
      iprot.readFieldEnd()
30271
    iprot.readStructEnd()
30272
 
30273
  def write(self, oprot):
30274
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
30275
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
30276
      return
11015 kshitij.so 30277
    oprot.writeStructBegin('getAllFbbListedItems_args')
10924 vikram.rag 30278
    oprot.writeFieldStop()
30279
    oprot.writeStructEnd()
30280
 
30281
  def validate(self):
30282
    return
30283
 
30284
 
30285
  def __repr__(self):
30286
    L = ['%s=%r' % (key, value)
30287
      for key, value in self.__dict__.iteritems()]
30288
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
30289
 
30290
  def __eq__(self, other):
30291
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
30292
 
30293
  def __ne__(self, other):
30294
    return not (self == other)
30295
 
11015 kshitij.so 30296
class getAllFbbListedItems_result:
10924 vikram.rag 30297
  """
30298
  Attributes:
30299
   - success
30300
  """
30301
 
30302
  thrift_spec = (
30303
    (0, TType.LIST, 'success', (TType.STRUCT,(Amazonlisted, Amazonlisted.thrift_spec)), None, ), # 0
30304
  )
30305
 
30306
  def __init__(self, success=None,):
30307
    self.success = success
30308
 
30309
  def read(self, iprot):
30310
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
30311
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
30312
      return
30313
    iprot.readStructBegin()
30314
    while True:
30315
      (fname, ftype, fid) = iprot.readFieldBegin()
30316
      if ftype == TType.STOP:
30317
        break
30318
      if fid == 0:
30319
        if ftype == TType.LIST:
30320
          self.success = []
21838 amit.gupta 30321
          (_etype673, _size670) = iprot.readListBegin()
30322
          for _i674 in xrange(_size670):
30323
            _elem675 = Amazonlisted()
30324
            _elem675.read(iprot)
30325
            self.success.append(_elem675)
10924 vikram.rag 30326
          iprot.readListEnd()
30327
        else:
30328
          iprot.skip(ftype)
30329
      else:
30330
        iprot.skip(ftype)
30331
      iprot.readFieldEnd()
30332
    iprot.readStructEnd()
30333
 
30334
  def write(self, oprot):
30335
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
30336
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
30337
      return
11015 kshitij.so 30338
    oprot.writeStructBegin('getAllFbbListedItems_result')
10924 vikram.rag 30339
    if self.success is not None:
30340
      oprot.writeFieldBegin('success', TType.LIST, 0)
30341
      oprot.writeListBegin(TType.STRUCT, len(self.success))
21838 amit.gupta 30342
      for iter676 in self.success:
30343
        iter676.write(oprot)
10924 vikram.rag 30344
      oprot.writeListEnd()
30345
      oprot.writeFieldEnd()
30346
    oprot.writeFieldStop()
30347
    oprot.writeStructEnd()
30348
 
30349
  def validate(self):
30350
    return
30351
 
30352
 
30353
  def __repr__(self):
30354
    L = ['%s=%r' % (key, value)
30355
      for key, value in self.__dict__.iteritems()]
30356
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
30357
 
30358
  def __eq__(self, other):
30359
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
30360
 
30361
  def __ne__(self, other):
30362
    return not (self == other)
11015 kshitij.so 30363
 
30364
class getAllFbbPricingItems_args:
30365
 
30366
  thrift_spec = (
30367
  )
30368
 
30369
  def read(self, iprot):
30370
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
30371
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
30372
      return
30373
    iprot.readStructBegin()
30374
    while True:
30375
      (fname, ftype, fid) = iprot.readFieldBegin()
30376
      if ftype == TType.STOP:
30377
        break
30378
      else:
30379
        iprot.skip(ftype)
30380
      iprot.readFieldEnd()
30381
    iprot.readStructEnd()
30382
 
30383
  def write(self, oprot):
30384
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
30385
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
30386
      return
30387
    oprot.writeStructBegin('getAllFbbPricingItems_args')
30388
    oprot.writeFieldStop()
30389
    oprot.writeStructEnd()
30390
 
30391
  def validate(self):
30392
    return
30393
 
30394
 
30395
  def __repr__(self):
30396
    L = ['%s=%r' % (key, value)
30397
      for key, value in self.__dict__.iteritems()]
30398
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
30399
 
30400
  def __eq__(self, other):
30401
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
30402
 
30403
  def __ne__(self, other):
30404
    return not (self == other)
30405
 
30406
class getAllFbbPricingItems_result:
30407
  """
30408
  Attributes:
30409
   - success
30410
  """
30411
 
30412
  thrift_spec = (
30413
    (0, TType.LIST, 'success', (TType.STRUCT,(Amazonlisted, Amazonlisted.thrift_spec)), None, ), # 0
30414
  )
30415
 
30416
  def __init__(self, success=None,):
30417
    self.success = success
30418
 
30419
  def read(self, iprot):
30420
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
30421
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
30422
      return
30423
    iprot.readStructBegin()
30424
    while True:
30425
      (fname, ftype, fid) = iprot.readFieldBegin()
30426
      if ftype == TType.STOP:
30427
        break
30428
      if fid == 0:
30429
        if ftype == TType.LIST:
30430
          self.success = []
21838 amit.gupta 30431
          (_etype680, _size677) = iprot.readListBegin()
30432
          for _i681 in xrange(_size677):
30433
            _elem682 = Amazonlisted()
30434
            _elem682.read(iprot)
30435
            self.success.append(_elem682)
11015 kshitij.so 30436
          iprot.readListEnd()
30437
        else:
30438
          iprot.skip(ftype)
30439
      else:
30440
        iprot.skip(ftype)
30441
      iprot.readFieldEnd()
30442
    iprot.readStructEnd()
30443
 
30444
  def write(self, oprot):
30445
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
30446
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
30447
      return
30448
    oprot.writeStructBegin('getAllFbbPricingItems_result')
30449
    if self.success is not None:
30450
      oprot.writeFieldBegin('success', TType.LIST, 0)
30451
      oprot.writeListBegin(TType.STRUCT, len(self.success))
21838 amit.gupta 30452
      for iter683 in self.success:
30453
        iter683.write(oprot)
11015 kshitij.so 30454
      oprot.writeListEnd()
30455
      oprot.writeFieldEnd()
30456
    oprot.writeFieldStop()
30457
    oprot.writeStructEnd()
30458
 
30459
  def validate(self):
30460
    return
30461
 
30462
 
30463
  def __repr__(self):
30464
    L = ['%s=%r' % (key, value)
30465
      for key, value in self.__dict__.iteritems()]
30466
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
30467
 
30468
  def __eq__(self, other):
30469
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
30470
 
30471
  def __ne__(self, other):
30472
    return not (self == other)
30473
 
30474
class getCountForMarketplaceHistory_args:
30475
  """
30476
  Attributes:
30477
   - source
30478
   - itemId
30479
  """
30480
 
30481
  thrift_spec = (
30482
    None, # 0
30483
    (1, TType.I64, 'source', None, None, ), # 1
30484
    (2, TType.I64, 'itemId', None, None, ), # 2
30485
  )
30486
 
30487
  def __init__(self, source=None, itemId=None,):
30488
    self.source = source
30489
    self.itemId = itemId
30490
 
30491
  def read(self, iprot):
30492
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
30493
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
30494
      return
30495
    iprot.readStructBegin()
30496
    while True:
30497
      (fname, ftype, fid) = iprot.readFieldBegin()
30498
      if ftype == TType.STOP:
30499
        break
30500
      if fid == 1:
30501
        if ftype == TType.I64:
30502
          self.source = iprot.readI64();
30503
        else:
30504
          iprot.skip(ftype)
30505
      elif fid == 2:
30506
        if ftype == TType.I64:
30507
          self.itemId = iprot.readI64();
30508
        else:
30509
          iprot.skip(ftype)
30510
      else:
30511
        iprot.skip(ftype)
30512
      iprot.readFieldEnd()
30513
    iprot.readStructEnd()
30514
 
30515
  def write(self, oprot):
30516
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
30517
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
30518
      return
30519
    oprot.writeStructBegin('getCountForMarketplaceHistory_args')
30520
    if self.source is not None:
30521
      oprot.writeFieldBegin('source', TType.I64, 1)
30522
      oprot.writeI64(self.source)
30523
      oprot.writeFieldEnd()
30524
    if self.itemId is not None:
30525
      oprot.writeFieldBegin('itemId', TType.I64, 2)
30526
      oprot.writeI64(self.itemId)
30527
      oprot.writeFieldEnd()
30528
    oprot.writeFieldStop()
30529
    oprot.writeStructEnd()
30530
 
30531
  def validate(self):
30532
    return
30533
 
30534
 
30535
  def __repr__(self):
30536
    L = ['%s=%r' % (key, value)
30537
      for key, value in self.__dict__.iteritems()]
30538
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
30539
 
30540
  def __eq__(self, other):
30541
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
30542
 
30543
  def __ne__(self, other):
30544
    return not (self == other)
30545
 
30546
class getCountForMarketplaceHistory_result:
30547
  """
30548
  Attributes:
30549
   - success
30550
  """
30551
 
30552
  thrift_spec = (
30553
    (0, TType.I64, 'success', None, None, ), # 0
30554
  )
30555
 
30556
  def __init__(self, success=None,):
30557
    self.success = success
30558
 
30559
  def read(self, iprot):
30560
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
30561
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
30562
      return
30563
    iprot.readStructBegin()
30564
    while True:
30565
      (fname, ftype, fid) = iprot.readFieldBegin()
30566
      if ftype == TType.STOP:
30567
        break
30568
      if fid == 0:
30569
        if ftype == TType.I64:
30570
          self.success = iprot.readI64();
30571
        else:
30572
          iprot.skip(ftype)
30573
      else:
30574
        iprot.skip(ftype)
30575
      iprot.readFieldEnd()
30576
    iprot.readStructEnd()
30577
 
30578
  def write(self, oprot):
30579
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
30580
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
30581
      return
30582
    oprot.writeStructBegin('getCountForMarketplaceHistory_result')
30583
    if self.success is not None:
30584
      oprot.writeFieldBegin('success', TType.I64, 0)
30585
      oprot.writeI64(self.success)
30586
      oprot.writeFieldEnd()
30587
    oprot.writeFieldStop()
30588
    oprot.writeStructEnd()
30589
 
30590
  def validate(self):
30591
    return
30592
 
30593
 
30594
  def __repr__(self):
30595
    L = ['%s=%r' % (key, value)
30596
      for key, value in self.__dict__.iteritems()]
30597
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
30598
 
30599
  def __eq__(self, other):
30600
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
30601
 
30602
  def __ne__(self, other):
30603
    return not (self == other)
30604
 
30605
class getMarketplaceHistoryByDate_args:
30606
  """
30607
  Attributes:
30608
   - source
30609
   - startDate
30610
   - endDate
30611
   - offset
30612
   - limit
30613
   - itemId
30614
  """
30615
 
30616
  thrift_spec = (
30617
    None, # 0
30618
    (1, TType.I64, 'source', None, None, ), # 1
30619
    (2, TType.I64, 'startDate', None, None, ), # 2
30620
    (3, TType.I64, 'endDate', None, None, ), # 3
30621
    (4, TType.I64, 'offset', None, None, ), # 4
30622
    (5, TType.I64, 'limit', None, None, ), # 5
30623
    (6, TType.I64, 'itemId', None, None, ), # 6
30624
  )
30625
 
30626
  def __init__(self, source=None, startDate=None, endDate=None, offset=None, limit=None, itemId=None,):
30627
    self.source = source
30628
    self.startDate = startDate
30629
    self.endDate = endDate
30630
    self.offset = offset
30631
    self.limit = limit
30632
    self.itemId = itemId
30633
 
30634
  def read(self, iprot):
30635
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
30636
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
30637
      return
30638
    iprot.readStructBegin()
30639
    while True:
30640
      (fname, ftype, fid) = iprot.readFieldBegin()
30641
      if ftype == TType.STOP:
30642
        break
30643
      if fid == 1:
30644
        if ftype == TType.I64:
30645
          self.source = iprot.readI64();
30646
        else:
30647
          iprot.skip(ftype)
30648
      elif fid == 2:
30649
        if ftype == TType.I64:
30650
          self.startDate = iprot.readI64();
30651
        else:
30652
          iprot.skip(ftype)
30653
      elif fid == 3:
30654
        if ftype == TType.I64:
30655
          self.endDate = iprot.readI64();
30656
        else:
30657
          iprot.skip(ftype)
30658
      elif fid == 4:
30659
        if ftype == TType.I64:
30660
          self.offset = iprot.readI64();
30661
        else:
30662
          iprot.skip(ftype)
30663
      elif fid == 5:
30664
        if ftype == TType.I64:
30665
          self.limit = iprot.readI64();
30666
        else:
30667
          iprot.skip(ftype)
30668
      elif fid == 6:
30669
        if ftype == TType.I64:
30670
          self.itemId = iprot.readI64();
30671
        else:
30672
          iprot.skip(ftype)
30673
      else:
30674
        iprot.skip(ftype)
30675
      iprot.readFieldEnd()
30676
    iprot.readStructEnd()
30677
 
30678
  def write(self, oprot):
30679
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
30680
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
30681
      return
30682
    oprot.writeStructBegin('getMarketplaceHistoryByDate_args')
30683
    if self.source is not None:
30684
      oprot.writeFieldBegin('source', TType.I64, 1)
30685
      oprot.writeI64(self.source)
30686
      oprot.writeFieldEnd()
30687
    if self.startDate is not None:
30688
      oprot.writeFieldBegin('startDate', TType.I64, 2)
30689
      oprot.writeI64(self.startDate)
30690
      oprot.writeFieldEnd()
30691
    if self.endDate is not None:
30692
      oprot.writeFieldBegin('endDate', TType.I64, 3)
30693
      oprot.writeI64(self.endDate)
30694
      oprot.writeFieldEnd()
30695
    if self.offset is not None:
30696
      oprot.writeFieldBegin('offset', TType.I64, 4)
30697
      oprot.writeI64(self.offset)
30698
      oprot.writeFieldEnd()
30699
    if self.limit is not None:
30700
      oprot.writeFieldBegin('limit', TType.I64, 5)
30701
      oprot.writeI64(self.limit)
30702
      oprot.writeFieldEnd()
30703
    if self.itemId is not None:
30704
      oprot.writeFieldBegin('itemId', TType.I64, 6)
30705
      oprot.writeI64(self.itemId)
30706
      oprot.writeFieldEnd()
30707
    oprot.writeFieldStop()
30708
    oprot.writeStructEnd()
30709
 
30710
  def validate(self):
30711
    return
30712
 
30713
 
30714
  def __repr__(self):
30715
    L = ['%s=%r' % (key, value)
30716
      for key, value in self.__dict__.iteritems()]
30717
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
30718
 
30719
  def __eq__(self, other):
30720
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
30721
 
30722
  def __ne__(self, other):
30723
    return not (self == other)
30724
 
30725
class getMarketplaceHistoryByDate_result:
30726
  """
30727
  Attributes:
30728
   - success
30729
  """
30730
 
30731
  thrift_spec = (
30732
    (0, TType.LIST, 'success', (TType.STRUCT,(MarketplaceHistory, MarketplaceHistory.thrift_spec)), None, ), # 0
30733
  )
30734
 
30735
  def __init__(self, success=None,):
30736
    self.success = success
30737
 
30738
  def read(self, iprot):
30739
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
30740
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
30741
      return
30742
    iprot.readStructBegin()
30743
    while True:
30744
      (fname, ftype, fid) = iprot.readFieldBegin()
30745
      if ftype == TType.STOP:
30746
        break
30747
      if fid == 0:
30748
        if ftype == TType.LIST:
30749
          self.success = []
21838 amit.gupta 30750
          (_etype687, _size684) = iprot.readListBegin()
30751
          for _i688 in xrange(_size684):
30752
            _elem689 = MarketplaceHistory()
30753
            _elem689.read(iprot)
30754
            self.success.append(_elem689)
11015 kshitij.so 30755
          iprot.readListEnd()
30756
        else:
30757
          iprot.skip(ftype)
30758
      else:
30759
        iprot.skip(ftype)
30760
      iprot.readFieldEnd()
30761
    iprot.readStructEnd()
30762
 
30763
  def write(self, oprot):
30764
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
30765
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
30766
      return
30767
    oprot.writeStructBegin('getMarketplaceHistoryByDate_result')
30768
    if self.success is not None:
30769
      oprot.writeFieldBegin('success', TType.LIST, 0)
30770
      oprot.writeListBegin(TType.STRUCT, len(self.success))
21838 amit.gupta 30771
      for iter690 in self.success:
30772
        iter690.write(oprot)
11015 kshitij.so 30773
      oprot.writeListEnd()
30774
      oprot.writeFieldEnd()
30775
    oprot.writeFieldStop()
30776
    oprot.writeStructEnd()
30777
 
30778
  def validate(self):
30779
    return
30780
 
30781
 
30782
  def __repr__(self):
30783
    L = ['%s=%r' % (key, value)
30784
      for key, value in self.__dict__.iteritems()]
30785
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
30786
 
30787
  def __eq__(self, other):
30788
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
30789
 
30790
  def __ne__(self, other):
30791
    return not (self == other)
11531 vikram.rag 30792
 
30793
class getPrivateDealDetails_args:
30794
  """
30795
  Attributes:
30796
   - item_id
30797
  """
30798
 
30799
  thrift_spec = (
30800
    None, # 0
30801
    (1, TType.I64, 'item_id', None, None, ), # 1
30802
  )
30803
 
30804
  def __init__(self, item_id=None,):
30805
    self.item_id = item_id
30806
 
30807
  def read(self, iprot):
30808
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
30809
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
30810
      return
30811
    iprot.readStructBegin()
30812
    while True:
30813
      (fname, ftype, fid) = iprot.readFieldBegin()
30814
      if ftype == TType.STOP:
30815
        break
30816
      if fid == 1:
30817
        if ftype == TType.I64:
30818
          self.item_id = iprot.readI64();
30819
        else:
30820
          iprot.skip(ftype)
30821
      else:
30822
        iprot.skip(ftype)
30823
      iprot.readFieldEnd()
30824
    iprot.readStructEnd()
30825
 
30826
  def write(self, oprot):
30827
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
30828
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
30829
      return
30830
    oprot.writeStructBegin('getPrivateDealDetails_args')
30831
    if self.item_id is not None:
30832
      oprot.writeFieldBegin('item_id', TType.I64, 1)
30833
      oprot.writeI64(self.item_id)
30834
      oprot.writeFieldEnd()
30835
    oprot.writeFieldStop()
30836
    oprot.writeStructEnd()
30837
 
30838
  def validate(self):
30839
    return
30840
 
30841
 
30842
  def __repr__(self):
30843
    L = ['%s=%r' % (key, value)
30844
      for key, value in self.__dict__.iteritems()]
30845
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
30846
 
30847
  def __eq__(self, other):
30848
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
30849
 
30850
  def __ne__(self, other):
30851
    return not (self == other)
30852
 
30853
class getPrivateDealDetails_result:
30854
  """
30855
  Attributes:
30856
   - success
30857
  """
30858
 
30859
  thrift_spec = (
30860
    (0, TType.STRUCT, 'success', (PrivateDeal, PrivateDeal.thrift_spec), None, ), # 0
30861
  )
30862
 
30863
  def __init__(self, success=None,):
30864
    self.success = success
30865
 
30866
  def read(self, iprot):
30867
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
30868
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
30869
      return
30870
    iprot.readStructBegin()
30871
    while True:
30872
      (fname, ftype, fid) = iprot.readFieldBegin()
30873
      if ftype == TType.STOP:
30874
        break
30875
      if fid == 0:
30876
        if ftype == TType.STRUCT:
30877
          self.success = PrivateDeal()
30878
          self.success.read(iprot)
30879
        else:
30880
          iprot.skip(ftype)
30881
      else:
30882
        iprot.skip(ftype)
30883
      iprot.readFieldEnd()
30884
    iprot.readStructEnd()
30885
 
30886
  def write(self, oprot):
30887
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
30888
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
30889
      return
30890
    oprot.writeStructBegin('getPrivateDealDetails_result')
30891
    if self.success is not None:
30892
      oprot.writeFieldBegin('success', TType.STRUCT, 0)
30893
      self.success.write(oprot)
30894
      oprot.writeFieldEnd()
30895
    oprot.writeFieldStop()
30896
    oprot.writeStructEnd()
30897
 
30898
  def validate(self):
30899
    return
30900
 
30901
 
30902
  def __repr__(self):
30903
    L = ['%s=%r' % (key, value)
30904
      for key, value in self.__dict__.iteritems()]
30905
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
30906
 
30907
  def __eq__(self, other):
30908
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
30909
 
30910
  def __ne__(self, other):
30911
    return not (self == other)
30912
 
30913
class getPrivateDealItems_args:
30914
  """
30915
  Attributes:
30916
   - offset
30917
   - limit
30918
  """
30919
 
30920
  thrift_spec = (
30921
    None, # 0
30922
    (1, TType.I64, 'offset', None, None, ), # 1
30923
    (2, TType.I64, 'limit', None, None, ), # 2
30924
  )
30925
 
30926
  def __init__(self, offset=None, limit=None,):
30927
    self.offset = offset
30928
    self.limit = limit
30929
 
30930
  def read(self, iprot):
30931
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
30932
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
30933
      return
30934
    iprot.readStructBegin()
30935
    while True:
30936
      (fname, ftype, fid) = iprot.readFieldBegin()
30937
      if ftype == TType.STOP:
30938
        break
30939
      if fid == 1:
30940
        if ftype == TType.I64:
30941
          self.offset = iprot.readI64();
30942
        else:
30943
          iprot.skip(ftype)
30944
      elif fid == 2:
30945
        if ftype == TType.I64:
30946
          self.limit = iprot.readI64();
30947
        else:
30948
          iprot.skip(ftype)
30949
      else:
30950
        iprot.skip(ftype)
30951
      iprot.readFieldEnd()
30952
    iprot.readStructEnd()
30953
 
30954
  def write(self, oprot):
30955
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
30956
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
30957
      return
30958
    oprot.writeStructBegin('getPrivateDealItems_args')
30959
    if self.offset is not None:
30960
      oprot.writeFieldBegin('offset', TType.I64, 1)
30961
      oprot.writeI64(self.offset)
30962
      oprot.writeFieldEnd()
30963
    if self.limit is not None:
30964
      oprot.writeFieldBegin('limit', TType.I64, 2)
30965
      oprot.writeI64(self.limit)
30966
      oprot.writeFieldEnd()
30967
    oprot.writeFieldStop()
30968
    oprot.writeStructEnd()
30969
 
30970
  def validate(self):
30971
    return
30972
 
30973
 
30974
  def __repr__(self):
30975
    L = ['%s=%r' % (key, value)
30976
      for key, value in self.__dict__.iteritems()]
30977
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
30978
 
30979
  def __eq__(self, other):
30980
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
30981
 
30982
  def __ne__(self, other):
30983
    return not (self == other)
30984
 
30985
class getPrivateDealItems_result:
30986
  """
30987
  Attributes:
30988
   - success
30989
  """
30990
 
30991
  thrift_spec = (
30992
    (0, TType.LIST, 'success', (TType.STRUCT,(Item, Item.thrift_spec)), None, ), # 0
30993
  )
30994
 
30995
  def __init__(self, success=None,):
30996
    self.success = success
30997
 
30998
  def read(self, iprot):
30999
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
31000
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
31001
      return
31002
    iprot.readStructBegin()
31003
    while True:
31004
      (fname, ftype, fid) = iprot.readFieldBegin()
31005
      if ftype == TType.STOP:
31006
        break
31007
      if fid == 0:
31008
        if ftype == TType.LIST:
31009
          self.success = []
21838 amit.gupta 31010
          (_etype694, _size691) = iprot.readListBegin()
31011
          for _i695 in xrange(_size691):
31012
            _elem696 = Item()
31013
            _elem696.read(iprot)
31014
            self.success.append(_elem696)
11531 vikram.rag 31015
          iprot.readListEnd()
31016
        else:
31017
          iprot.skip(ftype)
31018
      else:
31019
        iprot.skip(ftype)
31020
      iprot.readFieldEnd()
31021
    iprot.readStructEnd()
31022
 
31023
  def write(self, oprot):
31024
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
31025
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
31026
      return
31027
    oprot.writeStructBegin('getPrivateDealItems_result')
31028
    if self.success is not None:
31029
      oprot.writeFieldBegin('success', TType.LIST, 0)
31030
      oprot.writeListBegin(TType.STRUCT, len(self.success))
21838 amit.gupta 31031
      for iter697 in self.success:
31032
        iter697.write(oprot)
11531 vikram.rag 31033
      oprot.writeListEnd()
31034
      oprot.writeFieldEnd()
31035
    oprot.writeFieldStop()
31036
    oprot.writeStructEnd()
31037
 
31038
  def validate(self):
31039
    return
31040
 
31041
 
31042
  def __repr__(self):
31043
    L = ['%s=%r' % (key, value)
31044
      for key, value in self.__dict__.iteritems()]
31045
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
31046
 
31047
  def __eq__(self, other):
31048
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
31049
 
31050
  def __ne__(self, other):
31051
    return not (self == other)
31052
 
11592 amit.gupta 31053
class getAllActivePrivateDeals_args:
11653 amit.gupta 31054
  """
31055
  Attributes:
31056
   - itemIds
31057
   - daysDelta
31058
  """
11592 amit.gupta 31059
 
31060
  thrift_spec = (
11653 amit.gupta 31061
    None, # 0
31062
    (1, TType.LIST, 'itemIds', (TType.I64,None), None, ), # 1
31063
    (2, TType.I64, 'daysDelta', None, None, ), # 2
11592 amit.gupta 31064
  )
31065
 
11653 amit.gupta 31066
  def __init__(self, itemIds=None, daysDelta=None,):
31067
    self.itemIds = itemIds
31068
    self.daysDelta = daysDelta
31069
 
11592 amit.gupta 31070
  def read(self, iprot):
31071
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
31072
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
31073
      return
31074
    iprot.readStructBegin()
31075
    while True:
31076
      (fname, ftype, fid) = iprot.readFieldBegin()
31077
      if ftype == TType.STOP:
31078
        break
11653 amit.gupta 31079
      if fid == 1:
31080
        if ftype == TType.LIST:
31081
          self.itemIds = []
21838 amit.gupta 31082
          (_etype701, _size698) = iprot.readListBegin()
31083
          for _i702 in xrange(_size698):
31084
            _elem703 = iprot.readI64();
31085
            self.itemIds.append(_elem703)
11653 amit.gupta 31086
          iprot.readListEnd()
31087
        else:
31088
          iprot.skip(ftype)
31089
      elif fid == 2:
31090
        if ftype == TType.I64:
31091
          self.daysDelta = iprot.readI64();
31092
        else:
31093
          iprot.skip(ftype)
11592 amit.gupta 31094
      else:
31095
        iprot.skip(ftype)
31096
      iprot.readFieldEnd()
31097
    iprot.readStructEnd()
31098
 
31099
  def write(self, oprot):
31100
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
31101
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
31102
      return
31103
    oprot.writeStructBegin('getAllActivePrivateDeals_args')
11653 amit.gupta 31104
    if self.itemIds is not None:
31105
      oprot.writeFieldBegin('itemIds', TType.LIST, 1)
31106
      oprot.writeListBegin(TType.I64, len(self.itemIds))
21838 amit.gupta 31107
      for iter704 in self.itemIds:
31108
        oprot.writeI64(iter704)
11653 amit.gupta 31109
      oprot.writeListEnd()
31110
      oprot.writeFieldEnd()
31111
    if self.daysDelta is not None:
31112
      oprot.writeFieldBegin('daysDelta', TType.I64, 2)
31113
      oprot.writeI64(self.daysDelta)
31114
      oprot.writeFieldEnd()
11592 amit.gupta 31115
    oprot.writeFieldStop()
31116
    oprot.writeStructEnd()
31117
 
31118
  def validate(self):
31119
    return
31120
 
31121
 
31122
  def __repr__(self):
31123
    L = ['%s=%r' % (key, value)
31124
      for key, value in self.__dict__.iteritems()]
31125
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
31126
 
31127
  def __eq__(self, other):
31128
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
31129
 
31130
  def __ne__(self, other):
31131
    return not (self == other)
31132
 
31133
class getAllActivePrivateDeals_result:
31134
  """
31135
  Attributes:
31136
   - success
31137
  """
31138
 
31139
  thrift_spec = (
31140
    (0, TType.MAP, 'success', (TType.I64,None,TType.STRUCT,(PrivateDeal, PrivateDeal.thrift_spec)), None, ), # 0
31141
  )
31142
 
31143
  def __init__(self, success=None,):
31144
    self.success = success
31145
 
31146
  def read(self, iprot):
31147
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
31148
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
31149
      return
31150
    iprot.readStructBegin()
31151
    while True:
31152
      (fname, ftype, fid) = iprot.readFieldBegin()
31153
      if ftype == TType.STOP:
31154
        break
31155
      if fid == 0:
31156
        if ftype == TType.MAP:
31157
          self.success = {}
21838 amit.gupta 31158
          (_ktype706, _vtype707, _size705 ) = iprot.readMapBegin() 
31159
          for _i709 in xrange(_size705):
31160
            _key710 = iprot.readI64();
31161
            _val711 = PrivateDeal()
31162
            _val711.read(iprot)
31163
            self.success[_key710] = _val711
11592 amit.gupta 31164
          iprot.readMapEnd()
31165
        else:
31166
          iprot.skip(ftype)
31167
      else:
31168
        iprot.skip(ftype)
31169
      iprot.readFieldEnd()
31170
    iprot.readStructEnd()
31171
 
31172
  def write(self, oprot):
31173
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
31174
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
31175
      return
31176
    oprot.writeStructBegin('getAllActivePrivateDeals_result')
31177
    if self.success is not None:
31178
      oprot.writeFieldBegin('success', TType.MAP, 0)
31179
      oprot.writeMapBegin(TType.I64, TType.STRUCT, len(self.success))
21838 amit.gupta 31180
      for kiter712,viter713 in self.success.items():
31181
        oprot.writeI64(kiter712)
31182
        viter713.write(oprot)
11592 amit.gupta 31183
      oprot.writeMapEnd()
31184
      oprot.writeFieldEnd()
31185
    oprot.writeFieldStop()
31186
    oprot.writeStructEnd()
31187
 
31188
  def validate(self):
31189
    return
31190
 
31191
 
31192
  def __repr__(self):
31193
    L = ['%s=%r' % (key, value)
31194
      for key, value in self.__dict__.iteritems()]
31195
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
31196
 
31197
  def __eq__(self, other):
31198
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
31199
 
31200
  def __ne__(self, other):
31201
    return not (self == other)
31202
 
11531 vikram.rag 31203
class addOrUpdatePrivateDeal_args:
31204
  """
31205
  Attributes:
31206
   - privateDeal
31207
  """
31208
 
31209
  thrift_spec = (
31210
    None, # 0
31211
    (1, TType.STRUCT, 'privateDeal', (PrivateDeal, PrivateDeal.thrift_spec), None, ), # 1
31212
  )
31213
 
31214
  def __init__(self, privateDeal=None,):
31215
    self.privateDeal = privateDeal
31216
 
31217
  def read(self, iprot):
31218
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
31219
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
31220
      return
31221
    iprot.readStructBegin()
31222
    while True:
31223
      (fname, ftype, fid) = iprot.readFieldBegin()
31224
      if ftype == TType.STOP:
31225
        break
31226
      if fid == 1:
31227
        if ftype == TType.STRUCT:
31228
          self.privateDeal = PrivateDeal()
31229
          self.privateDeal.read(iprot)
31230
        else:
31231
          iprot.skip(ftype)
31232
      else:
31233
        iprot.skip(ftype)
31234
      iprot.readFieldEnd()
31235
    iprot.readStructEnd()
31236
 
31237
  def write(self, oprot):
31238
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
31239
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
31240
      return
31241
    oprot.writeStructBegin('addOrUpdatePrivateDeal_args')
31242
    if self.privateDeal is not None:
31243
      oprot.writeFieldBegin('privateDeal', TType.STRUCT, 1)
31244
      self.privateDeal.write(oprot)
31245
      oprot.writeFieldEnd()
31246
    oprot.writeFieldStop()
31247
    oprot.writeStructEnd()
31248
 
31249
  def validate(self):
31250
    return
31251
 
31252
 
31253
  def __repr__(self):
31254
    L = ['%s=%r' % (key, value)
31255
      for key, value in self.__dict__.iteritems()]
31256
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
31257
 
31258
  def __eq__(self, other):
31259
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
31260
 
31261
  def __ne__(self, other):
31262
    return not (self == other)
31263
 
31264
class addOrUpdatePrivateDeal_result:
31265
  """
31266
  Attributes:
31267
   - success
31268
  """
31269
 
31270
  thrift_spec = (
31271
    (0, TType.BOOL, 'success', None, None, ), # 0
31272
  )
31273
 
31274
  def __init__(self, success=None,):
31275
    self.success = success
31276
 
31277
  def read(self, iprot):
31278
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
31279
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
31280
      return
31281
    iprot.readStructBegin()
31282
    while True:
31283
      (fname, ftype, fid) = iprot.readFieldBegin()
31284
      if ftype == TType.STOP:
31285
        break
31286
      if fid == 0:
31287
        if ftype == TType.BOOL:
31288
          self.success = iprot.readBool();
31289
        else:
31290
          iprot.skip(ftype)
31291
      else:
31292
        iprot.skip(ftype)
31293
      iprot.readFieldEnd()
31294
    iprot.readStructEnd()
31295
 
31296
  def write(self, oprot):
31297
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
31298
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
31299
      return
31300
    oprot.writeStructBegin('addOrUpdatePrivateDeal_result')
31301
    if self.success is not None:
31302
      oprot.writeFieldBegin('success', TType.BOOL, 0)
31303
      oprot.writeBool(self.success)
31304
      oprot.writeFieldEnd()
31305
    oprot.writeFieldStop()
31306
    oprot.writeStructEnd()
31307
 
31308
  def validate(self):
31309
    return
31310
 
31311
 
31312
  def __repr__(self):
31313
    L = ['%s=%r' % (key, value)
31314
      for key, value in self.__dict__.iteritems()]
31315
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
31316
 
31317
  def __eq__(self, other):
31318
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
31319
 
31320
  def __ne__(self, other):
31321
    return not (self == other)
11635 vikram.rag 31322
 
31323
class getPrivateDealsCatalogIds_args:
31324
  """
31325
  Attributes:
31326
   - beginIndex
31327
   - totalItems
31328
  """
31329
 
31330
  thrift_spec = (
31331
    None, # 0
31332
    (1, TType.I64, 'beginIndex', None, None, ), # 1
31333
    (2, TType.I64, 'totalItems', None, None, ), # 2
31334
  )
31335
 
31336
  def __init__(self, beginIndex=None, totalItems=None,):
31337
    self.beginIndex = beginIndex
31338
    self.totalItems = totalItems
31339
 
31340
  def read(self, iprot):
31341
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
31342
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
31343
      return
31344
    iprot.readStructBegin()
31345
    while True:
31346
      (fname, ftype, fid) = iprot.readFieldBegin()
31347
      if ftype == TType.STOP:
31348
        break
31349
      if fid == 1:
31350
        if ftype == TType.I64:
31351
          self.beginIndex = iprot.readI64();
31352
        else:
31353
          iprot.skip(ftype)
31354
      elif fid == 2:
31355
        if ftype == TType.I64:
31356
          self.totalItems = iprot.readI64();
31357
        else:
31358
          iprot.skip(ftype)
31359
      else:
31360
        iprot.skip(ftype)
31361
      iprot.readFieldEnd()
31362
    iprot.readStructEnd()
31363
 
31364
  def write(self, oprot):
31365
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
31366
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
31367
      return
31368
    oprot.writeStructBegin('getPrivateDealsCatalogIds_args')
31369
    if self.beginIndex is not None:
31370
      oprot.writeFieldBegin('beginIndex', TType.I64, 1)
31371
      oprot.writeI64(self.beginIndex)
31372
      oprot.writeFieldEnd()
31373
    if self.totalItems is not None:
31374
      oprot.writeFieldBegin('totalItems', TType.I64, 2)
31375
      oprot.writeI64(self.totalItems)
31376
      oprot.writeFieldEnd()
31377
    oprot.writeFieldStop()
31378
    oprot.writeStructEnd()
31379
 
31380
  def validate(self):
31381
    return
31382
 
31383
 
31384
  def __repr__(self):
31385
    L = ['%s=%r' % (key, value)
31386
      for key, value in self.__dict__.iteritems()]
31387
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
31388
 
31389
  def __eq__(self, other):
31390
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
31391
 
31392
  def __ne__(self, other):
31393
    return not (self == other)
31394
 
31395
class getPrivateDealsCatalogIds_result:
31396
  """
31397
  Attributes:
31398
   - success
31399
   - cex
31400
  """
31401
 
31402
  thrift_spec = (
31403
    (0, TType.LIST, 'success', (TType.I64,None), None, ), # 0
31404
    (1, TType.STRUCT, 'cex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
31405
  )
31406
 
31407
  def __init__(self, success=None, cex=None,):
31408
    self.success = success
31409
    self.cex = cex
31410
 
31411
  def read(self, iprot):
31412
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
31413
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
31414
      return
31415
    iprot.readStructBegin()
31416
    while True:
31417
      (fname, ftype, fid) = iprot.readFieldBegin()
31418
      if ftype == TType.STOP:
31419
        break
31420
      if fid == 0:
31421
        if ftype == TType.LIST:
31422
          self.success = []
21838 amit.gupta 31423
          (_etype717, _size714) = iprot.readListBegin()
31424
          for _i718 in xrange(_size714):
31425
            _elem719 = iprot.readI64();
31426
            self.success.append(_elem719)
11635 vikram.rag 31427
          iprot.readListEnd()
31428
        else:
31429
          iprot.skip(ftype)
31430
      elif fid == 1:
31431
        if ftype == TType.STRUCT:
31432
          self.cex = CatalogServiceException()
31433
          self.cex.read(iprot)
31434
        else:
31435
          iprot.skip(ftype)
31436
      else:
31437
        iprot.skip(ftype)
31438
      iprot.readFieldEnd()
31439
    iprot.readStructEnd()
31440
 
31441
  def write(self, oprot):
31442
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
31443
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
31444
      return
31445
    oprot.writeStructBegin('getPrivateDealsCatalogIds_result')
31446
    if self.success is not None:
31447
      oprot.writeFieldBegin('success', TType.LIST, 0)
31448
      oprot.writeListBegin(TType.I64, len(self.success))
21838 amit.gupta 31449
      for iter720 in self.success:
31450
        oprot.writeI64(iter720)
11635 vikram.rag 31451
      oprot.writeListEnd()
31452
      oprot.writeFieldEnd()
31453
    if self.cex is not None:
31454
      oprot.writeFieldBegin('cex', TType.STRUCT, 1)
31455
      self.cex.write(oprot)
31456
      oprot.writeFieldEnd()
31457
    oprot.writeFieldStop()
31458
    oprot.writeStructEnd()
31459
 
31460
  def validate(self):
31461
    return
31462
 
31463
 
31464
  def __repr__(self):
31465
    L = ['%s=%r' % (key, value)
31466
      for key, value in self.__dict__.iteritems()]
31467
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
31468
 
31469
  def __eq__(self, other):
31470
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
31471
 
31472
  def __ne__(self, other):
31473
    return not (self == other)
11645 amit.gupta 31474
 
31475
class getPrivateDealsCount_args:
31476
 
31477
  thrift_spec = (
31478
  )
31479
 
31480
  def read(self, iprot):
31481
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
31482
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
31483
      return
31484
    iprot.readStructBegin()
31485
    while True:
31486
      (fname, ftype, fid) = iprot.readFieldBegin()
31487
      if ftype == TType.STOP:
31488
        break
31489
      else:
31490
        iprot.skip(ftype)
31491
      iprot.readFieldEnd()
31492
    iprot.readStructEnd()
31493
 
31494
  def write(self, oprot):
31495
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
31496
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
31497
      return
31498
    oprot.writeStructBegin('getPrivateDealsCount_args')
31499
    oprot.writeFieldStop()
31500
    oprot.writeStructEnd()
31501
 
31502
  def validate(self):
31503
    return
31504
 
31505
 
31506
  def __repr__(self):
31507
    L = ['%s=%r' % (key, value)
31508
      for key, value in self.__dict__.iteritems()]
31509
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
31510
 
31511
  def __eq__(self, other):
31512
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
31513
 
31514
  def __ne__(self, other):
31515
    return not (self == other)
31516
 
31517
class getPrivateDealsCount_result:
31518
  """
31519
  Attributes:
31520
   - success
31521
  """
31522
 
31523
  thrift_spec = (
31524
    (0, TType.I32, 'success', None, None, ), # 0
31525
  )
31526
 
31527
  def __init__(self, success=None,):
31528
    self.success = success
31529
 
31530
  def read(self, iprot):
31531
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
31532
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
31533
      return
31534
    iprot.readStructBegin()
31535
    while True:
31536
      (fname, ftype, fid) = iprot.readFieldBegin()
31537
      if ftype == TType.STOP:
31538
        break
31539
      if fid == 0:
31540
        if ftype == TType.I32:
31541
          self.success = iprot.readI32();
31542
        else:
31543
          iprot.skip(ftype)
31544
      else:
31545
        iprot.skip(ftype)
31546
      iprot.readFieldEnd()
31547
    iprot.readStructEnd()
31548
 
31549
  def write(self, oprot):
31550
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
31551
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
31552
      return
31553
    oprot.writeStructBegin('getPrivateDealsCount_result')
31554
    if self.success is not None:
31555
      oprot.writeFieldBegin('success', TType.I32, 0)
31556
      oprot.writeI32(self.success)
31557
      oprot.writeFieldEnd()
31558
    oprot.writeFieldStop()
31559
    oprot.writeStructEnd()
31560
 
31561
  def validate(self):
31562
    return
31563
 
31564
 
31565
  def __repr__(self):
31566
    L = ['%s=%r' % (key, value)
31567
      for key, value in self.__dict__.iteritems()]
31568
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
31569
 
31570
  def __eq__(self, other):
31571
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
31572
 
31573
  def __ne__(self, other):
31574
    return not (self == other)
11905 kshitij.so 31575
 
31576
class getAmazonOutSyncItems_args:
31577
  """
31578
  Attributes:
31579
   - item_id
31580
  """
31581
 
31582
  thrift_spec = (
31583
    None, # 0
31584
    (1, TType.I64, 'item_id', None, None, ), # 1
31585
  )
31586
 
31587
  def __init__(self, item_id=None,):
31588
    self.item_id = item_id
31589
 
31590
  def read(self, iprot):
31591
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
31592
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
31593
      return
31594
    iprot.readStructBegin()
31595
    while True:
31596
      (fname, ftype, fid) = iprot.readFieldBegin()
31597
      if ftype == TType.STOP:
31598
        break
31599
      if fid == 1:
31600
        if ftype == TType.I64:
31601
          self.item_id = iprot.readI64();
31602
        else:
31603
          iprot.skip(ftype)
31604
      else:
31605
        iprot.skip(ftype)
31606
      iprot.readFieldEnd()
31607
    iprot.readStructEnd()
31608
 
31609
  def write(self, oprot):
31610
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
31611
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
31612
      return
31613
    oprot.writeStructBegin('getAmazonOutSyncItems_args')
31614
    if self.item_id is not None:
31615
      oprot.writeFieldBegin('item_id', TType.I64, 1)
31616
      oprot.writeI64(self.item_id)
31617
      oprot.writeFieldEnd()
31618
    oprot.writeFieldStop()
31619
    oprot.writeStructEnd()
31620
 
31621
  def validate(self):
31622
    return
31623
 
31624
 
31625
  def __repr__(self):
31626
    L = ['%s=%r' % (key, value)
31627
      for key, value in self.__dict__.iteritems()]
31628
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
31629
 
31630
  def __eq__(self, other):
31631
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
31632
 
31633
  def __ne__(self, other):
31634
    return not (self == other)
31635
 
31636
class getAmazonOutSyncItems_result:
31637
  """
31638
  Attributes:
31639
   - success
31640
  """
31641
 
31642
  thrift_spec = (
31643
    (0, TType.STRUCT, 'success', (AmazonOutOfSync, AmazonOutOfSync.thrift_spec), None, ), # 0
31644
  )
31645
 
31646
  def __init__(self, success=None,):
31647
    self.success = success
31648
 
31649
  def read(self, iprot):
31650
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
31651
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
31652
      return
31653
    iprot.readStructBegin()
31654
    while True:
31655
      (fname, ftype, fid) = iprot.readFieldBegin()
31656
      if ftype == TType.STOP:
31657
        break
31658
      if fid == 0:
31659
        if ftype == TType.STRUCT:
31660
          self.success = AmazonOutOfSync()
31661
          self.success.read(iprot)
31662
        else:
31663
          iprot.skip(ftype)
31664
      else:
31665
        iprot.skip(ftype)
31666
      iprot.readFieldEnd()
31667
    iprot.readStructEnd()
31668
 
31669
  def write(self, oprot):
31670
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
31671
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
31672
      return
31673
    oprot.writeStructBegin('getAmazonOutSyncItems_result')
31674
    if self.success is not None:
31675
      oprot.writeFieldBegin('success', TType.STRUCT, 0)
31676
      self.success.write(oprot)
31677
      oprot.writeFieldEnd()
31678
    oprot.writeFieldStop()
31679
    oprot.writeStructEnd()
31680
 
31681
  def validate(self):
31682
    return
31683
 
31684
 
31685
  def __repr__(self):
31686
    L = ['%s=%r' % (key, value)
31687
      for key, value in self.__dict__.iteritems()]
31688
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
31689
 
31690
  def __eq__(self, other):
31691
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
31692
 
31693
  def __ne__(self, other):
31694
    return not (self == other)
31695
 
31696
class getAllPrivateDealsComparison_args:
31697
 
31698
  thrift_spec = (
31699
  )
31700
 
31701
  def read(self, iprot):
31702
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
31703
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
31704
      return
31705
    iprot.readStructBegin()
31706
    while True:
31707
      (fname, ftype, fid) = iprot.readFieldBegin()
31708
      if ftype == TType.STOP:
31709
        break
31710
      else:
31711
        iprot.skip(ftype)
31712
      iprot.readFieldEnd()
31713
    iprot.readStructEnd()
31714
 
31715
  def write(self, oprot):
31716
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
31717
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
31718
      return
31719
    oprot.writeStructBegin('getAllPrivateDealsComparison_args')
31720
    oprot.writeFieldStop()
31721
    oprot.writeStructEnd()
31722
 
31723
  def validate(self):
31724
    return
31725
 
31726
 
31727
  def __repr__(self):
31728
    L = ['%s=%r' % (key, value)
31729
      for key, value in self.__dict__.iteritems()]
31730
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
31731
 
31732
  def __eq__(self, other):
31733
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
31734
 
31735
  def __ne__(self, other):
31736
    return not (self == other)
31737
 
31738
class getAllPrivateDealsComparison_result:
31739
  """
31740
  Attributes:
31741
   - success
31742
  """
31743
 
31744
  thrift_spec = (
31745
    (0, TType.LIST, 'success', (TType.STRUCT,(PdPriceComp, PdPriceComp.thrift_spec)), None, ), # 0
31746
  )
31747
 
31748
  def __init__(self, success=None,):
31749
    self.success = success
31750
 
31751
  def read(self, iprot):
31752
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
31753
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
31754
      return
31755
    iprot.readStructBegin()
31756
    while True:
31757
      (fname, ftype, fid) = iprot.readFieldBegin()
31758
      if ftype == TType.STOP:
31759
        break
31760
      if fid == 0:
31761
        if ftype == TType.LIST:
31762
          self.success = []
21838 amit.gupta 31763
          (_etype724, _size721) = iprot.readListBegin()
31764
          for _i725 in xrange(_size721):
31765
            _elem726 = PdPriceComp()
31766
            _elem726.read(iprot)
31767
            self.success.append(_elem726)
11905 kshitij.so 31768
          iprot.readListEnd()
31769
        else:
31770
          iprot.skip(ftype)
31771
      else:
31772
        iprot.skip(ftype)
31773
      iprot.readFieldEnd()
31774
    iprot.readStructEnd()
31775
 
31776
  def write(self, oprot):
31777
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
31778
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
31779
      return
31780
    oprot.writeStructBegin('getAllPrivateDealsComparison_result')
31781
    if self.success is not None:
31782
      oprot.writeFieldBegin('success', TType.LIST, 0)
31783
      oprot.writeListBegin(TType.STRUCT, len(self.success))
21838 amit.gupta 31784
      for iter727 in self.success:
31785
        iter727.write(oprot)
11905 kshitij.so 31786
      oprot.writeListEnd()
31787
      oprot.writeFieldEnd()
31788
    oprot.writeFieldStop()
31789
    oprot.writeStructEnd()
31790
 
31791
  def validate(self):
31792
    return
31793
 
31794
 
31795
  def __repr__(self):
31796
    L = ['%s=%r' % (key, value)
31797
      for key, value in self.__dict__.iteritems()]
31798
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
31799
 
31800
  def __eq__(self, other):
31801
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
31802
 
31803
  def __ne__(self, other):
31804
    return not (self == other)
12133 kshitij.so 31805
 
31806
class getAllSnapdealMarketplaceItem_args:
31807
 
31808
  thrift_spec = (
31809
  )
31810
 
31811
  def read(self, iprot):
31812
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
31813
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
31814
      return
31815
    iprot.readStructBegin()
31816
    while True:
31817
      (fname, ftype, fid) = iprot.readFieldBegin()
31818
      if ftype == TType.STOP:
31819
        break
31820
      else:
31821
        iprot.skip(ftype)
31822
      iprot.readFieldEnd()
31823
    iprot.readStructEnd()
31824
 
31825
  def write(self, oprot):
31826
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
31827
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
31828
      return
31829
    oprot.writeStructBegin('getAllSnapdealMarketplaceItem_args')
31830
    oprot.writeFieldStop()
31831
    oprot.writeStructEnd()
31832
 
31833
  def validate(self):
31834
    return
31835
 
31836
 
31837
  def __repr__(self):
31838
    L = ['%s=%r' % (key, value)
31839
      for key, value in self.__dict__.iteritems()]
31840
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
31841
 
31842
  def __eq__(self, other):
31843
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
31844
 
31845
  def __ne__(self, other):
31846
    return not (self == other)
31847
 
31848
class getAllSnapdealMarketplaceItem_result:
31849
  """
31850
  Attributes:
31851
   - success
31852
  """
31853
 
31854
  thrift_spec = (
31855
    (0, TType.LIST, 'success', (TType.STRUCT,(SnapdealItem, SnapdealItem.thrift_spec)), None, ), # 0
31856
  )
31857
 
31858
  def __init__(self, success=None,):
31859
    self.success = success
31860
 
31861
  def read(self, iprot):
31862
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
31863
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
31864
      return
31865
    iprot.readStructBegin()
31866
    while True:
31867
      (fname, ftype, fid) = iprot.readFieldBegin()
31868
      if ftype == TType.STOP:
31869
        break
31870
      if fid == 0:
31871
        if ftype == TType.LIST:
31872
          self.success = []
21838 amit.gupta 31873
          (_etype731, _size728) = iprot.readListBegin()
31874
          for _i732 in xrange(_size728):
31875
            _elem733 = SnapdealItem()
31876
            _elem733.read(iprot)
31877
            self.success.append(_elem733)
12133 kshitij.so 31878
          iprot.readListEnd()
31879
        else:
31880
          iprot.skip(ftype)
31881
      else:
31882
        iprot.skip(ftype)
31883
      iprot.readFieldEnd()
31884
    iprot.readStructEnd()
31885
 
31886
  def write(self, oprot):
31887
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
31888
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
31889
      return
31890
    oprot.writeStructBegin('getAllSnapdealMarketplaceItem_result')
31891
    if self.success is not None:
31892
      oprot.writeFieldBegin('success', TType.LIST, 0)
31893
      oprot.writeListBegin(TType.STRUCT, len(self.success))
21838 amit.gupta 31894
      for iter734 in self.success:
31895
        iter734.write(oprot)
12133 kshitij.so 31896
      oprot.writeListEnd()
31897
      oprot.writeFieldEnd()
31898
    oprot.writeFieldStop()
31899
    oprot.writeStructEnd()
31900
 
31901
  def validate(self):
31902
    return
31903
 
31904
 
31905
  def __repr__(self):
31906
    L = ['%s=%r' % (key, value)
31907
      for key, value in self.__dict__.iteritems()]
31908
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
31909
 
31910
  def __eq__(self, other):
31911
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
31912
 
31913
  def __ne__(self, other):
31914
    return not (self == other)
31915
 
31916
class getAllFlipkartMarketplaceItem_args:
31917
 
31918
  thrift_spec = (
31919
  )
31920
 
31921
  def read(self, iprot):
31922
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
31923
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
31924
      return
31925
    iprot.readStructBegin()
31926
    while True:
31927
      (fname, ftype, fid) = iprot.readFieldBegin()
31928
      if ftype == TType.STOP:
31929
        break
31930
      else:
31931
        iprot.skip(ftype)
31932
      iprot.readFieldEnd()
31933
    iprot.readStructEnd()
31934
 
31935
  def write(self, oprot):
31936
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
31937
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
31938
      return
31939
    oprot.writeStructBegin('getAllFlipkartMarketplaceItem_args')
31940
    oprot.writeFieldStop()
31941
    oprot.writeStructEnd()
31942
 
31943
  def validate(self):
31944
    return
31945
 
31946
 
31947
  def __repr__(self):
31948
    L = ['%s=%r' % (key, value)
31949
      for key, value in self.__dict__.iteritems()]
31950
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
31951
 
31952
  def __eq__(self, other):
31953
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
31954
 
31955
  def __ne__(self, other):
31956
    return not (self == other)
31957
 
31958
class getAllFlipkartMarketplaceItem_result:
31959
  """
31960
  Attributes:
31961
   - success
31962
  """
31963
 
31964
  thrift_spec = (
31965
    (0, TType.LIST, 'success', (TType.STRUCT,(FlipkartItem, FlipkartItem.thrift_spec)), None, ), # 0
31966
  )
31967
 
31968
  def __init__(self, success=None,):
31969
    self.success = success
31970
 
31971
  def read(self, iprot):
31972
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
31973
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
31974
      return
31975
    iprot.readStructBegin()
31976
    while True:
31977
      (fname, ftype, fid) = iprot.readFieldBegin()
31978
      if ftype == TType.STOP:
31979
        break
31980
      if fid == 0:
31981
        if ftype == TType.LIST:
31982
          self.success = []
21838 amit.gupta 31983
          (_etype738, _size735) = iprot.readListBegin()
31984
          for _i739 in xrange(_size735):
31985
            _elem740 = FlipkartItem()
31986
            _elem740.read(iprot)
31987
            self.success.append(_elem740)
12133 kshitij.so 31988
          iprot.readListEnd()
31989
        else:
31990
          iprot.skip(ftype)
31991
      else:
31992
        iprot.skip(ftype)
31993
      iprot.readFieldEnd()
31994
    iprot.readStructEnd()
31995
 
31996
  def write(self, oprot):
31997
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
31998
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
31999
      return
32000
    oprot.writeStructBegin('getAllFlipkartMarketplaceItem_result')
32001
    if self.success is not None:
32002
      oprot.writeFieldBegin('success', TType.LIST, 0)
32003
      oprot.writeListBegin(TType.STRUCT, len(self.success))
21838 amit.gupta 32004
      for iter741 in self.success:
32005
        iter741.write(oprot)
12133 kshitij.so 32006
      oprot.writeListEnd()
32007
      oprot.writeFieldEnd()
32008
    oprot.writeFieldStop()
32009
    oprot.writeStructEnd()
32010
 
32011
  def validate(self):
32012
    return
32013
 
32014
 
32015
  def __repr__(self):
32016
    L = ['%s=%r' % (key, value)
32017
      for key, value in self.__dict__.iteritems()]
32018
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
32019
 
32020
  def __eq__(self, other):
32021
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
32022
 
32023
  def __ne__(self, other):
32024
    return not (self == other)
12243 kshitij.so 32025
 
32026
class addCompetitorScraping_args:
32027
  """
32028
  Attributes:
32029
   - competitorPricingMap
32030
  """
32031
 
32032
  thrift_spec = (
32033
    None, # 0
32034
    (1, TType.MAP, 'competitorPricingMap', (TType.I64,None,TType.STRUCT,(CompetitorPricing, CompetitorPricing.thrift_spec)), None, ), # 1
32035
  )
32036
 
32037
  def __init__(self, competitorPricingMap=None,):
32038
    self.competitorPricingMap = competitorPricingMap
32039
 
32040
  def read(self, iprot):
32041
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
32042
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
32043
      return
32044
    iprot.readStructBegin()
32045
    while True:
32046
      (fname, ftype, fid) = iprot.readFieldBegin()
32047
      if ftype == TType.STOP:
32048
        break
32049
      if fid == 1:
32050
        if ftype == TType.MAP:
32051
          self.competitorPricingMap = {}
21838 amit.gupta 32052
          (_ktype743, _vtype744, _size742 ) = iprot.readMapBegin() 
32053
          for _i746 in xrange(_size742):
32054
            _key747 = iprot.readI64();
32055
            _val748 = CompetitorPricing()
32056
            _val748.read(iprot)
32057
            self.competitorPricingMap[_key747] = _val748
12243 kshitij.so 32058
          iprot.readMapEnd()
32059
        else:
32060
          iprot.skip(ftype)
32061
      else:
32062
        iprot.skip(ftype)
32063
      iprot.readFieldEnd()
32064
    iprot.readStructEnd()
32065
 
32066
  def write(self, oprot):
32067
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
32068
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
32069
      return
32070
    oprot.writeStructBegin('addCompetitorScraping_args')
32071
    if self.competitorPricingMap is not None:
32072
      oprot.writeFieldBegin('competitorPricingMap', TType.MAP, 1)
32073
      oprot.writeMapBegin(TType.I64, TType.STRUCT, len(self.competitorPricingMap))
21838 amit.gupta 32074
      for kiter749,viter750 in self.competitorPricingMap.items():
32075
        oprot.writeI64(kiter749)
32076
        viter750.write(oprot)
12243 kshitij.so 32077
      oprot.writeMapEnd()
32078
      oprot.writeFieldEnd()
32079
    oprot.writeFieldStop()
32080
    oprot.writeStructEnd()
32081
 
32082
  def validate(self):
32083
    return
32084
 
32085
 
32086
  def __repr__(self):
32087
    L = ['%s=%r' % (key, value)
32088
      for key, value in self.__dict__.iteritems()]
32089
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
32090
 
32091
  def __eq__(self, other):
32092
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
32093
 
32094
  def __ne__(self, other):
32095
    return not (self == other)
32096
 
32097
class addCompetitorScraping_result:
32098
 
32099
  thrift_spec = (
32100
  )
32101
 
32102
  def read(self, iprot):
32103
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
32104
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
32105
      return
32106
    iprot.readStructBegin()
32107
    while True:
32108
      (fname, ftype, fid) = iprot.readFieldBegin()
32109
      if ftype == TType.STOP:
32110
        break
32111
      else:
32112
        iprot.skip(ftype)
32113
      iprot.readFieldEnd()
32114
    iprot.readStructEnd()
32115
 
32116
  def write(self, oprot):
32117
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
32118
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
32119
      return
32120
    oprot.writeStructBegin('addCompetitorScraping_result')
32121
    oprot.writeFieldStop()
32122
    oprot.writeStructEnd()
32123
 
32124
  def validate(self):
32125
    return
32126
 
32127
 
32128
  def __repr__(self):
32129
    L = ['%s=%r' % (key, value)
32130
      for key, value in self.__dict__.iteritems()]
32131
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
32132
 
32133
  def __eq__(self, other):
32134
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
32135
 
32136
  def __ne__(self, other):
32137
    return not (self == other)
32138
 
32139
class getPreviousCompetitorScraping_args:
32140
  """
32141
  Attributes:
32142
   - delta
32143
  """
32144
 
32145
  thrift_spec = (
32146
    None, # 0
32147
    (1, TType.I64, 'delta', None, None, ), # 1
32148
  )
32149
 
32150
  def __init__(self, delta=None,):
32151
    self.delta = delta
32152
 
32153
  def read(self, iprot):
32154
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
32155
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
32156
      return
32157
    iprot.readStructBegin()
32158
    while True:
32159
      (fname, ftype, fid) = iprot.readFieldBegin()
32160
      if ftype == TType.STOP:
32161
        break
32162
      if fid == 1:
32163
        if ftype == TType.I64:
32164
          self.delta = iprot.readI64();
32165
        else:
32166
          iprot.skip(ftype)
32167
      else:
32168
        iprot.skip(ftype)
32169
      iprot.readFieldEnd()
32170
    iprot.readStructEnd()
32171
 
32172
  def write(self, oprot):
32173
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
32174
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
32175
      return
32176
    oprot.writeStructBegin('getPreviousCompetitorScraping_args')
32177
    if self.delta is not None:
32178
      oprot.writeFieldBegin('delta', TType.I64, 1)
32179
      oprot.writeI64(self.delta)
32180
      oprot.writeFieldEnd()
32181
    oprot.writeFieldStop()
32182
    oprot.writeStructEnd()
32183
 
32184
  def validate(self):
32185
    return
32186
 
32187
 
32188
  def __repr__(self):
32189
    L = ['%s=%r' % (key, value)
32190
      for key, value in self.__dict__.iteritems()]
32191
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
32192
 
32193
  def __eq__(self, other):
32194
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
32195
 
32196
  def __ne__(self, other):
32197
    return not (self == other)
32198
 
32199
class getPreviousCompetitorScraping_result:
32200
  """
32201
  Attributes:
32202
   - success
32203
  """
32204
 
32205
  thrift_spec = (
32206
    (0, TType.LIST, 'success', (TType.STRUCT,(CompetitorPricing, CompetitorPricing.thrift_spec)), None, ), # 0
32207
  )
32208
 
32209
  def __init__(self, success=None,):
32210
    self.success = success
32211
 
32212
  def read(self, iprot):
32213
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
32214
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
32215
      return
32216
    iprot.readStructBegin()
32217
    while True:
32218
      (fname, ftype, fid) = iprot.readFieldBegin()
32219
      if ftype == TType.STOP:
32220
        break
32221
      if fid == 0:
32222
        if ftype == TType.LIST:
32223
          self.success = []
21838 amit.gupta 32224
          (_etype754, _size751) = iprot.readListBegin()
32225
          for _i755 in xrange(_size751):
32226
            _elem756 = CompetitorPricing()
32227
            _elem756.read(iprot)
32228
            self.success.append(_elem756)
12243 kshitij.so 32229
          iprot.readListEnd()
32230
        else:
32231
          iprot.skip(ftype)
32232
      else:
32233
        iprot.skip(ftype)
32234
      iprot.readFieldEnd()
32235
    iprot.readStructEnd()
32236
 
32237
  def write(self, oprot):
32238
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
32239
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
32240
      return
32241
    oprot.writeStructBegin('getPreviousCompetitorScraping_result')
32242
    if self.success is not None:
32243
      oprot.writeFieldBegin('success', TType.LIST, 0)
32244
      oprot.writeListBegin(TType.STRUCT, len(self.success))
21838 amit.gupta 32245
      for iter757 in self.success:
32246
        iter757.write(oprot)
12243 kshitij.so 32247
      oprot.writeListEnd()
32248
      oprot.writeFieldEnd()
32249
    oprot.writeFieldStop()
32250
    oprot.writeStructEnd()
32251
 
32252
  def validate(self):
32253
    return
32254
 
32255
 
32256
  def __repr__(self):
32257
    L = ['%s=%r' % (key, value)
32258
      for key, value in self.__dict__.iteritems()]
32259
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
32260
 
32261
  def __eq__(self, other):
32262
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
32263
 
32264
  def __ne__(self, other):
32265
    return not (self == other)
12256 kshitij.so 32266
 
32267
class getUploadResultById_args:
32268
  """
32269
  Attributes:
32270
   - uploadId
32271
  """
32272
 
32273
  thrift_spec = (
32274
    None, # 0
32275
    (1, TType.I64, 'uploadId', None, None, ), # 1
32276
  )
32277
 
32278
  def __init__(self, uploadId=None,):
32279
    self.uploadId = uploadId
32280
 
32281
  def read(self, iprot):
32282
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
32283
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
32284
      return
32285
    iprot.readStructBegin()
32286
    while True:
32287
      (fname, ftype, fid) = iprot.readFieldBegin()
32288
      if ftype == TType.STOP:
32289
        break
32290
      if fid == 1:
32291
        if ftype == TType.I64:
32292
          self.uploadId = iprot.readI64();
32293
        else:
32294
          iprot.skip(ftype)
32295
      else:
32296
        iprot.skip(ftype)
32297
      iprot.readFieldEnd()
32298
    iprot.readStructEnd()
32299
 
32300
  def write(self, oprot):
32301
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
32302
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
32303
      return
32304
    oprot.writeStructBegin('getUploadResultById_args')
32305
    if self.uploadId is not None:
32306
      oprot.writeFieldBegin('uploadId', TType.I64, 1)
32307
      oprot.writeI64(self.uploadId)
32308
      oprot.writeFieldEnd()
32309
    oprot.writeFieldStop()
32310
    oprot.writeStructEnd()
32311
 
32312
  def validate(self):
32313
    return
32314
 
32315
 
32316
  def __repr__(self):
32317
    L = ['%s=%r' % (key, value)
32318
      for key, value in self.__dict__.iteritems()]
32319
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
32320
 
32321
  def __eq__(self, other):
32322
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
32323
 
32324
  def __ne__(self, other):
32325
    return not (self == other)
32326
 
32327
class getUploadResultById_result:
32328
  """
32329
  Attributes:
32330
   - success
32331
  """
32332
 
32333
  thrift_spec = (
32334
    (0, TType.LIST, 'success', (TType.STRUCT,(CompetitorPricing, CompetitorPricing.thrift_spec)), None, ), # 0
32335
  )
32336
 
32337
  def __init__(self, success=None,):
32338
    self.success = success
32339
 
32340
  def read(self, iprot):
32341
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
32342
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
32343
      return
32344
    iprot.readStructBegin()
32345
    while True:
32346
      (fname, ftype, fid) = iprot.readFieldBegin()
32347
      if ftype == TType.STOP:
32348
        break
32349
      if fid == 0:
32350
        if ftype == TType.LIST:
32351
          self.success = []
21838 amit.gupta 32352
          (_etype761, _size758) = iprot.readListBegin()
32353
          for _i762 in xrange(_size758):
32354
            _elem763 = CompetitorPricing()
32355
            _elem763.read(iprot)
32356
            self.success.append(_elem763)
12256 kshitij.so 32357
          iprot.readListEnd()
32358
        else:
32359
          iprot.skip(ftype)
32360
      else:
32361
        iprot.skip(ftype)
32362
      iprot.readFieldEnd()
32363
    iprot.readStructEnd()
32364
 
32365
  def write(self, oprot):
32366
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
32367
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
32368
      return
32369
    oprot.writeStructBegin('getUploadResultById_result')
32370
    if self.success is not None:
32371
      oprot.writeFieldBegin('success', TType.LIST, 0)
32372
      oprot.writeListBegin(TType.STRUCT, len(self.success))
21838 amit.gupta 32373
      for iter764 in self.success:
32374
        iter764.write(oprot)
12256 kshitij.so 32375
      oprot.writeListEnd()
32376
      oprot.writeFieldEnd()
32377
    oprot.writeFieldStop()
32378
    oprot.writeStructEnd()
32379
 
32380
  def validate(self):
32381
    return
32382
 
32383
 
32384
  def __repr__(self):
32385
    L = ['%s=%r' % (key, value)
32386
      for key, value in self.__dict__.iteritems()]
32387
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
32388
 
32389
  def __eq__(self, other):
32390
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
32391
 
32392
  def __ne__(self, other):
32393
    return not (self == other)
12363 kshitij.so 32394
 
32395
class addAmazonPromotion_args:
32396
  """
32397
  Attributes:
32398
   - amazonPromotions
32399
  """
32400
 
32401
  thrift_spec = (
32402
    None, # 0
32403
    (1, TType.MAP, 'amazonPromotions', (TType.STRING,None,TType.STRUCT,(AmazonPromotion, AmazonPromotion.thrift_spec)), None, ), # 1
32404
  )
32405
 
32406
  def __init__(self, amazonPromotions=None,):
32407
    self.amazonPromotions = amazonPromotions
32408
 
32409
  def read(self, iprot):
32410
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
32411
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
32412
      return
32413
    iprot.readStructBegin()
32414
    while True:
32415
      (fname, ftype, fid) = iprot.readFieldBegin()
32416
      if ftype == TType.STOP:
32417
        break
32418
      if fid == 1:
32419
        if ftype == TType.MAP:
32420
          self.amazonPromotions = {}
21838 amit.gupta 32421
          (_ktype766, _vtype767, _size765 ) = iprot.readMapBegin() 
32422
          for _i769 in xrange(_size765):
32423
            _key770 = iprot.readString();
32424
            _val771 = AmazonPromotion()
32425
            _val771.read(iprot)
32426
            self.amazonPromotions[_key770] = _val771
12363 kshitij.so 32427
          iprot.readMapEnd()
32428
        else:
32429
          iprot.skip(ftype)
32430
      else:
32431
        iprot.skip(ftype)
32432
      iprot.readFieldEnd()
32433
    iprot.readStructEnd()
32434
 
32435
  def write(self, oprot):
32436
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
32437
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
32438
      return
32439
    oprot.writeStructBegin('addAmazonPromotion_args')
32440
    if self.amazonPromotions is not None:
32441
      oprot.writeFieldBegin('amazonPromotions', TType.MAP, 1)
32442
      oprot.writeMapBegin(TType.STRING, TType.STRUCT, len(self.amazonPromotions))
21838 amit.gupta 32443
      for kiter772,viter773 in self.amazonPromotions.items():
32444
        oprot.writeString(kiter772)
32445
        viter773.write(oprot)
12363 kshitij.so 32446
      oprot.writeMapEnd()
32447
      oprot.writeFieldEnd()
32448
    oprot.writeFieldStop()
32449
    oprot.writeStructEnd()
32450
 
32451
  def validate(self):
32452
    return
32453
 
32454
 
32455
  def __repr__(self):
32456
    L = ['%s=%r' % (key, value)
32457
      for key, value in self.__dict__.iteritems()]
32458
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
32459
 
32460
  def __eq__(self, other):
32461
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
32462
 
32463
  def __ne__(self, other):
32464
    return not (self == other)
32465
 
32466
class addAmazonPromotion_result:
32467
  """
32468
  Attributes:
32469
   - success
12947 kshitij.so 32470
   - cex
12363 kshitij.so 32471
  """
32472
 
32473
  thrift_spec = (
12947 kshitij.so 32474
    (0, TType.LIST, 'success', (TType.STRING,None), None, ), # 0
32475
    (1, TType.STRUCT, 'cex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
12363 kshitij.so 32476
  )
32477
 
12947 kshitij.so 32478
  def __init__(self, success=None, cex=None,):
12363 kshitij.so 32479
    self.success = success
12947 kshitij.so 32480
    self.cex = cex
12363 kshitij.so 32481
 
32482
  def read(self, iprot):
32483
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
32484
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
32485
      return
32486
    iprot.readStructBegin()
32487
    while True:
32488
      (fname, ftype, fid) = iprot.readFieldBegin()
32489
      if ftype == TType.STOP:
32490
        break
32491
      if fid == 0:
12947 kshitij.so 32492
        if ftype == TType.LIST:
32493
          self.success = []
21838 amit.gupta 32494
          (_etype777, _size774) = iprot.readListBegin()
32495
          for _i778 in xrange(_size774):
32496
            _elem779 = iprot.readString();
32497
            self.success.append(_elem779)
12947 kshitij.so 32498
          iprot.readListEnd()
12363 kshitij.so 32499
        else:
32500
          iprot.skip(ftype)
12947 kshitij.so 32501
      elif fid == 1:
32502
        if ftype == TType.STRUCT:
32503
          self.cex = CatalogServiceException()
32504
          self.cex.read(iprot)
32505
        else:
32506
          iprot.skip(ftype)
12363 kshitij.so 32507
      else:
32508
        iprot.skip(ftype)
32509
      iprot.readFieldEnd()
32510
    iprot.readStructEnd()
32511
 
32512
  def write(self, oprot):
32513
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
32514
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
32515
      return
32516
    oprot.writeStructBegin('addAmazonPromotion_result')
32517
    if self.success is not None:
12947 kshitij.so 32518
      oprot.writeFieldBegin('success', TType.LIST, 0)
32519
      oprot.writeListBegin(TType.STRING, len(self.success))
21838 amit.gupta 32520
      for iter780 in self.success:
32521
        oprot.writeString(iter780)
12947 kshitij.so 32522
      oprot.writeListEnd()
12363 kshitij.so 32523
      oprot.writeFieldEnd()
12947 kshitij.so 32524
    if self.cex is not None:
32525
      oprot.writeFieldBegin('cex', TType.STRUCT, 1)
32526
      self.cex.write(oprot)
32527
      oprot.writeFieldEnd()
12363 kshitij.so 32528
    oprot.writeFieldStop()
32529
    oprot.writeStructEnd()
32530
 
32531
  def validate(self):
32532
    return
32533
 
32534
 
32535
  def __repr__(self):
32536
    L = ['%s=%r' % (key, value)
32537
      for key, value in self.__dict__.iteritems()]
32538
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
32539
 
32540
  def __eq__(self, other):
32541
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
32542
 
32543
  def __ne__(self, other):
32544
    return not (self == other)
32545
 
32546
class getAmazonPromotion_args:
32547
  """
32548
  Attributes:
32549
   - startDate
32550
   - endDate
32551
  """
32552
 
32553
  thrift_spec = (
32554
    None, # 0
32555
    (1, TType.I64, 'startDate', None, None, ), # 1
32556
    (2, TType.I64, 'endDate', None, None, ), # 2
32557
  )
32558
 
32559
  def __init__(self, startDate=None, endDate=None,):
32560
    self.startDate = startDate
32561
    self.endDate = endDate
32562
 
32563
  def read(self, iprot):
32564
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
32565
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
32566
      return
32567
    iprot.readStructBegin()
32568
    while True:
32569
      (fname, ftype, fid) = iprot.readFieldBegin()
32570
      if ftype == TType.STOP:
32571
        break
32572
      if fid == 1:
32573
        if ftype == TType.I64:
32574
          self.startDate = iprot.readI64();
32575
        else:
32576
          iprot.skip(ftype)
32577
      elif fid == 2:
32578
        if ftype == TType.I64:
32579
          self.endDate = iprot.readI64();
32580
        else:
32581
          iprot.skip(ftype)
32582
      else:
32583
        iprot.skip(ftype)
32584
      iprot.readFieldEnd()
32585
    iprot.readStructEnd()
32586
 
32587
  def write(self, oprot):
32588
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
32589
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
32590
      return
32591
    oprot.writeStructBegin('getAmazonPromotion_args')
32592
    if self.startDate is not None:
32593
      oprot.writeFieldBegin('startDate', TType.I64, 1)
32594
      oprot.writeI64(self.startDate)
32595
      oprot.writeFieldEnd()
32596
    if self.endDate is not None:
32597
      oprot.writeFieldBegin('endDate', TType.I64, 2)
32598
      oprot.writeI64(self.endDate)
32599
      oprot.writeFieldEnd()
32600
    oprot.writeFieldStop()
32601
    oprot.writeStructEnd()
32602
 
32603
  def validate(self):
32604
    return
32605
 
32606
 
32607
  def __repr__(self):
32608
    L = ['%s=%r' % (key, value)
32609
      for key, value in self.__dict__.iteritems()]
32610
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
32611
 
32612
  def __eq__(self, other):
32613
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
32614
 
32615
  def __ne__(self, other):
32616
    return not (self == other)
32617
 
32618
class getAmazonPromotion_result:
32619
  """
32620
  Attributes:
32621
   - success
32622
  """
32623
 
32624
  thrift_spec = (
32625
    (0, TType.LIST, 'success', (TType.STRUCT,(AmazonPromotion, AmazonPromotion.thrift_spec)), None, ), # 0
32626
  )
32627
 
32628
  def __init__(self, success=None,):
32629
    self.success = success
32630
 
32631
  def read(self, iprot):
32632
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
32633
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
32634
      return
32635
    iprot.readStructBegin()
32636
    while True:
32637
      (fname, ftype, fid) = iprot.readFieldBegin()
32638
      if ftype == TType.STOP:
32639
        break
32640
      if fid == 0:
32641
        if ftype == TType.LIST:
32642
          self.success = []
21838 amit.gupta 32643
          (_etype784, _size781) = iprot.readListBegin()
32644
          for _i785 in xrange(_size781):
32645
            _elem786 = AmazonPromotion()
32646
            _elem786.read(iprot)
32647
            self.success.append(_elem786)
12363 kshitij.so 32648
          iprot.readListEnd()
32649
        else:
32650
          iprot.skip(ftype)
32651
      else:
32652
        iprot.skip(ftype)
32653
      iprot.readFieldEnd()
32654
    iprot.readStructEnd()
32655
 
32656
  def write(self, oprot):
32657
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
32658
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
32659
      return
32660
    oprot.writeStructBegin('getAmazonPromotion_result')
32661
    if self.success is not None:
32662
      oprot.writeFieldBegin('success', TType.LIST, 0)
32663
      oprot.writeListBegin(TType.STRUCT, len(self.success))
21838 amit.gupta 32664
      for iter787 in self.success:
32665
        iter787.write(oprot)
12363 kshitij.so 32666
      oprot.writeListEnd()
32667
      oprot.writeFieldEnd()
32668
    oprot.writeFieldStop()
32669
    oprot.writeStructEnd()
32670
 
32671
  def validate(self):
32672
    return
32673
 
32674
 
32675
  def __repr__(self):
32676
    L = ['%s=%r' % (key, value)
32677
      for key, value in self.__dict__.iteritems()]
32678
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
32679
 
32680
  def __eq__(self, other):
32681
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
32682
 
32683
  def __ne__(self, other):
32684
    return not (self == other)
32685
 
32686
class updateAmazonPromotion_args:
32687
  """
32688
  Attributes:
32689
   - amazonPromotions
32690
  """
32691
 
32692
  thrift_spec = (
32693
    None, # 0
32694
    (1, TType.LIST, 'amazonPromotions', (TType.STRUCT,(AmazonPromotion, AmazonPromotion.thrift_spec)), None, ), # 1
32695
  )
32696
 
32697
  def __init__(self, amazonPromotions=None,):
32698
    self.amazonPromotions = amazonPromotions
32699
 
32700
  def read(self, iprot):
32701
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
32702
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
32703
      return
32704
    iprot.readStructBegin()
32705
    while True:
32706
      (fname, ftype, fid) = iprot.readFieldBegin()
32707
      if ftype == TType.STOP:
32708
        break
32709
      if fid == 1:
32710
        if ftype == TType.LIST:
32711
          self.amazonPromotions = []
21838 amit.gupta 32712
          (_etype791, _size788) = iprot.readListBegin()
32713
          for _i792 in xrange(_size788):
32714
            _elem793 = AmazonPromotion()
32715
            _elem793.read(iprot)
32716
            self.amazonPromotions.append(_elem793)
12363 kshitij.so 32717
          iprot.readListEnd()
32718
        else:
32719
          iprot.skip(ftype)
32720
      else:
32721
        iprot.skip(ftype)
32722
      iprot.readFieldEnd()
32723
    iprot.readStructEnd()
32724
 
32725
  def write(self, oprot):
32726
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
32727
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
32728
      return
32729
    oprot.writeStructBegin('updateAmazonPromotion_args')
32730
    if self.amazonPromotions is not None:
32731
      oprot.writeFieldBegin('amazonPromotions', TType.LIST, 1)
32732
      oprot.writeListBegin(TType.STRUCT, len(self.amazonPromotions))
21838 amit.gupta 32733
      for iter794 in self.amazonPromotions:
32734
        iter794.write(oprot)
12363 kshitij.so 32735
      oprot.writeListEnd()
32736
      oprot.writeFieldEnd()
32737
    oprot.writeFieldStop()
32738
    oprot.writeStructEnd()
32739
 
32740
  def validate(self):
32741
    return
32742
 
32743
 
32744
  def __repr__(self):
32745
    L = ['%s=%r' % (key, value)
32746
      for key, value in self.__dict__.iteritems()]
32747
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
32748
 
32749
  def __eq__(self, other):
32750
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
32751
 
32752
  def __ne__(self, other):
32753
    return not (self == other)
32754
 
32755
class updateAmazonPromotion_result:
32756
  """
32757
  Attributes:
32758
   - success
32759
  """
32760
 
32761
  thrift_spec = (
32762
    (0, TType.BOOL, 'success', None, None, ), # 0
32763
  )
32764
 
32765
  def __init__(self, success=None,):
32766
    self.success = success
32767
 
32768
  def read(self, iprot):
32769
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
32770
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
32771
      return
32772
    iprot.readStructBegin()
32773
    while True:
32774
      (fname, ftype, fid) = iprot.readFieldBegin()
32775
      if ftype == TType.STOP:
32776
        break
32777
      if fid == 0:
32778
        if ftype == TType.BOOL:
32779
          self.success = iprot.readBool();
32780
        else:
32781
          iprot.skip(ftype)
32782
      else:
32783
        iprot.skip(ftype)
32784
      iprot.readFieldEnd()
32785
    iprot.readStructEnd()
32786
 
32787
  def write(self, oprot):
32788
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
32789
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
32790
      return
32791
    oprot.writeStructBegin('updateAmazonPromotion_result')
32792
    if self.success is not None:
32793
      oprot.writeFieldBegin('success', TType.BOOL, 0)
32794
      oprot.writeBool(self.success)
32795
      oprot.writeFieldEnd()
32796
    oprot.writeFieldStop()
32797
    oprot.writeStructEnd()
32798
 
32799
  def validate(self):
32800
    return
32801
 
32802
 
32803
  def __repr__(self):
32804
    L = ['%s=%r' % (key, value)
32805
      for key, value in self.__dict__.iteritems()]
32806
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
32807
 
32808
  def __eq__(self, other):
32809
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
32810
 
32811
  def __ne__(self, other):
32812
    return not (self == other)
12567 amit.gupta 32813
 
32814
class markPartiallyActive_args:
32815
  """
32816
  Attributes:
32817
   - itemId
32818
   - categoryId
32819
  """
32820
 
32821
  thrift_spec = (
32822
    None, # 0
32823
    (1, TType.I64, 'itemId', None, None, ), # 1
32824
    (2, TType.I64, 'categoryId', None, None, ), # 2
32825
  )
32826
 
32827
  def __init__(self, itemId=None, categoryId=None,):
32828
    self.itemId = itemId
32829
    self.categoryId = categoryId
32830
 
32831
  def read(self, iprot):
32832
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
32833
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
32834
      return
32835
    iprot.readStructBegin()
32836
    while True:
32837
      (fname, ftype, fid) = iprot.readFieldBegin()
32838
      if ftype == TType.STOP:
32839
        break
32840
      if fid == 1:
32841
        if ftype == TType.I64:
32842
          self.itemId = iprot.readI64();
32843
        else:
32844
          iprot.skip(ftype)
32845
      elif fid == 2:
32846
        if ftype == TType.I64:
32847
          self.categoryId = iprot.readI64();
32848
        else:
32849
          iprot.skip(ftype)
32850
      else:
32851
        iprot.skip(ftype)
32852
      iprot.readFieldEnd()
32853
    iprot.readStructEnd()
32854
 
32855
  def write(self, oprot):
32856
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
32857
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
32858
      return
32859
    oprot.writeStructBegin('markPartiallyActive_args')
32860
    if self.itemId is not None:
32861
      oprot.writeFieldBegin('itemId', TType.I64, 1)
32862
      oprot.writeI64(self.itemId)
32863
      oprot.writeFieldEnd()
32864
    if self.categoryId is not None:
32865
      oprot.writeFieldBegin('categoryId', TType.I64, 2)
32866
      oprot.writeI64(self.categoryId)
32867
      oprot.writeFieldEnd()
32868
    oprot.writeFieldStop()
32869
    oprot.writeStructEnd()
32870
 
32871
  def validate(self):
32872
    return
32873
 
32874
 
32875
  def __repr__(self):
32876
    L = ['%s=%r' % (key, value)
32877
      for key, value in self.__dict__.iteritems()]
32878
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
32879
 
32880
  def __eq__(self, other):
32881
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
32882
 
32883
  def __ne__(self, other):
32884
    return not (self == other)
32885
 
32886
class markPartiallyActive_result:
32887
  """
32888
  Attributes:
32889
   - success
32890
  """
32891
 
32892
  thrift_spec = (
32893
    (0, TType.BOOL, 'success', None, None, ), # 0
32894
  )
32895
 
32896
  def __init__(self, success=None,):
32897
    self.success = success
32898
 
32899
  def read(self, iprot):
32900
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
32901
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
32902
      return
32903
    iprot.readStructBegin()
32904
    while True:
32905
      (fname, ftype, fid) = iprot.readFieldBegin()
32906
      if ftype == TType.STOP:
32907
        break
32908
      if fid == 0:
32909
        if ftype == TType.BOOL:
32910
          self.success = iprot.readBool();
32911
        else:
32912
          iprot.skip(ftype)
32913
      else:
32914
        iprot.skip(ftype)
32915
      iprot.readFieldEnd()
32916
    iprot.readStructEnd()
32917
 
32918
  def write(self, oprot):
32919
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
32920
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
32921
      return
32922
    oprot.writeStructBegin('markPartiallyActive_result')
32923
    if self.success is not None:
32924
      oprot.writeFieldBegin('success', TType.BOOL, 0)
32925
      oprot.writeBool(self.success)
32926
      oprot.writeFieldEnd()
32927
    oprot.writeFieldStop()
32928
    oprot.writeStructEnd()
32929
 
32930
  def validate(self):
32931
    return
32932
 
32933
 
32934
  def __repr__(self):
32935
    L = ['%s=%r' % (key, value)
32936
      for key, value in self.__dict__.iteritems()]
32937
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
32938
 
32939
  def __eq__(self, other):
32940
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
32941
 
32942
  def __ne__(self, other):
32943
    return not (self == other)
32944
 
32945
class updateItemStateVat_args:
32946
  """
32947
  Attributes:
32948
   - itemId
32949
   - statevat
32950
  """
32951
 
32952
  thrift_spec = (
32953
    None, # 0
32954
    (1, TType.I64, 'itemId', None, None, ), # 1
32955
    (2, TType.MAP, 'statevat', (TType.I64,None,TType.DOUBLE,None), None, ), # 2
32956
  )
32957
 
32958
  def __init__(self, itemId=None, statevat=None,):
32959
    self.itemId = itemId
32960
    self.statevat = statevat
32961
 
32962
  def read(self, iprot):
32963
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
32964
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
32965
      return
32966
    iprot.readStructBegin()
32967
    while True:
32968
      (fname, ftype, fid) = iprot.readFieldBegin()
32969
      if ftype == TType.STOP:
32970
        break
32971
      if fid == 1:
32972
        if ftype == TType.I64:
32973
          self.itemId = iprot.readI64();
32974
        else:
32975
          iprot.skip(ftype)
32976
      elif fid == 2:
32977
        if ftype == TType.MAP:
32978
          self.statevat = {}
21838 amit.gupta 32979
          (_ktype796, _vtype797, _size795 ) = iprot.readMapBegin() 
32980
          for _i799 in xrange(_size795):
32981
            _key800 = iprot.readI64();
32982
            _val801 = iprot.readDouble();
32983
            self.statevat[_key800] = _val801
12567 amit.gupta 32984
          iprot.readMapEnd()
32985
        else:
32986
          iprot.skip(ftype)
32987
      else:
32988
        iprot.skip(ftype)
32989
      iprot.readFieldEnd()
32990
    iprot.readStructEnd()
32991
 
32992
  def write(self, oprot):
32993
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
32994
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
32995
      return
32996
    oprot.writeStructBegin('updateItemStateVat_args')
32997
    if self.itemId is not None:
32998
      oprot.writeFieldBegin('itemId', TType.I64, 1)
32999
      oprot.writeI64(self.itemId)
33000
      oprot.writeFieldEnd()
33001
    if self.statevat is not None:
33002
      oprot.writeFieldBegin('statevat', TType.MAP, 2)
33003
      oprot.writeMapBegin(TType.I64, TType.DOUBLE, len(self.statevat))
21838 amit.gupta 33004
      for kiter802,viter803 in self.statevat.items():
33005
        oprot.writeI64(kiter802)
33006
        oprot.writeDouble(viter803)
12567 amit.gupta 33007
      oprot.writeMapEnd()
33008
      oprot.writeFieldEnd()
33009
    oprot.writeFieldStop()
33010
    oprot.writeStructEnd()
33011
 
33012
  def validate(self):
33013
    return
33014
 
33015
 
33016
  def __repr__(self):
33017
    L = ['%s=%r' % (key, value)
33018
      for key, value in self.__dict__.iteritems()]
33019
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
33020
 
33021
  def __eq__(self, other):
33022
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
33023
 
33024
  def __ne__(self, other):
33025
    return not (self == other)
33026
 
33027
class updateItemStateVat_result:
33028
  """
33029
  Attributes:
33030
   - success
33031
  """
33032
 
33033
  thrift_spec = (
33034
    (0, TType.BOOL, 'success', None, None, ), # 0
33035
  )
33036
 
33037
  def __init__(self, success=None,):
33038
    self.success = success
33039
 
33040
  def read(self, iprot):
33041
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
33042
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
33043
      return
33044
    iprot.readStructBegin()
33045
    while True:
33046
      (fname, ftype, fid) = iprot.readFieldBegin()
33047
      if ftype == TType.STOP:
33048
        break
33049
      if fid == 0:
33050
        if ftype == TType.BOOL:
33051
          self.success = iprot.readBool();
33052
        else:
33053
          iprot.skip(ftype)
33054
      else:
33055
        iprot.skip(ftype)
33056
      iprot.readFieldEnd()
33057
    iprot.readStructEnd()
33058
 
33059
  def write(self, oprot):
33060
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
33061
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
33062
      return
33063
    oprot.writeStructBegin('updateItemStateVat_result')
33064
    if self.success is not None:
33065
      oprot.writeFieldBegin('success', TType.BOOL, 0)
33066
      oprot.writeBool(self.success)
33067
      oprot.writeFieldEnd()
33068
    oprot.writeFieldStop()
33069
    oprot.writeStructEnd()
33070
 
33071
  def validate(self):
33072
    return
33073
 
33074
 
33075
  def __repr__(self):
33076
    L = ['%s=%r' % (key, value)
33077
      for key, value in self.__dict__.iteritems()]
33078
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
33079
 
33080
  def __eq__(self, other):
33081
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
33082
 
33083
  def __ne__(self, other):
33084
    return not (self == other)
12620 amit.gupta 33085
 
33086
class getExAffiliateItemInfo_args:
33087
 
33088
  thrift_spec = (
33089
  )
33090
 
33091
  def read(self, iprot):
33092
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
33093
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
33094
      return
33095
    iprot.readStructBegin()
33096
    while True:
33097
      (fname, ftype, fid) = iprot.readFieldBegin()
33098
      if ftype == TType.STOP:
33099
        break
33100
      else:
33101
        iprot.skip(ftype)
33102
      iprot.readFieldEnd()
33103
    iprot.readStructEnd()
33104
 
33105
  def write(self, oprot):
33106
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
33107
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
33108
      return
33109
    oprot.writeStructBegin('getExAffiliateItemInfo_args')
33110
    oprot.writeFieldStop()
33111
    oprot.writeStructEnd()
33112
 
33113
  def validate(self):
33114
    return
33115
 
33116
 
33117
  def __repr__(self):
33118
    L = ['%s=%r' % (key, value)
33119
      for key, value in self.__dict__.iteritems()]
33120
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
33121
 
33122
  def __eq__(self, other):
33123
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
33124
 
33125
  def __ne__(self, other):
33126
    return not (self == other)
33127
 
33128
class getExAffiliateItemInfo_result:
33129
  """
33130
  Attributes:
33131
   - success
33132
  """
33133
 
33134
  thrift_spec = (
33135
    (0, TType.MAP, 'success', (TType.I64,None,TType.STRUCT,(ExclusiveAffiliateItemInfo, ExclusiveAffiliateItemInfo.thrift_spec)), None, ), # 0
33136
  )
33137
 
33138
  def __init__(self, success=None,):
33139
    self.success = success
33140
 
33141
  def read(self, iprot):
33142
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
33143
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
33144
      return
33145
    iprot.readStructBegin()
33146
    while True:
33147
      (fname, ftype, fid) = iprot.readFieldBegin()
33148
      if ftype == TType.STOP:
33149
        break
33150
      if fid == 0:
33151
        if ftype == TType.MAP:
33152
          self.success = {}
21838 amit.gupta 33153
          (_ktype805, _vtype806, _size804 ) = iprot.readMapBegin() 
33154
          for _i808 in xrange(_size804):
33155
            _key809 = iprot.readI64();
33156
            _val810 = ExclusiveAffiliateItemInfo()
33157
            _val810.read(iprot)
33158
            self.success[_key809] = _val810
12620 amit.gupta 33159
          iprot.readMapEnd()
33160
        else:
33161
          iprot.skip(ftype)
33162
      else:
33163
        iprot.skip(ftype)
33164
      iprot.readFieldEnd()
33165
    iprot.readStructEnd()
33166
 
33167
  def write(self, oprot):
33168
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
33169
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
33170
      return
33171
    oprot.writeStructBegin('getExAffiliateItemInfo_result')
33172
    if self.success is not None:
33173
      oprot.writeFieldBegin('success', TType.MAP, 0)
33174
      oprot.writeMapBegin(TType.I64, TType.STRUCT, len(self.success))
21838 amit.gupta 33175
      for kiter811,viter812 in self.success.items():
33176
        oprot.writeI64(kiter811)
33177
        viter812.write(oprot)
12620 amit.gupta 33178
      oprot.writeMapEnd()
33179
      oprot.writeFieldEnd()
33180
    oprot.writeFieldStop()
33181
    oprot.writeStructEnd()
33182
 
33183
  def validate(self):
33184
    return
33185
 
33186
 
33187
  def __repr__(self):
33188
    L = ['%s=%r' % (key, value)
33189
      for key, value in self.__dict__.iteritems()]
33190
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
33191
 
33192
  def __eq__(self, other):
33193
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
33194
 
33195
  def __ne__(self, other):
33196
    return not (self == other)
12888 kshitij.so 33197
 
33198
class getAllItemstoListOnFbg_args:
33199
 
33200
  thrift_spec = (
33201
  )
33202
 
33203
  def read(self, iprot):
33204
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
33205
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
33206
      return
33207
    iprot.readStructBegin()
33208
    while True:
33209
      (fname, ftype, fid) = iprot.readFieldBegin()
33210
      if ftype == TType.STOP:
33211
        break
33212
      else:
33213
        iprot.skip(ftype)
33214
      iprot.readFieldEnd()
33215
    iprot.readStructEnd()
33216
 
33217
  def write(self, oprot):
33218
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
33219
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
33220
      return
33221
    oprot.writeStructBegin('getAllItemstoListOnFbg_args')
33222
    oprot.writeFieldStop()
33223
    oprot.writeStructEnd()
33224
 
33225
  def validate(self):
33226
    return
33227
 
33228
 
33229
  def __repr__(self):
33230
    L = ['%s=%r' % (key, value)
33231
      for key, value in self.__dict__.iteritems()]
33232
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
33233
 
33234
  def __eq__(self, other):
33235
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
33236
 
33237
  def __ne__(self, other):
33238
    return not (self == other)
33239
 
33240
class getAllItemstoListOnFbg_result:
33241
  """
33242
  Attributes:
33243
   - success
33244
  """
33245
 
33246
  thrift_spec = (
33247
    (0, TType.LIST, 'success', (TType.STRUCT,(Amazonlisted, Amazonlisted.thrift_spec)), None, ), # 0
33248
  )
33249
 
33250
  def __init__(self, success=None,):
33251
    self.success = success
33252
 
33253
  def read(self, iprot):
33254
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
33255
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
33256
      return
33257
    iprot.readStructBegin()
33258
    while True:
33259
      (fname, ftype, fid) = iprot.readFieldBegin()
33260
      if ftype == TType.STOP:
33261
        break
33262
      if fid == 0:
33263
        if ftype == TType.LIST:
33264
          self.success = []
21838 amit.gupta 33265
          (_etype816, _size813) = iprot.readListBegin()
33266
          for _i817 in xrange(_size813):
33267
            _elem818 = Amazonlisted()
33268
            _elem818.read(iprot)
33269
            self.success.append(_elem818)
12888 kshitij.so 33270
          iprot.readListEnd()
33271
        else:
33272
          iprot.skip(ftype)
33273
      else:
33274
        iprot.skip(ftype)
33275
      iprot.readFieldEnd()
33276
    iprot.readStructEnd()
33277
 
33278
  def write(self, oprot):
33279
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
33280
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
33281
      return
33282
    oprot.writeStructBegin('getAllItemstoListOnFbg_result')
33283
    if self.success is not None:
33284
      oprot.writeFieldBegin('success', TType.LIST, 0)
33285
      oprot.writeListBegin(TType.STRUCT, len(self.success))
21838 amit.gupta 33286
      for iter819 in self.success:
33287
        iter819.write(oprot)
12888 kshitij.so 33288
      oprot.writeListEnd()
33289
      oprot.writeFieldEnd()
33290
    oprot.writeFieldStop()
33291
    oprot.writeStructEnd()
33292
 
33293
  def validate(self):
33294
    return
33295
 
33296
 
33297
  def __repr__(self):
33298
    L = ['%s=%r' % (key, value)
33299
      for key, value in self.__dict__.iteritems()]
33300
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
33301
 
33302
  def __eq__(self, other):
33303
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
33304
 
33305
  def __ne__(self, other):
33306
    return not (self == other)
12892 kshitij.so 33307
 
33308
class getAllFbgListedItems_args:
33309
 
33310
  thrift_spec = (
33311
  )
33312
 
33313
  def read(self, iprot):
33314
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
33315
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
33316
      return
33317
    iprot.readStructBegin()
33318
    while True:
33319
      (fname, ftype, fid) = iprot.readFieldBegin()
33320
      if ftype == TType.STOP:
33321
        break
33322
      else:
33323
        iprot.skip(ftype)
33324
      iprot.readFieldEnd()
33325
    iprot.readStructEnd()
33326
 
33327
  def write(self, oprot):
33328
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
33329
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
33330
      return
33331
    oprot.writeStructBegin('getAllFbgListedItems_args')
33332
    oprot.writeFieldStop()
33333
    oprot.writeStructEnd()
33334
 
33335
  def validate(self):
33336
    return
33337
 
33338
 
33339
  def __repr__(self):
33340
    L = ['%s=%r' % (key, value)
33341
      for key, value in self.__dict__.iteritems()]
33342
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
33343
 
33344
  def __eq__(self, other):
33345
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
33346
 
33347
  def __ne__(self, other):
33348
    return not (self == other)
33349
 
33350
class getAllFbgListedItems_result:
33351
  """
33352
  Attributes:
33353
   - success
33354
  """
33355
 
33356
  thrift_spec = (
33357
    (0, TType.LIST, 'success', (TType.STRUCT,(Amazonlisted, Amazonlisted.thrift_spec)), None, ), # 0
33358
  )
33359
 
33360
  def __init__(self, success=None,):
33361
    self.success = success
33362
 
33363
  def read(self, iprot):
33364
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
33365
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
33366
      return
33367
    iprot.readStructBegin()
33368
    while True:
33369
      (fname, ftype, fid) = iprot.readFieldBegin()
33370
      if ftype == TType.STOP:
33371
        break
33372
      if fid == 0:
33373
        if ftype == TType.LIST:
33374
          self.success = []
21838 amit.gupta 33375
          (_etype823, _size820) = iprot.readListBegin()
33376
          for _i824 in xrange(_size820):
33377
            _elem825 = Amazonlisted()
33378
            _elem825.read(iprot)
33379
            self.success.append(_elem825)
12892 kshitij.so 33380
          iprot.readListEnd()
33381
        else:
33382
          iprot.skip(ftype)
33383
      else:
33384
        iprot.skip(ftype)
33385
      iprot.readFieldEnd()
33386
    iprot.readStructEnd()
33387
 
33388
  def write(self, oprot):
33389
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
33390
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
33391
      return
33392
    oprot.writeStructBegin('getAllFbgListedItems_result')
33393
    if self.success is not None:
33394
      oprot.writeFieldBegin('success', TType.LIST, 0)
33395
      oprot.writeListBegin(TType.STRUCT, len(self.success))
21838 amit.gupta 33396
      for iter826 in self.success:
33397
        iter826.write(oprot)
12892 kshitij.so 33398
      oprot.writeListEnd()
33399
      oprot.writeFieldEnd()
33400
    oprot.writeFieldStop()
33401
    oprot.writeStructEnd()
33402
 
33403
  def validate(self):
33404
    return
33405
 
33406
 
33407
  def __repr__(self):
33408
    L = ['%s=%r' % (key, value)
33409
      for key, value in self.__dict__.iteritems()]
33410
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
33411
 
33412
  def __eq__(self, other):
33413
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
33414
 
33415
  def __ne__(self, other):
33416
    return not (self == other)
13136 amit.gupta 33417
 
33418
class checkServices_args:
33419
  """
33420
  Attributes:
33421
   - lines
33422
  """
33423
 
33424
  thrift_spec = (
33425
    None, # 0
33426
    (1, TType.MAP, 'lines', (TType.I64,None,TType.MAP,(TType.STRING,None,TType.I64,None)), None, ), # 1
33427
  )
33428
 
33429
  def __init__(self, lines=None,):
33430
    self.lines = lines
33431
 
33432
  def read(self, iprot):
33433
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
33434
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
33435
      return
33436
    iprot.readStructBegin()
33437
    while True:
33438
      (fname, ftype, fid) = iprot.readFieldBegin()
33439
      if ftype == TType.STOP:
33440
        break
33441
      if fid == 1:
33442
        if ftype == TType.MAP:
33443
          self.lines = {}
21838 amit.gupta 33444
          (_ktype828, _vtype829, _size827 ) = iprot.readMapBegin() 
33445
          for _i831 in xrange(_size827):
33446
            _key832 = iprot.readI64();
33447
            _val833 = {}
33448
            (_ktype835, _vtype836, _size834 ) = iprot.readMapBegin() 
33449
            for _i838 in xrange(_size834):
33450
              _key839 = iprot.readString();
33451
              _val840 = iprot.readI64();
33452
              _val833[_key839] = _val840
13136 amit.gupta 33453
            iprot.readMapEnd()
21838 amit.gupta 33454
            self.lines[_key832] = _val833
13136 amit.gupta 33455
          iprot.readMapEnd()
33456
        else:
33457
          iprot.skip(ftype)
33458
      else:
33459
        iprot.skip(ftype)
33460
      iprot.readFieldEnd()
33461
    iprot.readStructEnd()
33462
 
33463
  def write(self, oprot):
33464
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
33465
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
33466
      return
33467
    oprot.writeStructBegin('checkServices_args')
33468
    if self.lines is not None:
33469
      oprot.writeFieldBegin('lines', TType.MAP, 1)
33470
      oprot.writeMapBegin(TType.I64, TType.MAP, len(self.lines))
21838 amit.gupta 33471
      for kiter841,viter842 in self.lines.items():
33472
        oprot.writeI64(kiter841)
33473
        oprot.writeMapBegin(TType.STRING, TType.I64, len(viter842))
33474
        for kiter843,viter844 in viter842.items():
33475
          oprot.writeString(kiter843)
33476
          oprot.writeI64(viter844)
13136 amit.gupta 33477
        oprot.writeMapEnd()
33478
      oprot.writeMapEnd()
33479
      oprot.writeFieldEnd()
33480
    oprot.writeFieldStop()
33481
    oprot.writeStructEnd()
33482
 
33483
  def validate(self):
33484
    return
33485
 
33486
 
33487
  def __repr__(self):
33488
    L = ['%s=%r' % (key, value)
33489
      for key, value in self.__dict__.iteritems()]
33490
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
33491
 
33492
  def __eq__(self, other):
33493
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
33494
 
33495
  def __ne__(self, other):
33496
    return not (self == other)
33497
 
33498
class checkServices_result:
33499
  """
33500
  Attributes:
33501
   - success
33502
   - cex
33503
  """
33504
 
33505
  thrift_spec = (
33506
    (0, TType.MAP, 'success', (TType.I64,None,TType.MAP,(TType.STRING,None,TType.I64,None)), None, ), # 0
33507
    (1, TType.STRUCT, 'cex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
33508
  )
33509
 
33510
  def __init__(self, success=None, cex=None,):
33511
    self.success = success
33512
    self.cex = cex
33513
 
33514
  def read(self, iprot):
33515
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
33516
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
33517
      return
33518
    iprot.readStructBegin()
33519
    while True:
33520
      (fname, ftype, fid) = iprot.readFieldBegin()
33521
      if ftype == TType.STOP:
33522
        break
33523
      if fid == 0:
33524
        if ftype == TType.MAP:
33525
          self.success = {}
21838 amit.gupta 33526
          (_ktype846, _vtype847, _size845 ) = iprot.readMapBegin() 
33527
          for _i849 in xrange(_size845):
33528
            _key850 = iprot.readI64();
33529
            _val851 = {}
33530
            (_ktype853, _vtype854, _size852 ) = iprot.readMapBegin() 
33531
            for _i856 in xrange(_size852):
33532
              _key857 = iprot.readString();
33533
              _val858 = iprot.readI64();
33534
              _val851[_key857] = _val858
13136 amit.gupta 33535
            iprot.readMapEnd()
21838 amit.gupta 33536
            self.success[_key850] = _val851
13136 amit.gupta 33537
          iprot.readMapEnd()
33538
        else:
33539
          iprot.skip(ftype)
33540
      elif fid == 1:
33541
        if ftype == TType.STRUCT:
33542
          self.cex = CatalogServiceException()
33543
          self.cex.read(iprot)
33544
        else:
33545
          iprot.skip(ftype)
33546
      else:
33547
        iprot.skip(ftype)
33548
      iprot.readFieldEnd()
33549
    iprot.readStructEnd()
33550
 
33551
  def write(self, oprot):
33552
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
33553
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
33554
      return
33555
    oprot.writeStructBegin('checkServices_result')
33556
    if self.success is not None:
33557
      oprot.writeFieldBegin('success', TType.MAP, 0)
33558
      oprot.writeMapBegin(TType.I64, TType.MAP, len(self.success))
21838 amit.gupta 33559
      for kiter859,viter860 in self.success.items():
33560
        oprot.writeI64(kiter859)
33561
        oprot.writeMapBegin(TType.STRING, TType.I64, len(viter860))
33562
        for kiter861,viter862 in viter860.items():
33563
          oprot.writeString(kiter861)
33564
          oprot.writeI64(viter862)
13136 amit.gupta 33565
        oprot.writeMapEnd()
33566
      oprot.writeMapEnd()
33567
      oprot.writeFieldEnd()
33568
    if self.cex is not None:
33569
      oprot.writeFieldBegin('cex', TType.STRUCT, 1)
33570
      self.cex.write(oprot)
33571
      oprot.writeFieldEnd()
33572
    oprot.writeFieldStop()
33573
    oprot.writeStructEnd()
33574
 
33575
  def validate(self):
33576
    return
33577
 
33578
 
33579
  def __repr__(self):
33580
    L = ['%s=%r' % (key, value)
33581
      for key, value in self.__dict__.iteritems()]
33582
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
33583
 
33584
  def __eq__(self, other):
33585
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
33586
 
33587
  def __ne__(self, other):
33588
    return not (self == other)
13709 manish.sha 33589
 
33590
class addHsItem_args:
33591
  """
33592
  Attributes:
33593
   - hsItems
33594
  """
33595
 
33596
  thrift_spec = (
33597
    None, # 0
33598
    (1, TType.LIST, 'hsItems', (TType.STRUCT,(HsItem, HsItem.thrift_spec)), None, ), # 1
33599
  )
33600
 
33601
  def __init__(self, hsItems=None,):
33602
    self.hsItems = hsItems
33603
 
33604
  def read(self, iprot):
33605
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
33606
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
33607
      return
33608
    iprot.readStructBegin()
33609
    while True:
33610
      (fname, ftype, fid) = iprot.readFieldBegin()
33611
      if ftype == TType.STOP:
33612
        break
33613
      if fid == 1:
33614
        if ftype == TType.LIST:
33615
          self.hsItems = []
21838 amit.gupta 33616
          (_etype866, _size863) = iprot.readListBegin()
33617
          for _i867 in xrange(_size863):
33618
            _elem868 = HsItem()
33619
            _elem868.read(iprot)
33620
            self.hsItems.append(_elem868)
13709 manish.sha 33621
          iprot.readListEnd()
33622
        else:
33623
          iprot.skip(ftype)
33624
      else:
33625
        iprot.skip(ftype)
33626
      iprot.readFieldEnd()
33627
    iprot.readStructEnd()
33628
 
33629
  def write(self, oprot):
33630
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
33631
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
33632
      return
33633
    oprot.writeStructBegin('addHsItem_args')
33634
    if self.hsItems is not None:
33635
      oprot.writeFieldBegin('hsItems', TType.LIST, 1)
33636
      oprot.writeListBegin(TType.STRUCT, len(self.hsItems))
21838 amit.gupta 33637
      for iter869 in self.hsItems:
33638
        iter869.write(oprot)
13709 manish.sha 33639
      oprot.writeListEnd()
33640
      oprot.writeFieldEnd()
33641
    oprot.writeFieldStop()
33642
    oprot.writeStructEnd()
33643
 
33644
  def validate(self):
33645
    return
33646
 
33647
 
33648
  def __repr__(self):
33649
    L = ['%s=%r' % (key, value)
33650
      for key, value in self.__dict__.iteritems()]
33651
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
33652
 
33653
  def __eq__(self, other):
33654
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
33655
 
33656
  def __ne__(self, other):
33657
    return not (self == other)
33658
 
33659
class addHsItem_result:
33660
 
33661
  thrift_spec = (
33662
  )
33663
 
33664
  def read(self, iprot):
33665
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
33666
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
33667
      return
33668
    iprot.readStructBegin()
33669
    while True:
33670
      (fname, ftype, fid) = iprot.readFieldBegin()
33671
      if ftype == TType.STOP:
33672
        break
33673
      else:
33674
        iprot.skip(ftype)
33675
      iprot.readFieldEnd()
33676
    iprot.readStructEnd()
33677
 
33678
  def write(self, oprot):
33679
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
33680
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
33681
      return
33682
    oprot.writeStructBegin('addHsItem_result')
33683
    oprot.writeFieldStop()
33684
    oprot.writeStructEnd()
33685
 
33686
  def validate(self):
33687
    return
33688
 
33689
 
33690
  def __repr__(self):
33691
    L = ['%s=%r' % (key, value)
33692
      for key, value in self.__dict__.iteritems()]
33693
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
33694
 
33695
  def __eq__(self, other):
33696
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
33697
 
33698
  def __ne__(self, other):
33699
    return not (self == other)
33700
 
33701
class getHsItem_args:
33702
  """
33703
  Attributes:
33704
   - hsItemId
33705
  """
33706
 
33707
  thrift_spec = (
33708
    None, # 0
33709
    (1, TType.STRING, 'hsItemId', None, None, ), # 1
33710
  )
33711
 
33712
  def __init__(self, hsItemId=None,):
33713
    self.hsItemId = hsItemId
33714
 
33715
  def read(self, iprot):
33716
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
33717
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
33718
      return
33719
    iprot.readStructBegin()
33720
    while True:
33721
      (fname, ftype, fid) = iprot.readFieldBegin()
33722
      if ftype == TType.STOP:
33723
        break
33724
      if fid == 1:
33725
        if ftype == TType.STRING:
33726
          self.hsItemId = iprot.readString();
33727
        else:
33728
          iprot.skip(ftype)
33729
      else:
33730
        iprot.skip(ftype)
33731
      iprot.readFieldEnd()
33732
    iprot.readStructEnd()
33733
 
33734
  def write(self, oprot):
33735
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
33736
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
33737
      return
33738
    oprot.writeStructBegin('getHsItem_args')
33739
    if self.hsItemId is not None:
33740
      oprot.writeFieldBegin('hsItemId', TType.STRING, 1)
33741
      oprot.writeString(self.hsItemId)
33742
      oprot.writeFieldEnd()
33743
    oprot.writeFieldStop()
33744
    oprot.writeStructEnd()
33745
 
33746
  def validate(self):
33747
    return
33748
 
33749
 
33750
  def __repr__(self):
33751
    L = ['%s=%r' % (key, value)
33752
      for key, value in self.__dict__.iteritems()]
33753
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
33754
 
33755
  def __eq__(self, other):
33756
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
33757
 
33758
  def __ne__(self, other):
33759
    return not (self == other)
33760
 
33761
class getHsItem_result:
33762
  """
33763
  Attributes:
33764
   - success
33765
  """
33766
 
33767
  thrift_spec = (
33768
    (0, TType.STRUCT, 'success', (HsItem, HsItem.thrift_spec), None, ), # 0
33769
  )
33770
 
33771
  def __init__(self, success=None,):
33772
    self.success = success
33773
 
33774
  def read(self, iprot):
33775
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
33776
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
33777
      return
33778
    iprot.readStructBegin()
33779
    while True:
33780
      (fname, ftype, fid) = iprot.readFieldBegin()
33781
      if ftype == TType.STOP:
33782
        break
33783
      if fid == 0:
33784
        if ftype == TType.STRUCT:
33785
          self.success = HsItem()
33786
          self.success.read(iprot)
33787
        else:
33788
          iprot.skip(ftype)
33789
      else:
33790
        iprot.skip(ftype)
33791
      iprot.readFieldEnd()
33792
    iprot.readStructEnd()
33793
 
33794
  def write(self, oprot):
33795
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
33796
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
33797
      return
33798
    oprot.writeStructBegin('getHsItem_result')
33799
    if self.success is not None:
33800
      oprot.writeFieldBegin('success', TType.STRUCT, 0)
33801
      self.success.write(oprot)
33802
      oprot.writeFieldEnd()
33803
    oprot.writeFieldStop()
33804
    oprot.writeStructEnd()
33805
 
33806
  def validate(self):
33807
    return
33808
 
33809
 
33810
  def __repr__(self):
33811
    L = ['%s=%r' % (key, value)
33812
      for key, value in self.__dict__.iteritems()]
33813
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
33814
 
33815
  def __eq__(self, other):
33816
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
33817
 
33818
  def __ne__(self, other):
33819
    return not (self == other)
33820
 
33821
class updateHsItem_args:
33822
  """
33823
  Attributes:
33824
   - hsItem
33825
  """
33826
 
33827
  thrift_spec = (
33828
    None, # 0
33829
    (1, TType.STRUCT, 'hsItem', (HsItem, HsItem.thrift_spec), None, ), # 1
33830
  )
33831
 
33832
  def __init__(self, hsItem=None,):
33833
    self.hsItem = hsItem
33834
 
33835
  def read(self, iprot):
33836
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
33837
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
33838
      return
33839
    iprot.readStructBegin()
33840
    while True:
33841
      (fname, ftype, fid) = iprot.readFieldBegin()
33842
      if ftype == TType.STOP:
33843
        break
33844
      if fid == 1:
33845
        if ftype == TType.STRUCT:
33846
          self.hsItem = HsItem()
33847
          self.hsItem.read(iprot)
33848
        else:
33849
          iprot.skip(ftype)
33850
      else:
33851
        iprot.skip(ftype)
33852
      iprot.readFieldEnd()
33853
    iprot.readStructEnd()
33854
 
33855
  def write(self, oprot):
33856
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
33857
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
33858
      return
33859
    oprot.writeStructBegin('updateHsItem_args')
33860
    if self.hsItem is not None:
33861
      oprot.writeFieldBegin('hsItem', TType.STRUCT, 1)
33862
      self.hsItem.write(oprot)
33863
      oprot.writeFieldEnd()
33864
    oprot.writeFieldStop()
33865
    oprot.writeStructEnd()
33866
 
33867
  def validate(self):
33868
    return
33869
 
33870
 
33871
  def __repr__(self):
33872
    L = ['%s=%r' % (key, value)
33873
      for key, value in self.__dict__.iteritems()]
33874
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
33875
 
33876
  def __eq__(self, other):
33877
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
33878
 
33879
  def __ne__(self, other):
33880
    return not (self == other)
33881
 
33882
class updateHsItem_result:
33883
 
33884
  thrift_spec = (
33885
  )
33886
 
33887
  def read(self, iprot):
33888
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
33889
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
33890
      return
33891
    iprot.readStructBegin()
33892
    while True:
33893
      (fname, ftype, fid) = iprot.readFieldBegin()
33894
      if ftype == TType.STOP:
33895
        break
33896
      else:
33897
        iprot.skip(ftype)
33898
      iprot.readFieldEnd()
33899
    iprot.readStructEnd()
33900
 
33901
  def write(self, oprot):
33902
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
33903
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
33904
      return
33905
    oprot.writeStructBegin('updateHsItem_result')
33906
    oprot.writeFieldStop()
33907
    oprot.writeStructEnd()
33908
 
33909
  def validate(self):
33910
    return
33911
 
33912
 
33913
  def __repr__(self):
33914
    L = ['%s=%r' % (key, value)
33915
      for key, value in self.__dict__.iteritems()]
33916
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
33917
 
33918
  def __eq__(self, other):
33919
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
33920
 
33921
  def __ne__(self, other):
33922
    return not (self == other)
14182 kshitij.so 33923
 
33924
class getPricingForDtr_args:
33925
  """
33926
  Attributes:
33927
   - catalogItemId
33928
  """
33929
 
33930
  thrift_spec = (
33931
    None, # 0
33932
    (1, TType.I64, 'catalogItemId', None, None, ), # 1
33933
  )
33934
 
33935
  def __init__(self, catalogItemId=None,):
33936
    self.catalogItemId = catalogItemId
33937
 
33938
  def read(self, iprot):
33939
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
33940
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
33941
      return
33942
    iprot.readStructBegin()
33943
    while True:
33944
      (fname, ftype, fid) = iprot.readFieldBegin()
33945
      if ftype == TType.STOP:
33946
        break
33947
      if fid == 1:
33948
        if ftype == TType.I64:
33949
          self.catalogItemId = iprot.readI64();
33950
        else:
33951
          iprot.skip(ftype)
33952
      else:
33953
        iprot.skip(ftype)
33954
      iprot.readFieldEnd()
33955
    iprot.readStructEnd()
33956
 
33957
  def write(self, oprot):
33958
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
33959
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
33960
      return
33961
    oprot.writeStructBegin('getPricingForDtr_args')
33962
    if self.catalogItemId is not None:
33963
      oprot.writeFieldBegin('catalogItemId', TType.I64, 1)
33964
      oprot.writeI64(self.catalogItemId)
33965
      oprot.writeFieldEnd()
33966
    oprot.writeFieldStop()
33967
    oprot.writeStructEnd()
33968
 
33969
  def validate(self):
33970
    return
33971
 
33972
 
33973
  def __repr__(self):
33974
    L = ['%s=%r' % (key, value)
33975
      for key, value in self.__dict__.iteritems()]
33976
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
33977
 
33978
  def __eq__(self, other):
33979
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
33980
 
33981
  def __ne__(self, other):
33982
    return not (self == other)
33983
 
33984
class getPricingForDtr_result:
33985
  """
33986
  Attributes:
33987
   - success
33988
  """
33989
 
33990
  thrift_spec = (
18719 kshitij.so 33991
    (0, TType.STRUCT, 'success', (DtrPricing, DtrPricing.thrift_spec), None, ), # 0
14182 kshitij.so 33992
  )
33993
 
33994
  def __init__(self, success=None,):
33995
    self.success = success
33996
 
33997
  def read(self, iprot):
33998
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
33999
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
34000
      return
34001
    iprot.readStructBegin()
34002
    while True:
34003
      (fname, ftype, fid) = iprot.readFieldBegin()
34004
      if ftype == TType.STOP:
34005
        break
34006
      if fid == 0:
34007
        if ftype == TType.STRUCT:
18719 kshitij.so 34008
          self.success = DtrPricing()
14182 kshitij.so 34009
          self.success.read(iprot)
34010
        else:
34011
          iprot.skip(ftype)
34012
      else:
34013
        iprot.skip(ftype)
34014
      iprot.readFieldEnd()
34015
    iprot.readStructEnd()
34016
 
34017
  def write(self, oprot):
34018
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
34019
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
34020
      return
34021
    oprot.writeStructBegin('getPricingForDtr_result')
34022
    if self.success is not None:
34023
      oprot.writeFieldBegin('success', TType.STRUCT, 0)
34024
      self.success.write(oprot)
34025
      oprot.writeFieldEnd()
34026
    oprot.writeFieldStop()
34027
    oprot.writeStructEnd()
34028
 
34029
  def validate(self):
34030
    return
34031
 
34032
 
34033
  def __repr__(self):
34034
    L = ['%s=%r' % (key, value)
34035
      for key, value in self.__dict__.iteritems()]
34036
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
34037
 
34038
  def __eq__(self, other):
34039
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
34040
 
34041
  def __ne__(self, other):
34042
    return not (self == other)
15702 kshitij.so 34043
 
34044
class getAllItemstoListOnFbd_args:
34045
 
34046
  thrift_spec = (
34047
  )
34048
 
34049
  def read(self, iprot):
34050
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
34051
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
34052
      return
34053
    iprot.readStructBegin()
34054
    while True:
34055
      (fname, ftype, fid) = iprot.readFieldBegin()
34056
      if ftype == TType.STOP:
34057
        break
34058
      else:
34059
        iprot.skip(ftype)
34060
      iprot.readFieldEnd()
34061
    iprot.readStructEnd()
34062
 
34063
  def write(self, oprot):
34064
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
34065
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
34066
      return
34067
    oprot.writeStructBegin('getAllItemstoListOnFbd_args')
34068
    oprot.writeFieldStop()
34069
    oprot.writeStructEnd()
34070
 
34071
  def validate(self):
34072
    return
34073
 
34074
 
34075
  def __repr__(self):
34076
    L = ['%s=%r' % (key, value)
34077
      for key, value in self.__dict__.iteritems()]
34078
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
34079
 
34080
  def __eq__(self, other):
34081
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
34082
 
34083
  def __ne__(self, other):
34084
    return not (self == other)
34085
 
34086
class getAllItemstoListOnFbd_result:
34087
  """
34088
  Attributes:
34089
   - success
34090
  """
34091
 
34092
  thrift_spec = (
34093
    (0, TType.LIST, 'success', (TType.STRUCT,(Amazonlisted, Amazonlisted.thrift_spec)), None, ), # 0
34094
  )
34095
 
34096
  def __init__(self, success=None,):
34097
    self.success = success
34098
 
34099
  def read(self, iprot):
34100
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
34101
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
34102
      return
34103
    iprot.readStructBegin()
34104
    while True:
34105
      (fname, ftype, fid) = iprot.readFieldBegin()
34106
      if ftype == TType.STOP:
34107
        break
34108
      if fid == 0:
34109
        if ftype == TType.LIST:
34110
          self.success = []
21838 amit.gupta 34111
          (_etype873, _size870) = iprot.readListBegin()
34112
          for _i874 in xrange(_size870):
34113
            _elem875 = Amazonlisted()
34114
            _elem875.read(iprot)
34115
            self.success.append(_elem875)
15702 kshitij.so 34116
          iprot.readListEnd()
34117
        else:
34118
          iprot.skip(ftype)
34119
      else:
34120
        iprot.skip(ftype)
34121
      iprot.readFieldEnd()
34122
    iprot.readStructEnd()
34123
 
34124
  def write(self, oprot):
34125
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
34126
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
34127
      return
34128
    oprot.writeStructBegin('getAllItemstoListOnFbd_result')
34129
    if self.success is not None:
34130
      oprot.writeFieldBegin('success', TType.LIST, 0)
34131
      oprot.writeListBegin(TType.STRUCT, len(self.success))
21838 amit.gupta 34132
      for iter876 in self.success:
34133
        iter876.write(oprot)
15702 kshitij.so 34134
      oprot.writeListEnd()
34135
      oprot.writeFieldEnd()
34136
    oprot.writeFieldStop()
34137
    oprot.writeStructEnd()
34138
 
34139
  def validate(self):
34140
    return
34141
 
34142
 
34143
  def __repr__(self):
34144
    L = ['%s=%r' % (key, value)
34145
      for key, value in self.__dict__.iteritems()]
34146
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
34147
 
34148
  def __eq__(self, other):
34149
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
34150
 
34151
  def __ne__(self, other):
34152
    return not (self == other)
15706 kshitij.so 34153
 
34154
class getAllFbdListedItems_args:
34155
 
34156
  thrift_spec = (
34157
  )
34158
 
34159
  def read(self, iprot):
34160
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
34161
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
34162
      return
34163
    iprot.readStructBegin()
34164
    while True:
34165
      (fname, ftype, fid) = iprot.readFieldBegin()
34166
      if ftype == TType.STOP:
34167
        break
34168
      else:
34169
        iprot.skip(ftype)
34170
      iprot.readFieldEnd()
34171
    iprot.readStructEnd()
34172
 
34173
  def write(self, oprot):
34174
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
34175
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
34176
      return
34177
    oprot.writeStructBegin('getAllFbdListedItems_args')
34178
    oprot.writeFieldStop()
34179
    oprot.writeStructEnd()
34180
 
34181
  def validate(self):
34182
    return
34183
 
34184
 
34185
  def __repr__(self):
34186
    L = ['%s=%r' % (key, value)
34187
      for key, value in self.__dict__.iteritems()]
34188
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
34189
 
34190
  def __eq__(self, other):
34191
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
34192
 
34193
  def __ne__(self, other):
34194
    return not (self == other)
34195
 
34196
class getAllFbdListedItems_result:
34197
  """
34198
  Attributes:
34199
   - success
34200
  """
34201
 
34202
  thrift_spec = (
34203
    (0, TType.LIST, 'success', (TType.STRUCT,(Amazonlisted, Amazonlisted.thrift_spec)), None, ), # 0
34204
  )
34205
 
34206
  def __init__(self, success=None,):
34207
    self.success = success
34208
 
34209
  def read(self, iprot):
34210
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
34211
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
34212
      return
34213
    iprot.readStructBegin()
34214
    while True:
34215
      (fname, ftype, fid) = iprot.readFieldBegin()
34216
      if ftype == TType.STOP:
34217
        break
34218
      if fid == 0:
34219
        if ftype == TType.LIST:
34220
          self.success = []
21838 amit.gupta 34221
          (_etype880, _size877) = iprot.readListBegin()
34222
          for _i881 in xrange(_size877):
34223
            _elem882 = Amazonlisted()
34224
            _elem882.read(iprot)
34225
            self.success.append(_elem882)
15706 kshitij.so 34226
          iprot.readListEnd()
34227
        else:
34228
          iprot.skip(ftype)
34229
      else:
34230
        iprot.skip(ftype)
34231
      iprot.readFieldEnd()
34232
    iprot.readStructEnd()
34233
 
34234
  def write(self, oprot):
34235
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
34236
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
34237
      return
34238
    oprot.writeStructBegin('getAllFbdListedItems_result')
34239
    if self.success is not None:
34240
      oprot.writeFieldBegin('success', TType.LIST, 0)
34241
      oprot.writeListBegin(TType.STRUCT, len(self.success))
21838 amit.gupta 34242
      for iter883 in self.success:
34243
        iter883.write(oprot)
15706 kshitij.so 34244
      oprot.writeListEnd()
34245
      oprot.writeFieldEnd()
34246
    oprot.writeFieldStop()
34247
    oprot.writeStructEnd()
34248
 
34249
  def validate(self):
34250
    return
34251
 
34252
 
34253
  def __repr__(self):
34254
    L = ['%s=%r' % (key, value)
34255
      for key, value in self.__dict__.iteritems()]
34256
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
34257
 
34258
  def __eq__(self, other):
34259
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
34260
 
34261
  def __ne__(self, other):
34262
    return not (self == other)
18150 kshitij.so 34263
 
34264
class getBulkPricingForItems_args:
34265
  """
34266
  Attributes:
34267
   - itemIds
34268
  """
34269
 
34270
  thrift_spec = (
34271
    None, # 0
34272
    (1, TType.LIST, 'itemIds', (TType.I64,None), None, ), # 1
34273
  )
34274
 
34275
  def __init__(self, itemIds=None,):
34276
    self.itemIds = itemIds
34277
 
34278
  def read(self, iprot):
34279
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
34280
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
34281
      return
34282
    iprot.readStructBegin()
34283
    while True:
34284
      (fname, ftype, fid) = iprot.readFieldBegin()
34285
      if ftype == TType.STOP:
34286
        break
34287
      if fid == 1:
34288
        if ftype == TType.LIST:
34289
          self.itemIds = []
21838 amit.gupta 34290
          (_etype887, _size884) = iprot.readListBegin()
34291
          for _i888 in xrange(_size884):
34292
            _elem889 = iprot.readI64();
34293
            self.itemIds.append(_elem889)
18150 kshitij.so 34294
          iprot.readListEnd()
34295
        else:
34296
          iprot.skip(ftype)
34297
      else:
34298
        iprot.skip(ftype)
34299
      iprot.readFieldEnd()
34300
    iprot.readStructEnd()
34301
 
34302
  def write(self, oprot):
34303
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
34304
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
34305
      return
34306
    oprot.writeStructBegin('getBulkPricingForItems_args')
34307
    if self.itemIds is not None:
34308
      oprot.writeFieldBegin('itemIds', TType.LIST, 1)
34309
      oprot.writeListBegin(TType.I64, len(self.itemIds))
21838 amit.gupta 34310
      for iter890 in self.itemIds:
34311
        oprot.writeI64(iter890)
18150 kshitij.so 34312
      oprot.writeListEnd()
34313
      oprot.writeFieldEnd()
34314
    oprot.writeFieldStop()
34315
    oprot.writeStructEnd()
34316
 
34317
  def validate(self):
34318
    return
34319
 
34320
 
34321
  def __repr__(self):
34322
    L = ['%s=%r' % (key, value)
34323
      for key, value in self.__dict__.iteritems()]
34324
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
34325
 
34326
  def __eq__(self, other):
34327
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
34328
 
34329
  def __ne__(self, other):
34330
    return not (self == other)
34331
 
34332
class getBulkPricingForItems_result:
34333
  """
34334
  Attributes:
34335
   - success
34336
  """
34337
 
34338
  thrift_spec = (
34339
    (0, TType.MAP, 'success', (TType.I64,None,TType.LIST,(TType.STRUCT,(BulkItemPricing, BulkItemPricing.thrift_spec))), None, ), # 0
34340
  )
34341
 
34342
  def __init__(self, success=None,):
34343
    self.success = success
34344
 
34345
  def read(self, iprot):
34346
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
34347
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
34348
      return
34349
    iprot.readStructBegin()
34350
    while True:
34351
      (fname, ftype, fid) = iprot.readFieldBegin()
34352
      if ftype == TType.STOP:
34353
        break
34354
      if fid == 0:
34355
        if ftype == TType.MAP:
34356
          self.success = {}
21838 amit.gupta 34357
          (_ktype892, _vtype893, _size891 ) = iprot.readMapBegin() 
34358
          for _i895 in xrange(_size891):
34359
            _key896 = iprot.readI64();
34360
            _val897 = []
34361
            (_etype901, _size898) = iprot.readListBegin()
34362
            for _i902 in xrange(_size898):
34363
              _elem903 = BulkItemPricing()
34364
              _elem903.read(iprot)
34365
              _val897.append(_elem903)
18150 kshitij.so 34366
            iprot.readListEnd()
21838 amit.gupta 34367
            self.success[_key896] = _val897
18150 kshitij.so 34368
          iprot.readMapEnd()
34369
        else:
34370
          iprot.skip(ftype)
34371
      else:
34372
        iprot.skip(ftype)
34373
      iprot.readFieldEnd()
34374
    iprot.readStructEnd()
34375
 
34376
  def write(self, oprot):
34377
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
34378
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
34379
      return
34380
    oprot.writeStructBegin('getBulkPricingForItems_result')
34381
    if self.success is not None:
34382
      oprot.writeFieldBegin('success', TType.MAP, 0)
34383
      oprot.writeMapBegin(TType.I64, TType.LIST, len(self.success))
21838 amit.gupta 34384
      for kiter904,viter905 in self.success.items():
34385
        oprot.writeI64(kiter904)
34386
        oprot.writeListBegin(TType.STRUCT, len(viter905))
34387
        for iter906 in viter905:
34388
          iter906.write(oprot)
18150 kshitij.so 34389
        oprot.writeListEnd()
34390
      oprot.writeMapEnd()
34391
      oprot.writeFieldEnd()
34392
    oprot.writeFieldStop()
34393
    oprot.writeStructEnd()
34394
 
34395
  def validate(self):
34396
    return
34397
 
34398
 
34399
  def __repr__(self):
34400
    L = ['%s=%r' % (key, value)
34401
      for key, value in self.__dict__.iteritems()]
34402
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
34403
 
34404
  def __eq__(self, other):
34405
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
34406
 
34407
  def __ne__(self, other):
34408
    return not (self == other)
34409
 
34410
class addBulkPricingForItem_args:
34411
  """
34412
  Attributes:
34413
   - bulkItemPricing
34414
  """
34415
 
34416
  thrift_spec = (
34417
    None, # 0
34418
    (1, TType.STRUCT, 'bulkItemPricing', (BulkItemPricing, BulkItemPricing.thrift_spec), None, ), # 1
34419
  )
34420
 
34421
  def __init__(self, bulkItemPricing=None,):
34422
    self.bulkItemPricing = bulkItemPricing
34423
 
34424
  def read(self, iprot):
34425
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
34426
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
34427
      return
34428
    iprot.readStructBegin()
34429
    while True:
34430
      (fname, ftype, fid) = iprot.readFieldBegin()
34431
      if ftype == TType.STOP:
34432
        break
34433
      if fid == 1:
34434
        if ftype == TType.STRUCT:
34435
          self.bulkItemPricing = BulkItemPricing()
34436
          self.bulkItemPricing.read(iprot)
34437
        else:
34438
          iprot.skip(ftype)
34439
      else:
34440
        iprot.skip(ftype)
34441
      iprot.readFieldEnd()
34442
    iprot.readStructEnd()
34443
 
34444
  def write(self, oprot):
34445
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
34446
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
34447
      return
34448
    oprot.writeStructBegin('addBulkPricingForItem_args')
34449
    if self.bulkItemPricing is not None:
34450
      oprot.writeFieldBegin('bulkItemPricing', TType.STRUCT, 1)
34451
      self.bulkItemPricing.write(oprot)
34452
      oprot.writeFieldEnd()
34453
    oprot.writeFieldStop()
34454
    oprot.writeStructEnd()
34455
 
34456
  def validate(self):
34457
    return
34458
 
34459
 
34460
  def __repr__(self):
34461
    L = ['%s=%r' % (key, value)
34462
      for key, value in self.__dict__.iteritems()]
34463
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
34464
 
34465
  def __eq__(self, other):
34466
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
34467
 
34468
  def __ne__(self, other):
34469
    return not (self == other)
34470
 
34471
class addBulkPricingForItem_result:
34472
  """
34473
  Attributes:
34474
   - success
34475
  """
34476
 
34477
  thrift_spec = (
34478
    (0, TType.STRUCT, 'success', (BulkItemPricing, BulkItemPricing.thrift_spec), None, ), # 0
34479
  )
34480
 
34481
  def __init__(self, success=None,):
34482
    self.success = success
34483
 
34484
  def read(self, iprot):
34485
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
34486
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
34487
      return
34488
    iprot.readStructBegin()
34489
    while True:
34490
      (fname, ftype, fid) = iprot.readFieldBegin()
34491
      if ftype == TType.STOP:
34492
        break
34493
      if fid == 0:
34494
        if ftype == TType.STRUCT:
34495
          self.success = BulkItemPricing()
34496
          self.success.read(iprot)
34497
        else:
34498
          iprot.skip(ftype)
34499
      else:
34500
        iprot.skip(ftype)
34501
      iprot.readFieldEnd()
34502
    iprot.readStructEnd()
34503
 
34504
  def write(self, oprot):
34505
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
34506
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
34507
      return
34508
    oprot.writeStructBegin('addBulkPricingForItem_result')
34509
    if self.success is not None:
34510
      oprot.writeFieldBegin('success', TType.STRUCT, 0)
34511
      self.success.write(oprot)
34512
      oprot.writeFieldEnd()
34513
    oprot.writeFieldStop()
34514
    oprot.writeStructEnd()
34515
 
34516
  def validate(self):
34517
    return
34518
 
34519
 
34520
  def __repr__(self):
34521
    L = ['%s=%r' % (key, value)
34522
      for key, value in self.__dict__.iteritems()]
34523
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
34524
 
34525
  def __eq__(self, other):
34526
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
34527
 
34528
  def __ne__(self, other):
34529
    return not (self == other)
34530
 
34531
class deleteBulkPricingForItemById_args:
34532
  """
34533
  Attributes:
34534
   - id
34535
  """
34536
 
34537
  thrift_spec = (
34538
    None, # 0
34539
    (1, TType.I64, 'id', None, None, ), # 1
34540
  )
34541
 
34542
  def __init__(self, id=None,):
34543
    self.id = id
34544
 
34545
  def read(self, iprot):
34546
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
34547
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
34548
      return
34549
    iprot.readStructBegin()
34550
    while True:
34551
      (fname, ftype, fid) = iprot.readFieldBegin()
34552
      if ftype == TType.STOP:
34553
        break
34554
      if fid == 1:
34555
        if ftype == TType.I64:
34556
          self.id = iprot.readI64();
34557
        else:
34558
          iprot.skip(ftype)
34559
      else:
34560
        iprot.skip(ftype)
34561
      iprot.readFieldEnd()
34562
    iprot.readStructEnd()
34563
 
34564
  def write(self, oprot):
34565
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
34566
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
34567
      return
34568
    oprot.writeStructBegin('deleteBulkPricingForItemById_args')
34569
    if self.id is not None:
34570
      oprot.writeFieldBegin('id', TType.I64, 1)
34571
      oprot.writeI64(self.id)
34572
      oprot.writeFieldEnd()
34573
    oprot.writeFieldStop()
34574
    oprot.writeStructEnd()
34575
 
34576
  def validate(self):
34577
    return
34578
 
34579
 
34580
  def __repr__(self):
34581
    L = ['%s=%r' % (key, value)
34582
      for key, value in self.__dict__.iteritems()]
34583
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
34584
 
34585
  def __eq__(self, other):
34586
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
34587
 
34588
  def __ne__(self, other):
34589
    return not (self == other)
34590
 
34591
class deleteBulkPricingForItemById_result:
34592
  """
34593
  Attributes:
34594
   - success
34595
  """
34596
 
34597
  thrift_spec = (
34598
    (0, TType.BOOL, 'success', None, None, ), # 0
34599
  )
34600
 
34601
  def __init__(self, success=None,):
34602
    self.success = success
34603
 
34604
  def read(self, iprot):
34605
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
34606
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
34607
      return
34608
    iprot.readStructBegin()
34609
    while True:
34610
      (fname, ftype, fid) = iprot.readFieldBegin()
34611
      if ftype == TType.STOP:
34612
        break
34613
      if fid == 0:
34614
        if ftype == TType.BOOL:
34615
          self.success = iprot.readBool();
34616
        else:
34617
          iprot.skip(ftype)
34618
      else:
34619
        iprot.skip(ftype)
34620
      iprot.readFieldEnd()
34621
    iprot.readStructEnd()
34622
 
34623
  def write(self, oprot):
34624
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
34625
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
34626
      return
34627
    oprot.writeStructBegin('deleteBulkPricingForItemById_result')
34628
    if self.success is not None:
34629
      oprot.writeFieldBegin('success', TType.BOOL, 0)
34630
      oprot.writeBool(self.success)
34631
      oprot.writeFieldEnd()
34632
    oprot.writeFieldStop()
34633
    oprot.writeStructEnd()
34634
 
34635
  def validate(self):
34636
    return
34637
 
34638
 
34639
  def __repr__(self):
34640
    L = ['%s=%r' % (key, value)
34641
      for key, value in self.__dict__.iteritems()]
34642
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
34643
 
34644
  def __eq__(self, other):
34645
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
34646
 
34647
  def __ne__(self, other):
34648
    return not (self == other)
34649
 
34650
class deleteBulkPricingForItem_args:
34651
  """
34652
  Attributes:
34653
   - item_id
34654
  """
34655
 
34656
  thrift_spec = (
34657
    None, # 0
34658
    (1, TType.I64, 'item_id', None, None, ), # 1
34659
  )
34660
 
34661
  def __init__(self, item_id=None,):
34662
    self.item_id = item_id
34663
 
34664
  def read(self, iprot):
34665
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
34666
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
34667
      return
34668
    iprot.readStructBegin()
34669
    while True:
34670
      (fname, ftype, fid) = iprot.readFieldBegin()
34671
      if ftype == TType.STOP:
34672
        break
34673
      if fid == 1:
34674
        if ftype == TType.I64:
34675
          self.item_id = iprot.readI64();
34676
        else:
34677
          iprot.skip(ftype)
34678
      else:
34679
        iprot.skip(ftype)
34680
      iprot.readFieldEnd()
34681
    iprot.readStructEnd()
34682
 
34683
  def write(self, oprot):
34684
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
34685
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
34686
      return
34687
    oprot.writeStructBegin('deleteBulkPricingForItem_args')
34688
    if self.item_id is not None:
34689
      oprot.writeFieldBegin('item_id', TType.I64, 1)
34690
      oprot.writeI64(self.item_id)
34691
      oprot.writeFieldEnd()
34692
    oprot.writeFieldStop()
34693
    oprot.writeStructEnd()
34694
 
34695
  def validate(self):
34696
    return
34697
 
34698
 
34699
  def __repr__(self):
34700
    L = ['%s=%r' % (key, value)
34701
      for key, value in self.__dict__.iteritems()]
34702
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
34703
 
34704
  def __eq__(self, other):
34705
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
34706
 
34707
  def __ne__(self, other):
34708
    return not (self == other)
34709
 
34710
class deleteBulkPricingForItem_result:
34711
  """
34712
  Attributes:
34713
   - success
34714
  """
34715
 
34716
  thrift_spec = (
34717
    (0, TType.BOOL, 'success', None, None, ), # 0
34718
  )
34719
 
34720
  def __init__(self, success=None,):
34721
    self.success = success
34722
 
34723
  def read(self, iprot):
34724
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
34725
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
34726
      return
34727
    iprot.readStructBegin()
34728
    while True:
34729
      (fname, ftype, fid) = iprot.readFieldBegin()
34730
      if ftype == TType.STOP:
34731
        break
34732
      if fid == 0:
34733
        if ftype == TType.BOOL:
34734
          self.success = iprot.readBool();
34735
        else:
34736
          iprot.skip(ftype)
34737
      else:
34738
        iprot.skip(ftype)
34739
      iprot.readFieldEnd()
34740
    iprot.readStructEnd()
34741
 
34742
  def write(self, oprot):
34743
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
34744
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
34745
      return
34746
    oprot.writeStructBegin('deleteBulkPricingForItem_result')
34747
    if self.success is not None:
34748
      oprot.writeFieldBegin('success', TType.BOOL, 0)
34749
      oprot.writeBool(self.success)
34750
      oprot.writeFieldEnd()
34751
    oprot.writeFieldStop()
34752
    oprot.writeStructEnd()
34753
 
34754
  def validate(self):
34755
    return
34756
 
34757
 
34758
  def __repr__(self):
34759
    L = ['%s=%r' % (key, value)
34760
      for key, value in self.__dict__.iteritems()]
34761
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
34762
 
34763
  def __eq__(self, other):
34764
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
34765
 
34766
  def __ne__(self, other):
34767
    return not (self == other)
34768
 
34769
class getBulkPricingByItemId_args:
34770
  """
34771
  Attributes:
34772
   - item_id
34773
  """
34774
 
34775
  thrift_spec = (
34776
    None, # 0
34777
    (1, TType.I64, 'item_id', None, None, ), # 1
34778
  )
34779
 
34780
  def __init__(self, item_id=None,):
34781
    self.item_id = item_id
34782
 
34783
  def read(self, iprot):
34784
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
34785
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
34786
      return
34787
    iprot.readStructBegin()
34788
    while True:
34789
      (fname, ftype, fid) = iprot.readFieldBegin()
34790
      if ftype == TType.STOP:
34791
        break
34792
      if fid == 1:
34793
        if ftype == TType.I64:
34794
          self.item_id = iprot.readI64();
34795
        else:
34796
          iprot.skip(ftype)
34797
      else:
34798
        iprot.skip(ftype)
34799
      iprot.readFieldEnd()
34800
    iprot.readStructEnd()
34801
 
34802
  def write(self, oprot):
34803
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
34804
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
34805
      return
34806
    oprot.writeStructBegin('getBulkPricingByItemId_args')
34807
    if self.item_id is not None:
34808
      oprot.writeFieldBegin('item_id', TType.I64, 1)
34809
      oprot.writeI64(self.item_id)
34810
      oprot.writeFieldEnd()
34811
    oprot.writeFieldStop()
34812
    oprot.writeStructEnd()
34813
 
34814
  def validate(self):
34815
    return
34816
 
34817
 
34818
  def __repr__(self):
34819
    L = ['%s=%r' % (key, value)
34820
      for key, value in self.__dict__.iteritems()]
34821
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
34822
 
34823
  def __eq__(self, other):
34824
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
34825
 
34826
  def __ne__(self, other):
34827
    return not (self == other)
34828
 
34829
class getBulkPricingByItemId_result:
34830
  """
34831
  Attributes:
34832
   - success
34833
  """
34834
 
34835
  thrift_spec = (
34836
    (0, TType.LIST, 'success', (TType.STRUCT,(BulkItemPricing, BulkItemPricing.thrift_spec)), None, ), # 0
34837
  )
34838
 
34839
  def __init__(self, success=None,):
34840
    self.success = success
34841
 
34842
  def read(self, iprot):
34843
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
34844
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
34845
      return
34846
    iprot.readStructBegin()
34847
    while True:
34848
      (fname, ftype, fid) = iprot.readFieldBegin()
34849
      if ftype == TType.STOP:
34850
        break
34851
      if fid == 0:
34852
        if ftype == TType.LIST:
34853
          self.success = []
21838 amit.gupta 34854
          (_etype910, _size907) = iprot.readListBegin()
34855
          for _i911 in xrange(_size907):
34856
            _elem912 = BulkItemPricing()
34857
            _elem912.read(iprot)
34858
            self.success.append(_elem912)
18150 kshitij.so 34859
          iprot.readListEnd()
34860
        else:
34861
          iprot.skip(ftype)
34862
      else:
34863
        iprot.skip(ftype)
34864
      iprot.readFieldEnd()
34865
    iprot.readStructEnd()
34866
 
34867
  def write(self, oprot):
34868
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
34869
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
34870
      return
34871
    oprot.writeStructBegin('getBulkPricingByItemId_result')
34872
    if self.success is not None:
34873
      oprot.writeFieldBegin('success', TType.LIST, 0)
34874
      oprot.writeListBegin(TType.STRUCT, len(self.success))
21838 amit.gupta 34875
      for iter913 in self.success:
34876
        iter913.write(oprot)
18150 kshitij.so 34877
      oprot.writeListEnd()
34878
      oprot.writeFieldEnd()
34879
    oprot.writeFieldStop()
34880
    oprot.writeStructEnd()
34881
 
34882
  def validate(self):
34883
    return
34884
 
34885
 
34886
  def __repr__(self):
34887
    L = ['%s=%r' % (key, value)
34888
      for key, value in self.__dict__.iteritems()]
34889
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
34890
 
34891
  def __eq__(self, other):
34892
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
34893
 
34894
  def __ne__(self, other):
34895
    return not (self == other)
18602 kshitij.so 34896
 
34897
class updateBulkPricesOnProduction_args:
34898
  """
34899
  Attributes:
34900
   - item_id
34901
   - bulkItemPricingList
34902
  """
34903
 
34904
  thrift_spec = (
34905
    None, # 0
34906
    (1, TType.I64, 'item_id', None, None, ), # 1
34907
    (2, TType.LIST, 'bulkItemPricingList', (TType.STRUCT,(BulkItemPricing, BulkItemPricing.thrift_spec)), None, ), # 2
34908
  )
34909
 
34910
  def __init__(self, item_id=None, bulkItemPricingList=None,):
34911
    self.item_id = item_id
34912
    self.bulkItemPricingList = bulkItemPricingList
34913
 
34914
  def read(self, iprot):
34915
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
34916
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
34917
      return
34918
    iprot.readStructBegin()
34919
    while True:
34920
      (fname, ftype, fid) = iprot.readFieldBegin()
34921
      if ftype == TType.STOP:
34922
        break
34923
      if fid == 1:
34924
        if ftype == TType.I64:
34925
          self.item_id = iprot.readI64();
34926
        else:
34927
          iprot.skip(ftype)
34928
      elif fid == 2:
34929
        if ftype == TType.LIST:
34930
          self.bulkItemPricingList = []
21838 amit.gupta 34931
          (_etype917, _size914) = iprot.readListBegin()
34932
          for _i918 in xrange(_size914):
34933
            _elem919 = BulkItemPricing()
34934
            _elem919.read(iprot)
34935
            self.bulkItemPricingList.append(_elem919)
18602 kshitij.so 34936
          iprot.readListEnd()
34937
        else:
34938
          iprot.skip(ftype)
34939
      else:
34940
        iprot.skip(ftype)
34941
      iprot.readFieldEnd()
34942
    iprot.readStructEnd()
34943
 
34944
  def write(self, oprot):
34945
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
34946
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
34947
      return
34948
    oprot.writeStructBegin('updateBulkPricesOnProduction_args')
34949
    if self.item_id is not None:
34950
      oprot.writeFieldBegin('item_id', TType.I64, 1)
34951
      oprot.writeI64(self.item_id)
34952
      oprot.writeFieldEnd()
34953
    if self.bulkItemPricingList is not None:
34954
      oprot.writeFieldBegin('bulkItemPricingList', TType.LIST, 2)
34955
      oprot.writeListBegin(TType.STRUCT, len(self.bulkItemPricingList))
21838 amit.gupta 34956
      for iter920 in self.bulkItemPricingList:
34957
        iter920.write(oprot)
18602 kshitij.so 34958
      oprot.writeListEnd()
34959
      oprot.writeFieldEnd()
34960
    oprot.writeFieldStop()
34961
    oprot.writeStructEnd()
34962
 
34963
  def validate(self):
34964
    return
34965
 
34966
 
34967
  def __repr__(self):
34968
    L = ['%s=%r' % (key, value)
34969
      for key, value in self.__dict__.iteritems()]
34970
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
34971
 
34972
  def __eq__(self, other):
34973
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
34974
 
34975
  def __ne__(self, other):
34976
    return not (self == other)
34977
 
34978
class updateBulkPricesOnProduction_result:
34979
  """
34980
  Attributes:
34981
   - success
34982
  """
34983
 
34984
  thrift_spec = (
34985
    (0, TType.BOOL, 'success', None, None, ), # 0
34986
  )
34987
 
34988
  def __init__(self, success=None,):
34989
    self.success = success
34990
 
34991
  def read(self, iprot):
34992
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
34993
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
34994
      return
34995
    iprot.readStructBegin()
34996
    while True:
34997
      (fname, ftype, fid) = iprot.readFieldBegin()
34998
      if ftype == TType.STOP:
34999
        break
35000
      if fid == 0:
35001
        if ftype == TType.BOOL:
35002
          self.success = iprot.readBool();
35003
        else:
35004
          iprot.skip(ftype)
35005
      else:
35006
        iprot.skip(ftype)
35007
      iprot.readFieldEnd()
35008
    iprot.readStructEnd()
35009
 
35010
  def write(self, oprot):
35011
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
35012
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
35013
      return
35014
    oprot.writeStructBegin('updateBulkPricesOnProduction_result')
35015
    if self.success is not None:
35016
      oprot.writeFieldBegin('success', TType.BOOL, 0)
35017
      oprot.writeBool(self.success)
35018
      oprot.writeFieldEnd()
35019
    oprot.writeFieldStop()
35020
    oprot.writeStructEnd()
35021
 
35022
  def validate(self):
35023
    return
35024
 
35025
 
35026
  def __repr__(self):
35027
    L = ['%s=%r' % (key, value)
35028
      for key, value in self.__dict__.iteritems()]
35029
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
35030
 
35031
  def __eq__(self, other):
35032
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
35033
 
35034
  def __ne__(self, other):
35035
    return not (self == other)
18764 kshitij.so 35036
 
35037
class getCartByValue_args:
35038
  """
35039
  Attributes:
35040
   - cartIds
35041
  """
35042
 
35043
  thrift_spec = (
35044
    None, # 0
35045
    (1, TType.LIST, 'cartIds', (TType.I64,None), None, ), # 1
35046
  )
35047
 
35048
  def __init__(self, cartIds=None,):
35049
    self.cartIds = cartIds
35050
 
35051
  def read(self, iprot):
35052
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
35053
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
35054
      return
35055
    iprot.readStructBegin()
35056
    while True:
35057
      (fname, ftype, fid) = iprot.readFieldBegin()
35058
      if ftype == TType.STOP:
35059
        break
35060
      if fid == 1:
35061
        if ftype == TType.LIST:
35062
          self.cartIds = []
21838 amit.gupta 35063
          (_etype924, _size921) = iprot.readListBegin()
35064
          for _i925 in xrange(_size921):
35065
            _elem926 = iprot.readI64();
35066
            self.cartIds.append(_elem926)
18764 kshitij.so 35067
          iprot.readListEnd()
35068
        else:
35069
          iprot.skip(ftype)
35070
      else:
35071
        iprot.skip(ftype)
35072
      iprot.readFieldEnd()
35073
    iprot.readStructEnd()
35074
 
35075
  def write(self, oprot):
35076
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
35077
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
35078
      return
35079
    oprot.writeStructBegin('getCartByValue_args')
35080
    if self.cartIds is not None:
35081
      oprot.writeFieldBegin('cartIds', TType.LIST, 1)
35082
      oprot.writeListBegin(TType.I64, len(self.cartIds))
21838 amit.gupta 35083
      for iter927 in self.cartIds:
35084
        oprot.writeI64(iter927)
18764 kshitij.so 35085
      oprot.writeListEnd()
35086
      oprot.writeFieldEnd()
35087
    oprot.writeFieldStop()
35088
    oprot.writeStructEnd()
35089
 
35090
  def validate(self):
35091
    return
35092
 
35093
 
35094
  def __repr__(self):
35095
    L = ['%s=%r' % (key, value)
35096
      for key, value in self.__dict__.iteritems()]
35097
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
35098
 
35099
  def __eq__(self, other):
35100
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
35101
 
35102
  def __ne__(self, other):
35103
    return not (self == other)
35104
 
35105
class getCartByValue_result:
35106
  """
35107
  Attributes:
35108
   - success
35109
  """
35110
 
35111
  thrift_spec = (
35112
    (0, TType.LIST, 'success', (TType.I64,None), None, ), # 0
35113
  )
35114
 
35115
  def __init__(self, success=None,):
35116
    self.success = success
35117
 
35118
  def read(self, iprot):
35119
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
35120
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
35121
      return
35122
    iprot.readStructBegin()
35123
    while True:
35124
      (fname, ftype, fid) = iprot.readFieldBegin()
35125
      if ftype == TType.STOP:
35126
        break
35127
      if fid == 0:
35128
        if ftype == TType.LIST:
35129
          self.success = []
21838 amit.gupta 35130
          (_etype931, _size928) = iprot.readListBegin()
35131
          for _i932 in xrange(_size928):
35132
            _elem933 = iprot.readI64();
35133
            self.success.append(_elem933)
18764 kshitij.so 35134
          iprot.readListEnd()
35135
        else:
35136
          iprot.skip(ftype)
35137
      else:
35138
        iprot.skip(ftype)
35139
      iprot.readFieldEnd()
35140
    iprot.readStructEnd()
35141
 
35142
  def write(self, oprot):
35143
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
35144
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
35145
      return
35146
    oprot.writeStructBegin('getCartByValue_result')
35147
    if self.success is not None:
35148
      oprot.writeFieldBegin('success', TType.LIST, 0)
35149
      oprot.writeListBegin(TType.I64, len(self.success))
21838 amit.gupta 35150
      for iter934 in self.success:
35151
        oprot.writeI64(iter934)
18764 kshitij.so 35152
      oprot.writeListEnd()
35153
      oprot.writeFieldEnd()
35154
    oprot.writeFieldStop()
35155
    oprot.writeStructEnd()
35156
 
35157
  def validate(self):
35158
    return
35159
 
35160
 
35161
  def __repr__(self):
35162
    L = ['%s=%r' % (key, value)
35163
      for key, value in self.__dict__.iteritems()]
35164
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
35165
 
35166
  def __eq__(self, other):
35167
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
35168
 
35169
  def __ne__(self, other):
35170
    return not (self == other)
19247 kshitij.so 35171
 
35172
class updateItemPricing_args:
35173
  """
35174
  Attributes:
35175
   - itemPricingList
35176
  """
35177
 
35178
  thrift_spec = (
35179
    None, # 0
35180
    (1, TType.LIST, 'itemPricingList', (TType.STRUCT,(ItemPricing, ItemPricing.thrift_spec)), None, ), # 1
35181
  )
35182
 
35183
  def __init__(self, itemPricingList=None,):
35184
    self.itemPricingList = itemPricingList
35185
 
35186
  def read(self, iprot):
35187
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
35188
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
35189
      return
35190
    iprot.readStructBegin()
35191
    while True:
35192
      (fname, ftype, fid) = iprot.readFieldBegin()
35193
      if ftype == TType.STOP:
35194
        break
35195
      if fid == 1:
35196
        if ftype == TType.LIST:
35197
          self.itemPricingList = []
21838 amit.gupta 35198
          (_etype938, _size935) = iprot.readListBegin()
35199
          for _i939 in xrange(_size935):
35200
            _elem940 = ItemPricing()
35201
            _elem940.read(iprot)
35202
            self.itemPricingList.append(_elem940)
19247 kshitij.so 35203
          iprot.readListEnd()
35204
        else:
35205
          iprot.skip(ftype)
35206
      else:
35207
        iprot.skip(ftype)
35208
      iprot.readFieldEnd()
35209
    iprot.readStructEnd()
35210
 
35211
  def write(self, oprot):
35212
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
35213
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
35214
      return
35215
    oprot.writeStructBegin('updateItemPricing_args')
35216
    if self.itemPricingList is not None:
35217
      oprot.writeFieldBegin('itemPricingList', TType.LIST, 1)
35218
      oprot.writeListBegin(TType.STRUCT, len(self.itemPricingList))
21838 amit.gupta 35219
      for iter941 in self.itemPricingList:
35220
        iter941.write(oprot)
19247 kshitij.so 35221
      oprot.writeListEnd()
35222
      oprot.writeFieldEnd()
35223
    oprot.writeFieldStop()
35224
    oprot.writeStructEnd()
35225
 
35226
  def validate(self):
35227
    return
35228
 
35229
 
35230
  def __repr__(self):
35231
    L = ['%s=%r' % (key, value)
35232
      for key, value in self.__dict__.iteritems()]
35233
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
35234
 
35235
  def __eq__(self, other):
35236
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
35237
 
35238
  def __ne__(self, other):
35239
    return not (self == other)
35240
 
35241
class updateItemPricing_result:
35242
  """
35243
  Attributes:
35244
   - success
35245
  """
35246
 
35247
  thrift_spec = (
35248
    (0, TType.BOOL, 'success', None, None, ), # 0
35249
  )
35250
 
35251
  def __init__(self, success=None,):
35252
    self.success = success
35253
 
35254
  def read(self, iprot):
35255
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
35256
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
35257
      return
35258
    iprot.readStructBegin()
35259
    while True:
35260
      (fname, ftype, fid) = iprot.readFieldBegin()
35261
      if ftype == TType.STOP:
35262
        break
35263
      if fid == 0:
35264
        if ftype == TType.BOOL:
35265
          self.success = iprot.readBool();
35266
        else:
35267
          iprot.skip(ftype)
35268
      else:
35269
        iprot.skip(ftype)
35270
      iprot.readFieldEnd()
35271
    iprot.readStructEnd()
35272
 
35273
  def write(self, oprot):
35274
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
35275
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
35276
      return
35277
    oprot.writeStructBegin('updateItemPricing_result')
35278
    if self.success is not None:
35279
      oprot.writeFieldBegin('success', TType.BOOL, 0)
35280
      oprot.writeBool(self.success)
35281
      oprot.writeFieldEnd()
35282
    oprot.writeFieldStop()
35283
    oprot.writeStructEnd()
35284
 
35285
  def validate(self):
35286
    return
35287
 
35288
 
35289
  def __repr__(self):
35290
    L = ['%s=%r' % (key, value)
35291
      for key, value in self.__dict__.iteritems()]
35292
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
35293
 
35294
  def __eq__(self, other):
35295
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
35296
 
35297
  def __ne__(self, other):
35298
    return not (self == other)
19686 kshitij.so 35299
 
35300
class bulkUpdateCatalog_args:
35301
  """
35302
  Attributes:
35303
   - bulkUploadCatalog
35304
  """
35305
 
35306
  thrift_spec = (
35307
    None, # 0
35308
    (1, TType.LIST, 'bulkUploadCatalog', (TType.STRUCT,(BulkUploadCatalog, BulkUploadCatalog.thrift_spec)), None, ), # 1
35309
  )
35310
 
35311
  def __init__(self, bulkUploadCatalog=None,):
35312
    self.bulkUploadCatalog = bulkUploadCatalog
35313
 
35314
  def read(self, iprot):
35315
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
35316
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
35317
      return
35318
    iprot.readStructBegin()
35319
    while True:
35320
      (fname, ftype, fid) = iprot.readFieldBegin()
35321
      if ftype == TType.STOP:
35322
        break
35323
      if fid == 1:
35324
        if ftype == TType.LIST:
35325
          self.bulkUploadCatalog = []
21838 amit.gupta 35326
          (_etype945, _size942) = iprot.readListBegin()
35327
          for _i946 in xrange(_size942):
35328
            _elem947 = BulkUploadCatalog()
35329
            _elem947.read(iprot)
35330
            self.bulkUploadCatalog.append(_elem947)
19686 kshitij.so 35331
          iprot.readListEnd()
35332
        else:
35333
          iprot.skip(ftype)
35334
      else:
35335
        iprot.skip(ftype)
35336
      iprot.readFieldEnd()
35337
    iprot.readStructEnd()
35338
 
35339
  def write(self, oprot):
35340
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
35341
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
35342
      return
35343
    oprot.writeStructBegin('bulkUpdateCatalog_args')
35344
    if self.bulkUploadCatalog is not None:
35345
      oprot.writeFieldBegin('bulkUploadCatalog', TType.LIST, 1)
35346
      oprot.writeListBegin(TType.STRUCT, len(self.bulkUploadCatalog))
21838 amit.gupta 35347
      for iter948 in self.bulkUploadCatalog:
35348
        iter948.write(oprot)
19686 kshitij.so 35349
      oprot.writeListEnd()
35350
      oprot.writeFieldEnd()
35351
    oprot.writeFieldStop()
35352
    oprot.writeStructEnd()
35353
 
35354
  def validate(self):
35355
    return
35356
 
35357
 
35358
  def __repr__(self):
35359
    L = ['%s=%r' % (key, value)
35360
      for key, value in self.__dict__.iteritems()]
35361
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
35362
 
35363
  def __eq__(self, other):
35364
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
35365
 
35366
  def __ne__(self, other):
35367
    return not (self == other)
35368
 
35369
class bulkUpdateCatalog_result:
35370
  """
35371
  Attributes:
35372
   - cex
35373
  """
35374
 
35375
  thrift_spec = (
35376
    None, # 0
35377
    (1, TType.STRUCT, 'cex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
35378
  )
35379
 
35380
  def __init__(self, cex=None,):
35381
    self.cex = cex
35382
 
35383
  def read(self, iprot):
35384
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
35385
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
35386
      return
35387
    iprot.readStructBegin()
35388
    while True:
35389
      (fname, ftype, fid) = iprot.readFieldBegin()
35390
      if ftype == TType.STOP:
35391
        break
35392
      if fid == 1:
35393
        if ftype == TType.STRUCT:
35394
          self.cex = CatalogServiceException()
35395
          self.cex.read(iprot)
35396
        else:
35397
          iprot.skip(ftype)
35398
      else:
35399
        iprot.skip(ftype)
35400
      iprot.readFieldEnd()
35401
    iprot.readStructEnd()
35402
 
35403
  def write(self, oprot):
35404
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
35405
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
35406
      return
35407
    oprot.writeStructBegin('bulkUpdateCatalog_result')
35408
    if self.cex is not None:
35409
      oprot.writeFieldBegin('cex', TType.STRUCT, 1)
35410
      self.cex.write(oprot)
35411
      oprot.writeFieldEnd()
35412
    oprot.writeFieldStop()
35413
    oprot.writeStructEnd()
35414
 
35415
  def validate(self):
35416
    return
35417
 
35418
 
35419
  def __repr__(self):
35420
    L = ['%s=%r' % (key, value)
35421
      for key, value in self.__dict__.iteritems()]
35422
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
35423
 
35424
  def __eq__(self, other):
35425
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
35426
 
35427
  def __ne__(self, other):
35428
    return not (self == other)
19691 manish.sha 35429
 
35430
class getWarrantyInfoForItem_args:
35431
  """
35432
  Attributes:
19714 manish.sha 35433
   - catalogItemId
19691 manish.sha 35434
   - itemCondition
35435
  """
35436
 
35437
  thrift_spec = (
35438
    None, # 0
19714 manish.sha 35439
    (1, TType.I64, 'catalogItemId', None, None, ), # 1
19691 manish.sha 35440
    (2, TType.I32, 'itemCondition', None, None, ), # 2
35441
  )
35442
 
19714 manish.sha 35443
  def __init__(self, catalogItemId=None, itemCondition=None,):
35444
    self.catalogItemId = catalogItemId
19691 manish.sha 35445
    self.itemCondition = itemCondition
35446
 
35447
  def read(self, iprot):
35448
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
35449
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
35450
      return
35451
    iprot.readStructBegin()
35452
    while True:
35453
      (fname, ftype, fid) = iprot.readFieldBegin()
35454
      if ftype == TType.STOP:
35455
        break
35456
      if fid == 1:
35457
        if ftype == TType.I64:
19714 manish.sha 35458
          self.catalogItemId = iprot.readI64();
19691 manish.sha 35459
        else:
35460
          iprot.skip(ftype)
35461
      elif fid == 2:
35462
        if ftype == TType.I32:
35463
          self.itemCondition = iprot.readI32();
35464
        else:
35465
          iprot.skip(ftype)
35466
      else:
35467
        iprot.skip(ftype)
35468
      iprot.readFieldEnd()
35469
    iprot.readStructEnd()
35470
 
35471
  def write(self, oprot):
35472
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
35473
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
35474
      return
35475
    oprot.writeStructBegin('getWarrantyInfoForItem_args')
19714 manish.sha 35476
    if self.catalogItemId is not None:
35477
      oprot.writeFieldBegin('catalogItemId', TType.I64, 1)
35478
      oprot.writeI64(self.catalogItemId)
19691 manish.sha 35479
      oprot.writeFieldEnd()
35480
    if self.itemCondition is not None:
35481
      oprot.writeFieldBegin('itemCondition', TType.I32, 2)
35482
      oprot.writeI32(self.itemCondition)
35483
      oprot.writeFieldEnd()
35484
    oprot.writeFieldStop()
35485
    oprot.writeStructEnd()
35486
 
35487
  def validate(self):
35488
    return
35489
 
35490
 
35491
  def __repr__(self):
35492
    L = ['%s=%r' % (key, value)
35493
      for key, value in self.__dict__.iteritems()]
35494
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
35495
 
35496
  def __eq__(self, other):
35497
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
35498
 
35499
  def __ne__(self, other):
35500
    return not (self == other)
35501
 
35502
class getWarrantyInfoForItem_result:
35503
  """
35504
  Attributes:
35505
   - success
35506
   - cex
35507
  """
35508
 
35509
  thrift_spec = (
35510
    (0, TType.MAP, 'success', (TType.STRING,None,TType.I64,None), None, ), # 0
35511
    (1, TType.STRUCT, 'cex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
35512
  )
35513
 
35514
  def __init__(self, success=None, cex=None,):
35515
    self.success = success
35516
    self.cex = cex
35517
 
35518
  def read(self, iprot):
35519
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
35520
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
35521
      return
35522
    iprot.readStructBegin()
35523
    while True:
35524
      (fname, ftype, fid) = iprot.readFieldBegin()
35525
      if ftype == TType.STOP:
35526
        break
35527
      if fid == 0:
35528
        if ftype == TType.MAP:
35529
          self.success = {}
21838 amit.gupta 35530
          (_ktype950, _vtype951, _size949 ) = iprot.readMapBegin() 
35531
          for _i953 in xrange(_size949):
35532
            _key954 = iprot.readString();
35533
            _val955 = iprot.readI64();
35534
            self.success[_key954] = _val955
19691 manish.sha 35535
          iprot.readMapEnd()
35536
        else:
35537
          iprot.skip(ftype)
35538
      elif fid == 1:
35539
        if ftype == TType.STRUCT:
35540
          self.cex = CatalogServiceException()
35541
          self.cex.read(iprot)
35542
        else:
35543
          iprot.skip(ftype)
35544
      else:
35545
        iprot.skip(ftype)
35546
      iprot.readFieldEnd()
35547
    iprot.readStructEnd()
35548
 
35549
  def write(self, oprot):
35550
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
35551
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
35552
      return
35553
    oprot.writeStructBegin('getWarrantyInfoForItem_result')
35554
    if self.success is not None:
35555
      oprot.writeFieldBegin('success', TType.MAP, 0)
35556
      oprot.writeMapBegin(TType.STRING, TType.I64, len(self.success))
21838 amit.gupta 35557
      for kiter956,viter957 in self.success.items():
35558
        oprot.writeString(kiter956)
35559
        oprot.writeI64(viter957)
19691 manish.sha 35560
      oprot.writeMapEnd()
35561
      oprot.writeFieldEnd()
35562
    if self.cex is not None:
35563
      oprot.writeFieldBegin('cex', TType.STRUCT, 1)
35564
      self.cex.write(oprot)
35565
      oprot.writeFieldEnd()
35566
    oprot.writeFieldStop()
35567
    oprot.writeStructEnd()
35568
 
35569
  def validate(self):
35570
    return
35571
 
35572
 
35573
  def __repr__(self):
35574
    L = ['%s=%r' % (key, value)
35575
      for key, value in self.__dict__.iteritems()]
35576
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
35577
 
35578
  def __eq__(self, other):
35579
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
35580
 
35581
  def __ne__(self, other):
35582
    return not (self == other)
19714 manish.sha 35583
 
35584
class getWarrantyInfoForItemList_args:
35585
  """
35586
  Attributes:
35587
   - catalogItemIds
35588
   - itemCondition
35589
  """
35590
 
35591
  thrift_spec = (
35592
    None, # 0
35593
    (1, TType.LIST, 'catalogItemIds', (TType.I64,None), None, ), # 1
35594
    (2, TType.I32, 'itemCondition', None, None, ), # 2
35595
  )
35596
 
35597
  def __init__(self, catalogItemIds=None, itemCondition=None,):
35598
    self.catalogItemIds = catalogItemIds
35599
    self.itemCondition = itemCondition
35600
 
35601
  def read(self, iprot):
35602
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
35603
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
35604
      return
35605
    iprot.readStructBegin()
35606
    while True:
35607
      (fname, ftype, fid) = iprot.readFieldBegin()
35608
      if ftype == TType.STOP:
35609
        break
35610
      if fid == 1:
35611
        if ftype == TType.LIST:
35612
          self.catalogItemIds = []
21838 amit.gupta 35613
          (_etype961, _size958) = iprot.readListBegin()
35614
          for _i962 in xrange(_size958):
35615
            _elem963 = iprot.readI64();
35616
            self.catalogItemIds.append(_elem963)
19714 manish.sha 35617
          iprot.readListEnd()
35618
        else:
35619
          iprot.skip(ftype)
35620
      elif fid == 2:
35621
        if ftype == TType.I32:
35622
          self.itemCondition = iprot.readI32();
35623
        else:
35624
          iprot.skip(ftype)
35625
      else:
35626
        iprot.skip(ftype)
35627
      iprot.readFieldEnd()
35628
    iprot.readStructEnd()
35629
 
35630
  def write(self, oprot):
35631
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
35632
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
35633
      return
35634
    oprot.writeStructBegin('getWarrantyInfoForItemList_args')
35635
    if self.catalogItemIds is not None:
35636
      oprot.writeFieldBegin('catalogItemIds', TType.LIST, 1)
35637
      oprot.writeListBegin(TType.I64, len(self.catalogItemIds))
21838 amit.gupta 35638
      for iter964 in self.catalogItemIds:
35639
        oprot.writeI64(iter964)
19714 manish.sha 35640
      oprot.writeListEnd()
35641
      oprot.writeFieldEnd()
35642
    if self.itemCondition is not None:
35643
      oprot.writeFieldBegin('itemCondition', TType.I32, 2)
35644
      oprot.writeI32(self.itemCondition)
35645
      oprot.writeFieldEnd()
35646
    oprot.writeFieldStop()
35647
    oprot.writeStructEnd()
35648
 
35649
  def validate(self):
35650
    return
35651
 
35652
 
35653
  def __repr__(self):
35654
    L = ['%s=%r' % (key, value)
35655
      for key, value in self.__dict__.iteritems()]
35656
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
35657
 
35658
  def __eq__(self, other):
35659
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
35660
 
35661
  def __ne__(self, other):
35662
    return not (self == other)
35663
 
35664
class getWarrantyInfoForItemList_result:
35665
  """
35666
  Attributes:
35667
   - success
35668
   - cex
35669
  """
35670
 
35671
  thrift_spec = (
35672
    (0, TType.MAP, 'success', (TType.I64,None,TType.MAP,(TType.STRING,None,TType.I64,None)), None, ), # 0
35673
    (1, TType.STRUCT, 'cex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
35674
  )
35675
 
35676
  def __init__(self, success=None, cex=None,):
35677
    self.success = success
35678
    self.cex = cex
35679
 
35680
  def read(self, iprot):
35681
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
35682
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
35683
      return
35684
    iprot.readStructBegin()
35685
    while True:
35686
      (fname, ftype, fid) = iprot.readFieldBegin()
35687
      if ftype == TType.STOP:
35688
        break
35689
      if fid == 0:
35690
        if ftype == TType.MAP:
35691
          self.success = {}
21838 amit.gupta 35692
          (_ktype966, _vtype967, _size965 ) = iprot.readMapBegin() 
35693
          for _i969 in xrange(_size965):
35694
            _key970 = iprot.readI64();
35695
            _val971 = {}
35696
            (_ktype973, _vtype974, _size972 ) = iprot.readMapBegin() 
35697
            for _i976 in xrange(_size972):
35698
              _key977 = iprot.readString();
35699
              _val978 = iprot.readI64();
35700
              _val971[_key977] = _val978
19714 manish.sha 35701
            iprot.readMapEnd()
21838 amit.gupta 35702
            self.success[_key970] = _val971
19714 manish.sha 35703
          iprot.readMapEnd()
35704
        else:
35705
          iprot.skip(ftype)
35706
      elif fid == 1:
35707
        if ftype == TType.STRUCT:
35708
          self.cex = CatalogServiceException()
35709
          self.cex.read(iprot)
35710
        else:
35711
          iprot.skip(ftype)
35712
      else:
35713
        iprot.skip(ftype)
35714
      iprot.readFieldEnd()
35715
    iprot.readStructEnd()
35716
 
35717
  def write(self, oprot):
35718
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
35719
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
35720
      return
35721
    oprot.writeStructBegin('getWarrantyInfoForItemList_result')
35722
    if self.success is not None:
35723
      oprot.writeFieldBegin('success', TType.MAP, 0)
35724
      oprot.writeMapBegin(TType.I64, TType.MAP, len(self.success))
21838 amit.gupta 35725
      for kiter979,viter980 in self.success.items():
35726
        oprot.writeI64(kiter979)
35727
        oprot.writeMapBegin(TType.STRING, TType.I64, len(viter980))
35728
        for kiter981,viter982 in viter980.items():
35729
          oprot.writeString(kiter981)
35730
          oprot.writeI64(viter982)
19714 manish.sha 35731
        oprot.writeMapEnd()
35732
      oprot.writeMapEnd()
35733
      oprot.writeFieldEnd()
35734
    if self.cex is not None:
35735
      oprot.writeFieldBegin('cex', TType.STRUCT, 1)
35736
      self.cex.write(oprot)
35737
      oprot.writeFieldEnd()
35738
    oprot.writeFieldStop()
35739
    oprot.writeStructEnd()
35740
 
35741
  def validate(self):
35742
    return
35743
 
35744
 
35745
  def __repr__(self):
35746
    L = ['%s=%r' % (key, value)
35747
      for key, value in self.__dict__.iteritems()]
35748
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
35749
 
35750
  def __eq__(self, other):
35751
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
35752
 
35753
  def __ne__(self, other):
35754
    return not (self == other)
21838 amit.gupta 35755
 
35756
class getGstRatesByState_args:
35757
  """
35758
  Attributes:
35759
   - stateId
35760
  """
35761
 
35762
  thrift_spec = (
35763
    None, # 0
35764
    (1, TType.I64, 'stateId', None, None, ), # 1
35765
  )
35766
 
35767
  def __init__(self, stateId=None,):
35768
    self.stateId = stateId
35769
 
35770
  def read(self, iprot):
35771
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
35772
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
35773
      return
35774
    iprot.readStructBegin()
35775
    while True:
35776
      (fname, ftype, fid) = iprot.readFieldBegin()
35777
      if ftype == TType.STOP:
35778
        break
35779
      if fid == 1:
35780
        if ftype == TType.I64:
35781
          self.stateId = iprot.readI64();
35782
        else:
35783
          iprot.skip(ftype)
35784
      else:
35785
        iprot.skip(ftype)
35786
      iprot.readFieldEnd()
35787
    iprot.readStructEnd()
35788
 
35789
  def write(self, oprot):
35790
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
35791
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
35792
      return
35793
    oprot.writeStructBegin('getGstRatesByState_args')
35794
    if self.stateId is not None:
35795
      oprot.writeFieldBegin('stateId', TType.I64, 1)
35796
      oprot.writeI64(self.stateId)
35797
      oprot.writeFieldEnd()
35798
    oprot.writeFieldStop()
35799
    oprot.writeStructEnd()
35800
 
35801
  def validate(self):
35802
    return
35803
 
35804
 
35805
  def __repr__(self):
35806
    L = ['%s=%r' % (key, value)
35807
      for key, value in self.__dict__.iteritems()]
35808
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
35809
 
35810
  def __eq__(self, other):
35811
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
35812
 
35813
  def __ne__(self, other):
35814
    return not (self == other)
35815
 
35816
class getGstRatesByState_result:
35817
  """
35818
  Attributes:
35819
   - success
35820
   - cex
35821
  """
35822
 
35823
  thrift_spec = (
35824
    (0, TType.STRUCT, 'success', (StateGstRates, StateGstRates.thrift_spec), None, ), # 0
35825
    (1, TType.STRUCT, 'cex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
35826
  )
35827
 
35828
  def __init__(self, success=None, cex=None,):
35829
    self.success = success
35830
    self.cex = cex
35831
 
35832
  def read(self, iprot):
35833
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
35834
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
35835
      return
35836
    iprot.readStructBegin()
35837
    while True:
35838
      (fname, ftype, fid) = iprot.readFieldBegin()
35839
      if ftype == TType.STOP:
35840
        break
35841
      if fid == 0:
35842
        if ftype == TType.STRUCT:
35843
          self.success = StateGstRates()
35844
          self.success.read(iprot)
35845
        else:
35846
          iprot.skip(ftype)
35847
      elif fid == 1:
35848
        if ftype == TType.STRUCT:
35849
          self.cex = CatalogServiceException()
35850
          self.cex.read(iprot)
35851
        else:
35852
          iprot.skip(ftype)
35853
      else:
35854
        iprot.skip(ftype)
35855
      iprot.readFieldEnd()
35856
    iprot.readStructEnd()
35857
 
35858
  def write(self, oprot):
35859
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
35860
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
35861
      return
35862
    oprot.writeStructBegin('getGstRatesByState_result')
35863
    if self.success is not None:
35864
      oprot.writeFieldBegin('success', TType.STRUCT, 0)
35865
      self.success.write(oprot)
35866
      oprot.writeFieldEnd()
35867
    if self.cex is not None:
35868
      oprot.writeFieldBegin('cex', TType.STRUCT, 1)
35869
      self.cex.write(oprot)
35870
      oprot.writeFieldEnd()
35871
    oprot.writeFieldStop()
35872
    oprot.writeStructEnd()
35873
 
35874
  def validate(self):
35875
    return
35876
 
35877
 
35878
  def __repr__(self):
35879
    L = ['%s=%r' % (key, value)
35880
      for key, value in self.__dict__.iteritems()]
35881
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
35882
 
35883
  def __eq__(self, other):
35884
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
35885
 
35886
  def __ne__(self, other):
35887
    return not (self == other)
35888
 
35889
class getInterStateGstRates_args:
35890
 
35891
  thrift_spec = (
35892
  )
35893
 
35894
  def read(self, iprot):
35895
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
35896
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
35897
      return
35898
    iprot.readStructBegin()
35899
    while True:
35900
      (fname, ftype, fid) = iprot.readFieldBegin()
35901
      if ftype == TType.STOP:
35902
        break
35903
      else:
35904
        iprot.skip(ftype)
35905
      iprot.readFieldEnd()
35906
    iprot.readStructEnd()
35907
 
35908
  def write(self, oprot):
35909
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
35910
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
35911
      return
35912
    oprot.writeStructBegin('getInterStateGstRates_args')
35913
    oprot.writeFieldStop()
35914
    oprot.writeStructEnd()
35915
 
35916
  def validate(self):
35917
    return
35918
 
35919
 
35920
  def __repr__(self):
35921
    L = ['%s=%r' % (key, value)
35922
      for key, value in self.__dict__.iteritems()]
35923
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
35924
 
35925
  def __eq__(self, other):
35926
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
35927
 
35928
  def __ne__(self, other):
35929
    return not (self == other)
35930
 
35931
class getInterStateGstRates_result:
35932
  """
35933
  Attributes:
35934
   - success
35935
   - cex
35936
  """
35937
 
35938
  thrift_spec = (
35939
    (0, TType.MAP, 'success', (TType.STRING,None,TType.STRUCT,(GstRate, GstRate.thrift_spec)), None, ), # 0
35940
    (1, TType.STRUCT, 'cex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
35941
  )
35942
 
35943
  def __init__(self, success=None, cex=None,):
35944
    self.success = success
35945
    self.cex = cex
35946
 
35947
  def read(self, iprot):
35948
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
35949
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
35950
      return
35951
    iprot.readStructBegin()
35952
    while True:
35953
      (fname, ftype, fid) = iprot.readFieldBegin()
35954
      if ftype == TType.STOP:
35955
        break
35956
      if fid == 0:
35957
        if ftype == TType.MAP:
35958
          self.success = {}
35959
          (_ktype984, _vtype985, _size983 ) = iprot.readMapBegin() 
35960
          for _i987 in xrange(_size983):
35961
            _key988 = iprot.readString();
35962
            _val989 = GstRate()
35963
            _val989.read(iprot)
35964
            self.success[_key988] = _val989
35965
          iprot.readMapEnd()
35966
        else:
35967
          iprot.skip(ftype)
35968
      elif fid == 1:
35969
        if ftype == TType.STRUCT:
35970
          self.cex = CatalogServiceException()
35971
          self.cex.read(iprot)
35972
        else:
35973
          iprot.skip(ftype)
35974
      else:
35975
        iprot.skip(ftype)
35976
      iprot.readFieldEnd()
35977
    iprot.readStructEnd()
35978
 
35979
  def write(self, oprot):
35980
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
35981
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
35982
      return
35983
    oprot.writeStructBegin('getInterStateGstRates_result')
35984
    if self.success is not None:
35985
      oprot.writeFieldBegin('success', TType.MAP, 0)
35986
      oprot.writeMapBegin(TType.STRING, TType.STRUCT, len(self.success))
35987
      for kiter990,viter991 in self.success.items():
35988
        oprot.writeString(kiter990)
35989
        viter991.write(oprot)
35990
      oprot.writeMapEnd()
35991
      oprot.writeFieldEnd()
35992
    if self.cex is not None:
35993
      oprot.writeFieldBegin('cex', TType.STRUCT, 1)
35994
      self.cex.write(oprot)
35995
      oprot.writeFieldEnd()
35996
    oprot.writeFieldStop()
35997
    oprot.writeStructEnd()
35998
 
35999
  def validate(self):
36000
    return
36001
 
36002
 
36003
  def __repr__(self):
36004
    L = ['%s=%r' % (key, value)
36005
      for key, value in self.__dict__.iteritems()]
36006
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
36007
 
36008
  def __eq__(self, other):
36009
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
36010
 
36011
  def __ne__(self, other):
36012
    return not (self == other)
36013
 
36014
class getHsnCodesByCategory_args:
36015
  """
36016
  Attributes:
36017
   - categoryId
36018
  """
36019
 
36020
  thrift_spec = (
36021
    None, # 0
36022
    (1, TType.I64, 'categoryId', None, None, ), # 1
36023
  )
36024
 
36025
  def __init__(self, categoryId=None,):
36026
    self.categoryId = categoryId
36027
 
36028
  def read(self, iprot):
36029
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
36030
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
36031
      return
36032
    iprot.readStructBegin()
36033
    while True:
36034
      (fname, ftype, fid) = iprot.readFieldBegin()
36035
      if ftype == TType.STOP:
36036
        break
36037
      if fid == 1:
36038
        if ftype == TType.I64:
36039
          self.categoryId = iprot.readI64();
36040
        else:
36041
          iprot.skip(ftype)
36042
      else:
36043
        iprot.skip(ftype)
36044
      iprot.readFieldEnd()
36045
    iprot.readStructEnd()
36046
 
36047
  def write(self, oprot):
36048
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
36049
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
36050
      return
36051
    oprot.writeStructBegin('getHsnCodesByCategory_args')
36052
    if self.categoryId is not None:
36053
      oprot.writeFieldBegin('categoryId', TType.I64, 1)
36054
      oprot.writeI64(self.categoryId)
36055
      oprot.writeFieldEnd()
36056
    oprot.writeFieldStop()
36057
    oprot.writeStructEnd()
36058
 
36059
  def validate(self):
36060
    return
36061
 
36062
 
36063
  def __repr__(self):
36064
    L = ['%s=%r' % (key, value)
36065
      for key, value in self.__dict__.iteritems()]
36066
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
36067
 
36068
  def __eq__(self, other):
36069
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
36070
 
36071
  def __ne__(self, other):
36072
    return not (self == other)
36073
 
36074
class getHsnCodesByCategory_result:
36075
  """
36076
  Attributes:
36077
   - success
36078
   - cex
36079
  """
36080
 
36081
  thrift_spec = (
21853 amit.gupta 36082
    (0, TType.LIST, 'success', (TType.STRUCT,(CategoryHsnCode, CategoryHsnCode.thrift_spec)), None, ), # 0
21838 amit.gupta 36083
    (1, TType.STRUCT, 'cex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
36084
  )
36085
 
36086
  def __init__(self, success=None, cex=None,):
36087
    self.success = success
36088
    self.cex = cex
36089
 
36090
  def read(self, iprot):
36091
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
36092
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
36093
      return
36094
    iprot.readStructBegin()
36095
    while True:
36096
      (fname, ftype, fid) = iprot.readFieldBegin()
36097
      if ftype == TType.STOP:
36098
        break
36099
      if fid == 0:
36100
        if ftype == TType.LIST:
36101
          self.success = []
36102
          (_etype995, _size992) = iprot.readListBegin()
36103
          for _i996 in xrange(_size992):
21853 amit.gupta 36104
            _elem997 = CategoryHsnCode()
36105
            _elem997.read(iprot)
21838 amit.gupta 36106
            self.success.append(_elem997)
36107
          iprot.readListEnd()
36108
        else:
36109
          iprot.skip(ftype)
36110
      elif fid == 1:
36111
        if ftype == TType.STRUCT:
36112
          self.cex = CatalogServiceException()
36113
          self.cex.read(iprot)
36114
        else:
36115
          iprot.skip(ftype)
36116
      else:
36117
        iprot.skip(ftype)
36118
      iprot.readFieldEnd()
36119
    iprot.readStructEnd()
36120
 
36121
  def write(self, oprot):
36122
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
36123
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
36124
      return
36125
    oprot.writeStructBegin('getHsnCodesByCategory_result')
36126
    if self.success is not None:
36127
      oprot.writeFieldBegin('success', TType.LIST, 0)
21853 amit.gupta 36128
      oprot.writeListBegin(TType.STRUCT, len(self.success))
21838 amit.gupta 36129
      for iter998 in self.success:
21853 amit.gupta 36130
        iter998.write(oprot)
21838 amit.gupta 36131
      oprot.writeListEnd()
36132
      oprot.writeFieldEnd()
36133
    if self.cex is not None:
36134
      oprot.writeFieldBegin('cex', TType.STRUCT, 1)
36135
      self.cex.write(oprot)
36136
      oprot.writeFieldEnd()
36137
    oprot.writeFieldStop()
36138
    oprot.writeStructEnd()
36139
 
36140
  def validate(self):
36141
    return
36142
 
36143
 
36144
  def __repr__(self):
36145
    L = ['%s=%r' % (key, value)
36146
      for key, value in self.__dict__.iteritems()]
36147
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
36148
 
36149
  def __eq__(self, other):
36150
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
36151
 
36152
  def __ne__(self, other):
36153
    return not (self == other)