Subversion Repositories SmartDukaan

Rev

Rev 8379 | Rev 8590 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 8379 Rev 8579
Line 311... Line 311...
311
    pass
311
    pass
312
 
312
 
313
  def getAllEntityTags(self, ):
313
  def getAllEntityTags(self, ):
314
    pass
314
    pass
315
 
315
 
316
  def addBanner(self, bannerName, imageName, link, priority, isActive, hasMap):
316
  def addBanner(self, banner):
317
    """
317
    """
-
 
318
    Banner Related
-
 
319
 
318
    Parameters:
320
    Parameters:
319
     - bannerName
321
     - banner
320
     - imageName
322
    """
321
     - link
323
    pass
-
 
324
 
-
 
325
  def updateBanner(self, banner):
322
     - priority
326
    """
323
     - isActive
327
    Parameters:
324
     - hasMap
328
     - banner
325
    """
329
    """
326
    pass
330
    pass
327
 
331
 
328
  def getAllBanners(self, ):
332
  def getAllBanners(self, ):
329
    pass
333
    pass
Line 343... Line 347...
343
    pass
347
    pass
344
 
348
 
345
  def getActiveBanners(self, ):
349
  def getActiveBanners(self, ):
346
    pass
350
    pass
347
 
351
 
348
  def addBannerMap(self, bannerName, mapLink, coordinates):
352
  def addBannerMap(self, bannerMaps):
349
    """
353
    """
350
    Parameters:
354
    Parameters:
351
     - bannerName
355
     - bannerMaps
-
 
356
    """
-
 
357
    pass
-
 
358
 
-
 
359
  def updateBannerMap(self, bannerMap):
-
 
360
    """
352
     - mapLink
361
    Parameters:
353
     - coordinates
362
     - bannerMap
354
    """
363
    """
355
    pass
364
    pass
356
 
365
 
357
  def deleteBannerMap(self, bannerName):
366
  def deleteBannerMap(self, bannerName):
358
    """
367
    """
Line 366... Line 375...
366
    Parameters:
375
    Parameters:
367
     - bannerName
376
     - bannerName
368
    """
377
    """
369
    pass
378
    pass
370
 
379
 
-
 
380
  def addBannerUri(self, bannerUriMappings):
-
 
381
    """
-
 
382
    Parameters:
-
 
383
     - bannerUriMappings
-
 
384
    """
-
 
385
    pass
-
 
386
 
-
 
387
  def getUriMapping(self, bannerName):
-
 
388
    """
-
 
389
    Parameters:
-
 
390
     - bannerName
-
 
391
    """
-
 
392
    pass
-
 
393
 
-
 
394
  def addCampaign(self, campaign):
-
 
395
    """
-
 
396
    Parameters:
-
 
397
     - campaign
-
 
398
    """
-
 
399
    pass
-
 
400
 
-
 
401
  def getCampaigns(self, campaignName):
-
 
402
    """
-
 
403
    Parameters:
-
 
404
     - campaignName
-
 
405
    """
-
 
406
    pass
-
 
407
 
-
 
408
  def deleteCampaign(self, campaignId):
-
 
409
    """
-
 
410
    Parameters:
-
 
411
     - campaignId
-
 
412
    """
-
 
413
    pass
-
 
414
 
-
 
415
  def getAllCampaigns(self, ):
-
 
416
    pass
-
 
417
 
371
  def deleteSimilarItem(self, itemId, catalogItemId):
418
  def deleteSimilarItem(self, itemId, catalogItemId):
372
    """
419
    """
373
    Delete similar item.
420
    Delete similar item.
374
 
421
 
375
    Parameters:
422
    Parameters:
Line 2126... Line 2173...
2126
    self._iprot.readMessageEnd()
2173
    self._iprot.readMessageEnd()
2127
    if result.success is not None:
2174
    if result.success is not None:
2128
      return result.success
2175
      return result.success
2129
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAllEntityTags failed: unknown result");
2176
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAllEntityTags failed: unknown result");
2130
 
2177
 
2131
  def addBanner(self, bannerName, imageName, link, priority, isActive, hasMap):
2178
  def addBanner(self, banner):
2132
    """
2179
    """
-
 
2180
    Banner Related
-
 
2181
 
2133
    Parameters:
2182
    Parameters:
2134
     - bannerName
2183
     - banner
2135
     - imageName
-
 
2136
     - link
-
 
2137
     - priority
-
 
2138
     - isActive
-
 
2139
     - hasMap
-
 
2140
    """
2184
    """
2141
    self.send_addBanner(bannerName, imageName, link, priority, isActive, hasMap)
2185
    self.send_addBanner(banner)
2142
    return self.recv_addBanner()
2186
    return self.recv_addBanner()
2143
 
2187
 
2144
  def send_addBanner(self, bannerName, imageName, link, priority, isActive, hasMap):
2188
  def send_addBanner(self, banner):
2145
    self._oprot.writeMessageBegin('addBanner', TMessageType.CALL, self._seqid)
2189
    self._oprot.writeMessageBegin('addBanner', TMessageType.CALL, self._seqid)
2146
    args = addBanner_args()
2190
    args = addBanner_args()
2147
    args.bannerName = bannerName
2191
    args.banner = banner
2148
    args.imageName = imageName
-
 
2149
    args.link = link
-
 
2150
    args.priority = priority
-
 
2151
    args.isActive = isActive
-
 
2152
    args.hasMap = hasMap
-
 
2153
    args.write(self._oprot)
2192
    args.write(self._oprot)
2154
    self._oprot.writeMessageEnd()
2193
    self._oprot.writeMessageEnd()
2155
    self._oprot.trans.flush()
2194
    self._oprot.trans.flush()
2156
 
2195
 
2157
  def recv_addBanner(self, ):
2196
  def recv_addBanner(self, ):
Line 2166... Line 2205...
2166
    self._iprot.readMessageEnd()
2205
    self._iprot.readMessageEnd()
2167
    if result.success is not None:
2206
    if result.success is not None:
2168
      return result.success
2207
      return result.success
2169
    raise TApplicationException(TApplicationException.MISSING_RESULT, "addBanner failed: unknown result");
2208
    raise TApplicationException(TApplicationException.MISSING_RESULT, "addBanner failed: unknown result");
2170
 
2209
 
-
 
2210
  def updateBanner(self, banner):
-
 
2211
    """
-
 
2212
    Parameters:
-
 
2213
     - banner
-
 
2214
    """
-
 
2215
    self.send_updateBanner(banner)
-
 
2216
    return self.recv_updateBanner()
-
 
2217
 
-
 
2218
  def send_updateBanner(self, banner):
-
 
2219
    self._oprot.writeMessageBegin('updateBanner', TMessageType.CALL, self._seqid)
-
 
2220
    args = updateBanner_args()
-
 
2221
    args.banner = banner
-
 
2222
    args.write(self._oprot)
-
 
2223
    self._oprot.writeMessageEnd()
-
 
2224
    self._oprot.trans.flush()
-
 
2225
 
-
 
2226
  def recv_updateBanner(self, ):
-
 
2227
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
-
 
2228
    if mtype == TMessageType.EXCEPTION:
-
 
2229
      x = TApplicationException()
-
 
2230
      x.read(self._iprot)
-
 
2231
      self._iprot.readMessageEnd()
-
 
2232
      raise x
-
 
2233
    result = updateBanner_result()
-
 
2234
    result.read(self._iprot)
-
 
2235
    self._iprot.readMessageEnd()
-
 
2236
    if result.success is not None:
-
 
2237
      return result.success
-
 
2238
    raise TApplicationException(TApplicationException.MISSING_RESULT, "updateBanner failed: unknown result");
-
 
2239
 
2171
  def getAllBanners(self, ):
2240
  def getAllBanners(self, ):
2172
    self.send_getAllBanners()
2241
    self.send_getAllBanners()
2173
    return self.recv_getAllBanners()
2242
    return self.recv_getAllBanners()
2174
 
2243
 
2175
  def send_getAllBanners(self, ):
2244
  def send_getAllBanners(self, ):
Line 2276... Line 2345...
2276
    self._iprot.readMessageEnd()
2345
    self._iprot.readMessageEnd()
2277
    if result.success is not None:
2346
    if result.success is not None:
2278
      return result.success
2347
      return result.success
2279
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getActiveBanners failed: unknown result");
2348
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getActiveBanners failed: unknown result");
2280
 
2349
 
2281
  def addBannerMap(self, bannerName, mapLink, coordinates):
2350
  def addBannerMap(self, bannerMaps):
2282
    """
2351
    """
2283
    Parameters:
2352
    Parameters:
2284
     - bannerName
2353
     - bannerMaps
2285
     - mapLink
-
 
2286
     - coordinates
-
 
2287
    """
2354
    """
2288
    self.send_addBannerMap(bannerName, mapLink, coordinates)
2355
    self.send_addBannerMap(bannerMaps)
2289
    return self.recv_addBannerMap()
2356
    return self.recv_addBannerMap()
2290
 
2357
 
2291
  def send_addBannerMap(self, bannerName, mapLink, coordinates):
2358
  def send_addBannerMap(self, bannerMaps):
2292
    self._oprot.writeMessageBegin('addBannerMap', TMessageType.CALL, self._seqid)
2359
    self._oprot.writeMessageBegin('addBannerMap', TMessageType.CALL, self._seqid)
2293
    args = addBannerMap_args()
2360
    args = addBannerMap_args()
2294
    args.bannerName = bannerName
2361
    args.bannerMaps = bannerMaps
2295
    args.mapLink = mapLink
-
 
2296
    args.coordinates = coordinates
-
 
2297
    args.write(self._oprot)
2362
    args.write(self._oprot)
2298
    self._oprot.writeMessageEnd()
2363
    self._oprot.writeMessageEnd()
2299
    self._oprot.trans.flush()
2364
    self._oprot.trans.flush()
2300
 
2365
 
2301
  def recv_addBannerMap(self, ):
2366
  def recv_addBannerMap(self, ):
Line 2310... Line 2375...
2310
    self._iprot.readMessageEnd()
2375
    self._iprot.readMessageEnd()
2311
    if result.success is not None:
2376
    if result.success is not None:
2312
      return result.success
2377
      return result.success
2313
    raise TApplicationException(TApplicationException.MISSING_RESULT, "addBannerMap failed: unknown result");
2378
    raise TApplicationException(TApplicationException.MISSING_RESULT, "addBannerMap failed: unknown result");
2314
 
2379
 
-
 
2380
  def updateBannerMap(self, bannerMap):
-
 
2381
    """
-
 
2382
    Parameters:
-
 
2383
     - bannerMap
-
 
2384
    """
-
 
2385
    self.send_updateBannerMap(bannerMap)
-
 
2386
    return self.recv_updateBannerMap()
-
 
2387
 
-
 
2388
  def send_updateBannerMap(self, bannerMap):
-
 
2389
    self._oprot.writeMessageBegin('updateBannerMap', TMessageType.CALL, self._seqid)
-
 
2390
    args = updateBannerMap_args()
-
 
2391
    args.bannerMap = bannerMap
-
 
2392
    args.write(self._oprot)
-
 
2393
    self._oprot.writeMessageEnd()
-
 
2394
    self._oprot.trans.flush()
-
 
2395
 
-
 
2396
  def recv_updateBannerMap(self, ):
-
 
2397
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
-
 
2398
    if mtype == TMessageType.EXCEPTION:
-
 
2399
      x = TApplicationException()
-
 
2400
      x.read(self._iprot)
-
 
2401
      self._iprot.readMessageEnd()
-
 
2402
      raise x
-
 
2403
    result = updateBannerMap_result()
-
 
2404
    result.read(self._iprot)
-
 
2405
    self._iprot.readMessageEnd()
-
 
2406
    if result.success is not None:
-
 
2407
      return result.success
-
 
2408
    raise TApplicationException(TApplicationException.MISSING_RESULT, "updateBannerMap failed: unknown result");
-
 
2409
 
2315
  def deleteBannerMap(self, bannerName):
2410
  def deleteBannerMap(self, bannerName):
2316
    """
2411
    """
2317
    Parameters:
2412
    Parameters:
2318
     - bannerName
2413
     - bannerName
2319
    """
2414
    """
Line 2370... Line 2465...
2370
    self._iprot.readMessageEnd()
2465
    self._iprot.readMessageEnd()
2371
    if result.success is not None:
2466
    if result.success is not None:
2372
      return result.success
2467
      return result.success
2373
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getBannerMapDetails failed: unknown result");
2468
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getBannerMapDetails failed: unknown result");
2374
 
2469
 
-
 
2470
  def addBannerUri(self, bannerUriMappings):
-
 
2471
    """
-
 
2472
    Parameters:
-
 
2473
     - bannerUriMappings
-
 
2474
    """
-
 
2475
    self.send_addBannerUri(bannerUriMappings)
-
 
2476
    self.recv_addBannerUri()
-
 
2477
 
-
 
2478
  def send_addBannerUri(self, bannerUriMappings):
-
 
2479
    self._oprot.writeMessageBegin('addBannerUri', TMessageType.CALL, self._seqid)
-
 
2480
    args = addBannerUri_args()
-
 
2481
    args.bannerUriMappings = bannerUriMappings
-
 
2482
    args.write(self._oprot)
-
 
2483
    self._oprot.writeMessageEnd()
-
 
2484
    self._oprot.trans.flush()
-
 
2485
 
-
 
2486
  def recv_addBannerUri(self, ):
-
 
2487
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
-
 
2488
    if mtype == TMessageType.EXCEPTION:
-
 
2489
      x = TApplicationException()
-
 
2490
      x.read(self._iprot)
-
 
2491
      self._iprot.readMessageEnd()
-
 
2492
      raise x
-
 
2493
    result = addBannerUri_result()
-
 
2494
    result.read(self._iprot)
-
 
2495
    self._iprot.readMessageEnd()
-
 
2496
    return
-
 
2497
 
-
 
2498
  def getUriMapping(self, bannerName):
-
 
2499
    """
-
 
2500
    Parameters:
-
 
2501
     - bannerName
-
 
2502
    """
-
 
2503
    self.send_getUriMapping(bannerName)
-
 
2504
    return self.recv_getUriMapping()
-
 
2505
 
-
 
2506
  def send_getUriMapping(self, bannerName):
-
 
2507
    self._oprot.writeMessageBegin('getUriMapping', TMessageType.CALL, self._seqid)
-
 
2508
    args = getUriMapping_args()
-
 
2509
    args.bannerName = bannerName
-
 
2510
    args.write(self._oprot)
-
 
2511
    self._oprot.writeMessageEnd()
-
 
2512
    self._oprot.trans.flush()
-
 
2513
 
-
 
2514
  def recv_getUriMapping(self, ):
-
 
2515
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
-
 
2516
    if mtype == TMessageType.EXCEPTION:
-
 
2517
      x = TApplicationException()
-
 
2518
      x.read(self._iprot)
-
 
2519
      self._iprot.readMessageEnd()
-
 
2520
      raise x
-
 
2521
    result = getUriMapping_result()
-
 
2522
    result.read(self._iprot)
-
 
2523
    self._iprot.readMessageEnd()
-
 
2524
    if result.success is not None:
-
 
2525
      return result.success
-
 
2526
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getUriMapping failed: unknown result");
-
 
2527
 
-
 
2528
  def addCampaign(self, campaign):
-
 
2529
    """
-
 
2530
    Parameters:
-
 
2531
     - campaign
-
 
2532
    """
-
 
2533
    self.send_addCampaign(campaign)
-
 
2534
    self.recv_addCampaign()
-
 
2535
 
-
 
2536
  def send_addCampaign(self, campaign):
-
 
2537
    self._oprot.writeMessageBegin('addCampaign', TMessageType.CALL, self._seqid)
-
 
2538
    args = addCampaign_args()
-
 
2539
    args.campaign = campaign
-
 
2540
    args.write(self._oprot)
-
 
2541
    self._oprot.writeMessageEnd()
-
 
2542
    self._oprot.trans.flush()
-
 
2543
 
-
 
2544
  def recv_addCampaign(self, ):
-
 
2545
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
-
 
2546
    if mtype == TMessageType.EXCEPTION:
-
 
2547
      x = TApplicationException()
-
 
2548
      x.read(self._iprot)
-
 
2549
      self._iprot.readMessageEnd()
-
 
2550
      raise x
-
 
2551
    result = addCampaign_result()
-
 
2552
    result.read(self._iprot)
-
 
2553
    self._iprot.readMessageEnd()
-
 
2554
    return
-
 
2555
 
-
 
2556
  def getCampaigns(self, campaignName):
-
 
2557
    """
-
 
2558
    Parameters:
-
 
2559
     - campaignName
-
 
2560
    """
-
 
2561
    self.send_getCampaigns(campaignName)
-
 
2562
    return self.recv_getCampaigns()
-
 
2563
 
-
 
2564
  def send_getCampaigns(self, campaignName):
-
 
2565
    self._oprot.writeMessageBegin('getCampaigns', TMessageType.CALL, self._seqid)
-
 
2566
    args = getCampaigns_args()
-
 
2567
    args.campaignName = campaignName
-
 
2568
    args.write(self._oprot)
-
 
2569
    self._oprot.writeMessageEnd()
-
 
2570
    self._oprot.trans.flush()
-
 
2571
 
-
 
2572
  def recv_getCampaigns(self, ):
-
 
2573
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
-
 
2574
    if mtype == TMessageType.EXCEPTION:
-
 
2575
      x = TApplicationException()
-
 
2576
      x.read(self._iprot)
-
 
2577
      self._iprot.readMessageEnd()
-
 
2578
      raise x
-
 
2579
    result = getCampaigns_result()
-
 
2580
    result.read(self._iprot)
-
 
2581
    self._iprot.readMessageEnd()
-
 
2582
    if result.success is not None:
-
 
2583
      return result.success
-
 
2584
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getCampaigns failed: unknown result");
-
 
2585
 
-
 
2586
  def deleteCampaign(self, campaignId):
-
 
2587
    """
-
 
2588
    Parameters:
-
 
2589
     - campaignId
-
 
2590
    """
-
 
2591
    self.send_deleteCampaign(campaignId)
-
 
2592
    self.recv_deleteCampaign()
-
 
2593
 
-
 
2594
  def send_deleteCampaign(self, campaignId):
-
 
2595
    self._oprot.writeMessageBegin('deleteCampaign', TMessageType.CALL, self._seqid)
-
 
2596
    args = deleteCampaign_args()
-
 
2597
    args.campaignId = campaignId
-
 
2598
    args.write(self._oprot)
-
 
2599
    self._oprot.writeMessageEnd()
-
 
2600
    self._oprot.trans.flush()
-
 
2601
 
-
 
2602
  def recv_deleteCampaign(self, ):
-
 
2603
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
-
 
2604
    if mtype == TMessageType.EXCEPTION:
-
 
2605
      x = TApplicationException()
-
 
2606
      x.read(self._iprot)
-
 
2607
      self._iprot.readMessageEnd()
-
 
2608
      raise x
-
 
2609
    result = deleteCampaign_result()
-
 
2610
    result.read(self._iprot)
-
 
2611
    self._iprot.readMessageEnd()
-
 
2612
    return
-
 
2613
 
-
 
2614
  def getAllCampaigns(self, ):
-
 
2615
    self.send_getAllCampaigns()
-
 
2616
    return self.recv_getAllCampaigns()
-
 
2617
 
-
 
2618
  def send_getAllCampaigns(self, ):
-
 
2619
    self._oprot.writeMessageBegin('getAllCampaigns', TMessageType.CALL, self._seqid)
-
 
2620
    args = getAllCampaigns_args()
-
 
2621
    args.write(self._oprot)
-
 
2622
    self._oprot.writeMessageEnd()
-
 
2623
    self._oprot.trans.flush()
-
 
2624
 
-
 
2625
  def recv_getAllCampaigns(self, ):
-
 
2626
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
-
 
2627
    if mtype == TMessageType.EXCEPTION:
-
 
2628
      x = TApplicationException()
-
 
2629
      x.read(self._iprot)
-
 
2630
      self._iprot.readMessageEnd()
-
 
2631
      raise x
-
 
2632
    result = getAllCampaigns_result()
-
 
2633
    result.read(self._iprot)
-
 
2634
    self._iprot.readMessageEnd()
-
 
2635
    if result.success is not None:
-
 
2636
      return result.success
-
 
2637
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAllCampaigns failed: unknown result");
-
 
2638
 
2375
  def deleteSimilarItem(self, itemId, catalogItemId):
2639
  def deleteSimilarItem(self, itemId, catalogItemId):
2376
    """
2640
    """
2377
    Delete similar item.
2641
    Delete similar item.
2378
 
2642
 
2379
    Parameters:
2643
    Parameters:
Line 4257... Line 4521...
4257
    self._processMap["deleteTag"] = Processor.process_deleteTag
4521
    self._processMap["deleteTag"] = Processor.process_deleteTag
4258
    self._processMap["getAllTags"] = Processor.process_getAllTags
4522
    self._processMap["getAllTags"] = Processor.process_getAllTags
4259
    self._processMap["getAllEntitiesByTagName"] = Processor.process_getAllEntitiesByTagName
4523
    self._processMap["getAllEntitiesByTagName"] = Processor.process_getAllEntitiesByTagName
4260
    self._processMap["getAllEntityTags"] = Processor.process_getAllEntityTags
4524
    self._processMap["getAllEntityTags"] = Processor.process_getAllEntityTags
4261
    self._processMap["addBanner"] = Processor.process_addBanner
4525
    self._processMap["addBanner"] = Processor.process_addBanner
-
 
4526
    self._processMap["updateBanner"] = Processor.process_updateBanner
4262
    self._processMap["getAllBanners"] = Processor.process_getAllBanners
4527
    self._processMap["getAllBanners"] = Processor.process_getAllBanners
4263
    self._processMap["deleteBanner"] = Processor.process_deleteBanner
4528
    self._processMap["deleteBanner"] = Processor.process_deleteBanner
4264
    self._processMap["getBannerDetails"] = Processor.process_getBannerDetails
4529
    self._processMap["getBannerDetails"] = Processor.process_getBannerDetails
4265
    self._processMap["getActiveBanners"] = Processor.process_getActiveBanners
4530
    self._processMap["getActiveBanners"] = Processor.process_getActiveBanners
4266
    self._processMap["addBannerMap"] = Processor.process_addBannerMap
4531
    self._processMap["addBannerMap"] = Processor.process_addBannerMap
-
 
4532
    self._processMap["updateBannerMap"] = Processor.process_updateBannerMap
4267
    self._processMap["deleteBannerMap"] = Processor.process_deleteBannerMap
4533
    self._processMap["deleteBannerMap"] = Processor.process_deleteBannerMap
4268
    self._processMap["getBannerMapDetails"] = Processor.process_getBannerMapDetails
4534
    self._processMap["getBannerMapDetails"] = Processor.process_getBannerMapDetails
-
 
4535
    self._processMap["addBannerUri"] = Processor.process_addBannerUri
-
 
4536
    self._processMap["getUriMapping"] = Processor.process_getUriMapping
-
 
4537
    self._processMap["addCampaign"] = Processor.process_addCampaign
-
 
4538
    self._processMap["getCampaigns"] = Processor.process_getCampaigns
-
 
4539
    self._processMap["deleteCampaign"] = Processor.process_deleteCampaign
-
 
4540
    self._processMap["getAllCampaigns"] = Processor.process_getAllCampaigns
4269
    self._processMap["deleteSimilarItem"] = Processor.process_deleteSimilarItem
4541
    self._processMap["deleteSimilarItem"] = Processor.process_deleteSimilarItem
4270
    self._processMap["checkSimilarItem"] = Processor.process_checkSimilarItem
4542
    self._processMap["checkSimilarItem"] = Processor.process_checkSimilarItem
4271
    self._processMap["validateRiskyStatus"] = Processor.process_validateRiskyStatus
4543
    self._processMap["validateRiskyStatus"] = Processor.process_validateRiskyStatus
4272
    self._processMap["changeItemRiskyFlag"] = Processor.process_changeItemRiskyFlag
4544
    self._processMap["changeItemRiskyFlag"] = Processor.process_changeItemRiskyFlag
4273
    self._processMap["getItemsByRiskyFlag"] = Processor.process_getItemsByRiskyFlag
4545
    self._processMap["getItemsByRiskyFlag"] = Processor.process_getItemsByRiskyFlag
Line 4883... Line 5155...
4883
  def process_addBanner(self, seqid, iprot, oprot):
5155
  def process_addBanner(self, seqid, iprot, oprot):
4884
    args = addBanner_args()
5156
    args = addBanner_args()
4885
    args.read(iprot)
5157
    args.read(iprot)
4886
    iprot.readMessageEnd()
5158
    iprot.readMessageEnd()
4887
    result = addBanner_result()
5159
    result = addBanner_result()
4888
    result.success = self._handler.addBanner(args.bannerName, args.imageName, args.link, args.priority, args.isActive, args.hasMap)
5160
    result.success = self._handler.addBanner(args.banner)
4889
    oprot.writeMessageBegin("addBanner", TMessageType.REPLY, seqid)
5161
    oprot.writeMessageBegin("addBanner", TMessageType.REPLY, seqid)
4890
    result.write(oprot)
5162
    result.write(oprot)
4891
    oprot.writeMessageEnd()
5163
    oprot.writeMessageEnd()
4892
    oprot.trans.flush()
5164
    oprot.trans.flush()
4893
 
5165
 
-
 
5166
  def process_updateBanner(self, seqid, iprot, oprot):
-
 
5167
    args = updateBanner_args()
-
 
5168
    args.read(iprot)
-
 
5169
    iprot.readMessageEnd()
-
 
5170
    result = updateBanner_result()
-
 
5171
    result.success = self._handler.updateBanner(args.banner)
-
 
5172
    oprot.writeMessageBegin("updateBanner", TMessageType.REPLY, seqid)
-
 
5173
    result.write(oprot)
-
 
5174
    oprot.writeMessageEnd()
-
 
5175
    oprot.trans.flush()
-
 
5176
 
4894
  def process_getAllBanners(self, seqid, iprot, oprot):
5177
  def process_getAllBanners(self, seqid, iprot, oprot):
4895
    args = getAllBanners_args()
5178
    args = getAllBanners_args()
4896
    args.read(iprot)
5179
    args.read(iprot)
4897
    iprot.readMessageEnd()
5180
    iprot.readMessageEnd()
4898
    result = getAllBanners_result()
5181
    result = getAllBanners_result()
Line 4938... Line 5221...
4938
  def process_addBannerMap(self, seqid, iprot, oprot):
5221
  def process_addBannerMap(self, seqid, iprot, oprot):
4939
    args = addBannerMap_args()
5222
    args = addBannerMap_args()
4940
    args.read(iprot)
5223
    args.read(iprot)
4941
    iprot.readMessageEnd()
5224
    iprot.readMessageEnd()
4942
    result = addBannerMap_result()
5225
    result = addBannerMap_result()
4943
    result.success = self._handler.addBannerMap(args.bannerName, args.mapLink, args.coordinates)
5226
    result.success = self._handler.addBannerMap(args.bannerMaps)
4944
    oprot.writeMessageBegin("addBannerMap", TMessageType.REPLY, seqid)
5227
    oprot.writeMessageBegin("addBannerMap", TMessageType.REPLY, seqid)
4945
    result.write(oprot)
5228
    result.write(oprot)
4946
    oprot.writeMessageEnd()
5229
    oprot.writeMessageEnd()
4947
    oprot.trans.flush()
5230
    oprot.trans.flush()
4948
 
5231
 
-
 
5232
  def process_updateBannerMap(self, seqid, iprot, oprot):
-
 
5233
    args = updateBannerMap_args()
-
 
5234
    args.read(iprot)
-
 
5235
    iprot.readMessageEnd()
-
 
5236
    result = updateBannerMap_result()
-
 
5237
    result.success = self._handler.updateBannerMap(args.bannerMap)
-
 
5238
    oprot.writeMessageBegin("updateBannerMap", TMessageType.REPLY, seqid)
-
 
5239
    result.write(oprot)
-
 
5240
    oprot.writeMessageEnd()
-
 
5241
    oprot.trans.flush()
-
 
5242
 
4949
  def process_deleteBannerMap(self, seqid, iprot, oprot):
5243
  def process_deleteBannerMap(self, seqid, iprot, oprot):
4950
    args = deleteBannerMap_args()
5244
    args = deleteBannerMap_args()
4951
    args.read(iprot)
5245
    args.read(iprot)
4952
    iprot.readMessageEnd()
5246
    iprot.readMessageEnd()
4953
    result = deleteBannerMap_result()
5247
    result = deleteBannerMap_result()
Line 4966... Line 5260...
4966
    oprot.writeMessageBegin("getBannerMapDetails", TMessageType.REPLY, seqid)
5260
    oprot.writeMessageBegin("getBannerMapDetails", TMessageType.REPLY, seqid)
4967
    result.write(oprot)
5261
    result.write(oprot)
4968
    oprot.writeMessageEnd()
5262
    oprot.writeMessageEnd()
4969
    oprot.trans.flush()
5263
    oprot.trans.flush()
4970
 
5264
 
-
 
5265
  def process_addBannerUri(self, seqid, iprot, oprot):
-
 
5266
    args = addBannerUri_args()
-
 
5267
    args.read(iprot)
-
 
5268
    iprot.readMessageEnd()
-
 
5269
    result = addBannerUri_result()
-
 
5270
    self._handler.addBannerUri(args.bannerUriMappings)
-
 
5271
    oprot.writeMessageBegin("addBannerUri", TMessageType.REPLY, seqid)
-
 
5272
    result.write(oprot)
-
 
5273
    oprot.writeMessageEnd()
-
 
5274
    oprot.trans.flush()
-
 
5275
 
-
 
5276
  def process_getUriMapping(self, seqid, iprot, oprot):
-
 
5277
    args = getUriMapping_args()
-
 
5278
    args.read(iprot)
-
 
5279
    iprot.readMessageEnd()
-
 
5280
    result = getUriMapping_result()
-
 
5281
    result.success = self._handler.getUriMapping(args.bannerName)
-
 
5282
    oprot.writeMessageBegin("getUriMapping", TMessageType.REPLY, seqid)
-
 
5283
    result.write(oprot)
-
 
5284
    oprot.writeMessageEnd()
-
 
5285
    oprot.trans.flush()
-
 
5286
 
-
 
5287
  def process_addCampaign(self, seqid, iprot, oprot):
-
 
5288
    args = addCampaign_args()
-
 
5289
    args.read(iprot)
-
 
5290
    iprot.readMessageEnd()
-
 
5291
    result = addCampaign_result()
-
 
5292
    self._handler.addCampaign(args.campaign)
-
 
5293
    oprot.writeMessageBegin("addCampaign", TMessageType.REPLY, seqid)
-
 
5294
    result.write(oprot)
-
 
5295
    oprot.writeMessageEnd()
-
 
5296
    oprot.trans.flush()
-
 
5297
 
-
 
5298
  def process_getCampaigns(self, seqid, iprot, oprot):
-
 
5299
    args = getCampaigns_args()
-
 
5300
    args.read(iprot)
-
 
5301
    iprot.readMessageEnd()
-
 
5302
    result = getCampaigns_result()
-
 
5303
    result.success = self._handler.getCampaigns(args.campaignName)
-
 
5304
    oprot.writeMessageBegin("getCampaigns", TMessageType.REPLY, seqid)
-
 
5305
    result.write(oprot)
-
 
5306
    oprot.writeMessageEnd()
-
 
5307
    oprot.trans.flush()
-
 
5308
 
-
 
5309
  def process_deleteCampaign(self, seqid, iprot, oprot):
-
 
5310
    args = deleteCampaign_args()
-
 
5311
    args.read(iprot)
-
 
5312
    iprot.readMessageEnd()
-
 
5313
    result = deleteCampaign_result()
-
 
5314
    self._handler.deleteCampaign(args.campaignId)
-
 
5315
    oprot.writeMessageBegin("deleteCampaign", TMessageType.REPLY, seqid)
-
 
5316
    result.write(oprot)
-
 
5317
    oprot.writeMessageEnd()
-
 
5318
    oprot.trans.flush()
-
 
5319
 
-
 
5320
  def process_getAllCampaigns(self, seqid, iprot, oprot):
-
 
5321
    args = getAllCampaigns_args()
-
 
5322
    args.read(iprot)
-
 
5323
    iprot.readMessageEnd()
-
 
5324
    result = getAllCampaigns_result()
-
 
5325
    result.success = self._handler.getAllCampaigns()
-
 
5326
    oprot.writeMessageBegin("getAllCampaigns", TMessageType.REPLY, seqid)
-
 
5327
    result.write(oprot)
-
 
5328
    oprot.writeMessageEnd()
-
 
5329
    oprot.trans.flush()
-
 
5330
 
4971
  def process_deleteSimilarItem(self, seqid, iprot, oprot):
5331
  def process_deleteSimilarItem(self, seqid, iprot, oprot):
4972
    args = deleteSimilarItem_args()
5332
    args = deleteSimilarItem_args()
4973
    args.read(iprot)
5333
    args.read(iprot)
4974
    iprot.readMessageEnd()
5334
    iprot.readMessageEnd()
4975
    result = deleteSimilarItem_result()
5335
    result = deleteSimilarItem_result()
Line 11197... Line 11557...
11197
    return not (self == other)
11557
    return not (self == other)
11198
 
11558
 
11199
class addBanner_args:
11559
class addBanner_args:
11200
  """
11560
  """
11201
  Attributes:
11561
  Attributes:
11202
   - bannerName
11562
   - banner
11203
   - imageName
-
 
11204
   - link
-
 
11205
   - priority
-
 
11206
   - isActive
-
 
11207
   - hasMap
-
 
11208
  """
11563
  """
11209
 
11564
 
11210
  thrift_spec = (
11565
  thrift_spec = (
11211
    None, # 0
11566
    None, # 0
11212
    (1, TType.STRING, 'bannerName', None, None, ), # 1
11567
    (1, TType.STRUCT, 'banner', (Banner, Banner.thrift_spec), None, ), # 1
11213
    (2, TType.STRING, 'imageName', None, None, ), # 2
-
 
11214
    (3, TType.STRING, 'link', None, None, ), # 3
-
 
11215
    (4, TType.I64, 'priority', None, None, ), # 4
-
 
11216
    (5, TType.BOOL, 'isActive', None, None, ), # 5
-
 
11217
    (6, TType.BOOL, 'hasMap', None, None, ), # 6
-
 
11218
  )
11568
  )
11219
 
11569
 
11220
  def __init__(self, bannerName=None, imageName=None, link=None, priority=None, isActive=None, hasMap=None,):
-
 
11221
    self.bannerName = bannerName
11570
  def __init__(self, banner=None,):
11222
    self.imageName = imageName
-
 
11223
    self.link = link
-
 
11224
    self.priority = priority
-
 
11225
    self.isActive = isActive
-
 
11226
    self.hasMap = hasMap
11571
    self.banner = banner
11227
 
11572
 
11228
  def read(self, iprot):
11573
  def read(self, iprot):
11229
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
11574
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
11230
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
11575
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
11231
      return
11576
      return
Line 11233... Line 11578...
11233
    while True:
11578
    while True:
11234
      (fname, ftype, fid) = iprot.readFieldBegin()
11579
      (fname, ftype, fid) = iprot.readFieldBegin()
11235
      if ftype == TType.STOP:
11580
      if ftype == TType.STOP:
11236
        break
11581
        break
11237
      if fid == 1:
11582
      if fid == 1:
11238
        if ftype == TType.STRING:
11583
        if ftype == TType.STRUCT:
11239
          self.bannerName = iprot.readString();
11584
          self.banner = Banner()
11240
        else:
-
 
11241
          iprot.skip(ftype)
-
 
11242
      elif fid == 2:
-
 
11243
        if ftype == TType.STRING:
-
 
11244
          self.imageName = iprot.readString();
-
 
11245
        else:
-
 
11246
          iprot.skip(ftype)
-
 
11247
      elif fid == 3:
-
 
11248
        if ftype == TType.STRING:
-
 
11249
          self.link = iprot.readString();
11585
          self.banner.read(iprot)
11250
        else:
-
 
11251
          iprot.skip(ftype)
-
 
11252
      elif fid == 4:
-
 
11253
        if ftype == TType.I64:
-
 
11254
          self.priority = iprot.readI64();
-
 
11255
        else:
11586
        else:
11256
          iprot.skip(ftype)
11587
          iprot.skip(ftype)
-
 
11588
      else:
-
 
11589
        iprot.skip(ftype)
-
 
11590
      iprot.readFieldEnd()
-
 
11591
    iprot.readStructEnd()
-
 
11592
 
-
 
11593
  def write(self, oprot):
-
 
11594
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
-
 
11595
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
-
 
11596
      return
-
 
11597
    oprot.writeStructBegin('addBanner_args')
-
 
11598
    if self.banner is not None:
-
 
11599
      oprot.writeFieldBegin('banner', TType.STRUCT, 1)
-
 
11600
      self.banner.write(oprot)
-
 
11601
      oprot.writeFieldEnd()
-
 
11602
    oprot.writeFieldStop()
-
 
11603
    oprot.writeStructEnd()
-
 
11604
 
-
 
11605
  def validate(self):
-
 
11606
    return
-
 
11607
 
-
 
11608
 
-
 
11609
  def __repr__(self):
-
 
11610
    L = ['%s=%r' % (key, value)
-
 
11611
      for key, value in self.__dict__.iteritems()]
-
 
11612
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
-
 
11613
 
-
 
11614
  def __eq__(self, other):
-
 
11615
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
-
 
11616
 
-
 
11617
  def __ne__(self, other):
-
 
11618
    return not (self == other)
-
 
11619
 
-
 
11620
class addBanner_result:
-
 
11621
  """
-
 
11622
  Attributes:
-
 
11623
   - success
-
 
11624
  """
-
 
11625
 
-
 
11626
  thrift_spec = (
-
 
11627
    (0, TType.BOOL, 'success', None, None, ), # 0
-
 
11628
  )
-
 
11629
 
-
 
11630
  def __init__(self, success=None,):
-
 
11631
    self.success = success
-
 
11632
 
-
 
11633
  def read(self, iprot):
-
 
11634
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
-
 
11635
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
-
 
11636
      return
-
 
11637
    iprot.readStructBegin()
-
 
11638
    while True:
-
 
11639
      (fname, ftype, fid) = iprot.readFieldBegin()
-
 
11640
      if ftype == TType.STOP:
-
 
11641
        break
11257
      elif fid == 5:
11642
      if fid == 0:
11258
        if ftype == TType.BOOL:
11643
        if ftype == TType.BOOL:
11259
          self.isActive = iprot.readBool();
11644
          self.success = iprot.readBool();
11260
        else:
11645
        else:
11261
          iprot.skip(ftype)
11646
          iprot.skip(ftype)
-
 
11647
      else:
-
 
11648
        iprot.skip(ftype)
-
 
11649
      iprot.readFieldEnd()
-
 
11650
    iprot.readStructEnd()
-
 
11651
 
-
 
11652
  def write(self, oprot):
-
 
11653
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
-
 
11654
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
-
 
11655
      return
-
 
11656
    oprot.writeStructBegin('addBanner_result')
-
 
11657
    if self.success is not None:
-
 
11658
      oprot.writeFieldBegin('success', TType.BOOL, 0)
-
 
11659
      oprot.writeBool(self.success)
-
 
11660
      oprot.writeFieldEnd()
-
 
11661
    oprot.writeFieldStop()
-
 
11662
    oprot.writeStructEnd()
-
 
11663
 
-
 
11664
  def validate(self):
-
 
11665
    return
-
 
11666
 
-
 
11667
 
-
 
11668
  def __repr__(self):
-
 
11669
    L = ['%s=%r' % (key, value)
-
 
11670
      for key, value in self.__dict__.iteritems()]
-
 
11671
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
-
 
11672
 
-
 
11673
  def __eq__(self, other):
-
 
11674
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
-
 
11675
 
-
 
11676
  def __ne__(self, other):
-
 
11677
    return not (self == other)
-
 
11678
 
-
 
11679
class updateBanner_args:
-
 
11680
  """
-
 
11681
  Attributes:
-
 
11682
   - banner
-
 
11683
  """
-
 
11684
 
-
 
11685
  thrift_spec = (
-
 
11686
    None, # 0
-
 
11687
    (1, TType.STRUCT, 'banner', (Banner, Banner.thrift_spec), None, ), # 1
-
 
11688
  )
-
 
11689
 
-
 
11690
  def __init__(self, banner=None,):
-
 
11691
    self.banner = banner
-
 
11692
 
-
 
11693
  def read(self, iprot):
-
 
11694
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
-
 
11695
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
-
 
11696
      return
-
 
11697
    iprot.readStructBegin()
-
 
11698
    while True:
-
 
11699
      (fname, ftype, fid) = iprot.readFieldBegin()
-
 
11700
      if ftype == TType.STOP:
-
 
11701
        break
11262
      elif fid == 6:
11702
      if fid == 1:
11263
        if ftype == TType.BOOL:
11703
        if ftype == TType.STRUCT:
-
 
11704
          self.banner = Banner()
11264
          self.hasMap = iprot.readBool();
11705
          self.banner.read(iprot)
11265
        else:
11706
        else:
11266
          iprot.skip(ftype)
11707
          iprot.skip(ftype)
11267
      else:
11708
      else:
11268
        iprot.skip(ftype)
11709
        iprot.skip(ftype)
11269
      iprot.readFieldEnd()
11710
      iprot.readFieldEnd()
Line 11271... Line 11712...
11271
 
11712
 
11272
  def write(self, oprot):
11713
  def write(self, oprot):
11273
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
11714
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
11274
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
11715
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
11275
      return
11716
      return
11276
    oprot.writeStructBegin('addBanner_args')
11717
    oprot.writeStructBegin('updateBanner_args')
11277
    if self.bannerName is not None:
11718
    if self.banner is not None:
11278
      oprot.writeFieldBegin('bannerName', TType.STRING, 1)
11719
      oprot.writeFieldBegin('banner', TType.STRUCT, 1)
11279
      oprot.writeString(self.bannerName)
-
 
11280
      oprot.writeFieldEnd()
-
 
11281
    if self.imageName is not None:
-
 
11282
      oprot.writeFieldBegin('imageName', TType.STRING, 2)
-
 
11283
      oprot.writeString(self.imageName)
-
 
11284
      oprot.writeFieldEnd()
-
 
11285
    if self.link is not None:
11720
      self.banner.write(oprot)
11286
      oprot.writeFieldBegin('link', TType.STRING, 3)
-
 
11287
      oprot.writeString(self.link)
-
 
11288
      oprot.writeFieldEnd()
-
 
11289
    if self.priority is not None:
-
 
11290
      oprot.writeFieldBegin('priority', TType.I64, 4)
-
 
11291
      oprot.writeI64(self.priority)
-
 
11292
      oprot.writeFieldEnd()
-
 
11293
    if self.isActive is not None:
-
 
11294
      oprot.writeFieldBegin('isActive', TType.BOOL, 5)
-
 
11295
      oprot.writeBool(self.isActive)
-
 
11296
      oprot.writeFieldEnd()
-
 
11297
    if self.hasMap is not None:
-
 
11298
      oprot.writeFieldBegin('hasMap', TType.BOOL, 6)
-
 
11299
      oprot.writeBool(self.hasMap)
-
 
11300
      oprot.writeFieldEnd()
11721
      oprot.writeFieldEnd()
11301
    oprot.writeFieldStop()
11722
    oprot.writeFieldStop()
11302
    oprot.writeStructEnd()
11723
    oprot.writeStructEnd()
11303
 
11724
 
11304
  def validate(self):
11725
  def validate(self):
Line 11314... Line 11735...
11314
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
11735
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
11315
 
11736
 
11316
  def __ne__(self, other):
11737
  def __ne__(self, other):
11317
    return not (self == other)
11738
    return not (self == other)
11318
 
11739
 
11319
class addBanner_result:
11740
class updateBanner_result:
11320
  """
11741
  """
11321
  Attributes:
11742
  Attributes:
11322
   - success
11743
   - success
11323
  """
11744
  """
11324
 
11745
 
Line 11350... Line 11771...
11350
 
11771
 
11351
  def write(self, oprot):
11772
  def write(self, oprot):
11352
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
11773
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
11353
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
11774
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
11354
      return
11775
      return
11355
    oprot.writeStructBegin('addBanner_result')
11776
    oprot.writeStructBegin('updateBanner_result')
11356
    if self.success is not None:
11777
    if self.success is not None:
11357
      oprot.writeFieldBegin('success', TType.BOOL, 0)
11778
      oprot.writeFieldBegin('success', TType.BOOL, 0)
11358
      oprot.writeBool(self.success)
11779
      oprot.writeBool(self.success)
11359
      oprot.writeFieldEnd()
11780
      oprot.writeFieldEnd()
11360
    oprot.writeFieldStop()
11781
    oprot.writeFieldStop()
Line 11422... Line 11843...
11422
  Attributes:
11843
  Attributes:
11423
   - success
11844
   - success
11424
  """
11845
  """
11425
 
11846
 
11426
  thrift_spec = (
11847
  thrift_spec = (
11427
    (0, TType.LIST, 'success', (TType.STRING,None), None, ), # 0
11848
    (0, TType.LIST, 'success', (TType.STRUCT,(Banner, Banner.thrift_spec)), None, ), # 0
11428
  )
11849
  )
11429
 
11850
 
11430
  def __init__(self, success=None,):
11851
  def __init__(self, success=None,):
11431
    self.success = success
11852
    self.success = success
11432
 
11853
 
Line 11442... Line 11863...
11442
      if fid == 0:
11863
      if fid == 0:
11443
        if ftype == TType.LIST:
11864
        if ftype == TType.LIST:
11444
          self.success = []
11865
          self.success = []
11445
          (_etype184, _size181) = iprot.readListBegin()
11866
          (_etype184, _size181) = iprot.readListBegin()
11446
          for _i185 in xrange(_size181):
11867
          for _i185 in xrange(_size181):
11447
            _elem186 = iprot.readString();
11868
            _elem186 = Banner()
-
 
11869
            _elem186.read(iprot)
11448
            self.success.append(_elem186)
11870
            self.success.append(_elem186)
11449
          iprot.readListEnd()
11871
          iprot.readListEnd()
11450
        else:
11872
        else:
11451
          iprot.skip(ftype)
11873
          iprot.skip(ftype)
11452
      else:
11874
      else:
Line 11459... Line 11881...
11459
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
11881
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
11460
      return
11882
      return
11461
    oprot.writeStructBegin('getAllBanners_result')
11883
    oprot.writeStructBegin('getAllBanners_result')
11462
    if self.success is not None:
11884
    if self.success is not None:
11463
      oprot.writeFieldBegin('success', TType.LIST, 0)
11885
      oprot.writeFieldBegin('success', TType.LIST, 0)
11464
      oprot.writeListBegin(TType.STRING, len(self.success))
11886
      oprot.writeListBegin(TType.STRUCT, len(self.success))
11465
      for iter187 in self.success:
11887
      for iter187 in self.success:
11466
        oprot.writeString(iter187)
11888
        iter187.write(oprot)
11467
      oprot.writeListEnd()
11889
      oprot.writeListEnd()
11468
      oprot.writeFieldEnd()
11890
      oprot.writeFieldEnd()
11469
    oprot.writeFieldStop()
11891
    oprot.writeFieldStop()
11470
    oprot.writeStructEnd()
11892
    oprot.writeStructEnd()
11471
 
11893
 
Line 11770... Line 12192...
11770
  Attributes:
12192
  Attributes:
11771
   - success
12193
   - success
11772
  """
12194
  """
11773
 
12195
 
11774
  thrift_spec = (
12196
  thrift_spec = (
11775
    (0, TType.LIST, 'success', (TType.STRUCT,(Banner, Banner.thrift_spec)), None, ), # 0
12197
    (0, TType.MAP, 'success', (TType.STRING,None,TType.LIST,(TType.STRUCT,(Banner, Banner.thrift_spec))), None, ), # 0
11776
  )
12198
  )
11777
 
12199
 
11778
  def __init__(self, success=None,):
12200
  def __init__(self, success=None,):
11779
    self.success = success
12201
    self.success = success
11780
 
12202
 
Line 11786... Line 12208...
11786
    while True:
12208
    while True:
11787
      (fname, ftype, fid) = iprot.readFieldBegin()
12209
      (fname, ftype, fid) = iprot.readFieldBegin()
11788
      if ftype == TType.STOP:
12210
      if ftype == TType.STOP:
11789
        break
12211
        break
11790
      if fid == 0:
12212
      if fid == 0:
11791
        if ftype == TType.LIST:
12213
        if ftype == TType.MAP:
11792
          self.success = []
12214
          self.success = {}
11793
          (_etype191, _size188) = iprot.readListBegin()
12215
          (_ktype189, _vtype190, _size188 ) = iprot.readMapBegin() 
11794
          for _i192 in xrange(_size188):
12216
          for _i192 in xrange(_size188):
-
 
12217
            _key193 = iprot.readString();
-
 
12218
            _val194 = []
-
 
12219
            (_etype198, _size195) = iprot.readListBegin()
-
 
12220
            for _i199 in xrange(_size195):
11795
            _elem193 = Banner()
12221
              _elem200 = Banner()
11796
            _elem193.read(iprot)
12222
              _elem200.read(iprot)
11797
            self.success.append(_elem193)
12223
              _val194.append(_elem200)
11798
          iprot.readListEnd()
12224
            iprot.readListEnd()
-
 
12225
            self.success[_key193] = _val194
-
 
12226
          iprot.readMapEnd()
11799
        else:
12227
        else:
11800
          iprot.skip(ftype)
12228
          iprot.skip(ftype)
11801
      else:
12229
      else:
11802
        iprot.skip(ftype)
12230
        iprot.skip(ftype)
11803
      iprot.readFieldEnd()
12231
      iprot.readFieldEnd()
Line 11807... Line 12235...
11807
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
12235
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
11808
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
12236
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
11809
      return
12237
      return
11810
    oprot.writeStructBegin('getActiveBanners_result')
12238
    oprot.writeStructBegin('getActiveBanners_result')
11811
    if self.success is not None:
12239
    if self.success is not None:
11812
      oprot.writeFieldBegin('success', TType.LIST, 0)
12240
      oprot.writeFieldBegin('success', TType.MAP, 0)
11813
      oprot.writeListBegin(TType.STRUCT, len(self.success))
12241
      oprot.writeMapBegin(TType.STRING, TType.LIST, len(self.success))
11814
      for iter194 in self.success:
12242
      for kiter201,viter202 in self.success.items():
-
 
12243
        oprot.writeString(kiter201)
-
 
12244
        oprot.writeListBegin(TType.STRUCT, len(viter202))
-
 
12245
        for iter203 in viter202:
11815
        iter194.write(oprot)
12246
          iter203.write(oprot)
11816
      oprot.writeListEnd()
12247
        oprot.writeListEnd()
-
 
12248
      oprot.writeMapEnd()
11817
      oprot.writeFieldEnd()
12249
      oprot.writeFieldEnd()
11818
    oprot.writeFieldStop()
12250
    oprot.writeFieldStop()
11819
    oprot.writeStructEnd()
12251
    oprot.writeStructEnd()
11820
 
12252
 
11821
  def validate(self):
12253
  def validate(self):
Line 11834... Line 12266...
11834
    return not (self == other)
12266
    return not (self == other)
11835
 
12267
 
11836
class addBannerMap_args:
12268
class addBannerMap_args:
11837
  """
12269
  """
11838
  Attributes:
12270
  Attributes:
11839
   - bannerName
12271
   - bannerMaps
11840
   - mapLink
-
 
11841
   - coordinates
-
 
11842
  """
12272
  """
11843
 
12273
 
11844
  thrift_spec = (
12274
  thrift_spec = (
11845
    None, # 0
12275
    None, # 0
11846
    (1, TType.STRING, 'bannerName', None, None, ), # 1
12276
    (1, TType.LIST, 'bannerMaps', (TType.STRUCT,(BannerMap, BannerMap.thrift_spec)), None, ), # 1
11847
    (2, TType.STRING, 'mapLink', None, None, ), # 2
-
 
11848
    (3, TType.STRING, 'coordinates', None, None, ), # 3
-
 
11849
  )
12277
  )
11850
 
12278
 
11851
  def __init__(self, bannerName=None, mapLink=None, coordinates=None,):
12279
  def __init__(self, bannerMaps=None,):
11852
    self.bannerName = bannerName
12280
    self.bannerMaps = bannerMaps
11853
    self.mapLink = mapLink
-
 
11854
    self.coordinates = coordinates
-
 
11855
 
12281
 
11856
  def read(self, iprot):
12282
  def read(self, iprot):
11857
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
12283
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
11858
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
12284
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
11859
      return
12285
      return
Line 11861... Line 12287...
11861
    while True:
12287
    while True:
11862
      (fname, ftype, fid) = iprot.readFieldBegin()
12288
      (fname, ftype, fid) = iprot.readFieldBegin()
11863
      if ftype == TType.STOP:
12289
      if ftype == TType.STOP:
11864
        break
12290
        break
11865
      if fid == 1:
12291
      if fid == 1:
11866
        if ftype == TType.STRING:
12292
        if ftype == TType.LIST:
-
 
12293
          self.bannerMaps = []
-
 
12294
          (_etype207, _size204) = iprot.readListBegin()
-
 
12295
          for _i208 in xrange(_size204):
-
 
12296
            _elem209 = BannerMap()
-
 
12297
            _elem209.read(iprot)
11867
          self.bannerName = iprot.readString();
12298
            self.bannerMaps.append(_elem209)
-
 
12299
          iprot.readListEnd()
11868
        else:
12300
        else:
11869
          iprot.skip(ftype)
12301
          iprot.skip(ftype)
-
 
12302
      else:
-
 
12303
        iprot.skip(ftype)
-
 
12304
      iprot.readFieldEnd()
-
 
12305
    iprot.readStructEnd()
-
 
12306
 
-
 
12307
  def write(self, oprot):
-
 
12308
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
-
 
12309
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
-
 
12310
      return
-
 
12311
    oprot.writeStructBegin('addBannerMap_args')
-
 
12312
    if self.bannerMaps is not None:
-
 
12313
      oprot.writeFieldBegin('bannerMaps', TType.LIST, 1)
-
 
12314
      oprot.writeListBegin(TType.STRUCT, len(self.bannerMaps))
-
 
12315
      for iter210 in self.bannerMaps:
-
 
12316
        iter210.write(oprot)
-
 
12317
      oprot.writeListEnd()
-
 
12318
      oprot.writeFieldEnd()
-
 
12319
    oprot.writeFieldStop()
-
 
12320
    oprot.writeStructEnd()
-
 
12321
 
-
 
12322
  def validate(self):
-
 
12323
    return
-
 
12324
 
-
 
12325
 
-
 
12326
  def __repr__(self):
-
 
12327
    L = ['%s=%r' % (key, value)
-
 
12328
      for key, value in self.__dict__.iteritems()]
-
 
12329
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
-
 
12330
 
-
 
12331
  def __eq__(self, other):
-
 
12332
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
-
 
12333
 
-
 
12334
  def __ne__(self, other):
-
 
12335
    return not (self == other)
-
 
12336
 
-
 
12337
class addBannerMap_result:
-
 
12338
  """
-
 
12339
  Attributes:
-
 
12340
   - success
-
 
12341
  """
-
 
12342
 
-
 
12343
  thrift_spec = (
-
 
12344
    (0, TType.BOOL, 'success', None, None, ), # 0
-
 
12345
  )
-
 
12346
 
-
 
12347
  def __init__(self, success=None,):
-
 
12348
    self.success = success
-
 
12349
 
-
 
12350
  def read(self, iprot):
-
 
12351
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
-
 
12352
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
-
 
12353
      return
-
 
12354
    iprot.readStructBegin()
-
 
12355
    while True:
-
 
12356
      (fname, ftype, fid) = iprot.readFieldBegin()
-
 
12357
      if ftype == TType.STOP:
-
 
12358
        break
11870
      elif fid == 2:
12359
      if fid == 0:
11871
        if ftype == TType.STRING:
12360
        if ftype == TType.BOOL:
11872
          self.mapLink = iprot.readString();
12361
          self.success = iprot.readBool();
11873
        else:
12362
        else:
11874
          iprot.skip(ftype)
12363
          iprot.skip(ftype)
-
 
12364
      else:
-
 
12365
        iprot.skip(ftype)
-
 
12366
      iprot.readFieldEnd()
-
 
12367
    iprot.readStructEnd()
-
 
12368
 
-
 
12369
  def write(self, oprot):
-
 
12370
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
-
 
12371
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
-
 
12372
      return
-
 
12373
    oprot.writeStructBegin('addBannerMap_result')
-
 
12374
    if self.success is not None:
-
 
12375
      oprot.writeFieldBegin('success', TType.BOOL, 0)
-
 
12376
      oprot.writeBool(self.success)
-
 
12377
      oprot.writeFieldEnd()
-
 
12378
    oprot.writeFieldStop()
-
 
12379
    oprot.writeStructEnd()
-
 
12380
 
-
 
12381
  def validate(self):
-
 
12382
    return
-
 
12383
 
-
 
12384
 
-
 
12385
  def __repr__(self):
-
 
12386
    L = ['%s=%r' % (key, value)
-
 
12387
      for key, value in self.__dict__.iteritems()]
-
 
12388
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
-
 
12389
 
-
 
12390
  def __eq__(self, other):
-
 
12391
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
-
 
12392
 
-
 
12393
  def __ne__(self, other):
-
 
12394
    return not (self == other)
-
 
12395
 
-
 
12396
class updateBannerMap_args:
-
 
12397
  """
-
 
12398
  Attributes:
-
 
12399
   - bannerMap
-
 
12400
  """
-
 
12401
 
-
 
12402
  thrift_spec = (
-
 
12403
    None, # 0
-
 
12404
    (1, TType.STRUCT, 'bannerMap', (BannerMap, BannerMap.thrift_spec), None, ), # 1
-
 
12405
  )
-
 
12406
 
-
 
12407
  def __init__(self, bannerMap=None,):
-
 
12408
    self.bannerMap = bannerMap
-
 
12409
 
-
 
12410
  def read(self, iprot):
-
 
12411
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
-
 
12412
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
-
 
12413
      return
-
 
12414
    iprot.readStructBegin()
-
 
12415
    while True:
-
 
12416
      (fname, ftype, fid) = iprot.readFieldBegin()
-
 
12417
      if ftype == TType.STOP:
-
 
12418
        break
11875
      elif fid == 3:
12419
      if fid == 1:
11876
        if ftype == TType.STRING:
12420
        if ftype == TType.STRUCT:
-
 
12421
          self.bannerMap = BannerMap()
11877
          self.coordinates = iprot.readString();
12422
          self.bannerMap.read(iprot)
11878
        else:
12423
        else:
11879
          iprot.skip(ftype)
12424
          iprot.skip(ftype)
11880
      else:
12425
      else:
11881
        iprot.skip(ftype)
12426
        iprot.skip(ftype)
11882
      iprot.readFieldEnd()
12427
      iprot.readFieldEnd()
Line 11884... Line 12429...
11884
 
12429
 
11885
  def write(self, oprot):
12430
  def write(self, oprot):
11886
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
12431
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
11887
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
12432
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
11888
      return
12433
      return
11889
    oprot.writeStructBegin('addBannerMap_args')
12434
    oprot.writeStructBegin('updateBannerMap_args')
11890
    if self.bannerName is not None:
12435
    if self.bannerMap is not None:
11891
      oprot.writeFieldBegin('bannerName', TType.STRING, 1)
12436
      oprot.writeFieldBegin('bannerMap', TType.STRUCT, 1)
11892
      oprot.writeString(self.bannerName)
-
 
11893
      oprot.writeFieldEnd()
-
 
11894
    if self.mapLink is not None:
-
 
11895
      oprot.writeFieldBegin('mapLink', TType.STRING, 2)
-
 
11896
      oprot.writeString(self.mapLink)
-
 
11897
      oprot.writeFieldEnd()
-
 
11898
    if self.coordinates is not None:
12437
      self.bannerMap.write(oprot)
11899
      oprot.writeFieldBegin('coordinates', TType.STRING, 3)
-
 
11900
      oprot.writeString(self.coordinates)
-
 
11901
      oprot.writeFieldEnd()
12438
      oprot.writeFieldEnd()
11902
    oprot.writeFieldStop()
12439
    oprot.writeFieldStop()
11903
    oprot.writeStructEnd()
12440
    oprot.writeStructEnd()
11904
 
12441
 
11905
  def validate(self):
12442
  def validate(self):
Line 11915... Line 12452...
11915
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
12452
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
11916
 
12453
 
11917
  def __ne__(self, other):
12454
  def __ne__(self, other):
11918
    return not (self == other)
12455
    return not (self == other)
11919
 
12456
 
11920
class addBannerMap_result:
12457
class updateBannerMap_result:
11921
  """
12458
  """
11922
  Attributes:
12459
  Attributes:
11923
   - success
12460
   - success
11924
  """
12461
  """
11925
 
12462
 
Line 11951... Line 12488...
11951
 
12488
 
11952
  def write(self, oprot):
12489
  def write(self, oprot):
11953
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
12490
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
11954
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
12491
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
11955
      return
12492
      return
11956
    oprot.writeStructBegin('addBannerMap_result')
12493
    oprot.writeStructBegin('updateBannerMap_result')
11957
    if self.success is not None:
12494
    if self.success is not None:
11958
      oprot.writeFieldBegin('success', TType.BOOL, 0)
12495
      oprot.writeFieldBegin('success', TType.BOOL, 0)
11959
      oprot.writeBool(self.success)
12496
      oprot.writeBool(self.success)
11960
      oprot.writeFieldEnd()
12497
      oprot.writeFieldEnd()
11961
    oprot.writeFieldStop()
12498
    oprot.writeFieldStop()
Line 12178... Line 12715...
12178
      if ftype == TType.STOP:
12715
      if ftype == TType.STOP:
12179
        break
12716
        break
12180
      if fid == 0:
12717
      if fid == 0:
12181
        if ftype == TType.LIST:
12718
        if ftype == TType.LIST:
12182
          self.success = []
12719
          self.success = []
12183
          (_etype198, _size195) = iprot.readListBegin()
12720
          (_etype214, _size211) = iprot.readListBegin()
12184
          for _i199 in xrange(_size195):
12721
          for _i215 in xrange(_size211):
12185
            _elem200 = BannerMap()
12722
            _elem216 = BannerMap()
12186
            _elem200.read(iprot)
12723
            _elem216.read(iprot)
12187
            self.success.append(_elem200)
12724
            self.success.append(_elem216)
12188
          iprot.readListEnd()
12725
          iprot.readListEnd()
12189
        else:
12726
        else:
12190
          iprot.skip(ftype)
12727
          iprot.skip(ftype)
12191
      else:
12728
      else:
12192
        iprot.skip(ftype)
12729
        iprot.skip(ftype)
Line 12199... Line 12736...
12199
      return
12736
      return
12200
    oprot.writeStructBegin('getBannerMapDetails_result')
12737
    oprot.writeStructBegin('getBannerMapDetails_result')
12201
    if self.success is not None:
12738
    if self.success is not None:
12202
      oprot.writeFieldBegin('success', TType.LIST, 0)
12739
      oprot.writeFieldBegin('success', TType.LIST, 0)
12203
      oprot.writeListBegin(TType.STRUCT, len(self.success))
12740
      oprot.writeListBegin(TType.STRUCT, len(self.success))
-
 
12741
      for iter217 in self.success:
-
 
12742
        iter217.write(oprot)
-
 
12743
      oprot.writeListEnd()
-
 
12744
      oprot.writeFieldEnd()
-
 
12745
    oprot.writeFieldStop()
-
 
12746
    oprot.writeStructEnd()
-
 
12747
 
-
 
12748
  def validate(self):
-
 
12749
    return
-
 
12750
 
-
 
12751
 
-
 
12752
  def __repr__(self):
-
 
12753
    L = ['%s=%r' % (key, value)
-
 
12754
      for key, value in self.__dict__.iteritems()]
-
 
12755
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
-
 
12756
 
-
 
12757
  def __eq__(self, other):
-
 
12758
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
-
 
12759
 
-
 
12760
  def __ne__(self, other):
-
 
12761
    return not (self == other)
-
 
12762
 
-
 
12763
class addBannerUri_args:
-
 
12764
  """
-
 
12765
  Attributes:
-
 
12766
   - bannerUriMappings
-
 
12767
  """
-
 
12768
 
-
 
12769
  thrift_spec = (
-
 
12770
    None, # 0
-
 
12771
    (1, TType.LIST, 'bannerUriMappings', (TType.STRUCT,(BannerUriMapping, BannerUriMapping.thrift_spec)), None, ), # 1
-
 
12772
  )
-
 
12773
 
-
 
12774
  def __init__(self, bannerUriMappings=None,):
-
 
12775
    self.bannerUriMappings = bannerUriMappings
-
 
12776
 
-
 
12777
  def read(self, iprot):
-
 
12778
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
-
 
12779
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
-
 
12780
      return
-
 
12781
    iprot.readStructBegin()
-
 
12782
    while True:
-
 
12783
      (fname, ftype, fid) = iprot.readFieldBegin()
-
 
12784
      if ftype == TType.STOP:
-
 
12785
        break
-
 
12786
      if fid == 1:
-
 
12787
        if ftype == TType.LIST:
-
 
12788
          self.bannerUriMappings = []
-
 
12789
          (_etype221, _size218) = iprot.readListBegin()
-
 
12790
          for _i222 in xrange(_size218):
-
 
12791
            _elem223 = BannerUriMapping()
-
 
12792
            _elem223.read(iprot)
-
 
12793
            self.bannerUriMappings.append(_elem223)
-
 
12794
          iprot.readListEnd()
-
 
12795
        else:
-
 
12796
          iprot.skip(ftype)
-
 
12797
      else:
-
 
12798
        iprot.skip(ftype)
-
 
12799
      iprot.readFieldEnd()
-
 
12800
    iprot.readStructEnd()
-
 
12801
 
-
 
12802
  def write(self, oprot):
-
 
12803
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
-
 
12804
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
-
 
12805
      return
-
 
12806
    oprot.writeStructBegin('addBannerUri_args')
-
 
12807
    if self.bannerUriMappings is not None:
-
 
12808
      oprot.writeFieldBegin('bannerUriMappings', TType.LIST, 1)
-
 
12809
      oprot.writeListBegin(TType.STRUCT, len(self.bannerUriMappings))
-
 
12810
      for iter224 in self.bannerUriMappings:
-
 
12811
        iter224.write(oprot)
-
 
12812
      oprot.writeListEnd()
-
 
12813
      oprot.writeFieldEnd()
-
 
12814
    oprot.writeFieldStop()
-
 
12815
    oprot.writeStructEnd()
-
 
12816
 
-
 
12817
  def validate(self):
-
 
12818
    return
-
 
12819
 
-
 
12820
 
-
 
12821
  def __repr__(self):
-
 
12822
    L = ['%s=%r' % (key, value)
-
 
12823
      for key, value in self.__dict__.iteritems()]
-
 
12824
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
-
 
12825
 
-
 
12826
  def __eq__(self, other):
-
 
12827
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
-
 
12828
 
-
 
12829
  def __ne__(self, other):
-
 
12830
    return not (self == other)
-
 
12831
 
-
 
12832
class addBannerUri_result:
-
 
12833
 
-
 
12834
  thrift_spec = (
-
 
12835
  )
-
 
12836
 
-
 
12837
  def read(self, iprot):
-
 
12838
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
-
 
12839
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
-
 
12840
      return
-
 
12841
    iprot.readStructBegin()
-
 
12842
    while True:
-
 
12843
      (fname, ftype, fid) = iprot.readFieldBegin()
-
 
12844
      if ftype == TType.STOP:
-
 
12845
        break
-
 
12846
      else:
-
 
12847
        iprot.skip(ftype)
-
 
12848
      iprot.readFieldEnd()
-
 
12849
    iprot.readStructEnd()
-
 
12850
 
-
 
12851
  def write(self, oprot):
-
 
12852
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
-
 
12853
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
-
 
12854
      return
-
 
12855
    oprot.writeStructBegin('addBannerUri_result')
-
 
12856
    oprot.writeFieldStop()
-
 
12857
    oprot.writeStructEnd()
-
 
12858
 
-
 
12859
  def validate(self):
-
 
12860
    return
-
 
12861
 
-
 
12862
 
-
 
12863
  def __repr__(self):
-
 
12864
    L = ['%s=%r' % (key, value)
-
 
12865
      for key, value in self.__dict__.iteritems()]
-
 
12866
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
-
 
12867
 
-
 
12868
  def __eq__(self, other):
-
 
12869
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
-
 
12870
 
-
 
12871
  def __ne__(self, other):
-
 
12872
    return not (self == other)
-
 
12873
 
-
 
12874
class getUriMapping_args:
-
 
12875
  """
-
 
12876
  Attributes:
-
 
12877
   - bannerName
-
 
12878
  """
-
 
12879
 
-
 
12880
  thrift_spec = (
-
 
12881
    None, # 0
-
 
12882
    (1, TType.STRING, 'bannerName', None, None, ), # 1
-
 
12883
  )
-
 
12884
 
-
 
12885
  def __init__(self, bannerName=None,):
-
 
12886
    self.bannerName = bannerName
-
 
12887
 
-
 
12888
  def read(self, iprot):
-
 
12889
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
-
 
12890
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
-
 
12891
      return
-
 
12892
    iprot.readStructBegin()
-
 
12893
    while True:
-
 
12894
      (fname, ftype, fid) = iprot.readFieldBegin()
-
 
12895
      if ftype == TType.STOP:
-
 
12896
        break
-
 
12897
      if fid == 1:
-
 
12898
        if ftype == TType.STRING:
-
 
12899
          self.bannerName = iprot.readString();
-
 
12900
        else:
-
 
12901
          iprot.skip(ftype)
-
 
12902
      else:
-
 
12903
        iprot.skip(ftype)
-
 
12904
      iprot.readFieldEnd()
-
 
12905
    iprot.readStructEnd()
-
 
12906
 
-
 
12907
  def write(self, oprot):
-
 
12908
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
-
 
12909
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
-
 
12910
      return
-
 
12911
    oprot.writeStructBegin('getUriMapping_args')
-
 
12912
    if self.bannerName is not None:
-
 
12913
      oprot.writeFieldBegin('bannerName', TType.STRING, 1)
-
 
12914
      oprot.writeString(self.bannerName)
-
 
12915
      oprot.writeFieldEnd()
-
 
12916
    oprot.writeFieldStop()
-
 
12917
    oprot.writeStructEnd()
-
 
12918
 
-
 
12919
  def validate(self):
-
 
12920
    return
-
 
12921
 
-
 
12922
 
-
 
12923
  def __repr__(self):
-
 
12924
    L = ['%s=%r' % (key, value)
-
 
12925
      for key, value in self.__dict__.iteritems()]
-
 
12926
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
-
 
12927
 
-
 
12928
  def __eq__(self, other):
-
 
12929
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
-
 
12930
 
-
 
12931
  def __ne__(self, other):
-
 
12932
    return not (self == other)
-
 
12933
 
-
 
12934
class getUriMapping_result:
-
 
12935
  """
-
 
12936
  Attributes:
-
 
12937
   - success
-
 
12938
  """
-
 
12939
 
-
 
12940
  thrift_spec = (
-
 
12941
    (0, TType.LIST, 'success', (TType.STRUCT,(BannerUriMapping, BannerUriMapping.thrift_spec)), None, ), # 0
-
 
12942
  )
-
 
12943
 
-
 
12944
  def __init__(self, success=None,):
-
 
12945
    self.success = success
-
 
12946
 
-
 
12947
  def read(self, iprot):
-
 
12948
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
-
 
12949
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
-
 
12950
      return
-
 
12951
    iprot.readStructBegin()
-
 
12952
    while True:
-
 
12953
      (fname, ftype, fid) = iprot.readFieldBegin()
-
 
12954
      if ftype == TType.STOP:
-
 
12955
        break
-
 
12956
      if fid == 0:
-
 
12957
        if ftype == TType.LIST:
-
 
12958
          self.success = []
-
 
12959
          (_etype228, _size225) = iprot.readListBegin()
-
 
12960
          for _i229 in xrange(_size225):
-
 
12961
            _elem230 = BannerUriMapping()
-
 
12962
            _elem230.read(iprot)
-
 
12963
            self.success.append(_elem230)
-
 
12964
          iprot.readListEnd()
-
 
12965
        else:
-
 
12966
          iprot.skip(ftype)
-
 
12967
      else:
-
 
12968
        iprot.skip(ftype)
-
 
12969
      iprot.readFieldEnd()
-
 
12970
    iprot.readStructEnd()
-
 
12971
 
-
 
12972
  def write(self, oprot):
-
 
12973
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
-
 
12974
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
-
 
12975
      return
-
 
12976
    oprot.writeStructBegin('getUriMapping_result')
-
 
12977
    if self.success is not None:
-
 
12978
      oprot.writeFieldBegin('success', TType.LIST, 0)
-
 
12979
      oprot.writeListBegin(TType.STRUCT, len(self.success))
12204
      for iter201 in self.success:
12980
      for iter231 in self.success:
12205
        iter201.write(oprot)
12981
        iter231.write(oprot)
-
 
12982
      oprot.writeListEnd()
-
 
12983
      oprot.writeFieldEnd()
-
 
12984
    oprot.writeFieldStop()
-
 
12985
    oprot.writeStructEnd()
-
 
12986
 
-
 
12987
  def validate(self):
-
 
12988
    return
-
 
12989
 
-
 
12990
 
-
 
12991
  def __repr__(self):
-
 
12992
    L = ['%s=%r' % (key, value)
-
 
12993
      for key, value in self.__dict__.iteritems()]
-
 
12994
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
-
 
12995
 
-
 
12996
  def __eq__(self, other):
-
 
12997
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
-
 
12998
 
-
 
12999
  def __ne__(self, other):
-
 
13000
    return not (self == other)
-
 
13001
 
-
 
13002
class addCampaign_args:
-
 
13003
  """
-
 
13004
  Attributes:
-
 
13005
   - campaign
-
 
13006
  """
-
 
13007
 
-
 
13008
  thrift_spec = (
-
 
13009
    None, # 0
-
 
13010
    (1, TType.STRUCT, 'campaign', (Campaign, Campaign.thrift_spec), None, ), # 1
-
 
13011
  )
-
 
13012
 
-
 
13013
  def __init__(self, campaign=None,):
-
 
13014
    self.campaign = campaign
-
 
13015
 
-
 
13016
  def read(self, iprot):
-
 
13017
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
-
 
13018
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
-
 
13019
      return
-
 
13020
    iprot.readStructBegin()
-
 
13021
    while True:
-
 
13022
      (fname, ftype, fid) = iprot.readFieldBegin()
-
 
13023
      if ftype == TType.STOP:
-
 
13024
        break
-
 
13025
      if fid == 1:
-
 
13026
        if ftype == TType.STRUCT:
-
 
13027
          self.campaign = Campaign()
-
 
13028
          self.campaign.read(iprot)
-
 
13029
        else:
-
 
13030
          iprot.skip(ftype)
-
 
13031
      else:
-
 
13032
        iprot.skip(ftype)
-
 
13033
      iprot.readFieldEnd()
-
 
13034
    iprot.readStructEnd()
-
 
13035
 
-
 
13036
  def write(self, oprot):
-
 
13037
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
-
 
13038
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
-
 
13039
      return
-
 
13040
    oprot.writeStructBegin('addCampaign_args')
-
 
13041
    if self.campaign is not None:
-
 
13042
      oprot.writeFieldBegin('campaign', TType.STRUCT, 1)
-
 
13043
      self.campaign.write(oprot)
-
 
13044
      oprot.writeFieldEnd()
-
 
13045
    oprot.writeFieldStop()
-
 
13046
    oprot.writeStructEnd()
-
 
13047
 
-
 
13048
  def validate(self):
-
 
13049
    return
-
 
13050
 
-
 
13051
 
-
 
13052
  def __repr__(self):
-
 
13053
    L = ['%s=%r' % (key, value)
-
 
13054
      for key, value in self.__dict__.iteritems()]
-
 
13055
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
-
 
13056
 
-
 
13057
  def __eq__(self, other):
-
 
13058
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
-
 
13059
 
-
 
13060
  def __ne__(self, other):
-
 
13061
    return not (self == other)
-
 
13062
 
-
 
13063
class addCampaign_result:
-
 
13064
 
-
 
13065
  thrift_spec = (
-
 
13066
  )
-
 
13067
 
-
 
13068
  def read(self, iprot):
-
 
13069
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
-
 
13070
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
-
 
13071
      return
-
 
13072
    iprot.readStructBegin()
-
 
13073
    while True:
-
 
13074
      (fname, ftype, fid) = iprot.readFieldBegin()
-
 
13075
      if ftype == TType.STOP:
-
 
13076
        break
-
 
13077
      else:
-
 
13078
        iprot.skip(ftype)
-
 
13079
      iprot.readFieldEnd()
-
 
13080
    iprot.readStructEnd()
-
 
13081
 
-
 
13082
  def write(self, oprot):
-
 
13083
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
-
 
13084
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
-
 
13085
      return
-
 
13086
    oprot.writeStructBegin('addCampaign_result')
-
 
13087
    oprot.writeFieldStop()
-
 
13088
    oprot.writeStructEnd()
-
 
13089
 
-
 
13090
  def validate(self):
-
 
13091
    return
-
 
13092
 
-
 
13093
 
-
 
13094
  def __repr__(self):
-
 
13095
    L = ['%s=%r' % (key, value)
-
 
13096
      for key, value in self.__dict__.iteritems()]
-
 
13097
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
-
 
13098
 
-
 
13099
  def __eq__(self, other):
-
 
13100
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
-
 
13101
 
-
 
13102
  def __ne__(self, other):
-
 
13103
    return not (self == other)
-
 
13104
 
-
 
13105
class getCampaigns_args:
-
 
13106
  """
-
 
13107
  Attributes:
-
 
13108
   - campaignName
-
 
13109
  """
-
 
13110
 
-
 
13111
  thrift_spec = (
-
 
13112
    None, # 0
-
 
13113
    (1, TType.STRING, 'campaignName', None, None, ), # 1
-
 
13114
  )
-
 
13115
 
-
 
13116
  def __init__(self, campaignName=None,):
-
 
13117
    self.campaignName = campaignName
-
 
13118
 
-
 
13119
  def read(self, iprot):
-
 
13120
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
-
 
13121
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
-
 
13122
      return
-
 
13123
    iprot.readStructBegin()
-
 
13124
    while True:
-
 
13125
      (fname, ftype, fid) = iprot.readFieldBegin()
-
 
13126
      if ftype == TType.STOP:
-
 
13127
        break
-
 
13128
      if fid == 1:
-
 
13129
        if ftype == TType.STRING:
-
 
13130
          self.campaignName = iprot.readString();
-
 
13131
        else:
-
 
13132
          iprot.skip(ftype)
-
 
13133
      else:
-
 
13134
        iprot.skip(ftype)
-
 
13135
      iprot.readFieldEnd()
-
 
13136
    iprot.readStructEnd()
-
 
13137
 
-
 
13138
  def write(self, oprot):
-
 
13139
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
-
 
13140
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
-
 
13141
      return
-
 
13142
    oprot.writeStructBegin('getCampaigns_args')
-
 
13143
    if self.campaignName is not None:
-
 
13144
      oprot.writeFieldBegin('campaignName', TType.STRING, 1)
-
 
13145
      oprot.writeString(self.campaignName)
-
 
13146
      oprot.writeFieldEnd()
-
 
13147
    oprot.writeFieldStop()
-
 
13148
    oprot.writeStructEnd()
-
 
13149
 
-
 
13150
  def validate(self):
-
 
13151
    return
-
 
13152
 
-
 
13153
 
-
 
13154
  def __repr__(self):
-
 
13155
    L = ['%s=%r' % (key, value)
-
 
13156
      for key, value in self.__dict__.iteritems()]
-
 
13157
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
-
 
13158
 
-
 
13159
  def __eq__(self, other):
-
 
13160
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
-
 
13161
 
-
 
13162
  def __ne__(self, other):
-
 
13163
    return not (self == other)
-
 
13164
 
-
 
13165
class getCampaigns_result:
-
 
13166
  """
-
 
13167
  Attributes:
-
 
13168
   - success
-
 
13169
  """
-
 
13170
 
-
 
13171
  thrift_spec = (
-
 
13172
    (0, TType.LIST, 'success', (TType.STRUCT,(Campaign, Campaign.thrift_spec)), None, ), # 0
-
 
13173
  )
-
 
13174
 
-
 
13175
  def __init__(self, success=None,):
-
 
13176
    self.success = success
-
 
13177
 
-
 
13178
  def read(self, iprot):
-
 
13179
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
-
 
13180
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
-
 
13181
      return
-
 
13182
    iprot.readStructBegin()
-
 
13183
    while True:
-
 
13184
      (fname, ftype, fid) = iprot.readFieldBegin()
-
 
13185
      if ftype == TType.STOP:
-
 
13186
        break
-
 
13187
      if fid == 0:
-
 
13188
        if ftype == TType.LIST:
-
 
13189
          self.success = []
-
 
13190
          (_etype235, _size232) = iprot.readListBegin()
-
 
13191
          for _i236 in xrange(_size232):
-
 
13192
            _elem237 = Campaign()
-
 
13193
            _elem237.read(iprot)
-
 
13194
            self.success.append(_elem237)
-
 
13195
          iprot.readListEnd()
-
 
13196
        else:
-
 
13197
          iprot.skip(ftype)
-
 
13198
      else:
-
 
13199
        iprot.skip(ftype)
-
 
13200
      iprot.readFieldEnd()
-
 
13201
    iprot.readStructEnd()
-
 
13202
 
-
 
13203
  def write(self, oprot):
-
 
13204
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
-
 
13205
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
-
 
13206
      return
-
 
13207
    oprot.writeStructBegin('getCampaigns_result')
-
 
13208
    if self.success is not None:
-
 
13209
      oprot.writeFieldBegin('success', TType.LIST, 0)
-
 
13210
      oprot.writeListBegin(TType.STRUCT, len(self.success))
-
 
13211
      for iter238 in self.success:
-
 
13212
        iter238.write(oprot)
-
 
13213
      oprot.writeListEnd()
-
 
13214
      oprot.writeFieldEnd()
-
 
13215
    oprot.writeFieldStop()
-
 
13216
    oprot.writeStructEnd()
-
 
13217
 
-
 
13218
  def validate(self):
-
 
13219
    return
-
 
13220
 
-
 
13221
 
-
 
13222
  def __repr__(self):
-
 
13223
    L = ['%s=%r' % (key, value)
-
 
13224
      for key, value in self.__dict__.iteritems()]
-
 
13225
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
-
 
13226
 
-
 
13227
  def __eq__(self, other):
-
 
13228
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
-
 
13229
 
-
 
13230
  def __ne__(self, other):
-
 
13231
    return not (self == other)
-
 
13232
 
-
 
13233
class deleteCampaign_args:
-
 
13234
  """
-
 
13235
  Attributes:
-
 
13236
   - campaignId
-
 
13237
  """
-
 
13238
 
-
 
13239
  thrift_spec = (
-
 
13240
    None, # 0
-
 
13241
    (1, TType.I64, 'campaignId', None, None, ), # 1
-
 
13242
  )
-
 
13243
 
-
 
13244
  def __init__(self, campaignId=None,):
-
 
13245
    self.campaignId = campaignId
-
 
13246
 
-
 
13247
  def read(self, iprot):
-
 
13248
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
-
 
13249
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
-
 
13250
      return
-
 
13251
    iprot.readStructBegin()
-
 
13252
    while True:
-
 
13253
      (fname, ftype, fid) = iprot.readFieldBegin()
-
 
13254
      if ftype == TType.STOP:
-
 
13255
        break
-
 
13256
      if fid == 1:
-
 
13257
        if ftype == TType.I64:
-
 
13258
          self.campaignId = iprot.readI64();
-
 
13259
        else:
-
 
13260
          iprot.skip(ftype)
-
 
13261
      else:
-
 
13262
        iprot.skip(ftype)
-
 
13263
      iprot.readFieldEnd()
-
 
13264
    iprot.readStructEnd()
-
 
13265
 
-
 
13266
  def write(self, oprot):
-
 
13267
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
-
 
13268
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
-
 
13269
      return
-
 
13270
    oprot.writeStructBegin('deleteCampaign_args')
-
 
13271
    if self.campaignId is not None:
-
 
13272
      oprot.writeFieldBegin('campaignId', TType.I64, 1)
-
 
13273
      oprot.writeI64(self.campaignId)
-
 
13274
      oprot.writeFieldEnd()
-
 
13275
    oprot.writeFieldStop()
-
 
13276
    oprot.writeStructEnd()
-
 
13277
 
-
 
13278
  def validate(self):
-
 
13279
    return
-
 
13280
 
-
 
13281
 
-
 
13282
  def __repr__(self):
-
 
13283
    L = ['%s=%r' % (key, value)
-
 
13284
      for key, value in self.__dict__.iteritems()]
-
 
13285
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
-
 
13286
 
-
 
13287
  def __eq__(self, other):
-
 
13288
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
-
 
13289
 
-
 
13290
  def __ne__(self, other):
-
 
13291
    return not (self == other)
-
 
13292
 
-
 
13293
class deleteCampaign_result:
-
 
13294
 
-
 
13295
  thrift_spec = (
-
 
13296
  )
-
 
13297
 
-
 
13298
  def read(self, iprot):
-
 
13299
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
-
 
13300
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
-
 
13301
      return
-
 
13302
    iprot.readStructBegin()
-
 
13303
    while True:
-
 
13304
      (fname, ftype, fid) = iprot.readFieldBegin()
-
 
13305
      if ftype == TType.STOP:
-
 
13306
        break
-
 
13307
      else:
-
 
13308
        iprot.skip(ftype)
-
 
13309
      iprot.readFieldEnd()
-
 
13310
    iprot.readStructEnd()
-
 
13311
 
-
 
13312
  def write(self, oprot):
-
 
13313
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
-
 
13314
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
-
 
13315
      return
-
 
13316
    oprot.writeStructBegin('deleteCampaign_result')
-
 
13317
    oprot.writeFieldStop()
-
 
13318
    oprot.writeStructEnd()
-
 
13319
 
-
 
13320
  def validate(self):
-
 
13321
    return
-
 
13322
 
-
 
13323
 
-
 
13324
  def __repr__(self):
-
 
13325
    L = ['%s=%r' % (key, value)
-
 
13326
      for key, value in self.__dict__.iteritems()]
-
 
13327
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
-
 
13328
 
-
 
13329
  def __eq__(self, other):
-
 
13330
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
-
 
13331
 
-
 
13332
  def __ne__(self, other):
-
 
13333
    return not (self == other)
-
 
13334
 
-
 
13335
class getAllCampaigns_args:
-
 
13336
 
-
 
13337
  thrift_spec = (
-
 
13338
  )
-
 
13339
 
-
 
13340
  def read(self, iprot):
-
 
13341
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
-
 
13342
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
-
 
13343
      return
-
 
13344
    iprot.readStructBegin()
-
 
13345
    while True:
-
 
13346
      (fname, ftype, fid) = iprot.readFieldBegin()
-
 
13347
      if ftype == TType.STOP:
-
 
13348
        break
-
 
13349
      else:
-
 
13350
        iprot.skip(ftype)
-
 
13351
      iprot.readFieldEnd()
-
 
13352
    iprot.readStructEnd()
-
 
13353
 
-
 
13354
  def write(self, oprot):
-
 
13355
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
-
 
13356
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
-
 
13357
      return
-
 
13358
    oprot.writeStructBegin('getAllCampaigns_args')
-
 
13359
    oprot.writeFieldStop()
-
 
13360
    oprot.writeStructEnd()
-
 
13361
 
-
 
13362
  def validate(self):
-
 
13363
    return
-
 
13364
 
-
 
13365
 
-
 
13366
  def __repr__(self):
-
 
13367
    L = ['%s=%r' % (key, value)
-
 
13368
      for key, value in self.__dict__.iteritems()]
-
 
13369
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
-
 
13370
 
-
 
13371
  def __eq__(self, other):
-
 
13372
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
-
 
13373
 
-
 
13374
  def __ne__(self, other):
-
 
13375
    return not (self == other)
-
 
13376
 
-
 
13377
class getAllCampaigns_result:
-
 
13378
  """
-
 
13379
  Attributes:
-
 
13380
   - success
-
 
13381
  """
-
 
13382
 
-
 
13383
  thrift_spec = (
-
 
13384
    (0, TType.LIST, 'success', (TType.STRING,None), None, ), # 0
-
 
13385
  )
-
 
13386
 
-
 
13387
  def __init__(self, success=None,):
-
 
13388
    self.success = success
-
 
13389
 
-
 
13390
  def read(self, iprot):
-
 
13391
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
-
 
13392
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
-
 
13393
      return
-
 
13394
    iprot.readStructBegin()
-
 
13395
    while True:
-
 
13396
      (fname, ftype, fid) = iprot.readFieldBegin()
-
 
13397
      if ftype == TType.STOP:
-
 
13398
        break
-
 
13399
      if fid == 0:
-
 
13400
        if ftype == TType.LIST:
-
 
13401
          self.success = []
-
 
13402
          (_etype242, _size239) = iprot.readListBegin()
-
 
13403
          for _i243 in xrange(_size239):
-
 
13404
            _elem244 = iprot.readString();
-
 
13405
            self.success.append(_elem244)
-
 
13406
          iprot.readListEnd()
-
 
13407
        else:
-
 
13408
          iprot.skip(ftype)
-
 
13409
      else:
-
 
13410
        iprot.skip(ftype)
-
 
13411
      iprot.readFieldEnd()
-
 
13412
    iprot.readStructEnd()
-
 
13413
 
-
 
13414
  def write(self, oprot):
-
 
13415
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
-
 
13416
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
-
 
13417
      return
-
 
13418
    oprot.writeStructBegin('getAllCampaigns_result')
-
 
13419
    if self.success is not None:
-
 
13420
      oprot.writeFieldBegin('success', TType.LIST, 0)
-
 
13421
      oprot.writeListBegin(TType.STRING, len(self.success))
-
 
13422
      for iter245 in self.success:
-
 
13423
        oprot.writeString(iter245)
12206
      oprot.writeListEnd()
13424
      oprot.writeListEnd()
12207
      oprot.writeFieldEnd()
13425
      oprot.writeFieldEnd()
12208
    oprot.writeFieldStop()
13426
    oprot.writeFieldStop()
12209
    oprot.writeStructEnd()
13427
    oprot.writeStructEnd()
12210
 
13428
 
Line 12803... Line 14021...
12803
      if ftype == TType.STOP:
14021
      if ftype == TType.STOP:
12804
        break
14022
        break
12805
      if fid == 0:
14023
      if fid == 0:
12806
        if ftype == TType.LIST:
14024
        if ftype == TType.LIST:
12807
          self.success = []
14025
          self.success = []
12808
          (_etype205, _size202) = iprot.readListBegin()
14026
          (_etype249, _size246) = iprot.readListBegin()
12809
          for _i206 in xrange(_size202):
14027
          for _i250 in xrange(_size246):
12810
            _elem207 = Item()
14028
            _elem251 = Item()
12811
            _elem207.read(iprot)
14029
            _elem251.read(iprot)
12812
            self.success.append(_elem207)
14030
            self.success.append(_elem251)
12813
          iprot.readListEnd()
14031
          iprot.readListEnd()
12814
        else:
14032
        else:
12815
          iprot.skip(ftype)
14033
          iprot.skip(ftype)
12816
      else:
14034
      else:
12817
        iprot.skip(ftype)
14035
        iprot.skip(ftype)
Line 12824... Line 14042...
12824
      return
14042
      return
12825
    oprot.writeStructBegin('getItemsByRiskyFlag_result')
14043
    oprot.writeStructBegin('getItemsByRiskyFlag_result')
12826
    if self.success is not None:
14044
    if self.success is not None:
12827
      oprot.writeFieldBegin('success', TType.LIST, 0)
14045
      oprot.writeFieldBegin('success', TType.LIST, 0)
12828
      oprot.writeListBegin(TType.STRUCT, len(self.success))
14046
      oprot.writeListBegin(TType.STRUCT, len(self.success))
12829
      for iter208 in self.success:
14047
      for iter252 in self.success:
12830
        iter208.write(oprot)
14048
        iter252.write(oprot)
12831
      oprot.writeListEnd()
14049
      oprot.writeListEnd()
12832
      oprot.writeFieldEnd()
14050
      oprot.writeFieldEnd()
12833
    oprot.writeFieldStop()
14051
    oprot.writeFieldStop()
12834
    oprot.writeStructEnd()
14052
    oprot.writeStructEnd()
12835
 
14053
 
Line 12943... Line 14161...
12943
      if ftype == TType.STOP:
14161
      if ftype == TType.STOP:
12944
        break
14162
        break
12945
      if fid == 0:
14163
      if fid == 0:
12946
        if ftype == TType.LIST:
14164
        if ftype == TType.LIST:
12947
          self.success = []
14165
          self.success = []
12948
          (_etype212, _size209) = iprot.readListBegin()
14166
          (_etype256, _size253) = iprot.readListBegin()
12949
          for _i213 in xrange(_size209):
14167
          for _i257 in xrange(_size253):
12950
            _elem214 = Item()
14168
            _elem258 = Item()
12951
            _elem214.read(iprot)
14169
            _elem258.read(iprot)
12952
            self.success.append(_elem214)
14170
            self.success.append(_elem258)
12953
          iprot.readListEnd()
14171
          iprot.readListEnd()
12954
        else:
14172
        else:
12955
          iprot.skip(ftype)
14173
          iprot.skip(ftype)
12956
      else:
14174
      else:
12957
        iprot.skip(ftype)
14175
        iprot.skip(ftype)
Line 12964... Line 14182...
12964
      return
14182
      return
12965
    oprot.writeStructBegin('getItemsForMasterSheet_result')
14183
    oprot.writeStructBegin('getItemsForMasterSheet_result')
12966
    if self.success is not None:
14184
    if self.success is not None:
12967
      oprot.writeFieldBegin('success', TType.LIST, 0)
14185
      oprot.writeFieldBegin('success', TType.LIST, 0)
12968
      oprot.writeListBegin(TType.STRUCT, len(self.success))
14186
      oprot.writeListBegin(TType.STRUCT, len(self.success))
12969
      for iter215 in self.success:
14187
      for iter259 in self.success:
12970
        iter215.write(oprot)
14188
        iter259.write(oprot)
12971
      oprot.writeListEnd()
14189
      oprot.writeListEnd()
12972
      oprot.writeFieldEnd()
14190
      oprot.writeFieldEnd()
12973
    oprot.writeFieldStop()
14191
    oprot.writeFieldStop()
12974
    oprot.writeStructEnd()
14192
    oprot.writeStructEnd()
12975
 
14193
 
Line 13095... Line 14313...
13095
      if ftype == TType.STOP:
14313
      if ftype == TType.STOP:
13096
        break
14314
        break
13097
      if fid == 0:
14315
      if fid == 0:
13098
        if ftype == TType.LIST:
14316
        if ftype == TType.LIST:
13099
          self.success = []
14317
          self.success = []
13100
          (_etype219, _size216) = iprot.readListBegin()
14318
          (_etype263, _size260) = iprot.readListBegin()
13101
          for _i220 in xrange(_size216):
14319
          for _i264 in xrange(_size260):
13102
            _elem221 = iprot.readI64();
14320
            _elem265 = iprot.readI64();
13103
            self.success.append(_elem221)
14321
            self.success.append(_elem265)
13104
          iprot.readListEnd()
14322
          iprot.readListEnd()
13105
        else:
14323
        else:
13106
          iprot.skip(ftype)
14324
          iprot.skip(ftype)
13107
      else:
14325
      else:
13108
        iprot.skip(ftype)
14326
        iprot.skip(ftype)
Line 13115... Line 14333...
13115
      return
14333
      return
13116
    oprot.writeStructBegin('getSimilarItemsCatalogIds_result')
14334
    oprot.writeStructBegin('getSimilarItemsCatalogIds_result')
13117
    if self.success is not None:
14335
    if self.success is not None:
13118
      oprot.writeFieldBegin('success', TType.LIST, 0)
14336
      oprot.writeFieldBegin('success', TType.LIST, 0)
13119
      oprot.writeListBegin(TType.I64, len(self.success))
14337
      oprot.writeListBegin(TType.I64, len(self.success))
13120
      for iter222 in self.success:
14338
      for iter266 in self.success:
13121
        oprot.writeI64(iter222)
14339
        oprot.writeI64(iter266)
13122
      oprot.writeListEnd()
14340
      oprot.writeListEnd()
13123
      oprot.writeFieldEnd()
14341
      oprot.writeFieldEnd()
13124
    oprot.writeFieldStop()
14342
    oprot.writeFieldStop()
13125
    oprot.writeStructEnd()
14343
    oprot.writeStructEnd()
13126
 
14344
 
Line 13449... Line 14667...
13449
      if ftype == TType.STOP:
14667
      if ftype == TType.STOP:
13450
        break
14668
        break
13451
      if fid == 0:
14669
      if fid == 0:
13452
        if ftype == TType.LIST:
14670
        if ftype == TType.LIST:
13453
          self.success = []
14671
          self.success = []
13454
          (_etype226, _size223) = iprot.readListBegin()
14672
          (_etype270, _size267) = iprot.readListBegin()
13455
          for _i227 in xrange(_size223):
14673
          for _i271 in xrange(_size267):
13456
            _elem228 = iprot.readString();
14674
            _elem272 = iprot.readString();
13457
            self.success.append(_elem228)
14675
            self.success.append(_elem272)
13458
          iprot.readListEnd()
14676
          iprot.readListEnd()
13459
        else:
14677
        else:
13460
          iprot.skip(ftype)
14678
          iprot.skip(ftype)
13461
      else:
14679
      else:
13462
        iprot.skip(ftype)
14680
        iprot.skip(ftype)
Line 13469... Line 14687...
13469
      return
14687
      return
13470
    oprot.writeStructBegin('getAllBrandsByCategory_result')
14688
    oprot.writeStructBegin('getAllBrandsByCategory_result')
13471
    if self.success is not None:
14689
    if self.success is not None:
13472
      oprot.writeFieldBegin('success', TType.LIST, 0)
14690
      oprot.writeFieldBegin('success', TType.LIST, 0)
13473
      oprot.writeListBegin(TType.STRING, len(self.success))
14691
      oprot.writeListBegin(TType.STRING, len(self.success))
13474
      for iter229 in self.success:
14692
      for iter273 in self.success:
13475
        oprot.writeString(iter229)
14693
        oprot.writeString(iter273)
13476
      oprot.writeListEnd()
14694
      oprot.writeListEnd()
13477
      oprot.writeFieldEnd()
14695
      oprot.writeFieldEnd()
13478
    oprot.writeFieldStop()
14696
    oprot.writeFieldStop()
13479
    oprot.writeStructEnd()
14697
    oprot.writeStructEnd()
13480
 
14698
 
Line 13558... Line 14776...
13558
      if ftype == TType.STOP:
14776
      if ftype == TType.STOP:
13559
        break
14777
        break
13560
      if fid == 0:
14778
      if fid == 0:
13561
        if ftype == TType.LIST:
14779
        if ftype == TType.LIST:
13562
          self.success = []
14780
          self.success = []
13563
          (_etype233, _size230) = iprot.readListBegin()
14781
          (_etype277, _size274) = iprot.readListBegin()
13564
          for _i234 in xrange(_size230):
14782
          for _i278 in xrange(_size274):
13565
            _elem235 = iprot.readString();
14783
            _elem279 = iprot.readString();
13566
            self.success.append(_elem235)
14784
            self.success.append(_elem279)
13567
          iprot.readListEnd()
14785
          iprot.readListEnd()
13568
        else:
14786
        else:
13569
          iprot.skip(ftype)
14787
          iprot.skip(ftype)
13570
      else:
14788
      else:
13571
        iprot.skip(ftype)
14789
        iprot.skip(ftype)
Line 13578... Line 14796...
13578
      return
14796
      return
13579
    oprot.writeStructBegin('getAllBrands_result')
14797
    oprot.writeStructBegin('getAllBrands_result')
13580
    if self.success is not None:
14798
    if self.success is not None:
13581
      oprot.writeFieldBegin('success', TType.LIST, 0)
14799
      oprot.writeFieldBegin('success', TType.LIST, 0)
13582
      oprot.writeListBegin(TType.STRING, len(self.success))
14800
      oprot.writeListBegin(TType.STRING, len(self.success))
13583
      for iter236 in self.success:
14801
      for iter280 in self.success:
13584
        oprot.writeString(iter236)
14802
        oprot.writeString(iter280)
13585
      oprot.writeListEnd()
14803
      oprot.writeListEnd()
13586
      oprot.writeFieldEnd()
14804
      oprot.writeFieldEnd()
13587
    oprot.writeFieldStop()
14805
    oprot.writeFieldStop()
13588
    oprot.writeStructEnd()
14806
    oprot.writeStructEnd()
13589
 
14807
 
Line 13667... Line 14885...
13667
      if ftype == TType.STOP:
14885
      if ftype == TType.STOP:
13668
        break
14886
        break
13669
      if fid == 0:
14887
      if fid == 0:
13670
        if ftype == TType.LIST:
14888
        if ftype == TType.LIST:
13671
          self.success = []
14889
          self.success = []
13672
          (_etype240, _size237) = iprot.readListBegin()
14890
          (_etype284, _size281) = iprot.readListBegin()
13673
          for _i241 in xrange(_size237):
14891
          for _i285 in xrange(_size281):
13674
            _elem242 = Source()
14892
            _elem286 = Source()
13675
            _elem242.read(iprot)
14893
            _elem286.read(iprot)
13676
            self.success.append(_elem242)
14894
            self.success.append(_elem286)
13677
          iprot.readListEnd()
14895
          iprot.readListEnd()
13678
        else:
14896
        else:
13679
          iprot.skip(ftype)
14897
          iprot.skip(ftype)
13680
      else:
14898
      else:
13681
        iprot.skip(ftype)
14899
        iprot.skip(ftype)
Line 13688... Line 14906...
13688
      return
14906
      return
13689
    oprot.writeStructBegin('getAllSources_result')
14907
    oprot.writeStructBegin('getAllSources_result')
13690
    if self.success is not None:
14908
    if self.success is not None:
13691
      oprot.writeFieldBegin('success', TType.LIST, 0)
14909
      oprot.writeFieldBegin('success', TType.LIST, 0)
13692
      oprot.writeListBegin(TType.STRUCT, len(self.success))
14910
      oprot.writeListBegin(TType.STRUCT, len(self.success))
13693
      for iter243 in self.success:
14911
      for iter287 in self.success:
13694
        iter243.write(oprot)
14912
        iter287.write(oprot)
13695
      oprot.writeListEnd()
14913
      oprot.writeListEnd()
13696
      oprot.writeFieldEnd()
14914
      oprot.writeFieldEnd()
13697
    oprot.writeFieldStop()
14915
    oprot.writeFieldStop()
13698
    oprot.writeStructEnd()
14916
    oprot.writeStructEnd()
13699
 
14917
 
Line 14065... Line 15283...
14065
      if ftype == TType.STOP:
15283
      if ftype == TType.STOP:
14066
        break
15284
        break
14067
      if fid == 0:
15285
      if fid == 0:
14068
        if ftype == TType.LIST:
15286
        if ftype == TType.LIST:
14069
          self.success = []
15287
          self.success = []
14070
          (_etype247, _size244) = iprot.readListBegin()
15288
          (_etype291, _size288) = iprot.readListBegin()
14071
          for _i248 in xrange(_size244):
15289
          for _i292 in xrange(_size288):
14072
            _elem249 = SourceItemPricing()
15290
            _elem293 = SourceItemPricing()
14073
            _elem249.read(iprot)
15291
            _elem293.read(iprot)
14074
            self.success.append(_elem249)
15292
            self.success.append(_elem293)
14075
          iprot.readListEnd()
15293
          iprot.readListEnd()
14076
        else:
15294
        else:
14077
          iprot.skip(ftype)
15295
          iprot.skip(ftype)
14078
      elif fid == 1:
15296
      elif fid == 1:
14079
        if ftype == TType.STRUCT:
15297
        if ftype == TType.STRUCT:
Line 14092... Line 15310...
14092
      return
15310
      return
14093
    oprot.writeStructBegin('getAllSourcePricing_result')
15311
    oprot.writeStructBegin('getAllSourcePricing_result')
14094
    if self.success is not None:
15312
    if self.success is not None:
14095
      oprot.writeFieldBegin('success', TType.LIST, 0)
15313
      oprot.writeFieldBegin('success', TType.LIST, 0)
14096
      oprot.writeListBegin(TType.STRUCT, len(self.success))
15314
      oprot.writeListBegin(TType.STRUCT, len(self.success))
14097
      for iter250 in self.success:
15315
      for iter294 in self.success:
14098
        iter250.write(oprot)
15316
        iter294.write(oprot)
14099
      oprot.writeListEnd()
15317
      oprot.writeListEnd()
14100
      oprot.writeFieldEnd()
15318
      oprot.writeFieldEnd()
14101
    if self.cex is not None:
15319
    if self.cex is not None:
14102
      oprot.writeFieldBegin('cex', TType.STRUCT, 1)
15320
      oprot.writeFieldBegin('cex', TType.STRUCT, 1)
14103
      self.cex.write(oprot)
15321
      self.cex.write(oprot)
Line 14295... Line 15513...
14295
      if ftype == TType.STOP:
15513
      if ftype == TType.STOP:
14296
        break
15514
        break
14297
      if fid == 1:
15515
      if fid == 1:
14298
        if ftype == TType.LIST:
15516
        if ftype == TType.LIST:
14299
          self.searchTerms = []
15517
          self.searchTerms = []
14300
          (_etype254, _size251) = iprot.readListBegin()
15518
          (_etype298, _size295) = iprot.readListBegin()
14301
          for _i255 in xrange(_size251):
15519
          for _i299 in xrange(_size295):
14302
            _elem256 = iprot.readString();
15520
            _elem300 = iprot.readString();
14303
            self.searchTerms.append(_elem256)
15521
            self.searchTerms.append(_elem300)
14304
          iprot.readListEnd()
15522
          iprot.readListEnd()
14305
        else:
15523
        else:
14306
          iprot.skip(ftype)
15524
          iprot.skip(ftype)
14307
      elif fid == 2:
15525
      elif fid == 2:
14308
        if ftype == TType.I64:
15526
        if ftype == TType.I64:
Line 14325... Line 15543...
14325
      return
15543
      return
14326
    oprot.writeStructBegin('searchItemsInRange_args')
15544
    oprot.writeStructBegin('searchItemsInRange_args')
14327
    if self.searchTerms is not None:
15545
    if self.searchTerms is not None:
14328
      oprot.writeFieldBegin('searchTerms', TType.LIST, 1)
15546
      oprot.writeFieldBegin('searchTerms', TType.LIST, 1)
14329
      oprot.writeListBegin(TType.STRING, len(self.searchTerms))
15547
      oprot.writeListBegin(TType.STRING, len(self.searchTerms))
14330
      for iter257 in self.searchTerms:
15548
      for iter301 in self.searchTerms:
14331
        oprot.writeString(iter257)
15549
        oprot.writeString(iter301)
14332
      oprot.writeListEnd()
15550
      oprot.writeListEnd()
14333
      oprot.writeFieldEnd()
15551
      oprot.writeFieldEnd()
14334
    if self.offset is not None:
15552
    if self.offset is not None:
14335
      oprot.writeFieldBegin('offset', TType.I64, 2)
15553
      oprot.writeFieldBegin('offset', TType.I64, 2)
14336
      oprot.writeI64(self.offset)
15554
      oprot.writeI64(self.offset)
Line 14380... Line 15598...
14380
      if ftype == TType.STOP:
15598
      if ftype == TType.STOP:
14381
        break
15599
        break
14382
      if fid == 0:
15600
      if fid == 0:
14383
        if ftype == TType.LIST:
15601
        if ftype == TType.LIST:
14384
          self.success = []
15602
          self.success = []
14385
          (_etype261, _size258) = iprot.readListBegin()
15603
          (_etype305, _size302) = iprot.readListBegin()
14386
          for _i262 in xrange(_size258):
15604
          for _i306 in xrange(_size302):
14387
            _elem263 = Item()
15605
            _elem307 = Item()
14388
            _elem263.read(iprot)
15606
            _elem307.read(iprot)
14389
            self.success.append(_elem263)
15607
            self.success.append(_elem307)
14390
          iprot.readListEnd()
15608
          iprot.readListEnd()
14391
        else:
15609
        else:
14392
          iprot.skip(ftype)
15610
          iprot.skip(ftype)
14393
      else:
15611
      else:
14394
        iprot.skip(ftype)
15612
        iprot.skip(ftype)
Line 14401... Line 15619...
14401
      return
15619
      return
14402
    oprot.writeStructBegin('searchItemsInRange_result')
15620
    oprot.writeStructBegin('searchItemsInRange_result')
14403
    if self.success is not None:
15621
    if self.success is not None:
14404
      oprot.writeFieldBegin('success', TType.LIST, 0)
15622
      oprot.writeFieldBegin('success', TType.LIST, 0)
14405
      oprot.writeListBegin(TType.STRUCT, len(self.success))
15623
      oprot.writeListBegin(TType.STRUCT, len(self.success))
14406
      for iter264 in self.success:
15624
      for iter308 in self.success:
14407
        iter264.write(oprot)
15625
        iter308.write(oprot)
14408
      oprot.writeListEnd()
15626
      oprot.writeListEnd()
14409
      oprot.writeFieldEnd()
15627
      oprot.writeFieldEnd()
14410
    oprot.writeFieldStop()
15628
    oprot.writeFieldStop()
14411
    oprot.writeStructEnd()
15629
    oprot.writeStructEnd()
14412
 
15630
 
Line 14449... Line 15667...
14449
      if ftype == TType.STOP:
15667
      if ftype == TType.STOP:
14450
        break
15668
        break
14451
      if fid == 1:
15669
      if fid == 1:
14452
        if ftype == TType.LIST:
15670
        if ftype == TType.LIST:
14453
          self.searchTerms = []
15671
          self.searchTerms = []
14454
          (_etype268, _size265) = iprot.readListBegin()
15672
          (_etype312, _size309) = iprot.readListBegin()
14455
          for _i269 in xrange(_size265):
15673
          for _i313 in xrange(_size309):
14456
            _elem270 = iprot.readString();
15674
            _elem314 = iprot.readString();
14457
            self.searchTerms.append(_elem270)
15675
            self.searchTerms.append(_elem314)
14458
          iprot.readListEnd()
15676
          iprot.readListEnd()
14459
        else:
15677
        else:
14460
          iprot.skip(ftype)
15678
          iprot.skip(ftype)
14461
      else:
15679
      else:
14462
        iprot.skip(ftype)
15680
        iprot.skip(ftype)
Line 14469... Line 15687...
14469
      return
15687
      return
14470
    oprot.writeStructBegin('getSearchResultCount_args')
15688
    oprot.writeStructBegin('getSearchResultCount_args')
14471
    if self.searchTerms is not None:
15689
    if self.searchTerms is not None:
14472
      oprot.writeFieldBegin('searchTerms', TType.LIST, 1)
15690
      oprot.writeFieldBegin('searchTerms', TType.LIST, 1)
14473
      oprot.writeListBegin(TType.STRING, len(self.searchTerms))
15691
      oprot.writeListBegin(TType.STRING, len(self.searchTerms))
14474
      for iter271 in self.searchTerms:
15692
      for iter315 in self.searchTerms:
14475
        oprot.writeString(iter271)
15693
        oprot.writeString(iter315)
14476
      oprot.writeListEnd()
15694
      oprot.writeListEnd()
14477
      oprot.writeFieldEnd()
15695
      oprot.writeFieldEnd()
14478
    oprot.writeFieldStop()
15696
    oprot.writeFieldStop()
14479
    oprot.writeStructEnd()
15697
    oprot.writeStructEnd()
14480
 
15698
 
Line 14635... Line 15853...
14635
      if ftype == TType.STOP:
15853
      if ftype == TType.STOP:
14636
        break
15854
        break
14637
      if fid == 0:
15855
      if fid == 0:
14638
        if ftype == TType.LIST:
15856
        if ftype == TType.LIST:
14639
          self.success = []
15857
          self.success = []
14640
          (_etype275, _size272) = iprot.readListBegin()
15858
          (_etype319, _size316) = iprot.readListBegin()
14641
          for _i276 in xrange(_size272):
15859
          for _i320 in xrange(_size316):
14642
            _elem277 = ProductNotificationRequest()
15860
            _elem321 = ProductNotificationRequest()
14643
            _elem277.read(iprot)
15861
            _elem321.read(iprot)
14644
            self.success.append(_elem277)
15862
            self.success.append(_elem321)
14645
          iprot.readListEnd()
15863
          iprot.readListEnd()
14646
        else:
15864
        else:
14647
          iprot.skip(ftype)
15865
          iprot.skip(ftype)
14648
      else:
15866
      else:
14649
        iprot.skip(ftype)
15867
        iprot.skip(ftype)
Line 14656... Line 15874...
14656
      return
15874
      return
14657
    oprot.writeStructBegin('getProductNotifications_result')
15875
    oprot.writeStructBegin('getProductNotifications_result')
14658
    if self.success is not None:
15876
    if self.success is not None:
14659
      oprot.writeFieldBegin('success', TType.LIST, 0)
15877
      oprot.writeFieldBegin('success', TType.LIST, 0)
14660
      oprot.writeListBegin(TType.STRUCT, len(self.success))
15878
      oprot.writeListBegin(TType.STRUCT, len(self.success))
14661
      for iter278 in self.success:
15879
      for iter322 in self.success:
14662
        iter278.write(oprot)
15880
        iter322.write(oprot)
14663
      oprot.writeListEnd()
15881
      oprot.writeListEnd()
14664
      oprot.writeFieldEnd()
15882
      oprot.writeFieldEnd()
14665
    oprot.writeFieldStop()
15883
    oprot.writeFieldStop()
14666
    oprot.writeStructEnd()
15884
    oprot.writeStructEnd()
14667
 
15885
 
Line 14775... Line 15993...
14775
      if ftype == TType.STOP:
15993
      if ftype == TType.STOP:
14776
        break
15994
        break
14777
      if fid == 0:
15995
      if fid == 0:
14778
        if ftype == TType.LIST:
15996
        if ftype == TType.LIST:
14779
          self.success = []
15997
          self.success = []
14780
          (_etype282, _size279) = iprot.readListBegin()
15998
          (_etype326, _size323) = iprot.readListBegin()
14781
          for _i283 in xrange(_size279):
15999
          for _i327 in xrange(_size323):
14782
            _elem284 = ProductNotificationRequestCount()
16000
            _elem328 = ProductNotificationRequestCount()
14783
            _elem284.read(iprot)
16001
            _elem328.read(iprot)
14784
            self.success.append(_elem284)
16002
            self.success.append(_elem328)
14785
          iprot.readListEnd()
16003
          iprot.readListEnd()
14786
        else:
16004
        else:
14787
          iprot.skip(ftype)
16005
          iprot.skip(ftype)
14788
      else:
16006
      else:
14789
        iprot.skip(ftype)
16007
        iprot.skip(ftype)
Line 14796... Line 16014...
14796
      return
16014
      return
14797
    oprot.writeStructBegin('getProductNotificationRequestCount_result')
16015
    oprot.writeStructBegin('getProductNotificationRequestCount_result')
14798
    if self.success is not None:
16016
    if self.success is not None:
14799
      oprot.writeFieldBegin('success', TType.LIST, 0)
16017
      oprot.writeFieldBegin('success', TType.LIST, 0)
14800
      oprot.writeListBegin(TType.STRUCT, len(self.success))
16018
      oprot.writeListBegin(TType.STRUCT, len(self.success))
14801
      for iter285 in self.success:
16019
      for iter329 in self.success:
14802
        iter285.write(oprot)
16020
        iter329.write(oprot)
14803
      oprot.writeListEnd()
16021
      oprot.writeListEnd()
14804
      oprot.writeFieldEnd()
16022
      oprot.writeFieldEnd()
14805
    oprot.writeFieldStop()
16023
    oprot.writeFieldStop()
14806
    oprot.writeStructEnd()
16024
    oprot.writeStructEnd()
14807
 
16025
 
Line 15490... Line 16708...
15490
      if ftype == TType.STOP:
16708
      if ftype == TType.STOP:
15491
        break
16709
        break
15492
      if fid == 0:
16710
      if fid == 0:
15493
        if ftype == TType.LIST:
16711
        if ftype == TType.LIST:
15494
          self.success = []
16712
          self.success = []
15495
          (_etype289, _size286) = iprot.readListBegin()
16713
          (_etype333, _size330) = iprot.readListBegin()
15496
          for _i290 in xrange(_size286):
16714
          for _i334 in xrange(_size330):
15497
            _elem291 = VoucherItemMapping()
16715
            _elem335 = VoucherItemMapping()
15498
            _elem291.read(iprot)
16716
            _elem335.read(iprot)
15499
            self.success.append(_elem291)
16717
            self.success.append(_elem335)
15500
          iprot.readListEnd()
16718
          iprot.readListEnd()
15501
        else:
16719
        else:
15502
          iprot.skip(ftype)
16720
          iprot.skip(ftype)
15503
      else:
16721
      else:
15504
        iprot.skip(ftype)
16722
        iprot.skip(ftype)
Line 15511... Line 16729...
15511
      return
16729
      return
15512
    oprot.writeStructBegin('getAllItemVouchers_result')
16730
    oprot.writeStructBegin('getAllItemVouchers_result')
15513
    if self.success is not None:
16731
    if self.success is not None:
15514
      oprot.writeFieldBegin('success', TType.LIST, 0)
16732
      oprot.writeFieldBegin('success', TType.LIST, 0)
15515
      oprot.writeListBegin(TType.STRUCT, len(self.success))
16733
      oprot.writeListBegin(TType.STRUCT, len(self.success))
15516
      for iter292 in self.success:
16734
      for iter336 in self.success:
15517
        iter292.write(oprot)
16735
        iter336.write(oprot)
15518
      oprot.writeListEnd()
16736
      oprot.writeListEnd()
15519
      oprot.writeFieldEnd()
16737
      oprot.writeFieldEnd()
15520
    oprot.writeFieldStop()
16738
    oprot.writeFieldStop()
15521
    oprot.writeStructEnd()
16739
    oprot.writeStructEnd()
15522
 
16740
 
Line 16036... Line 17254...
16036
      if ftype == TType.STOP:
17254
      if ftype == TType.STOP:
16037
        break
17255
        break
16038
      if fid == 0:
17256
      if fid == 0:
16039
        if ftype == TType.LIST:
17257
        if ftype == TType.LIST:
16040
          self.success = []
17258
          self.success = []
16041
          (_etype296, _size293) = iprot.readListBegin()
17259
          (_etype340, _size337) = iprot.readListBegin()
16042
          for _i297 in xrange(_size293):
17260
          for _i341 in xrange(_size337):
16043
            _elem298 = Item()
17261
            _elem342 = Item()
16044
            _elem298.read(iprot)
17262
            _elem342.read(iprot)
16045
            self.success.append(_elem298)
17263
            self.success.append(_elem342)
16046
          iprot.readListEnd()
17264
          iprot.readListEnd()
16047
        else:
17265
        else:
16048
          iprot.skip(ftype)
17266
          iprot.skip(ftype)
16049
      else:
17267
      else:
16050
        iprot.skip(ftype)
17268
        iprot.skip(ftype)
Line 16057... Line 17275...
16057
      return
17275
      return
16058
    oprot.writeStructBegin('getAllIgnoredInventoryUpdateItemsList_result')
17276
    oprot.writeStructBegin('getAllIgnoredInventoryUpdateItemsList_result')
16059
    if self.success is not None:
17277
    if self.success is not None:
16060
      oprot.writeFieldBegin('success', TType.LIST, 0)
17278
      oprot.writeFieldBegin('success', TType.LIST, 0)
16061
      oprot.writeListBegin(TType.STRUCT, len(self.success))
17279
      oprot.writeListBegin(TType.STRUCT, len(self.success))
16062
      for iter299 in self.success:
17280
      for iter343 in self.success:
16063
        iter299.write(oprot)
17281
        iter343.write(oprot)
16064
      oprot.writeListEnd()
17282
      oprot.writeListEnd()
16065
      oprot.writeFieldEnd()
17283
      oprot.writeFieldEnd()
16066
    oprot.writeFieldStop()
17284
    oprot.writeFieldStop()
16067
    oprot.writeStructEnd()
17285
    oprot.writeStructEnd()
16068
 
17286
 
Line 16146... Line 17364...
16146
      if ftype == TType.STOP:
17364
      if ftype == TType.STOP:
16147
        break
17365
        break
16148
      if fid == 0:
17366
      if fid == 0:
16149
        if ftype == TType.LIST:
17367
        if ftype == TType.LIST:
16150
          self.success = []
17368
          self.success = []
16151
          (_etype303, _size300) = iprot.readListBegin()
17369
          (_etype347, _size344) = iprot.readListBegin()
16152
          for _i304 in xrange(_size300):
17370
          for _i348 in xrange(_size344):
16153
            _elem305 = Item()
17371
            _elem349 = Item()
16154
            _elem305.read(iprot)
17372
            _elem349.read(iprot)
16155
            self.success.append(_elem305)
17373
            self.success.append(_elem349)
16156
          iprot.readListEnd()
17374
          iprot.readListEnd()
16157
        else:
17375
        else:
16158
          iprot.skip(ftype)
17376
          iprot.skip(ftype)
16159
      else:
17377
      else:
16160
        iprot.skip(ftype)
17378
        iprot.skip(ftype)
Line 16167... Line 17385...
16167
      return
17385
      return
16168
    oprot.writeStructBegin('getAllAliveItems_result')
17386
    oprot.writeStructBegin('getAllAliveItems_result')
16169
    if self.success is not None:
17387
    if self.success is not None:
16170
      oprot.writeFieldBegin('success', TType.LIST, 0)
17388
      oprot.writeFieldBegin('success', TType.LIST, 0)
16171
      oprot.writeListBegin(TType.STRUCT, len(self.success))
17389
      oprot.writeListBegin(TType.STRUCT, len(self.success))
16172
      for iter306 in self.success:
17390
      for iter350 in self.success:
16173
        iter306.write(oprot)
17391
        iter350.write(oprot)
16174
      oprot.writeListEnd()
17392
      oprot.writeListEnd()
16175
      oprot.writeFieldEnd()
17393
      oprot.writeFieldEnd()
16176
    oprot.writeFieldStop()
17394
    oprot.writeFieldStop()
16177
    oprot.writeStructEnd()
17395
    oprot.writeStructEnd()
16178
 
17396
 
Line 16531... Line 17749...
16531
      if ftype == TType.STOP:
17749
      if ftype == TType.STOP:
16532
        break
17750
        break
16533
      if fid == 0:
17751
      if fid == 0:
16534
        if ftype == TType.LIST:
17752
        if ftype == TType.LIST:
16535
          self.success = []
17753
          self.success = []
16536
          (_etype310, _size307) = iprot.readListBegin()
17754
          (_etype354, _size351) = iprot.readListBegin()
16537
          for _i311 in xrange(_size307):
17755
          for _i355 in xrange(_size351):
16538
            _elem312 = Insurer()
17756
            _elem356 = Insurer()
16539
            _elem312.read(iprot)
17757
            _elem356.read(iprot)
16540
            self.success.append(_elem312)
17758
            self.success.append(_elem356)
16541
          iprot.readListEnd()
17759
          iprot.readListEnd()
16542
        else:
17760
        else:
16543
          iprot.skip(ftype)
17761
          iprot.skip(ftype)
16544
      else:
17762
      else:
16545
        iprot.skip(ftype)
17763
        iprot.skip(ftype)
Line 16552... Line 17770...
16552
      return
17770
      return
16553
    oprot.writeStructBegin('getAllInsurers_result')
17771
    oprot.writeStructBegin('getAllInsurers_result')
16554
    if self.success is not None:
17772
    if self.success is not None:
16555
      oprot.writeFieldBegin('success', TType.LIST, 0)
17773
      oprot.writeFieldBegin('success', TType.LIST, 0)
16556
      oprot.writeListBegin(TType.STRUCT, len(self.success))
17774
      oprot.writeListBegin(TType.STRUCT, len(self.success))
16557
      for iter313 in self.success:
17775
      for iter357 in self.success:
16558
        iter313.write(oprot)
17776
        iter357.write(oprot)
16559
      oprot.writeListEnd()
17777
      oprot.writeListEnd()
16560
      oprot.writeFieldEnd()
17778
      oprot.writeFieldEnd()
16561
    oprot.writeFieldStop()
17779
    oprot.writeFieldStop()
16562
    oprot.writeStructEnd()
17780
    oprot.writeStructEnd()
16563
 
17781
 
Line 17080... Line 18298...
17080
      if ftype == TType.STOP:
18298
      if ftype == TType.STOP:
17081
        break
18299
        break
17082
      if fid == 0:
18300
      if fid == 0:
17083
        if ftype == TType.MAP:
18301
        if ftype == TType.MAP:
17084
          self.success = {}
18302
          self.success = {}
17085
          (_ktype315, _vtype316, _size314 ) = iprot.readMapBegin() 
18303
          (_ktype359, _vtype360, _size358 ) = iprot.readMapBegin() 
17086
          for _i318 in xrange(_size314):
18304
          for _i362 in xrange(_size358):
17087
            _key319 = iprot.readString();
18305
            _key363 = iprot.readString();
17088
            _val320 = BrandInfo()
18306
            _val364 = BrandInfo()
17089
            _val320.read(iprot)
18307
            _val364.read(iprot)
17090
            self.success[_key319] = _val320
18308
            self.success[_key363] = _val364
17091
          iprot.readMapEnd()
18309
          iprot.readMapEnd()
17092
        else:
18310
        else:
17093
          iprot.skip(ftype)
18311
          iprot.skip(ftype)
17094
      else:
18312
      else:
17095
        iprot.skip(ftype)
18313
        iprot.skip(ftype)
Line 17102... Line 18320...
17102
      return
18320
      return
17103
    oprot.writeStructBegin('getBrandInfo_result')
18321
    oprot.writeStructBegin('getBrandInfo_result')
17104
    if self.success is not None:
18322
    if self.success is not None:
17105
      oprot.writeFieldBegin('success', TType.MAP, 0)
18323
      oprot.writeFieldBegin('success', TType.MAP, 0)
17106
      oprot.writeMapBegin(TType.STRING, TType.STRUCT, len(self.success))
18324
      oprot.writeMapBegin(TType.STRING, TType.STRUCT, len(self.success))
17107
      for kiter321,viter322 in self.success.items():
18325
      for kiter365,viter366 in self.success.items():
17108
        oprot.writeString(kiter321)
18326
        oprot.writeString(kiter365)
17109
        viter322.write(oprot)
18327
        viter366.write(oprot)
17110
      oprot.writeMapEnd()
18328
      oprot.writeMapEnd()
17111
      oprot.writeFieldEnd()
18329
      oprot.writeFieldEnd()
17112
    oprot.writeFieldStop()
18330
    oprot.writeFieldStop()
17113
    oprot.writeStructEnd()
18331
    oprot.writeStructEnd()
17114
 
18332
 
Line 17271... Line 18489...
17271
      if ftype == TType.STOP:
18489
      if ftype == TType.STOP:
17272
        break
18490
        break
17273
      if fid == 1:
18491
      if fid == 1:
17274
        if ftype == TType.LIST:
18492
        if ftype == TType.LIST:
17275
          self.itemIds = []
18493
          self.itemIds = []
17276
          (_etype326, _size323) = iprot.readListBegin()
18494
          (_etype370, _size367) = iprot.readListBegin()
17277
          for _i327 in xrange(_size323):
18495
          for _i371 in xrange(_size367):
17278
            _elem328 = iprot.readI64();
18496
            _elem372 = iprot.readI64();
17279
            self.itemIds.append(_elem328)
18497
            self.itemIds.append(_elem372)
17280
          iprot.readListEnd()
18498
          iprot.readListEnd()
17281
        else:
18499
        else:
17282
          iprot.skip(ftype)
18500
          iprot.skip(ftype)
17283
      else:
18501
      else:
17284
        iprot.skip(ftype)
18502
        iprot.skip(ftype)
Line 17291... Line 18509...
17291
      return
18509
      return
17292
    oprot.writeStructBegin('getStorePricings_args')
18510
    oprot.writeStructBegin('getStorePricings_args')
17293
    if self.itemIds is not None:
18511
    if self.itemIds is not None:
17294
      oprot.writeFieldBegin('itemIds', TType.LIST, 1)
18512
      oprot.writeFieldBegin('itemIds', TType.LIST, 1)
17295
      oprot.writeListBegin(TType.I64, len(self.itemIds))
18513
      oprot.writeListBegin(TType.I64, len(self.itemIds))
17296
      for iter329 in self.itemIds:
18514
      for iter373 in self.itemIds:
17297
        oprot.writeI64(iter329)
18515
        oprot.writeI64(iter373)
17298
      oprot.writeListEnd()
18516
      oprot.writeListEnd()
17299
      oprot.writeFieldEnd()
18517
      oprot.writeFieldEnd()
17300
    oprot.writeFieldStop()
18518
    oprot.writeFieldStop()
17301
    oprot.writeStructEnd()
18519
    oprot.writeStructEnd()
17302
 
18520
 
Line 17338... Line 18556...
17338
      if ftype == TType.STOP:
18556
      if ftype == TType.STOP:
17339
        break
18557
        break
17340
      if fid == 0:
18558
      if fid == 0:
17341
        if ftype == TType.LIST:
18559
        if ftype == TType.LIST:
17342
          self.success = []
18560
          self.success = []
17343
          (_etype333, _size330) = iprot.readListBegin()
18561
          (_etype377, _size374) = iprot.readListBegin()
17344
          for _i334 in xrange(_size330):
18562
          for _i378 in xrange(_size374):
17345
            _elem335 = StorePricing()
18563
            _elem379 = StorePricing()
17346
            _elem335.read(iprot)
18564
            _elem379.read(iprot)
17347
            self.success.append(_elem335)
18565
            self.success.append(_elem379)
17348
          iprot.readListEnd()
18566
          iprot.readListEnd()
17349
        else:
18567
        else:
17350
          iprot.skip(ftype)
18568
          iprot.skip(ftype)
17351
      else:
18569
      else:
17352
        iprot.skip(ftype)
18570
        iprot.skip(ftype)
Line 17359... Line 18577...
17359
      return
18577
      return
17360
    oprot.writeStructBegin('getStorePricings_result')
18578
    oprot.writeStructBegin('getStorePricings_result')
17361
    if self.success is not None:
18579
    if self.success is not None:
17362
      oprot.writeFieldBegin('success', TType.LIST, 0)
18580
      oprot.writeFieldBegin('success', TType.LIST, 0)
17363
      oprot.writeListBegin(TType.STRUCT, len(self.success))
18581
      oprot.writeListBegin(TType.STRUCT, len(self.success))
17364
      for iter336 in self.success:
18582
      for iter380 in self.success:
17365
        iter336.write(oprot)
18583
        iter380.write(oprot)
17366
      oprot.writeListEnd()
18584
      oprot.writeListEnd()
17367
      oprot.writeFieldEnd()
18585
      oprot.writeFieldEnd()
17368
    oprot.writeFieldStop()
18586
    oprot.writeFieldStop()
17369
    oprot.writeStructEnd()
18587
    oprot.writeStructEnd()
17370
 
18588
 
Line 17563... Line 18781...
17563
      if ftype == TType.STOP:
18781
      if ftype == TType.STOP:
17564
        break
18782
        break
17565
      if fid == 0:
18783
      if fid == 0:
17566
        if ftype == TType.LIST:
18784
        if ftype == TType.LIST:
17567
          self.success = []
18785
          self.success = []
17568
          (_etype340, _size337) = iprot.readListBegin()
18786
          (_etype384, _size381) = iprot.readListBegin()
17569
          for _i341 in xrange(_size337):
18787
          for _i385 in xrange(_size381):
17570
            _elem342 = Amazonlisted()
18788
            _elem386 = Amazonlisted()
17571
            _elem342.read(iprot)
18789
            _elem386.read(iprot)
17572
            self.success.append(_elem342)
18790
            self.success.append(_elem386)
17573
          iprot.readListEnd()
18791
          iprot.readListEnd()
17574
        else:
18792
        else:
17575
          iprot.skip(ftype)
18793
          iprot.skip(ftype)
17576
      else:
18794
      else:
17577
        iprot.skip(ftype)
18795
        iprot.skip(ftype)
Line 17584... Line 18802...
17584
      return
18802
      return
17585
    oprot.writeStructBegin('getAllAmazonListedItems_result')
18803
    oprot.writeStructBegin('getAllAmazonListedItems_result')
17586
    if self.success is not None:
18804
    if self.success is not None:
17587
      oprot.writeFieldBegin('success', TType.LIST, 0)
18805
      oprot.writeFieldBegin('success', TType.LIST, 0)
17588
      oprot.writeListBegin(TType.STRUCT, len(self.success))
18806
      oprot.writeListBegin(TType.STRUCT, len(self.success))
17589
      for iter343 in self.success:
18807
      for iter387 in self.success:
17590
        iter343.write(oprot)
18808
        iter387.write(oprot)
17591
      oprot.writeListEnd()
18809
      oprot.writeListEnd()
17592
      oprot.writeFieldEnd()
18810
      oprot.writeFieldEnd()
17593
    oprot.writeFieldStop()
18811
    oprot.writeFieldStop()
17594
    oprot.writeStructEnd()
18812
    oprot.writeStructEnd()
17595
 
18813
 
Line 17999... Line 19217...
17999
      if ftype == TType.STOP:
19217
      if ftype == TType.STOP:
18000
        break
19218
        break
18001
      if fid == 0:
19219
      if fid == 0:
18002
        if ftype == TType.LIST:
19220
        if ftype == TType.LIST:
18003
          self.success = []
19221
          self.success = []
18004
          (_etype347, _size344) = iprot.readListBegin()
19222
          (_etype391, _size388) = iprot.readListBegin()
18005
          for _i348 in xrange(_size344):
19223
          for _i392 in xrange(_size388):
18006
            _elem349 = Item()
19224
            _elem393 = Item()
18007
            _elem349.read(iprot)
19225
            _elem393.read(iprot)
18008
            self.success.append(_elem349)
19226
            self.success.append(_elem393)
18009
          iprot.readListEnd()
19227
          iprot.readListEnd()
18010
        else:
19228
        else:
18011
          iprot.skip(ftype)
19229
          iprot.skip(ftype)
18012
      else:
19230
      else:
18013
        iprot.skip(ftype)
19231
        iprot.skip(ftype)
Line 18020... Line 19238...
18020
      return
19238
      return
18021
    oprot.writeStructBegin('getAsinItems_result')
19239
    oprot.writeStructBegin('getAsinItems_result')
18022
    if self.success is not None:
19240
    if self.success is not None:
18023
      oprot.writeFieldBegin('success', TType.LIST, 0)
19241
      oprot.writeFieldBegin('success', TType.LIST, 0)
18024
      oprot.writeListBegin(TType.STRUCT, len(self.success))
19242
      oprot.writeListBegin(TType.STRUCT, len(self.success))
18025
      for iter350 in self.success:
19243
      for iter394 in self.success:
18026
        iter350.write(oprot)
19244
        iter394.write(oprot)
18027
      oprot.writeListEnd()
19245
      oprot.writeListEnd()
18028
      oprot.writeFieldEnd()
19246
      oprot.writeFieldEnd()
18029
    oprot.writeFieldStop()
19247
    oprot.writeFieldStop()
18030
    oprot.writeStructEnd()
19248
    oprot.writeStructEnd()
18031
 
19249
 
Line 18109... Line 19327...
18109
      if ftype == TType.STOP:
19327
      if ftype == TType.STOP:
18110
        break
19328
        break
18111
      if fid == 0:
19329
      if fid == 0:
18112
        if ftype == TType.LIST:
19330
        if ftype == TType.LIST:
18113
          self.success = []
19331
          self.success = []
18114
          (_etype354, _size351) = iprot.readListBegin()
19332
          (_etype398, _size395) = iprot.readListBegin()
18115
          for _i355 in xrange(_size351):
19333
          for _i399 in xrange(_size395):
18116
            _elem356 = Amazonlisted()
19334
            _elem400 = Amazonlisted()
18117
            _elem356.read(iprot)
19335
            _elem400.read(iprot)
18118
            self.success.append(_elem356)
19336
            self.success.append(_elem400)
18119
          iprot.readListEnd()
19337
          iprot.readListEnd()
18120
        else:
19338
        else:
18121
          iprot.skip(ftype)
19339
          iprot.skip(ftype)
18122
      else:
19340
      else:
18123
        iprot.skip(ftype)
19341
        iprot.skip(ftype)
Line 18130... Line 19348...
18130
      return
19348
      return
18131
    oprot.writeStructBegin('getAllFbaListedItems_result')
19349
    oprot.writeStructBegin('getAllFbaListedItems_result')
18132
    if self.success is not None:
19350
    if self.success is not None:
18133
      oprot.writeFieldBegin('success', TType.LIST, 0)
19351
      oprot.writeFieldBegin('success', TType.LIST, 0)
18134
      oprot.writeListBegin(TType.STRUCT, len(self.success))
19352
      oprot.writeListBegin(TType.STRUCT, len(self.success))
18135
      for iter357 in self.success:
19353
      for iter401 in self.success:
18136
        iter357.write(oprot)
19354
        iter401.write(oprot)
18137
      oprot.writeListEnd()
19355
      oprot.writeListEnd()
18138
      oprot.writeFieldEnd()
19356
      oprot.writeFieldEnd()
18139
    oprot.writeFieldStop()
19357
    oprot.writeFieldStop()
18140
    oprot.writeStructEnd()
19358
    oprot.writeStructEnd()
18141
 
19359
 
Line 18219... Line 19437...
18219
      if ftype == TType.STOP:
19437
      if ftype == TType.STOP:
18220
        break
19438
        break
18221
      if fid == 0:
19439
      if fid == 0:
18222
        if ftype == TType.LIST:
19440
        if ftype == TType.LIST:
18223
          self.success = []
19441
          self.success = []
18224
          (_etype361, _size358) = iprot.readListBegin()
19442
          (_etype405, _size402) = iprot.readListBegin()
18225
          for _i362 in xrange(_size358):
19443
          for _i406 in xrange(_size402):
18226
            _elem363 = Amazonlisted()
19444
            _elem407 = Amazonlisted()
18227
            _elem363.read(iprot)
19445
            _elem407.read(iprot)
18228
            self.success.append(_elem363)
19446
            self.success.append(_elem407)
18229
          iprot.readListEnd()
19447
          iprot.readListEnd()
18230
        else:
19448
        else:
18231
          iprot.skip(ftype)
19449
          iprot.skip(ftype)
18232
      else:
19450
      else:
18233
        iprot.skip(ftype)
19451
        iprot.skip(ftype)
Line 18240... Line 19458...
18240
      return
19458
      return
18241
    oprot.writeStructBegin('getAllNonFbaListedItems_result')
19459
    oprot.writeStructBegin('getAllNonFbaListedItems_result')
18242
    if self.success is not None:
19460
    if self.success is not None:
18243
      oprot.writeFieldBegin('success', TType.LIST, 0)
19461
      oprot.writeFieldBegin('success', TType.LIST, 0)
18244
      oprot.writeListBegin(TType.STRUCT, len(self.success))
19462
      oprot.writeListBegin(TType.STRUCT, len(self.success))
18245
      for iter364 in self.success:
19463
      for iter408 in self.success:
18246
        iter364.write(oprot)
19464
        iter408.write(oprot)
18247
      oprot.writeListEnd()
19465
      oprot.writeListEnd()
18248
      oprot.writeFieldEnd()
19466
      oprot.writeFieldEnd()
18249
    oprot.writeFieldStop()
19467
    oprot.writeFieldStop()
18250
    oprot.writeStructEnd()
19468
    oprot.writeStructEnd()
18251
 
19469
 
Line 18442... Line 19660...
18442
        else:
19660
        else:
18443
          iprot.skip(ftype)
19661
          iprot.skip(ftype)
18444
      elif fid == 2:
19662
      elif fid == 2:
18445
        if ftype == TType.LIST:
19663
        if ftype == TType.LIST:
18446
          self.sku = []
19664
          self.sku = []
18447
          (_etype368, _size365) = iprot.readListBegin()
19665
          (_etype412, _size409) = iprot.readListBegin()
18448
          for _i369 in xrange(_size365):
19666
          for _i413 in xrange(_size409):
18449
            _elem370 = iprot.readI64();
19667
            _elem414 = iprot.readI64();
18450
            self.sku.append(_elem370)
19668
            self.sku.append(_elem414)
18451
          iprot.readListEnd()
19669
          iprot.readListEnd()
18452
        else:
19670
        else:
18453
          iprot.skip(ftype)
19671
          iprot.skip(ftype)
18454
      elif fid == 3:
19672
      elif fid == 3:
18455
        if ftype == TType.I64:
19673
        if ftype == TType.I64:
Line 18471... Line 19689...
18471
      oprot.writeString(self.type)
19689
      oprot.writeString(self.type)
18472
      oprot.writeFieldEnd()
19690
      oprot.writeFieldEnd()
18473
    if self.sku is not None:
19691
    if self.sku is not None:
18474
      oprot.writeFieldBegin('sku', TType.LIST, 2)
19692
      oprot.writeFieldBegin('sku', TType.LIST, 2)
18475
      oprot.writeListBegin(TType.I64, len(self.sku))
19693
      oprot.writeListBegin(TType.I64, len(self.sku))
18476
      for iter371 in self.sku:
19694
      for iter415 in self.sku:
18477
        oprot.writeI64(iter371)
19695
        oprot.writeI64(iter415)
18478
      oprot.writeListEnd()
19696
      oprot.writeListEnd()
18479
      oprot.writeFieldEnd()
19697
      oprot.writeFieldEnd()
18480
    if self.timestamp is not None:
19698
    if self.timestamp is not None:
18481
      oprot.writeFieldBegin('timestamp', TType.I64, 3)
19699
      oprot.writeFieldBegin('timestamp', TType.I64, 3)
18482
      oprot.writeI64(self.timestamp)
19700
      oprot.writeI64(self.timestamp)
Line 18623... Line 19841...
18623
      if ftype == TType.STOP:
19841
      if ftype == TType.STOP:
18624
        break
19842
        break
18625
      if fid == 0:
19843
      if fid == 0:
18626
        if ftype == TType.LIST:
19844
        if ftype == TType.LIST:
18627
          self.success = []
19845
          self.success = []
18628
          (_etype375, _size372) = iprot.readListBegin()
19846
          (_etype419, _size416) = iprot.readListBegin()
18629
          for _i376 in xrange(_size372):
19847
          for _i420 in xrange(_size416):
18630
            _elem377 = Category()
19848
            _elem421 = Category()
18631
            _elem377.read(iprot)
19849
            _elem421.read(iprot)
18632
            self.success.append(_elem377)
19850
            self.success.append(_elem421)
18633
          iprot.readListEnd()
19851
          iprot.readListEnd()
18634
        else:
19852
        else:
18635
          iprot.skip(ftype)
19853
          iprot.skip(ftype)
18636
      else:
19854
      else:
18637
        iprot.skip(ftype)
19855
        iprot.skip(ftype)
Line 18644... Line 19862...
18644
      return
19862
      return
18645
    oprot.writeStructBegin('getAllParentCategories_result')
19863
    oprot.writeStructBegin('getAllParentCategories_result')
18646
    if self.success is not None:
19864
    if self.success is not None:
18647
      oprot.writeFieldBegin('success', TType.LIST, 0)
19865
      oprot.writeFieldBegin('success', TType.LIST, 0)
18648
      oprot.writeListBegin(TType.STRUCT, len(self.success))
19866
      oprot.writeListBegin(TType.STRUCT, len(self.success))
18649
      for iter378 in self.success:
19867
      for iter422 in self.success:
18650
        iter378.write(oprot)
19868
        iter422.write(oprot)
18651
      oprot.writeListEnd()
19869
      oprot.writeListEnd()
18652
      oprot.writeFieldEnd()
19870
      oprot.writeFieldEnd()
18653
    oprot.writeFieldStop()
19871
    oprot.writeFieldStop()
18654
    oprot.writeStructEnd()
19872
    oprot.writeStructEnd()
18655
 
19873
 
Line 19295... Line 20513...
19295
      if ftype == TType.STOP:
20513
      if ftype == TType.STOP:
19296
        break
20514
        break
19297
      if fid == 0:
20515
      if fid == 0:
19298
        if ftype == TType.LIST:
20516
        if ftype == TType.LIST:
19299
          self.success = []
20517
          self.success = []
19300
          (_etype382, _size379) = iprot.readListBegin()
20518
          (_etype426, _size423) = iprot.readListBegin()
19301
          for _i383 in xrange(_size379):
20519
          for _i427 in xrange(_size423):
19302
            _elem384 = Amazonlisted()
20520
            _elem428 = Amazonlisted()
19303
            _elem384.read(iprot)
20521
            _elem428.read(iprot)
19304
            self.success.append(_elem384)
20522
            self.success.append(_elem428)
19305
          iprot.readListEnd()
20523
          iprot.readListEnd()
19306
        else:
20524
        else:
19307
          iprot.skip(ftype)
20525
          iprot.skip(ftype)
19308
      else:
20526
      else:
19309
        iprot.skip(ftype)
20527
        iprot.skip(ftype)
Line 19316... Line 20534...
19316
      return
20534
      return
19317
    oprot.writeStructBegin('getAmazonListedItems_result')
20535
    oprot.writeStructBegin('getAmazonListedItems_result')
19318
    if self.success is not None:
20536
    if self.success is not None:
19319
      oprot.writeFieldBegin('success', TType.LIST, 0)
20537
      oprot.writeFieldBegin('success', TType.LIST, 0)
19320
      oprot.writeListBegin(TType.STRUCT, len(self.success))
20538
      oprot.writeListBegin(TType.STRUCT, len(self.success))
19321
      for iter385 in self.success:
20539
      for iter429 in self.success:
19322
        iter385.write(oprot)
20540
        iter429.write(oprot)
19323
      oprot.writeListEnd()
20541
      oprot.writeListEnd()
19324
      oprot.writeFieldEnd()
20542
      oprot.writeFieldEnd()
19325
    oprot.writeFieldStop()
20543
    oprot.writeFieldStop()
19326
    oprot.writeStructEnd()
20544
    oprot.writeStructEnd()
19327
 
20545
 
Line 19364... Line 20582...
19364
      if ftype == TType.STOP:
20582
      if ftype == TType.STOP:
19365
        break
20583
        break
19366
      if fid == 1:
20584
      if fid == 1:
19367
        if ftype == TType.MAP:
20585
        if ftype == TType.MAP:
19368
          self.amazonlisted = {}
20586
          self.amazonlisted = {}
19369
          (_ktype387, _vtype388, _size386 ) = iprot.readMapBegin() 
20587
          (_ktype431, _vtype432, _size430 ) = iprot.readMapBegin() 
19370
          for _i390 in xrange(_size386):
20588
          for _i434 in xrange(_size430):
19371
            _key391 = iprot.readI64();
20589
            _key435 = iprot.readI64();
19372
            _val392 = Amazonlisted()
20590
            _val436 = Amazonlisted()
19373
            _val392.read(iprot)
20591
            _val436.read(iprot)
19374
            self.amazonlisted[_key391] = _val392
20592
            self.amazonlisted[_key435] = _val436
19375
          iprot.readMapEnd()
20593
          iprot.readMapEnd()
19376
        else:
20594
        else:
19377
          iprot.skip(ftype)
20595
          iprot.skip(ftype)
19378
      else:
20596
      else:
19379
        iprot.skip(ftype)
20597
        iprot.skip(ftype)
Line 19386... Line 20604...
19386
      return
20604
      return
19387
    oprot.writeStructBegin('updateAmazonAttributesInBulk_args')
20605
    oprot.writeStructBegin('updateAmazonAttributesInBulk_args')
19388
    if self.amazonlisted is not None:
20606
    if self.amazonlisted is not None:
19389
      oprot.writeFieldBegin('amazonlisted', TType.MAP, 1)
20607
      oprot.writeFieldBegin('amazonlisted', TType.MAP, 1)
19390
      oprot.writeMapBegin(TType.I64, TType.STRUCT, len(self.amazonlisted))
20608
      oprot.writeMapBegin(TType.I64, TType.STRUCT, len(self.amazonlisted))
19391
      for kiter393,viter394 in self.amazonlisted.items():
20609
      for kiter437,viter438 in self.amazonlisted.items():
19392
        oprot.writeI64(kiter393)
20610
        oprot.writeI64(kiter437)
19393
        viter394.write(oprot)
20611
        viter438.write(oprot)
19394
      oprot.writeMapEnd()
20612
      oprot.writeMapEnd()
19395
      oprot.writeFieldEnd()
20613
      oprot.writeFieldEnd()
19396
    oprot.writeFieldStop()
20614
    oprot.writeFieldStop()
19397
    oprot.writeStructEnd()
20615
    oprot.writeStructEnd()
19398
 
20616
 
Line 19535... Line 20753...
19535
      if ftype == TType.STOP:
20753
      if ftype == TType.STOP:
19536
        break
20754
        break
19537
      if fid == 0:
20755
      if fid == 0:
19538
        if ftype == TType.LIST:
20756
        if ftype == TType.LIST:
19539
          self.success = []
20757
          self.success = []
19540
          (_etype398, _size395) = iprot.readListBegin()
20758
          (_etype442, _size439) = iprot.readListBegin()
19541
          for _i399 in xrange(_size395):
20759
          for _i443 in xrange(_size439):
19542
            _elem400 = Amazonlisted()
20760
            _elem444 = Amazonlisted()
19543
            _elem400.read(iprot)
20761
            _elem444.read(iprot)
19544
            self.success.append(_elem400)
20762
            self.success.append(_elem444)
19545
          iprot.readListEnd()
20763
          iprot.readListEnd()
19546
        else:
20764
        else:
19547
          iprot.skip(ftype)
20765
          iprot.skip(ftype)
19548
      else:
20766
      else:
19549
        iprot.skip(ftype)
20767
        iprot.skip(ftype)
Line 19556... Line 20774...
19556
      return
20774
      return
19557
    oprot.writeStructBegin('getAllItemstoListOnFba_result')
20775
    oprot.writeStructBegin('getAllItemstoListOnFba_result')
19558
    if self.success is not None:
20776
    if self.success is not None:
19559
      oprot.writeFieldBegin('success', TType.LIST, 0)
20777
      oprot.writeFieldBegin('success', TType.LIST, 0)
19560
      oprot.writeListBegin(TType.STRUCT, len(self.success))
20778
      oprot.writeListBegin(TType.STRUCT, len(self.success))
19561
      for iter401 in self.success:
20779
      for iter445 in self.success:
19562
        iter401.write(oprot)
20780
        iter445.write(oprot)
19563
      oprot.writeListEnd()
20781
      oprot.writeListEnd()
19564
      oprot.writeFieldEnd()
20782
      oprot.writeFieldEnd()
19565
    oprot.writeFieldStop()
20783
    oprot.writeFieldStop()
19566
    oprot.writeStructEnd()
20784
    oprot.writeStructEnd()
19567
 
20785
 
Line 19645... Line 20863...
19645
      if ftype == TType.STOP:
20863
      if ftype == TType.STOP:
19646
        break
20864
        break
19647
      if fid == 0:
20865
      if fid == 0:
19648
        if ftype == TType.LIST:
20866
        if ftype == TType.LIST:
19649
          self.success = []
20867
          self.success = []
19650
          (_etype405, _size402) = iprot.readListBegin()
20868
          (_etype449, _size446) = iprot.readListBegin()
19651
          for _i406 in xrange(_size402):
20869
          for _i450 in xrange(_size446):
19652
            _elem407 = Amazonlisted()
20870
            _elem451 = Amazonlisted()
19653
            _elem407.read(iprot)
20871
            _elem451.read(iprot)
19654
            self.success.append(_elem407)
20872
            self.success.append(_elem451)
19655
          iprot.readListEnd()
20873
          iprot.readListEnd()
19656
        else:
20874
        else:
19657
          iprot.skip(ftype)
20875
          iprot.skip(ftype)
19658
      else:
20876
      else:
19659
        iprot.skip(ftype)
20877
        iprot.skip(ftype)
Line 19666... Line 20884...
19666
      return
20884
      return
19667
    oprot.writeStructBegin('getAllItemstoListOnNonFba_result')
20885
    oprot.writeStructBegin('getAllItemstoListOnNonFba_result')
19668
    if self.success is not None:
20886
    if self.success is not None:
19669
      oprot.writeFieldBegin('success', TType.LIST, 0)
20887
      oprot.writeFieldBegin('success', TType.LIST, 0)
19670
      oprot.writeListBegin(TType.STRUCT, len(self.success))
20888
      oprot.writeListBegin(TType.STRUCT, len(self.success))
19671
      for iter408 in self.success:
20889
      for iter452 in self.success:
19672
        iter408.write(oprot)
20890
        iter452.write(oprot)
19673
      oprot.writeListEnd()
20891
      oprot.writeListEnd()
19674
      oprot.writeFieldEnd()
20892
      oprot.writeFieldEnd()
19675
    oprot.writeFieldStop()
20893
    oprot.writeFieldStop()
19676
    oprot.writeStructEnd()
20894
    oprot.writeStructEnd()
19677
 
20895