Subversion Repositories SmartDukaan

Rev

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

Rev 1673 Rev 1845
Line 197... Line 197...
197
    pass
197
    pass
198
 
198
 
199
  def getAllUserCommunications(self, ):
199
  def getAllUserCommunications(self, ):
200
    pass
200
    pass
201
 
201
 
-
 
202
  def createMasterAffiliate(self, name):
-
 
203
    """
-
 
204
    Parameters:
-
 
205
     - name
-
 
206
    """
-
 
207
    pass
-
 
208
 
-
 
209
  def getMasterAffiliateById(self, id):
-
 
210
    """
-
 
211
    Parameters:
-
 
212
     - id
-
 
213
    """
-
 
214
    pass
-
 
215
 
-
 
216
  def getMasterAffiliateByName(self, name):
-
 
217
    """
-
 
218
    Parameters:
-
 
219
     - name
-
 
220
    """
-
 
221
    pass
-
 
222
 
-
 
223
  def createAffiliate(self, name, url, masterAffiliateId):
-
 
224
    """
-
 
225
    Parameters:
-
 
226
     - name
-
 
227
     - url
-
 
228
     - masterAffiliateId
-
 
229
    """
-
 
230
    pass
-
 
231
 
-
 
232
  def getAffiliateById(self, id):
-
 
233
    """
-
 
234
    Parameters:
-
 
235
     - id
-
 
236
    """
-
 
237
    pass
-
 
238
 
-
 
239
  def getAffiliateByName(self, name):
-
 
240
    """
-
 
241
    Parameters:
-
 
242
     - name
-
 
243
    """
-
 
244
    pass
-
 
245
 
-
 
246
  def getAffiliatesByMasterAffiliate(self, id):
-
 
247
    """
-
 
248
    Parameters:
-
 
249
     - id
-
 
250
    """
-
 
251
    pass
-
 
252
 
-
 
253
  def createTracker(self, affiliateId):
-
 
254
    """
-
 
255
    Parameters:
-
 
256
     - affiliateId
-
 
257
    """
-
 
258
    pass
-
 
259
 
-
 
260
  def getTrackerById(self, trackerId):
-
 
261
    """
-
 
262
    Parameters:
-
 
263
     - trackerId
-
 
264
    """
-
 
265
    pass
-
 
266
 
-
 
267
  def getTrackersByAffiliate(self, affiliateId):
-
 
268
    """
-
 
269
    Parameters:
-
 
270
     - affiliateId
-
 
271
    """
-
 
272
    pass
-
 
273
 
-
 
274
  def addTrackLog(self, trackerId, userId, event, url, data):
-
 
275
    """
-
 
276
    Parameters:
-
 
277
     - trackerId
-
 
278
     - userId
-
 
279
     - event
-
 
280
     - url
-
 
281
     - data
-
 
282
    """
-
 
283
    pass
-
 
284
 
-
 
285
  def getTrackLogById(self, id):
-
 
286
    """
-
 
287
    Parameters:
-
 
288
     - id
-
 
289
    """
-
 
290
    pass
-
 
291
 
-
 
292
  def getTrackLogsByTracker(self, trackerId):
-
 
293
    """
-
 
294
    Parameters:
-
 
295
     - trackerId
-
 
296
    """
-
 
297
    pass
-
 
298
 
-
 
299
  def getTrackLogsByUser(self, userId):
-
 
300
    """
-
 
301
    Parameters:
-
 
302
     - userId
-
 
303
    """
-
 
304
    pass
-
 
305
 
-
 
306
  def getTrackLogs(self, trackerId, userId, event, url):
-
 
307
    """
-
 
308
    Parameters:
-
 
309
     - trackerId
-
 
310
     - userId
-
 
311
     - event
-
 
312
     - url
-
 
313
    """
-
 
314
    pass
-
 
315
 
202
  def createCart(self, userId):
316
  def createCart(self, userId):
203
    """
317
    """
204
    Parameters:
318
    Parameters:
205
     - userId
319
     - userId
206
    """
320
    """
Line 1216... Line 1330...
1216
      return result.success
1330
      return result.success
1217
    if result.ucx != None:
1331
    if result.ucx != None:
1218
      raise result.ucx
1332
      raise result.ucx
1219
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAllUserCommunications failed: unknown result");
1333
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAllUserCommunications failed: unknown result");
1220
 
1334
 
-
 
1335
  def createMasterAffiliate(self, name):
-
 
1336
    """
-
 
1337
    Parameters:
-
 
1338
     - name
-
 
1339
    """
-
 
1340
    self.send_createMasterAffiliate(name)
-
 
1341
    return self.recv_createMasterAffiliate()
-
 
1342
 
-
 
1343
  def send_createMasterAffiliate(self, name):
-
 
1344
    self._oprot.writeMessageBegin('createMasterAffiliate', TMessageType.CALL, self._seqid)
-
 
1345
    args = createMasterAffiliate_args()
-
 
1346
    args.name = name
-
 
1347
    args.write(self._oprot)
-
 
1348
    self._oprot.writeMessageEnd()
-
 
1349
    self._oprot.trans.flush()
-
 
1350
 
-
 
1351
  def recv_createMasterAffiliate(self, ):
-
 
1352
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
-
 
1353
    if mtype == TMessageType.EXCEPTION:
-
 
1354
      x = TApplicationException()
-
 
1355
      x.read(self._iprot)
-
 
1356
      self._iprot.readMessageEnd()
-
 
1357
      raise x
-
 
1358
    result = createMasterAffiliate_result()
-
 
1359
    result.read(self._iprot)
-
 
1360
    self._iprot.readMessageEnd()
-
 
1361
    if result.success != None:
-
 
1362
      return result.success
-
 
1363
    if result.utx != None:
-
 
1364
      raise result.utx
-
 
1365
    raise TApplicationException(TApplicationException.MISSING_RESULT, "createMasterAffiliate failed: unknown result");
-
 
1366
 
-
 
1367
  def getMasterAffiliateById(self, id):
-
 
1368
    """
-
 
1369
    Parameters:
-
 
1370
     - id
-
 
1371
    """
-
 
1372
    self.send_getMasterAffiliateById(id)
-
 
1373
    return self.recv_getMasterAffiliateById()
-
 
1374
 
-
 
1375
  def send_getMasterAffiliateById(self, id):
-
 
1376
    self._oprot.writeMessageBegin('getMasterAffiliateById', TMessageType.CALL, self._seqid)
-
 
1377
    args = getMasterAffiliateById_args()
-
 
1378
    args.id = id
-
 
1379
    args.write(self._oprot)
-
 
1380
    self._oprot.writeMessageEnd()
-
 
1381
    self._oprot.trans.flush()
-
 
1382
 
-
 
1383
  def recv_getMasterAffiliateById(self, ):
-
 
1384
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
-
 
1385
    if mtype == TMessageType.EXCEPTION:
-
 
1386
      x = TApplicationException()
-
 
1387
      x.read(self._iprot)
-
 
1388
      self._iprot.readMessageEnd()
-
 
1389
      raise x
-
 
1390
    result = getMasterAffiliateById_result()
-
 
1391
    result.read(self._iprot)
-
 
1392
    self._iprot.readMessageEnd()
-
 
1393
    if result.success != None:
-
 
1394
      return result.success
-
 
1395
    if result.utx != None:
-
 
1396
      raise result.utx
-
 
1397
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getMasterAffiliateById failed: unknown result");
-
 
1398
 
-
 
1399
  def getMasterAffiliateByName(self, name):
-
 
1400
    """
-
 
1401
    Parameters:
-
 
1402
     - name
-
 
1403
    """
-
 
1404
    self.send_getMasterAffiliateByName(name)
-
 
1405
    return self.recv_getMasterAffiliateByName()
-
 
1406
 
-
 
1407
  def send_getMasterAffiliateByName(self, name):
-
 
1408
    self._oprot.writeMessageBegin('getMasterAffiliateByName', TMessageType.CALL, self._seqid)
-
 
1409
    args = getMasterAffiliateByName_args()
-
 
1410
    args.name = name
-
 
1411
    args.write(self._oprot)
-
 
1412
    self._oprot.writeMessageEnd()
-
 
1413
    self._oprot.trans.flush()
-
 
1414
 
-
 
1415
  def recv_getMasterAffiliateByName(self, ):
-
 
1416
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
-
 
1417
    if mtype == TMessageType.EXCEPTION:
-
 
1418
      x = TApplicationException()
-
 
1419
      x.read(self._iprot)
-
 
1420
      self._iprot.readMessageEnd()
-
 
1421
      raise x
-
 
1422
    result = getMasterAffiliateByName_result()
-
 
1423
    result.read(self._iprot)
-
 
1424
    self._iprot.readMessageEnd()
-
 
1425
    if result.success != None:
-
 
1426
      return result.success
-
 
1427
    if result.utx != None:
-
 
1428
      raise result.utx
-
 
1429
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getMasterAffiliateByName failed: unknown result");
-
 
1430
 
-
 
1431
  def createAffiliate(self, name, url, masterAffiliateId):
-
 
1432
    """
-
 
1433
    Parameters:
-
 
1434
     - name
-
 
1435
     - url
-
 
1436
     - masterAffiliateId
-
 
1437
    """
-
 
1438
    self.send_createAffiliate(name, url, masterAffiliateId)
-
 
1439
    return self.recv_createAffiliate()
-
 
1440
 
-
 
1441
  def send_createAffiliate(self, name, url, masterAffiliateId):
-
 
1442
    self._oprot.writeMessageBegin('createAffiliate', TMessageType.CALL, self._seqid)
-
 
1443
    args = createAffiliate_args()
-
 
1444
    args.name = name
-
 
1445
    args.url = url
-
 
1446
    args.masterAffiliateId = masterAffiliateId
-
 
1447
    args.write(self._oprot)
-
 
1448
    self._oprot.writeMessageEnd()
-
 
1449
    self._oprot.trans.flush()
-
 
1450
 
-
 
1451
  def recv_createAffiliate(self, ):
-
 
1452
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
-
 
1453
    if mtype == TMessageType.EXCEPTION:
-
 
1454
      x = TApplicationException()
-
 
1455
      x.read(self._iprot)
-
 
1456
      self._iprot.readMessageEnd()
-
 
1457
      raise x
-
 
1458
    result = createAffiliate_result()
-
 
1459
    result.read(self._iprot)
-
 
1460
    self._iprot.readMessageEnd()
-
 
1461
    if result.success != None:
-
 
1462
      return result.success
-
 
1463
    if result.utx != None:
-
 
1464
      raise result.utx
-
 
1465
    raise TApplicationException(TApplicationException.MISSING_RESULT, "createAffiliate failed: unknown result");
-
 
1466
 
-
 
1467
  def getAffiliateById(self, id):
-
 
1468
    """
-
 
1469
    Parameters:
-
 
1470
     - id
-
 
1471
    """
-
 
1472
    self.send_getAffiliateById(id)
-
 
1473
    return self.recv_getAffiliateById()
-
 
1474
 
-
 
1475
  def send_getAffiliateById(self, id):
-
 
1476
    self._oprot.writeMessageBegin('getAffiliateById', TMessageType.CALL, self._seqid)
-
 
1477
    args = getAffiliateById_args()
-
 
1478
    args.id = id
-
 
1479
    args.write(self._oprot)
-
 
1480
    self._oprot.writeMessageEnd()
-
 
1481
    self._oprot.trans.flush()
-
 
1482
 
-
 
1483
  def recv_getAffiliateById(self, ):
-
 
1484
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
-
 
1485
    if mtype == TMessageType.EXCEPTION:
-
 
1486
      x = TApplicationException()
-
 
1487
      x.read(self._iprot)
-
 
1488
      self._iprot.readMessageEnd()
-
 
1489
      raise x
-
 
1490
    result = getAffiliateById_result()
-
 
1491
    result.read(self._iprot)
-
 
1492
    self._iprot.readMessageEnd()
-
 
1493
    if result.success != None:
-
 
1494
      return result.success
-
 
1495
    if result.utx != None:
-
 
1496
      raise result.utx
-
 
1497
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAffiliateById failed: unknown result");
-
 
1498
 
-
 
1499
  def getAffiliateByName(self, name):
-
 
1500
    """
-
 
1501
    Parameters:
-
 
1502
     - name
-
 
1503
    """
-
 
1504
    self.send_getAffiliateByName(name)
-
 
1505
    return self.recv_getAffiliateByName()
-
 
1506
 
-
 
1507
  def send_getAffiliateByName(self, name):
-
 
1508
    self._oprot.writeMessageBegin('getAffiliateByName', TMessageType.CALL, self._seqid)
-
 
1509
    args = getAffiliateByName_args()
-
 
1510
    args.name = name
-
 
1511
    args.write(self._oprot)
-
 
1512
    self._oprot.writeMessageEnd()
-
 
1513
    self._oprot.trans.flush()
-
 
1514
 
-
 
1515
  def recv_getAffiliateByName(self, ):
-
 
1516
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
-
 
1517
    if mtype == TMessageType.EXCEPTION:
-
 
1518
      x = TApplicationException()
-
 
1519
      x.read(self._iprot)
-
 
1520
      self._iprot.readMessageEnd()
-
 
1521
      raise x
-
 
1522
    result = getAffiliateByName_result()
-
 
1523
    result.read(self._iprot)
-
 
1524
    self._iprot.readMessageEnd()
-
 
1525
    if result.success != None:
-
 
1526
      return result.success
-
 
1527
    if result.utx != None:
-
 
1528
      raise result.utx
-
 
1529
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAffiliateByName failed: unknown result");
-
 
1530
 
-
 
1531
  def getAffiliatesByMasterAffiliate(self, id):
-
 
1532
    """
-
 
1533
    Parameters:
-
 
1534
     - id
-
 
1535
    """
-
 
1536
    self.send_getAffiliatesByMasterAffiliate(id)
-
 
1537
    return self.recv_getAffiliatesByMasterAffiliate()
-
 
1538
 
-
 
1539
  def send_getAffiliatesByMasterAffiliate(self, id):
-
 
1540
    self._oprot.writeMessageBegin('getAffiliatesByMasterAffiliate', TMessageType.CALL, self._seqid)
-
 
1541
    args = getAffiliatesByMasterAffiliate_args()
-
 
1542
    args.id = id
-
 
1543
    args.write(self._oprot)
-
 
1544
    self._oprot.writeMessageEnd()
-
 
1545
    self._oprot.trans.flush()
-
 
1546
 
-
 
1547
  def recv_getAffiliatesByMasterAffiliate(self, ):
-
 
1548
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
-
 
1549
    if mtype == TMessageType.EXCEPTION:
-
 
1550
      x = TApplicationException()
-
 
1551
      x.read(self._iprot)
-
 
1552
      self._iprot.readMessageEnd()
-
 
1553
      raise x
-
 
1554
    result = getAffiliatesByMasterAffiliate_result()
-
 
1555
    result.read(self._iprot)
-
 
1556
    self._iprot.readMessageEnd()
-
 
1557
    if result.success != None:
-
 
1558
      return result.success
-
 
1559
    if result.utx != None:
-
 
1560
      raise result.utx
-
 
1561
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAffiliatesByMasterAffiliate failed: unknown result");
-
 
1562
 
-
 
1563
  def createTracker(self, affiliateId):
-
 
1564
    """
-
 
1565
    Parameters:
-
 
1566
     - affiliateId
-
 
1567
    """
-
 
1568
    self.send_createTracker(affiliateId)
-
 
1569
    return self.recv_createTracker()
-
 
1570
 
-
 
1571
  def send_createTracker(self, affiliateId):
-
 
1572
    self._oprot.writeMessageBegin('createTracker', TMessageType.CALL, self._seqid)
-
 
1573
    args = createTracker_args()
-
 
1574
    args.affiliateId = affiliateId
-
 
1575
    args.write(self._oprot)
-
 
1576
    self._oprot.writeMessageEnd()
-
 
1577
    self._oprot.trans.flush()
-
 
1578
 
-
 
1579
  def recv_createTracker(self, ):
-
 
1580
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
-
 
1581
    if mtype == TMessageType.EXCEPTION:
-
 
1582
      x = TApplicationException()
-
 
1583
      x.read(self._iprot)
-
 
1584
      self._iprot.readMessageEnd()
-
 
1585
      raise x
-
 
1586
    result = createTracker_result()
-
 
1587
    result.read(self._iprot)
-
 
1588
    self._iprot.readMessageEnd()
-
 
1589
    if result.success != None:
-
 
1590
      return result.success
-
 
1591
    if result.utx != None:
-
 
1592
      raise result.utx
-
 
1593
    raise TApplicationException(TApplicationException.MISSING_RESULT, "createTracker failed: unknown result");
-
 
1594
 
-
 
1595
  def getTrackerById(self, trackerId):
-
 
1596
    """
-
 
1597
    Parameters:
-
 
1598
     - trackerId
-
 
1599
    """
-
 
1600
    self.send_getTrackerById(trackerId)
-
 
1601
    return self.recv_getTrackerById()
-
 
1602
 
-
 
1603
  def send_getTrackerById(self, trackerId):
-
 
1604
    self._oprot.writeMessageBegin('getTrackerById', TMessageType.CALL, self._seqid)
-
 
1605
    args = getTrackerById_args()
-
 
1606
    args.trackerId = trackerId
-
 
1607
    args.write(self._oprot)
-
 
1608
    self._oprot.writeMessageEnd()
-
 
1609
    self._oprot.trans.flush()
-
 
1610
 
-
 
1611
  def recv_getTrackerById(self, ):
-
 
1612
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
-
 
1613
    if mtype == TMessageType.EXCEPTION:
-
 
1614
      x = TApplicationException()
-
 
1615
      x.read(self._iprot)
-
 
1616
      self._iprot.readMessageEnd()
-
 
1617
      raise x
-
 
1618
    result = getTrackerById_result()
-
 
1619
    result.read(self._iprot)
-
 
1620
    self._iprot.readMessageEnd()
-
 
1621
    if result.success != None:
-
 
1622
      return result.success
-
 
1623
    if result.utx != None:
-
 
1624
      raise result.utx
-
 
1625
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getTrackerById failed: unknown result");
-
 
1626
 
-
 
1627
  def getTrackersByAffiliate(self, affiliateId):
-
 
1628
    """
-
 
1629
    Parameters:
-
 
1630
     - affiliateId
-
 
1631
    """
-
 
1632
    self.send_getTrackersByAffiliate(affiliateId)
-
 
1633
    return self.recv_getTrackersByAffiliate()
-
 
1634
 
-
 
1635
  def send_getTrackersByAffiliate(self, affiliateId):
-
 
1636
    self._oprot.writeMessageBegin('getTrackersByAffiliate', TMessageType.CALL, self._seqid)
-
 
1637
    args = getTrackersByAffiliate_args()
-
 
1638
    args.affiliateId = affiliateId
-
 
1639
    args.write(self._oprot)
-
 
1640
    self._oprot.writeMessageEnd()
-
 
1641
    self._oprot.trans.flush()
-
 
1642
 
-
 
1643
  def recv_getTrackersByAffiliate(self, ):
-
 
1644
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
-
 
1645
    if mtype == TMessageType.EXCEPTION:
-
 
1646
      x = TApplicationException()
-
 
1647
      x.read(self._iprot)
-
 
1648
      self._iprot.readMessageEnd()
-
 
1649
      raise x
-
 
1650
    result = getTrackersByAffiliate_result()
-
 
1651
    result.read(self._iprot)
-
 
1652
    self._iprot.readMessageEnd()
-
 
1653
    if result.success != None:
-
 
1654
      return result.success
-
 
1655
    if result.utx != None:
-
 
1656
      raise result.utx
-
 
1657
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getTrackersByAffiliate failed: unknown result");
-
 
1658
 
-
 
1659
  def addTrackLog(self, trackerId, userId, event, url, data):
-
 
1660
    """
-
 
1661
    Parameters:
-
 
1662
     - trackerId
-
 
1663
     - userId
-
 
1664
     - event
-
 
1665
     - url
-
 
1666
     - data
-
 
1667
    """
-
 
1668
    self.send_addTrackLog(trackerId, userId, event, url, data)
-
 
1669
    return self.recv_addTrackLog()
-
 
1670
 
-
 
1671
  def send_addTrackLog(self, trackerId, userId, event, url, data):
-
 
1672
    self._oprot.writeMessageBegin('addTrackLog', TMessageType.CALL, self._seqid)
-
 
1673
    args = addTrackLog_args()
-
 
1674
    args.trackerId = trackerId
-
 
1675
    args.userId = userId
-
 
1676
    args.event = event
-
 
1677
    args.url = url
-
 
1678
    args.data = data
-
 
1679
    args.write(self._oprot)
-
 
1680
    self._oprot.writeMessageEnd()
-
 
1681
    self._oprot.trans.flush()
-
 
1682
 
-
 
1683
  def recv_addTrackLog(self, ):
-
 
1684
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
-
 
1685
    if mtype == TMessageType.EXCEPTION:
-
 
1686
      x = TApplicationException()
-
 
1687
      x.read(self._iprot)
-
 
1688
      self._iprot.readMessageEnd()
-
 
1689
      raise x
-
 
1690
    result = addTrackLog_result()
-
 
1691
    result.read(self._iprot)
-
 
1692
    self._iprot.readMessageEnd()
-
 
1693
    if result.success != None:
-
 
1694
      return result.success
-
 
1695
    if result.utx != None:
-
 
1696
      raise result.utx
-
 
1697
    raise TApplicationException(TApplicationException.MISSING_RESULT, "addTrackLog failed: unknown result");
-
 
1698
 
-
 
1699
  def getTrackLogById(self, id):
-
 
1700
    """
-
 
1701
    Parameters:
-
 
1702
     - id
-
 
1703
    """
-
 
1704
    self.send_getTrackLogById(id)
-
 
1705
    return self.recv_getTrackLogById()
-
 
1706
 
-
 
1707
  def send_getTrackLogById(self, id):
-
 
1708
    self._oprot.writeMessageBegin('getTrackLogById', TMessageType.CALL, self._seqid)
-
 
1709
    args = getTrackLogById_args()
-
 
1710
    args.id = id
-
 
1711
    args.write(self._oprot)
-
 
1712
    self._oprot.writeMessageEnd()
-
 
1713
    self._oprot.trans.flush()
-
 
1714
 
-
 
1715
  def recv_getTrackLogById(self, ):
-
 
1716
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
-
 
1717
    if mtype == TMessageType.EXCEPTION:
-
 
1718
      x = TApplicationException()
-
 
1719
      x.read(self._iprot)
-
 
1720
      self._iprot.readMessageEnd()
-
 
1721
      raise x
-
 
1722
    result = getTrackLogById_result()
-
 
1723
    result.read(self._iprot)
-
 
1724
    self._iprot.readMessageEnd()
-
 
1725
    if result.success != None:
-
 
1726
      return result.success
-
 
1727
    if result.utx != None:
-
 
1728
      raise result.utx
-
 
1729
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getTrackLogById failed: unknown result");
-
 
1730
 
-
 
1731
  def getTrackLogsByTracker(self, trackerId):
-
 
1732
    """
-
 
1733
    Parameters:
-
 
1734
     - trackerId
-
 
1735
    """
-
 
1736
    self.send_getTrackLogsByTracker(trackerId)
-
 
1737
    return self.recv_getTrackLogsByTracker()
-
 
1738
 
-
 
1739
  def send_getTrackLogsByTracker(self, trackerId):
-
 
1740
    self._oprot.writeMessageBegin('getTrackLogsByTracker', TMessageType.CALL, self._seqid)
-
 
1741
    args = getTrackLogsByTracker_args()
-
 
1742
    args.trackerId = trackerId
-
 
1743
    args.write(self._oprot)
-
 
1744
    self._oprot.writeMessageEnd()
-
 
1745
    self._oprot.trans.flush()
-
 
1746
 
-
 
1747
  def recv_getTrackLogsByTracker(self, ):
-
 
1748
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
-
 
1749
    if mtype == TMessageType.EXCEPTION:
-
 
1750
      x = TApplicationException()
-
 
1751
      x.read(self._iprot)
-
 
1752
      self._iprot.readMessageEnd()
-
 
1753
      raise x
-
 
1754
    result = getTrackLogsByTracker_result()
-
 
1755
    result.read(self._iprot)
-
 
1756
    self._iprot.readMessageEnd()
-
 
1757
    if result.success != None:
-
 
1758
      return result.success
-
 
1759
    if result.utx != None:
-
 
1760
      raise result.utx
-
 
1761
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getTrackLogsByTracker failed: unknown result");
-
 
1762
 
-
 
1763
  def getTrackLogsByUser(self, userId):
-
 
1764
    """
-
 
1765
    Parameters:
-
 
1766
     - userId
-
 
1767
    """
-
 
1768
    self.send_getTrackLogsByUser(userId)
-
 
1769
    return self.recv_getTrackLogsByUser()
-
 
1770
 
-
 
1771
  def send_getTrackLogsByUser(self, userId):
-
 
1772
    self._oprot.writeMessageBegin('getTrackLogsByUser', TMessageType.CALL, self._seqid)
-
 
1773
    args = getTrackLogsByUser_args()
-
 
1774
    args.userId = userId
-
 
1775
    args.write(self._oprot)
-
 
1776
    self._oprot.writeMessageEnd()
-
 
1777
    self._oprot.trans.flush()
-
 
1778
 
-
 
1779
  def recv_getTrackLogsByUser(self, ):
-
 
1780
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
-
 
1781
    if mtype == TMessageType.EXCEPTION:
-
 
1782
      x = TApplicationException()
-
 
1783
      x.read(self._iprot)
-
 
1784
      self._iprot.readMessageEnd()
-
 
1785
      raise x
-
 
1786
    result = getTrackLogsByUser_result()
-
 
1787
    result.read(self._iprot)
-
 
1788
    self._iprot.readMessageEnd()
-
 
1789
    if result.success != None:
-
 
1790
      return result.success
-
 
1791
    if result.utx != None:
-
 
1792
      raise result.utx
-
 
1793
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getTrackLogsByUser failed: unknown result");
-
 
1794
 
-
 
1795
  def getTrackLogs(self, trackerId, userId, event, url):
-
 
1796
    """
-
 
1797
    Parameters:
-
 
1798
     - trackerId
-
 
1799
     - userId
-
 
1800
     - event
-
 
1801
     - url
-
 
1802
    """
-
 
1803
    self.send_getTrackLogs(trackerId, userId, event, url)
-
 
1804
    return self.recv_getTrackLogs()
-
 
1805
 
-
 
1806
  def send_getTrackLogs(self, trackerId, userId, event, url):
-
 
1807
    self._oprot.writeMessageBegin('getTrackLogs', TMessageType.CALL, self._seqid)
-
 
1808
    args = getTrackLogs_args()
-
 
1809
    args.trackerId = trackerId
-
 
1810
    args.userId = userId
-
 
1811
    args.event = event
-
 
1812
    args.url = url
-
 
1813
    args.write(self._oprot)
-
 
1814
    self._oprot.writeMessageEnd()
-
 
1815
    self._oprot.trans.flush()
-
 
1816
 
-
 
1817
  def recv_getTrackLogs(self, ):
-
 
1818
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
-
 
1819
    if mtype == TMessageType.EXCEPTION:
-
 
1820
      x = TApplicationException()
-
 
1821
      x.read(self._iprot)
-
 
1822
      self._iprot.readMessageEnd()
-
 
1823
      raise x
-
 
1824
    result = getTrackLogs_result()
-
 
1825
    result.read(self._iprot)
-
 
1826
    self._iprot.readMessageEnd()
-
 
1827
    if result.success != None:
-
 
1828
      return result.success
-
 
1829
    if result.utx != None:
-
 
1830
      raise result.utx
-
 
1831
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getTrackLogs failed: unknown result");
-
 
1832
 
1221
  def createCart(self, userId):
1833
  def createCart(self, userId):
1222
    """
1834
    """
1223
    Parameters:
1835
    Parameters:
1224
     - userId
1836
     - userId
1225
    """
1837
    """
Line 2075... Line 2687...
2075
    self._processMap["getDefaultPincode"] = Processor.process_getDefaultPincode
2687
    self._processMap["getDefaultPincode"] = Processor.process_getDefaultPincode
2076
    self._processMap["saveUserCommunication"] = Processor.process_saveUserCommunication
2688
    self._processMap["saveUserCommunication"] = Processor.process_saveUserCommunication
2077
    self._processMap["getUserCommunicationById"] = Processor.process_getUserCommunicationById
2689
    self._processMap["getUserCommunicationById"] = Processor.process_getUserCommunicationById
2078
    self._processMap["getUserCommunicationByUser"] = Processor.process_getUserCommunicationByUser
2690
    self._processMap["getUserCommunicationByUser"] = Processor.process_getUserCommunicationByUser
2079
    self._processMap["getAllUserCommunications"] = Processor.process_getAllUserCommunications
2691
    self._processMap["getAllUserCommunications"] = Processor.process_getAllUserCommunications
-
 
2692
    self._processMap["createMasterAffiliate"] = Processor.process_createMasterAffiliate
-
 
2693
    self._processMap["getMasterAffiliateById"] = Processor.process_getMasterAffiliateById
-
 
2694
    self._processMap["getMasterAffiliateByName"] = Processor.process_getMasterAffiliateByName
-
 
2695
    self._processMap["createAffiliate"] = Processor.process_createAffiliate
-
 
2696
    self._processMap["getAffiliateById"] = Processor.process_getAffiliateById
-
 
2697
    self._processMap["getAffiliateByName"] = Processor.process_getAffiliateByName
-
 
2698
    self._processMap["getAffiliatesByMasterAffiliate"] = Processor.process_getAffiliatesByMasterAffiliate
-
 
2699
    self._processMap["createTracker"] = Processor.process_createTracker
-
 
2700
    self._processMap["getTrackerById"] = Processor.process_getTrackerById
-
 
2701
    self._processMap["getTrackersByAffiliate"] = Processor.process_getTrackersByAffiliate
-
 
2702
    self._processMap["addTrackLog"] = Processor.process_addTrackLog
-
 
2703
    self._processMap["getTrackLogById"] = Processor.process_getTrackLogById
-
 
2704
    self._processMap["getTrackLogsByTracker"] = Processor.process_getTrackLogsByTracker
-
 
2705
    self._processMap["getTrackLogsByUser"] = Processor.process_getTrackLogsByUser
-
 
2706
    self._processMap["getTrackLogs"] = Processor.process_getTrackLogs
2080
    self._processMap["createCart"] = Processor.process_createCart
2707
    self._processMap["createCart"] = Processor.process_createCart
2081
    self._processMap["getCurrentCart"] = Processor.process_getCurrentCart
2708
    self._processMap["getCurrentCart"] = Processor.process_getCurrentCart
2082
    self._processMap["getCart"] = Processor.process_getCart
2709
    self._processMap["getCart"] = Processor.process_getCart
2083
    self._processMap["getCartsForUser"] = Processor.process_getCartsForUser
2710
    self._processMap["getCartsForUser"] = Processor.process_getCartsForUser
2084
    self._processMap["getCartsByStatus"] = Processor.process_getCartsByStatus
2711
    self._processMap["getCartsByStatus"] = Processor.process_getCartsByStatus
Line 2449... Line 3076...
2449
    oprot.writeMessageBegin("getAllUserCommunications", TMessageType.REPLY, seqid)
3076
    oprot.writeMessageBegin("getAllUserCommunications", TMessageType.REPLY, seqid)
2450
    result.write(oprot)
3077
    result.write(oprot)
2451
    oprot.writeMessageEnd()
3078
    oprot.writeMessageEnd()
2452
    oprot.trans.flush()
3079
    oprot.trans.flush()
2453
 
3080
 
-
 
3081
  def process_createMasterAffiliate(self, seqid, iprot, oprot):
-
 
3082
    args = createMasterAffiliate_args()
-
 
3083
    args.read(iprot)
-
 
3084
    iprot.readMessageEnd()
-
 
3085
    result = createMasterAffiliate_result()
-
 
3086
    try:
-
 
3087
      result.success = self._handler.createMasterAffiliate(args.name)
-
 
3088
    except UserTrackerException, utx:
-
 
3089
      result.utx = utx
-
 
3090
    oprot.writeMessageBegin("createMasterAffiliate", TMessageType.REPLY, seqid)
-
 
3091
    result.write(oprot)
-
 
3092
    oprot.writeMessageEnd()
-
 
3093
    oprot.trans.flush()
-
 
3094
 
-
 
3095
  def process_getMasterAffiliateById(self, seqid, iprot, oprot):
-
 
3096
    args = getMasterAffiliateById_args()
-
 
3097
    args.read(iprot)
-
 
3098
    iprot.readMessageEnd()
-
 
3099
    result = getMasterAffiliateById_result()
-
 
3100
    try:
-
 
3101
      result.success = self._handler.getMasterAffiliateById(args.id)
-
 
3102
    except UserTrackerException, utx:
-
 
3103
      result.utx = utx
-
 
3104
    oprot.writeMessageBegin("getMasterAffiliateById", TMessageType.REPLY, seqid)
-
 
3105
    result.write(oprot)
-
 
3106
    oprot.writeMessageEnd()
-
 
3107
    oprot.trans.flush()
-
 
3108
 
-
 
3109
  def process_getMasterAffiliateByName(self, seqid, iprot, oprot):
-
 
3110
    args = getMasterAffiliateByName_args()
-
 
3111
    args.read(iprot)
-
 
3112
    iprot.readMessageEnd()
-
 
3113
    result = getMasterAffiliateByName_result()
-
 
3114
    try:
-
 
3115
      result.success = self._handler.getMasterAffiliateByName(args.name)
-
 
3116
    except UserTrackerException, utx:
-
 
3117
      result.utx = utx
-
 
3118
    oprot.writeMessageBegin("getMasterAffiliateByName", TMessageType.REPLY, seqid)
-
 
3119
    result.write(oprot)
-
 
3120
    oprot.writeMessageEnd()
-
 
3121
    oprot.trans.flush()
-
 
3122
 
-
 
3123
  def process_createAffiliate(self, seqid, iprot, oprot):
-
 
3124
    args = createAffiliate_args()
-
 
3125
    args.read(iprot)
-
 
3126
    iprot.readMessageEnd()
-
 
3127
    result = createAffiliate_result()
-
 
3128
    try:
-
 
3129
      result.success = self._handler.createAffiliate(args.name, args.url, args.masterAffiliateId)
-
 
3130
    except UserTrackerException, utx:
-
 
3131
      result.utx = utx
-
 
3132
    oprot.writeMessageBegin("createAffiliate", TMessageType.REPLY, seqid)
-
 
3133
    result.write(oprot)
-
 
3134
    oprot.writeMessageEnd()
-
 
3135
    oprot.trans.flush()
-
 
3136
 
-
 
3137
  def process_getAffiliateById(self, seqid, iprot, oprot):
-
 
3138
    args = getAffiliateById_args()
-
 
3139
    args.read(iprot)
-
 
3140
    iprot.readMessageEnd()
-
 
3141
    result = getAffiliateById_result()
-
 
3142
    try:
-
 
3143
      result.success = self._handler.getAffiliateById(args.id)
-
 
3144
    except UserTrackerException, utx:
-
 
3145
      result.utx = utx
-
 
3146
    oprot.writeMessageBegin("getAffiliateById", TMessageType.REPLY, seqid)
-
 
3147
    result.write(oprot)
-
 
3148
    oprot.writeMessageEnd()
-
 
3149
    oprot.trans.flush()
-
 
3150
 
-
 
3151
  def process_getAffiliateByName(self, seqid, iprot, oprot):
-
 
3152
    args = getAffiliateByName_args()
-
 
3153
    args.read(iprot)
-
 
3154
    iprot.readMessageEnd()
-
 
3155
    result = getAffiliateByName_result()
-
 
3156
    try:
-
 
3157
      result.success = self._handler.getAffiliateByName(args.name)
-
 
3158
    except UserTrackerException, utx:
-
 
3159
      result.utx = utx
-
 
3160
    oprot.writeMessageBegin("getAffiliateByName", TMessageType.REPLY, seqid)
-
 
3161
    result.write(oprot)
-
 
3162
    oprot.writeMessageEnd()
-
 
3163
    oprot.trans.flush()
-
 
3164
 
-
 
3165
  def process_getAffiliatesByMasterAffiliate(self, seqid, iprot, oprot):
-
 
3166
    args = getAffiliatesByMasterAffiliate_args()
-
 
3167
    args.read(iprot)
-
 
3168
    iprot.readMessageEnd()
-
 
3169
    result = getAffiliatesByMasterAffiliate_result()
-
 
3170
    try:
-
 
3171
      result.success = self._handler.getAffiliatesByMasterAffiliate(args.id)
-
 
3172
    except UserTrackerException, utx:
-
 
3173
      result.utx = utx
-
 
3174
    oprot.writeMessageBegin("getAffiliatesByMasterAffiliate", TMessageType.REPLY, seqid)
-
 
3175
    result.write(oprot)
-
 
3176
    oprot.writeMessageEnd()
-
 
3177
    oprot.trans.flush()
-
 
3178
 
-
 
3179
  def process_createTracker(self, seqid, iprot, oprot):
-
 
3180
    args = createTracker_args()
-
 
3181
    args.read(iprot)
-
 
3182
    iprot.readMessageEnd()
-
 
3183
    result = createTracker_result()
-
 
3184
    try:
-
 
3185
      result.success = self._handler.createTracker(args.affiliateId)
-
 
3186
    except UserTrackerException, utx:
-
 
3187
      result.utx = utx
-
 
3188
    oprot.writeMessageBegin("createTracker", TMessageType.REPLY, seqid)
-
 
3189
    result.write(oprot)
-
 
3190
    oprot.writeMessageEnd()
-
 
3191
    oprot.trans.flush()
-
 
3192
 
-
 
3193
  def process_getTrackerById(self, seqid, iprot, oprot):
-
 
3194
    args = getTrackerById_args()
-
 
3195
    args.read(iprot)
-
 
3196
    iprot.readMessageEnd()
-
 
3197
    result = getTrackerById_result()
-
 
3198
    try:
-
 
3199
      result.success = self._handler.getTrackerById(args.trackerId)
-
 
3200
    except UserTrackerException, utx:
-
 
3201
      result.utx = utx
-
 
3202
    oprot.writeMessageBegin("getTrackerById", TMessageType.REPLY, seqid)
-
 
3203
    result.write(oprot)
-
 
3204
    oprot.writeMessageEnd()
-
 
3205
    oprot.trans.flush()
-
 
3206
 
-
 
3207
  def process_getTrackersByAffiliate(self, seqid, iprot, oprot):
-
 
3208
    args = getTrackersByAffiliate_args()
-
 
3209
    args.read(iprot)
-
 
3210
    iprot.readMessageEnd()
-
 
3211
    result = getTrackersByAffiliate_result()
-
 
3212
    try:
-
 
3213
      result.success = self._handler.getTrackersByAffiliate(args.affiliateId)
-
 
3214
    except UserTrackerException, utx:
-
 
3215
      result.utx = utx
-
 
3216
    oprot.writeMessageBegin("getTrackersByAffiliate", TMessageType.REPLY, seqid)
-
 
3217
    result.write(oprot)
-
 
3218
    oprot.writeMessageEnd()
-
 
3219
    oprot.trans.flush()
-
 
3220
 
-
 
3221
  def process_addTrackLog(self, seqid, iprot, oprot):
-
 
3222
    args = addTrackLog_args()
-
 
3223
    args.read(iprot)
-
 
3224
    iprot.readMessageEnd()
-
 
3225
    result = addTrackLog_result()
-
 
3226
    try:
-
 
3227
      result.success = self._handler.addTrackLog(args.trackerId, args.userId, args.event, args.url, args.data)
-
 
3228
    except UserTrackerException, utx:
-
 
3229
      result.utx = utx
-
 
3230
    oprot.writeMessageBegin("addTrackLog", TMessageType.REPLY, seqid)
-
 
3231
    result.write(oprot)
-
 
3232
    oprot.writeMessageEnd()
-
 
3233
    oprot.trans.flush()
-
 
3234
 
-
 
3235
  def process_getTrackLogById(self, seqid, iprot, oprot):
-
 
3236
    args = getTrackLogById_args()
-
 
3237
    args.read(iprot)
-
 
3238
    iprot.readMessageEnd()
-
 
3239
    result = getTrackLogById_result()
-
 
3240
    try:
-
 
3241
      result.success = self._handler.getTrackLogById(args.id)
-
 
3242
    except UserTrackerException, utx:
-
 
3243
      result.utx = utx
-
 
3244
    oprot.writeMessageBegin("getTrackLogById", TMessageType.REPLY, seqid)
-
 
3245
    result.write(oprot)
-
 
3246
    oprot.writeMessageEnd()
-
 
3247
    oprot.trans.flush()
-
 
3248
 
-
 
3249
  def process_getTrackLogsByTracker(self, seqid, iprot, oprot):
-
 
3250
    args = getTrackLogsByTracker_args()
-
 
3251
    args.read(iprot)
-
 
3252
    iprot.readMessageEnd()
-
 
3253
    result = getTrackLogsByTracker_result()
-
 
3254
    try:
-
 
3255
      result.success = self._handler.getTrackLogsByTracker(args.trackerId)
-
 
3256
    except UserTrackerException, utx:
-
 
3257
      result.utx = utx
-
 
3258
    oprot.writeMessageBegin("getTrackLogsByTracker", TMessageType.REPLY, seqid)
-
 
3259
    result.write(oprot)
-
 
3260
    oprot.writeMessageEnd()
-
 
3261
    oprot.trans.flush()
-
 
3262
 
-
 
3263
  def process_getTrackLogsByUser(self, seqid, iprot, oprot):
-
 
3264
    args = getTrackLogsByUser_args()
-
 
3265
    args.read(iprot)
-
 
3266
    iprot.readMessageEnd()
-
 
3267
    result = getTrackLogsByUser_result()
-
 
3268
    try:
-
 
3269
      result.success = self._handler.getTrackLogsByUser(args.userId)
-
 
3270
    except UserTrackerException, utx:
-
 
3271
      result.utx = utx
-
 
3272
    oprot.writeMessageBegin("getTrackLogsByUser", TMessageType.REPLY, seqid)
-
 
3273
    result.write(oprot)
-
 
3274
    oprot.writeMessageEnd()
-
 
3275
    oprot.trans.flush()
-
 
3276
 
-
 
3277
  def process_getTrackLogs(self, seqid, iprot, oprot):
-
 
3278
    args = getTrackLogs_args()
-
 
3279
    args.read(iprot)
-
 
3280
    iprot.readMessageEnd()
-
 
3281
    result = getTrackLogs_result()
-
 
3282
    try:
-
 
3283
      result.success = self._handler.getTrackLogs(args.trackerId, args.userId, args.event, args.url)
-
 
3284
    except UserTrackerException, utx:
-
 
3285
      result.utx = utx
-
 
3286
    oprot.writeMessageBegin("getTrackLogs", TMessageType.REPLY, seqid)
-
 
3287
    result.write(oprot)
-
 
3288
    oprot.writeMessageEnd()
-
 
3289
    oprot.trans.flush()
-
 
3290
 
2454
  def process_createCart(self, seqid, iprot, oprot):
3291
  def process_createCart(self, seqid, iprot, oprot):
2455
    args = createCart_args()
3292
    args = createCart_args()
2456
    args.read(iprot)
3293
    args.read(iprot)
2457
    iprot.readMessageEnd()
3294
    iprot.readMessageEnd()
2458
    result = createCart_result()
3295
    result = createCart_result()
Line 5939... Line 6776...
5939
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
6776
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
5940
 
6777
 
5941
  def __ne__(self, other):
6778
  def __ne__(self, other):
5942
    return not (self == other)
6779
    return not (self == other)
5943
 
6780
 
-
 
6781
class createMasterAffiliate_args:
-
 
6782
  """
-
 
6783
  Attributes:
-
 
6784
   - name
-
 
6785
  """
-
 
6786
 
-
 
6787
  thrift_spec = (
-
 
6788
    None, # 0
-
 
6789
    (1, TType.STRING, 'name', None, None, ), # 1
-
 
6790
  )
-
 
6791
 
-
 
6792
  def __init__(self, name=None,):
-
 
6793
    self.name = name
-
 
6794
 
-
 
6795
  def read(self, iprot):
-
 
6796
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
-
 
6797
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
-
 
6798
      return
-
 
6799
    iprot.readStructBegin()
-
 
6800
    while True:
-
 
6801
      (fname, ftype, fid) = iprot.readFieldBegin()
-
 
6802
      if ftype == TType.STOP:
-
 
6803
        break
-
 
6804
      if fid == 1:
-
 
6805
        if ftype == TType.STRING:
-
 
6806
          self.name = iprot.readString();
-
 
6807
        else:
-
 
6808
          iprot.skip(ftype)
-
 
6809
      else:
-
 
6810
        iprot.skip(ftype)
-
 
6811
      iprot.readFieldEnd()
-
 
6812
    iprot.readStructEnd()
-
 
6813
 
-
 
6814
  def write(self, oprot):
-
 
6815
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
-
 
6816
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
-
 
6817
      return
-
 
6818
    oprot.writeStructBegin('createMasterAffiliate_args')
-
 
6819
    if self.name != None:
-
 
6820
      oprot.writeFieldBegin('name', TType.STRING, 1)
-
 
6821
      oprot.writeString(self.name)
-
 
6822
      oprot.writeFieldEnd()
-
 
6823
    oprot.writeFieldStop()
-
 
6824
    oprot.writeStructEnd()
-
 
6825
 
-
 
6826
  def __repr__(self):
-
 
6827
    L = ['%s=%r' % (key, value)
-
 
6828
      for key, value in self.__dict__.iteritems()]
-
 
6829
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
-
 
6830
 
-
 
6831
  def __eq__(self, other):
-
 
6832
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
-
 
6833
 
-
 
6834
  def __ne__(self, other):
-
 
6835
    return not (self == other)
-
 
6836
 
-
 
6837
class createMasterAffiliate_result:
-
 
6838
  """
-
 
6839
  Attributes:
-
 
6840
   - success
-
 
6841
   - utx
-
 
6842
  """
-
 
6843
 
-
 
6844
  thrift_spec = (
-
 
6845
    (0, TType.STRUCT, 'success', (MasterAffiliate, MasterAffiliate.thrift_spec), None, ), # 0
-
 
6846
    (1, TType.STRUCT, 'utx', (UserTrackerException, UserTrackerException.thrift_spec), None, ), # 1
-
 
6847
  )
-
 
6848
 
-
 
6849
  def __init__(self, success=None, utx=None,):
-
 
6850
    self.success = success
-
 
6851
    self.utx = utx
-
 
6852
 
-
 
6853
  def read(self, iprot):
-
 
6854
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
-
 
6855
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
-
 
6856
      return
-
 
6857
    iprot.readStructBegin()
-
 
6858
    while True:
-
 
6859
      (fname, ftype, fid) = iprot.readFieldBegin()
-
 
6860
      if ftype == TType.STOP:
-
 
6861
        break
-
 
6862
      if fid == 0:
-
 
6863
        if ftype == TType.STRUCT:
-
 
6864
          self.success = MasterAffiliate()
-
 
6865
          self.success.read(iprot)
-
 
6866
        else:
-
 
6867
          iprot.skip(ftype)
-
 
6868
      elif fid == 1:
-
 
6869
        if ftype == TType.STRUCT:
-
 
6870
          self.utx = UserTrackerException()
-
 
6871
          self.utx.read(iprot)
-
 
6872
        else:
-
 
6873
          iprot.skip(ftype)
-
 
6874
      else:
-
 
6875
        iprot.skip(ftype)
-
 
6876
      iprot.readFieldEnd()
-
 
6877
    iprot.readStructEnd()
-
 
6878
 
-
 
6879
  def write(self, oprot):
-
 
6880
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
-
 
6881
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
-
 
6882
      return
-
 
6883
    oprot.writeStructBegin('createMasterAffiliate_result')
-
 
6884
    if self.success != None:
-
 
6885
      oprot.writeFieldBegin('success', TType.STRUCT, 0)
-
 
6886
      self.success.write(oprot)
-
 
6887
      oprot.writeFieldEnd()
-
 
6888
    if self.utx != None:
-
 
6889
      oprot.writeFieldBegin('utx', TType.STRUCT, 1)
-
 
6890
      self.utx.write(oprot)
-
 
6891
      oprot.writeFieldEnd()
-
 
6892
    oprot.writeFieldStop()
-
 
6893
    oprot.writeStructEnd()
-
 
6894
 
-
 
6895
  def __repr__(self):
-
 
6896
    L = ['%s=%r' % (key, value)
-
 
6897
      for key, value in self.__dict__.iteritems()]
-
 
6898
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
-
 
6899
 
-
 
6900
  def __eq__(self, other):
-
 
6901
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
-
 
6902
 
-
 
6903
  def __ne__(self, other):
-
 
6904
    return not (self == other)
-
 
6905
 
-
 
6906
class getMasterAffiliateById_args:
-
 
6907
  """
-
 
6908
  Attributes:
-
 
6909
   - id
-
 
6910
  """
-
 
6911
 
-
 
6912
  thrift_spec = (
-
 
6913
    None, # 0
-
 
6914
    (1, TType.I64, 'id', None, None, ), # 1
-
 
6915
  )
-
 
6916
 
-
 
6917
  def __init__(self, id=None,):
-
 
6918
    self.id = id
-
 
6919
 
-
 
6920
  def read(self, iprot):
-
 
6921
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
-
 
6922
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
-
 
6923
      return
-
 
6924
    iprot.readStructBegin()
-
 
6925
    while True:
-
 
6926
      (fname, ftype, fid) = iprot.readFieldBegin()
-
 
6927
      if ftype == TType.STOP:
-
 
6928
        break
-
 
6929
      if fid == 1:
-
 
6930
        if ftype == TType.I64:
-
 
6931
          self.id = iprot.readI64();
-
 
6932
        else:
-
 
6933
          iprot.skip(ftype)
-
 
6934
      else:
-
 
6935
        iprot.skip(ftype)
-
 
6936
      iprot.readFieldEnd()
-
 
6937
    iprot.readStructEnd()
-
 
6938
 
-
 
6939
  def write(self, oprot):
-
 
6940
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
-
 
6941
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
-
 
6942
      return
-
 
6943
    oprot.writeStructBegin('getMasterAffiliateById_args')
-
 
6944
    if self.id != None:
-
 
6945
      oprot.writeFieldBegin('id', TType.I64, 1)
-
 
6946
      oprot.writeI64(self.id)
-
 
6947
      oprot.writeFieldEnd()
-
 
6948
    oprot.writeFieldStop()
-
 
6949
    oprot.writeStructEnd()
-
 
6950
 
-
 
6951
  def __repr__(self):
-
 
6952
    L = ['%s=%r' % (key, value)
-
 
6953
      for key, value in self.__dict__.iteritems()]
-
 
6954
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
-
 
6955
 
-
 
6956
  def __eq__(self, other):
-
 
6957
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
-
 
6958
 
-
 
6959
  def __ne__(self, other):
-
 
6960
    return not (self == other)
-
 
6961
 
-
 
6962
class getMasterAffiliateById_result:
-
 
6963
  """
-
 
6964
  Attributes:
-
 
6965
   - success
-
 
6966
   - utx
-
 
6967
  """
-
 
6968
 
-
 
6969
  thrift_spec = (
-
 
6970
    (0, TType.STRUCT, 'success', (MasterAffiliate, MasterAffiliate.thrift_spec), None, ), # 0
-
 
6971
    (1, TType.STRUCT, 'utx', (UserTrackerException, UserTrackerException.thrift_spec), None, ), # 1
-
 
6972
  )
-
 
6973
 
-
 
6974
  def __init__(self, success=None, utx=None,):
-
 
6975
    self.success = success
-
 
6976
    self.utx = utx
-
 
6977
 
-
 
6978
  def read(self, iprot):
-
 
6979
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
-
 
6980
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
-
 
6981
      return
-
 
6982
    iprot.readStructBegin()
-
 
6983
    while True:
-
 
6984
      (fname, ftype, fid) = iprot.readFieldBegin()
-
 
6985
      if ftype == TType.STOP:
-
 
6986
        break
-
 
6987
      if fid == 0:
-
 
6988
        if ftype == TType.STRUCT:
-
 
6989
          self.success = MasterAffiliate()
-
 
6990
          self.success.read(iprot)
-
 
6991
        else:
-
 
6992
          iprot.skip(ftype)
-
 
6993
      elif fid == 1:
-
 
6994
        if ftype == TType.STRUCT:
-
 
6995
          self.utx = UserTrackerException()
-
 
6996
          self.utx.read(iprot)
-
 
6997
        else:
-
 
6998
          iprot.skip(ftype)
-
 
6999
      else:
-
 
7000
        iprot.skip(ftype)
-
 
7001
      iprot.readFieldEnd()
-
 
7002
    iprot.readStructEnd()
-
 
7003
 
-
 
7004
  def write(self, oprot):
-
 
7005
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
-
 
7006
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
-
 
7007
      return
-
 
7008
    oprot.writeStructBegin('getMasterAffiliateById_result')
-
 
7009
    if self.success != None:
-
 
7010
      oprot.writeFieldBegin('success', TType.STRUCT, 0)
-
 
7011
      self.success.write(oprot)
-
 
7012
      oprot.writeFieldEnd()
-
 
7013
    if self.utx != None:
-
 
7014
      oprot.writeFieldBegin('utx', TType.STRUCT, 1)
-
 
7015
      self.utx.write(oprot)
-
 
7016
      oprot.writeFieldEnd()
-
 
7017
    oprot.writeFieldStop()
-
 
7018
    oprot.writeStructEnd()
-
 
7019
 
-
 
7020
  def __repr__(self):
-
 
7021
    L = ['%s=%r' % (key, value)
-
 
7022
      for key, value in self.__dict__.iteritems()]
-
 
7023
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
-
 
7024
 
-
 
7025
  def __eq__(self, other):
-
 
7026
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
-
 
7027
 
-
 
7028
  def __ne__(self, other):
-
 
7029
    return not (self == other)
-
 
7030
 
-
 
7031
class getMasterAffiliateByName_args:
-
 
7032
  """
-
 
7033
  Attributes:
-
 
7034
   - name
-
 
7035
  """
-
 
7036
 
-
 
7037
  thrift_spec = (
-
 
7038
    None, # 0
-
 
7039
    (1, TType.STRING, 'name', None, None, ), # 1
-
 
7040
  )
-
 
7041
 
-
 
7042
  def __init__(self, name=None,):
-
 
7043
    self.name = name
-
 
7044
 
-
 
7045
  def read(self, iprot):
-
 
7046
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
-
 
7047
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
-
 
7048
      return
-
 
7049
    iprot.readStructBegin()
-
 
7050
    while True:
-
 
7051
      (fname, ftype, fid) = iprot.readFieldBegin()
-
 
7052
      if ftype == TType.STOP:
-
 
7053
        break
-
 
7054
      if fid == 1:
-
 
7055
        if ftype == TType.STRING:
-
 
7056
          self.name = iprot.readString();
-
 
7057
        else:
-
 
7058
          iprot.skip(ftype)
-
 
7059
      else:
-
 
7060
        iprot.skip(ftype)
-
 
7061
      iprot.readFieldEnd()
-
 
7062
    iprot.readStructEnd()
-
 
7063
 
-
 
7064
  def write(self, oprot):
-
 
7065
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
-
 
7066
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
-
 
7067
      return
-
 
7068
    oprot.writeStructBegin('getMasterAffiliateByName_args')
-
 
7069
    if self.name != None:
-
 
7070
      oprot.writeFieldBegin('name', TType.STRING, 1)
-
 
7071
      oprot.writeString(self.name)
-
 
7072
      oprot.writeFieldEnd()
-
 
7073
    oprot.writeFieldStop()
-
 
7074
    oprot.writeStructEnd()
-
 
7075
 
-
 
7076
  def __repr__(self):
-
 
7077
    L = ['%s=%r' % (key, value)
-
 
7078
      for key, value in self.__dict__.iteritems()]
-
 
7079
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
-
 
7080
 
-
 
7081
  def __eq__(self, other):
-
 
7082
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
-
 
7083
 
-
 
7084
  def __ne__(self, other):
-
 
7085
    return not (self == other)
-
 
7086
 
-
 
7087
class getMasterAffiliateByName_result:
-
 
7088
  """
-
 
7089
  Attributes:
-
 
7090
   - success
-
 
7091
   - utx
-
 
7092
  """
-
 
7093
 
-
 
7094
  thrift_spec = (
-
 
7095
    (0, TType.STRUCT, 'success', (MasterAffiliate, MasterAffiliate.thrift_spec), None, ), # 0
-
 
7096
    (1, TType.STRUCT, 'utx', (UserTrackerException, UserTrackerException.thrift_spec), None, ), # 1
-
 
7097
  )
-
 
7098
 
-
 
7099
  def __init__(self, success=None, utx=None,):
-
 
7100
    self.success = success
-
 
7101
    self.utx = utx
-
 
7102
 
-
 
7103
  def read(self, iprot):
-
 
7104
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
-
 
7105
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
-
 
7106
      return
-
 
7107
    iprot.readStructBegin()
-
 
7108
    while True:
-
 
7109
      (fname, ftype, fid) = iprot.readFieldBegin()
-
 
7110
      if ftype == TType.STOP:
-
 
7111
        break
-
 
7112
      if fid == 0:
-
 
7113
        if ftype == TType.STRUCT:
-
 
7114
          self.success = MasterAffiliate()
-
 
7115
          self.success.read(iprot)
-
 
7116
        else:
-
 
7117
          iprot.skip(ftype)
-
 
7118
      elif fid == 1:
-
 
7119
        if ftype == TType.STRUCT:
-
 
7120
          self.utx = UserTrackerException()
-
 
7121
          self.utx.read(iprot)
-
 
7122
        else:
-
 
7123
          iprot.skip(ftype)
-
 
7124
      else:
-
 
7125
        iprot.skip(ftype)
-
 
7126
      iprot.readFieldEnd()
-
 
7127
    iprot.readStructEnd()
-
 
7128
 
-
 
7129
  def write(self, oprot):
-
 
7130
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
-
 
7131
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
-
 
7132
      return
-
 
7133
    oprot.writeStructBegin('getMasterAffiliateByName_result')
-
 
7134
    if self.success != None:
-
 
7135
      oprot.writeFieldBegin('success', TType.STRUCT, 0)
-
 
7136
      self.success.write(oprot)
-
 
7137
      oprot.writeFieldEnd()
-
 
7138
    if self.utx != None:
-
 
7139
      oprot.writeFieldBegin('utx', TType.STRUCT, 1)
-
 
7140
      self.utx.write(oprot)
-
 
7141
      oprot.writeFieldEnd()
-
 
7142
    oprot.writeFieldStop()
-
 
7143
    oprot.writeStructEnd()
-
 
7144
 
-
 
7145
  def __repr__(self):
-
 
7146
    L = ['%s=%r' % (key, value)
-
 
7147
      for key, value in self.__dict__.iteritems()]
-
 
7148
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
-
 
7149
 
-
 
7150
  def __eq__(self, other):
-
 
7151
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
-
 
7152
 
-
 
7153
  def __ne__(self, other):
-
 
7154
    return not (self == other)
-
 
7155
 
-
 
7156
class createAffiliate_args:
-
 
7157
  """
-
 
7158
  Attributes:
-
 
7159
   - name
-
 
7160
   - url
-
 
7161
   - masterAffiliateId
-
 
7162
  """
-
 
7163
 
-
 
7164
  thrift_spec = (
-
 
7165
    None, # 0
-
 
7166
    (1, TType.STRING, 'name', None, None, ), # 1
-
 
7167
    (2, TType.STRING, 'url', None, None, ), # 2
-
 
7168
    (3, TType.I64, 'masterAffiliateId', None, None, ), # 3
-
 
7169
  )
-
 
7170
 
-
 
7171
  def __init__(self, name=None, url=None, masterAffiliateId=None,):
-
 
7172
    self.name = name
-
 
7173
    self.url = url
-
 
7174
    self.masterAffiliateId = masterAffiliateId
-
 
7175
 
-
 
7176
  def read(self, iprot):
-
 
7177
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
-
 
7178
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
-
 
7179
      return
-
 
7180
    iprot.readStructBegin()
-
 
7181
    while True:
-
 
7182
      (fname, ftype, fid) = iprot.readFieldBegin()
-
 
7183
      if ftype == TType.STOP:
-
 
7184
        break
-
 
7185
      if fid == 1:
-
 
7186
        if ftype == TType.STRING:
-
 
7187
          self.name = iprot.readString();
-
 
7188
        else:
-
 
7189
          iprot.skip(ftype)
-
 
7190
      elif fid == 2:
-
 
7191
        if ftype == TType.STRING:
-
 
7192
          self.url = iprot.readString();
-
 
7193
        else:
-
 
7194
          iprot.skip(ftype)
-
 
7195
      elif fid == 3:
-
 
7196
        if ftype == TType.I64:
-
 
7197
          self.masterAffiliateId = iprot.readI64();
-
 
7198
        else:
-
 
7199
          iprot.skip(ftype)
-
 
7200
      else:
-
 
7201
        iprot.skip(ftype)
-
 
7202
      iprot.readFieldEnd()
-
 
7203
    iprot.readStructEnd()
-
 
7204
 
-
 
7205
  def write(self, oprot):
-
 
7206
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
-
 
7207
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
-
 
7208
      return
-
 
7209
    oprot.writeStructBegin('createAffiliate_args')
-
 
7210
    if self.name != None:
-
 
7211
      oprot.writeFieldBegin('name', TType.STRING, 1)
-
 
7212
      oprot.writeString(self.name)
-
 
7213
      oprot.writeFieldEnd()
-
 
7214
    if self.url != None:
-
 
7215
      oprot.writeFieldBegin('url', TType.STRING, 2)
-
 
7216
      oprot.writeString(self.url)
-
 
7217
      oprot.writeFieldEnd()
-
 
7218
    if self.masterAffiliateId != None:
-
 
7219
      oprot.writeFieldBegin('masterAffiliateId', TType.I64, 3)
-
 
7220
      oprot.writeI64(self.masterAffiliateId)
-
 
7221
      oprot.writeFieldEnd()
-
 
7222
    oprot.writeFieldStop()
-
 
7223
    oprot.writeStructEnd()
-
 
7224
 
-
 
7225
  def __repr__(self):
-
 
7226
    L = ['%s=%r' % (key, value)
-
 
7227
      for key, value in self.__dict__.iteritems()]
-
 
7228
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
-
 
7229
 
-
 
7230
  def __eq__(self, other):
-
 
7231
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
-
 
7232
 
-
 
7233
  def __ne__(self, other):
-
 
7234
    return not (self == other)
-
 
7235
 
-
 
7236
class createAffiliate_result:
-
 
7237
  """
-
 
7238
  Attributes:
-
 
7239
   - success
-
 
7240
   - utx
-
 
7241
  """
-
 
7242
 
-
 
7243
  thrift_spec = (
-
 
7244
    (0, TType.STRUCT, 'success', (Affiliate, Affiliate.thrift_spec), None, ), # 0
-
 
7245
    (1, TType.STRUCT, 'utx', (UserTrackerException, UserTrackerException.thrift_spec), None, ), # 1
-
 
7246
  )
-
 
7247
 
-
 
7248
  def __init__(self, success=None, utx=None,):
-
 
7249
    self.success = success
-
 
7250
    self.utx = utx
-
 
7251
 
-
 
7252
  def read(self, iprot):
-
 
7253
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
-
 
7254
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
-
 
7255
      return
-
 
7256
    iprot.readStructBegin()
-
 
7257
    while True:
-
 
7258
      (fname, ftype, fid) = iprot.readFieldBegin()
-
 
7259
      if ftype == TType.STOP:
-
 
7260
        break
-
 
7261
      if fid == 0:
-
 
7262
        if ftype == TType.STRUCT:
-
 
7263
          self.success = Affiliate()
-
 
7264
          self.success.read(iprot)
-
 
7265
        else:
-
 
7266
          iprot.skip(ftype)
-
 
7267
      elif fid == 1:
-
 
7268
        if ftype == TType.STRUCT:
-
 
7269
          self.utx = UserTrackerException()
-
 
7270
          self.utx.read(iprot)
-
 
7271
        else:
-
 
7272
          iprot.skip(ftype)
-
 
7273
      else:
-
 
7274
        iprot.skip(ftype)
-
 
7275
      iprot.readFieldEnd()
-
 
7276
    iprot.readStructEnd()
-
 
7277
 
-
 
7278
  def write(self, oprot):
-
 
7279
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
-
 
7280
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
-
 
7281
      return
-
 
7282
    oprot.writeStructBegin('createAffiliate_result')
-
 
7283
    if self.success != None:
-
 
7284
      oprot.writeFieldBegin('success', TType.STRUCT, 0)
-
 
7285
      self.success.write(oprot)
-
 
7286
      oprot.writeFieldEnd()
-
 
7287
    if self.utx != None:
-
 
7288
      oprot.writeFieldBegin('utx', TType.STRUCT, 1)
-
 
7289
      self.utx.write(oprot)
-
 
7290
      oprot.writeFieldEnd()
-
 
7291
    oprot.writeFieldStop()
-
 
7292
    oprot.writeStructEnd()
-
 
7293
 
-
 
7294
  def __repr__(self):
-
 
7295
    L = ['%s=%r' % (key, value)
-
 
7296
      for key, value in self.__dict__.iteritems()]
-
 
7297
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
-
 
7298
 
-
 
7299
  def __eq__(self, other):
-
 
7300
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
-
 
7301
 
-
 
7302
  def __ne__(self, other):
-
 
7303
    return not (self == other)
-
 
7304
 
-
 
7305
class getAffiliateById_args:
-
 
7306
  """
-
 
7307
  Attributes:
-
 
7308
   - id
-
 
7309
  """
-
 
7310
 
-
 
7311
  thrift_spec = (
-
 
7312
    None, # 0
-
 
7313
    (1, TType.I64, 'id', None, None, ), # 1
-
 
7314
  )
-
 
7315
 
-
 
7316
  def __init__(self, id=None,):
-
 
7317
    self.id = id
-
 
7318
 
-
 
7319
  def read(self, iprot):
-
 
7320
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
-
 
7321
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
-
 
7322
      return
-
 
7323
    iprot.readStructBegin()
-
 
7324
    while True:
-
 
7325
      (fname, ftype, fid) = iprot.readFieldBegin()
-
 
7326
      if ftype == TType.STOP:
-
 
7327
        break
-
 
7328
      if fid == 1:
-
 
7329
        if ftype == TType.I64:
-
 
7330
          self.id = iprot.readI64();
-
 
7331
        else:
-
 
7332
          iprot.skip(ftype)
-
 
7333
      else:
-
 
7334
        iprot.skip(ftype)
-
 
7335
      iprot.readFieldEnd()
-
 
7336
    iprot.readStructEnd()
-
 
7337
 
-
 
7338
  def write(self, oprot):
-
 
7339
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
-
 
7340
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
-
 
7341
      return
-
 
7342
    oprot.writeStructBegin('getAffiliateById_args')
-
 
7343
    if self.id != None:
-
 
7344
      oprot.writeFieldBegin('id', TType.I64, 1)
-
 
7345
      oprot.writeI64(self.id)
-
 
7346
      oprot.writeFieldEnd()
-
 
7347
    oprot.writeFieldStop()
-
 
7348
    oprot.writeStructEnd()
-
 
7349
 
-
 
7350
  def __repr__(self):
-
 
7351
    L = ['%s=%r' % (key, value)
-
 
7352
      for key, value in self.__dict__.iteritems()]
-
 
7353
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
-
 
7354
 
-
 
7355
  def __eq__(self, other):
-
 
7356
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
-
 
7357
 
-
 
7358
  def __ne__(self, other):
-
 
7359
    return not (self == other)
-
 
7360
 
-
 
7361
class getAffiliateById_result:
-
 
7362
  """
-
 
7363
  Attributes:
-
 
7364
   - success
-
 
7365
   - utx
-
 
7366
  """
-
 
7367
 
-
 
7368
  thrift_spec = (
-
 
7369
    (0, TType.STRUCT, 'success', (Affiliate, Affiliate.thrift_spec), None, ), # 0
-
 
7370
    (1, TType.STRUCT, 'utx', (UserTrackerException, UserTrackerException.thrift_spec), None, ), # 1
-
 
7371
  )
-
 
7372
 
-
 
7373
  def __init__(self, success=None, utx=None,):
-
 
7374
    self.success = success
-
 
7375
    self.utx = utx
-
 
7376
 
-
 
7377
  def read(self, iprot):
-
 
7378
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
-
 
7379
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
-
 
7380
      return
-
 
7381
    iprot.readStructBegin()
-
 
7382
    while True:
-
 
7383
      (fname, ftype, fid) = iprot.readFieldBegin()
-
 
7384
      if ftype == TType.STOP:
-
 
7385
        break
-
 
7386
      if fid == 0:
-
 
7387
        if ftype == TType.STRUCT:
-
 
7388
          self.success = Affiliate()
-
 
7389
          self.success.read(iprot)
-
 
7390
        else:
-
 
7391
          iprot.skip(ftype)
-
 
7392
      elif fid == 1:
-
 
7393
        if ftype == TType.STRUCT:
-
 
7394
          self.utx = UserTrackerException()
-
 
7395
          self.utx.read(iprot)
-
 
7396
        else:
-
 
7397
          iprot.skip(ftype)
-
 
7398
      else:
-
 
7399
        iprot.skip(ftype)
-
 
7400
      iprot.readFieldEnd()
-
 
7401
    iprot.readStructEnd()
-
 
7402
 
-
 
7403
  def write(self, oprot):
-
 
7404
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
-
 
7405
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
-
 
7406
      return
-
 
7407
    oprot.writeStructBegin('getAffiliateById_result')
-
 
7408
    if self.success != None:
-
 
7409
      oprot.writeFieldBegin('success', TType.STRUCT, 0)
-
 
7410
      self.success.write(oprot)
-
 
7411
      oprot.writeFieldEnd()
-
 
7412
    if self.utx != None:
-
 
7413
      oprot.writeFieldBegin('utx', TType.STRUCT, 1)
-
 
7414
      self.utx.write(oprot)
-
 
7415
      oprot.writeFieldEnd()
-
 
7416
    oprot.writeFieldStop()
-
 
7417
    oprot.writeStructEnd()
-
 
7418
 
-
 
7419
  def __repr__(self):
-
 
7420
    L = ['%s=%r' % (key, value)
-
 
7421
      for key, value in self.__dict__.iteritems()]
-
 
7422
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
-
 
7423
 
-
 
7424
  def __eq__(self, other):
-
 
7425
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
-
 
7426
 
-
 
7427
  def __ne__(self, other):
-
 
7428
    return not (self == other)
-
 
7429
 
-
 
7430
class getAffiliateByName_args:
-
 
7431
  """
-
 
7432
  Attributes:
-
 
7433
   - name
-
 
7434
  """
-
 
7435
 
-
 
7436
  thrift_spec = (
-
 
7437
    None, # 0
-
 
7438
    (1, TType.STRING, 'name', None, None, ), # 1
-
 
7439
  )
-
 
7440
 
-
 
7441
  def __init__(self, name=None,):
-
 
7442
    self.name = name
-
 
7443
 
-
 
7444
  def read(self, iprot):
-
 
7445
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
-
 
7446
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
-
 
7447
      return
-
 
7448
    iprot.readStructBegin()
-
 
7449
    while True:
-
 
7450
      (fname, ftype, fid) = iprot.readFieldBegin()
-
 
7451
      if ftype == TType.STOP:
-
 
7452
        break
-
 
7453
      if fid == 1:
-
 
7454
        if ftype == TType.STRING:
-
 
7455
          self.name = iprot.readString();
-
 
7456
        else:
-
 
7457
          iprot.skip(ftype)
-
 
7458
      else:
-
 
7459
        iprot.skip(ftype)
-
 
7460
      iprot.readFieldEnd()
-
 
7461
    iprot.readStructEnd()
-
 
7462
 
-
 
7463
  def write(self, oprot):
-
 
7464
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
-
 
7465
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
-
 
7466
      return
-
 
7467
    oprot.writeStructBegin('getAffiliateByName_args')
-
 
7468
    if self.name != None:
-
 
7469
      oprot.writeFieldBegin('name', TType.STRING, 1)
-
 
7470
      oprot.writeString(self.name)
-
 
7471
      oprot.writeFieldEnd()
-
 
7472
    oprot.writeFieldStop()
-
 
7473
    oprot.writeStructEnd()
-
 
7474
 
-
 
7475
  def __repr__(self):
-
 
7476
    L = ['%s=%r' % (key, value)
-
 
7477
      for key, value in self.__dict__.iteritems()]
-
 
7478
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
-
 
7479
 
-
 
7480
  def __eq__(self, other):
-
 
7481
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
-
 
7482
 
-
 
7483
  def __ne__(self, other):
-
 
7484
    return not (self == other)
-
 
7485
 
-
 
7486
class getAffiliateByName_result:
-
 
7487
  """
-
 
7488
  Attributes:
-
 
7489
   - success
-
 
7490
   - utx
-
 
7491
  """
-
 
7492
 
-
 
7493
  thrift_spec = (
-
 
7494
    (0, TType.STRUCT, 'success', (Affiliate, Affiliate.thrift_spec), None, ), # 0
-
 
7495
    (1, TType.STRUCT, 'utx', (UserTrackerException, UserTrackerException.thrift_spec), None, ), # 1
-
 
7496
  )
-
 
7497
 
-
 
7498
  def __init__(self, success=None, utx=None,):
-
 
7499
    self.success = success
-
 
7500
    self.utx = utx
-
 
7501
 
-
 
7502
  def read(self, iprot):
-
 
7503
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
-
 
7504
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
-
 
7505
      return
-
 
7506
    iprot.readStructBegin()
-
 
7507
    while True:
-
 
7508
      (fname, ftype, fid) = iprot.readFieldBegin()
-
 
7509
      if ftype == TType.STOP:
-
 
7510
        break
-
 
7511
      if fid == 0:
-
 
7512
        if ftype == TType.STRUCT:
-
 
7513
          self.success = Affiliate()
-
 
7514
          self.success.read(iprot)
-
 
7515
        else:
-
 
7516
          iprot.skip(ftype)
-
 
7517
      elif fid == 1:
-
 
7518
        if ftype == TType.STRUCT:
-
 
7519
          self.utx = UserTrackerException()
-
 
7520
          self.utx.read(iprot)
-
 
7521
        else:
-
 
7522
          iprot.skip(ftype)
-
 
7523
      else:
-
 
7524
        iprot.skip(ftype)
-
 
7525
      iprot.readFieldEnd()
-
 
7526
    iprot.readStructEnd()
-
 
7527
 
-
 
7528
  def write(self, oprot):
-
 
7529
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
-
 
7530
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
-
 
7531
      return
-
 
7532
    oprot.writeStructBegin('getAffiliateByName_result')
-
 
7533
    if self.success != None:
-
 
7534
      oprot.writeFieldBegin('success', TType.STRUCT, 0)
-
 
7535
      self.success.write(oprot)
-
 
7536
      oprot.writeFieldEnd()
-
 
7537
    if self.utx != None:
-
 
7538
      oprot.writeFieldBegin('utx', TType.STRUCT, 1)
-
 
7539
      self.utx.write(oprot)
-
 
7540
      oprot.writeFieldEnd()
-
 
7541
    oprot.writeFieldStop()
-
 
7542
    oprot.writeStructEnd()
-
 
7543
 
-
 
7544
  def __repr__(self):
-
 
7545
    L = ['%s=%r' % (key, value)
-
 
7546
      for key, value in self.__dict__.iteritems()]
-
 
7547
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
-
 
7548
 
-
 
7549
  def __eq__(self, other):
-
 
7550
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
-
 
7551
 
-
 
7552
  def __ne__(self, other):
-
 
7553
    return not (self == other)
-
 
7554
 
-
 
7555
class getAffiliatesByMasterAffiliate_args:
-
 
7556
  """
-
 
7557
  Attributes:
-
 
7558
   - id
-
 
7559
  """
-
 
7560
 
-
 
7561
  thrift_spec = (
-
 
7562
    None, # 0
-
 
7563
    (1, TType.I64, 'id', None, None, ), # 1
-
 
7564
  )
-
 
7565
 
-
 
7566
  def __init__(self, id=None,):
-
 
7567
    self.id = id
-
 
7568
 
-
 
7569
  def read(self, iprot):
-
 
7570
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
-
 
7571
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
-
 
7572
      return
-
 
7573
    iprot.readStructBegin()
-
 
7574
    while True:
-
 
7575
      (fname, ftype, fid) = iprot.readFieldBegin()
-
 
7576
      if ftype == TType.STOP:
-
 
7577
        break
-
 
7578
      if fid == 1:
-
 
7579
        if ftype == TType.I64:
-
 
7580
          self.id = iprot.readI64();
-
 
7581
        else:
-
 
7582
          iprot.skip(ftype)
-
 
7583
      else:
-
 
7584
        iprot.skip(ftype)
-
 
7585
      iprot.readFieldEnd()
-
 
7586
    iprot.readStructEnd()
-
 
7587
 
-
 
7588
  def write(self, oprot):
-
 
7589
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
-
 
7590
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
-
 
7591
      return
-
 
7592
    oprot.writeStructBegin('getAffiliatesByMasterAffiliate_args')
-
 
7593
    if self.id != None:
-
 
7594
      oprot.writeFieldBegin('id', TType.I64, 1)
-
 
7595
      oprot.writeI64(self.id)
-
 
7596
      oprot.writeFieldEnd()
-
 
7597
    oprot.writeFieldStop()
-
 
7598
    oprot.writeStructEnd()
-
 
7599
 
-
 
7600
  def __repr__(self):
-
 
7601
    L = ['%s=%r' % (key, value)
-
 
7602
      for key, value in self.__dict__.iteritems()]
-
 
7603
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
-
 
7604
 
-
 
7605
  def __eq__(self, other):
-
 
7606
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
-
 
7607
 
-
 
7608
  def __ne__(self, other):
-
 
7609
    return not (self == other)
-
 
7610
 
-
 
7611
class getAffiliatesByMasterAffiliate_result:
-
 
7612
  """
-
 
7613
  Attributes:
-
 
7614
   - success
-
 
7615
   - utx
-
 
7616
  """
-
 
7617
 
-
 
7618
  thrift_spec = (
-
 
7619
    (0, TType.LIST, 'success', (TType.STRUCT,(Affiliate, Affiliate.thrift_spec)), None, ), # 0
-
 
7620
    (1, TType.STRUCT, 'utx', (UserTrackerException, UserTrackerException.thrift_spec), None, ), # 1
-
 
7621
  )
-
 
7622
 
-
 
7623
  def __init__(self, success=None, utx=None,):
-
 
7624
    self.success = success
-
 
7625
    self.utx = utx
-
 
7626
 
-
 
7627
  def read(self, iprot):
-
 
7628
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
-
 
7629
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
-
 
7630
      return
-
 
7631
    iprot.readStructBegin()
-
 
7632
    while True:
-
 
7633
      (fname, ftype, fid) = iprot.readFieldBegin()
-
 
7634
      if ftype == TType.STOP:
-
 
7635
        break
-
 
7636
      if fid == 0:
-
 
7637
        if ftype == TType.LIST:
-
 
7638
          self.success = []
-
 
7639
          (_etype52, _size49) = iprot.readListBegin()
-
 
7640
          for _i53 in xrange(_size49):
-
 
7641
            _elem54 = Affiliate()
-
 
7642
            _elem54.read(iprot)
-
 
7643
            self.success.append(_elem54)
-
 
7644
          iprot.readListEnd()
-
 
7645
        else:
-
 
7646
          iprot.skip(ftype)
-
 
7647
      elif fid == 1:
-
 
7648
        if ftype == TType.STRUCT:
-
 
7649
          self.utx = UserTrackerException()
-
 
7650
          self.utx.read(iprot)
-
 
7651
        else:
-
 
7652
          iprot.skip(ftype)
-
 
7653
      else:
-
 
7654
        iprot.skip(ftype)
-
 
7655
      iprot.readFieldEnd()
-
 
7656
    iprot.readStructEnd()
-
 
7657
 
-
 
7658
  def write(self, oprot):
-
 
7659
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
-
 
7660
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
-
 
7661
      return
-
 
7662
    oprot.writeStructBegin('getAffiliatesByMasterAffiliate_result')
-
 
7663
    if self.success != None:
-
 
7664
      oprot.writeFieldBegin('success', TType.LIST, 0)
-
 
7665
      oprot.writeListBegin(TType.STRUCT, len(self.success))
-
 
7666
      for iter55 in self.success:
-
 
7667
        iter55.write(oprot)
-
 
7668
      oprot.writeListEnd()
-
 
7669
      oprot.writeFieldEnd()
-
 
7670
    if self.utx != None:
-
 
7671
      oprot.writeFieldBegin('utx', TType.STRUCT, 1)
-
 
7672
      self.utx.write(oprot)
-
 
7673
      oprot.writeFieldEnd()
-
 
7674
    oprot.writeFieldStop()
-
 
7675
    oprot.writeStructEnd()
-
 
7676
 
-
 
7677
  def __repr__(self):
-
 
7678
    L = ['%s=%r' % (key, value)
-
 
7679
      for key, value in self.__dict__.iteritems()]
-
 
7680
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
-
 
7681
 
-
 
7682
  def __eq__(self, other):
-
 
7683
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
-
 
7684
 
-
 
7685
  def __ne__(self, other):
-
 
7686
    return not (self == other)
-
 
7687
 
-
 
7688
class createTracker_args:
-
 
7689
  """
-
 
7690
  Attributes:
-
 
7691
   - affiliateId
-
 
7692
  """
-
 
7693
 
-
 
7694
  thrift_spec = (
-
 
7695
    None, # 0
-
 
7696
    (1, TType.I64, 'affiliateId', None, None, ), # 1
-
 
7697
  )
-
 
7698
 
-
 
7699
  def __init__(self, affiliateId=None,):
-
 
7700
    self.affiliateId = affiliateId
-
 
7701
 
-
 
7702
  def read(self, iprot):
-
 
7703
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
-
 
7704
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
-
 
7705
      return
-
 
7706
    iprot.readStructBegin()
-
 
7707
    while True:
-
 
7708
      (fname, ftype, fid) = iprot.readFieldBegin()
-
 
7709
      if ftype == TType.STOP:
-
 
7710
        break
-
 
7711
      if fid == 1:
-
 
7712
        if ftype == TType.I64:
-
 
7713
          self.affiliateId = iprot.readI64();
-
 
7714
        else:
-
 
7715
          iprot.skip(ftype)
-
 
7716
      else:
-
 
7717
        iprot.skip(ftype)
-
 
7718
      iprot.readFieldEnd()
-
 
7719
    iprot.readStructEnd()
-
 
7720
 
-
 
7721
  def write(self, oprot):
-
 
7722
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
-
 
7723
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
-
 
7724
      return
-
 
7725
    oprot.writeStructBegin('createTracker_args')
-
 
7726
    if self.affiliateId != None:
-
 
7727
      oprot.writeFieldBegin('affiliateId', TType.I64, 1)
-
 
7728
      oprot.writeI64(self.affiliateId)
-
 
7729
      oprot.writeFieldEnd()
-
 
7730
    oprot.writeFieldStop()
-
 
7731
    oprot.writeStructEnd()
-
 
7732
 
-
 
7733
  def __repr__(self):
-
 
7734
    L = ['%s=%r' % (key, value)
-
 
7735
      for key, value in self.__dict__.iteritems()]
-
 
7736
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
-
 
7737
 
-
 
7738
  def __eq__(self, other):
-
 
7739
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
-
 
7740
 
-
 
7741
  def __ne__(self, other):
-
 
7742
    return not (self == other)
-
 
7743
 
-
 
7744
class createTracker_result:
-
 
7745
  """
-
 
7746
  Attributes:
-
 
7747
   - success
-
 
7748
   - utx
-
 
7749
  """
-
 
7750
 
-
 
7751
  thrift_spec = (
-
 
7752
    (0, TType.STRUCT, 'success', (Tracker, Tracker.thrift_spec), None, ), # 0
-
 
7753
    (1, TType.STRUCT, 'utx', (UserTrackerException, UserTrackerException.thrift_spec), None, ), # 1
-
 
7754
  )
-
 
7755
 
-
 
7756
  def __init__(self, success=None, utx=None,):
-
 
7757
    self.success = success
-
 
7758
    self.utx = utx
-
 
7759
 
-
 
7760
  def read(self, iprot):
-
 
7761
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
-
 
7762
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
-
 
7763
      return
-
 
7764
    iprot.readStructBegin()
-
 
7765
    while True:
-
 
7766
      (fname, ftype, fid) = iprot.readFieldBegin()
-
 
7767
      if ftype == TType.STOP:
-
 
7768
        break
-
 
7769
      if fid == 0:
-
 
7770
        if ftype == TType.STRUCT:
-
 
7771
          self.success = Tracker()
-
 
7772
          self.success.read(iprot)
-
 
7773
        else:
-
 
7774
          iprot.skip(ftype)
-
 
7775
      elif fid == 1:
-
 
7776
        if ftype == TType.STRUCT:
-
 
7777
          self.utx = UserTrackerException()
-
 
7778
          self.utx.read(iprot)
-
 
7779
        else:
-
 
7780
          iprot.skip(ftype)
-
 
7781
      else:
-
 
7782
        iprot.skip(ftype)
-
 
7783
      iprot.readFieldEnd()
-
 
7784
    iprot.readStructEnd()
-
 
7785
 
-
 
7786
  def write(self, oprot):
-
 
7787
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
-
 
7788
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
-
 
7789
      return
-
 
7790
    oprot.writeStructBegin('createTracker_result')
-
 
7791
    if self.success != None:
-
 
7792
      oprot.writeFieldBegin('success', TType.STRUCT, 0)
-
 
7793
      self.success.write(oprot)
-
 
7794
      oprot.writeFieldEnd()
-
 
7795
    if self.utx != None:
-
 
7796
      oprot.writeFieldBegin('utx', TType.STRUCT, 1)
-
 
7797
      self.utx.write(oprot)
-
 
7798
      oprot.writeFieldEnd()
-
 
7799
    oprot.writeFieldStop()
-
 
7800
    oprot.writeStructEnd()
-
 
7801
 
-
 
7802
  def __repr__(self):
-
 
7803
    L = ['%s=%r' % (key, value)
-
 
7804
      for key, value in self.__dict__.iteritems()]
-
 
7805
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
-
 
7806
 
-
 
7807
  def __eq__(self, other):
-
 
7808
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
-
 
7809
 
-
 
7810
  def __ne__(self, other):
-
 
7811
    return not (self == other)
-
 
7812
 
-
 
7813
class getTrackerById_args:
-
 
7814
  """
-
 
7815
  Attributes:
-
 
7816
   - trackerId
-
 
7817
  """
-
 
7818
 
-
 
7819
  thrift_spec = (
-
 
7820
    None, # 0
-
 
7821
    (1, TType.I64, 'trackerId', None, None, ), # 1
-
 
7822
  )
-
 
7823
 
-
 
7824
  def __init__(self, trackerId=None,):
-
 
7825
    self.trackerId = trackerId
-
 
7826
 
-
 
7827
  def read(self, iprot):
-
 
7828
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
-
 
7829
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
-
 
7830
      return
-
 
7831
    iprot.readStructBegin()
-
 
7832
    while True:
-
 
7833
      (fname, ftype, fid) = iprot.readFieldBegin()
-
 
7834
      if ftype == TType.STOP:
-
 
7835
        break
-
 
7836
      if fid == 1:
-
 
7837
        if ftype == TType.I64:
-
 
7838
          self.trackerId = iprot.readI64();
-
 
7839
        else:
-
 
7840
          iprot.skip(ftype)
-
 
7841
      else:
-
 
7842
        iprot.skip(ftype)
-
 
7843
      iprot.readFieldEnd()
-
 
7844
    iprot.readStructEnd()
-
 
7845
 
-
 
7846
  def write(self, oprot):
-
 
7847
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
-
 
7848
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
-
 
7849
      return
-
 
7850
    oprot.writeStructBegin('getTrackerById_args')
-
 
7851
    if self.trackerId != None:
-
 
7852
      oprot.writeFieldBegin('trackerId', TType.I64, 1)
-
 
7853
      oprot.writeI64(self.trackerId)
-
 
7854
      oprot.writeFieldEnd()
-
 
7855
    oprot.writeFieldStop()
-
 
7856
    oprot.writeStructEnd()
-
 
7857
 
-
 
7858
  def __repr__(self):
-
 
7859
    L = ['%s=%r' % (key, value)
-
 
7860
      for key, value in self.__dict__.iteritems()]
-
 
7861
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
-
 
7862
 
-
 
7863
  def __eq__(self, other):
-
 
7864
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
-
 
7865
 
-
 
7866
  def __ne__(self, other):
-
 
7867
    return not (self == other)
-
 
7868
 
-
 
7869
class getTrackerById_result:
-
 
7870
  """
-
 
7871
  Attributes:
-
 
7872
   - success
-
 
7873
   - utx
-
 
7874
  """
-
 
7875
 
-
 
7876
  thrift_spec = (
-
 
7877
    (0, TType.STRUCT, 'success', (Tracker, Tracker.thrift_spec), None, ), # 0
-
 
7878
    (1, TType.STRUCT, 'utx', (UserTrackerException, UserTrackerException.thrift_spec), None, ), # 1
-
 
7879
  )
-
 
7880
 
-
 
7881
  def __init__(self, success=None, utx=None,):
-
 
7882
    self.success = success
-
 
7883
    self.utx = utx
-
 
7884
 
-
 
7885
  def read(self, iprot):
-
 
7886
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
-
 
7887
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
-
 
7888
      return
-
 
7889
    iprot.readStructBegin()
-
 
7890
    while True:
-
 
7891
      (fname, ftype, fid) = iprot.readFieldBegin()
-
 
7892
      if ftype == TType.STOP:
-
 
7893
        break
-
 
7894
      if fid == 0:
-
 
7895
        if ftype == TType.STRUCT:
-
 
7896
          self.success = Tracker()
-
 
7897
          self.success.read(iprot)
-
 
7898
        else:
-
 
7899
          iprot.skip(ftype)
-
 
7900
      elif fid == 1:
-
 
7901
        if ftype == TType.STRUCT:
-
 
7902
          self.utx = UserTrackerException()
-
 
7903
          self.utx.read(iprot)
-
 
7904
        else:
-
 
7905
          iprot.skip(ftype)
-
 
7906
      else:
-
 
7907
        iprot.skip(ftype)
-
 
7908
      iprot.readFieldEnd()
-
 
7909
    iprot.readStructEnd()
-
 
7910
 
-
 
7911
  def write(self, oprot):
-
 
7912
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
-
 
7913
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
-
 
7914
      return
-
 
7915
    oprot.writeStructBegin('getTrackerById_result')
-
 
7916
    if self.success != None:
-
 
7917
      oprot.writeFieldBegin('success', TType.STRUCT, 0)
-
 
7918
      self.success.write(oprot)
-
 
7919
      oprot.writeFieldEnd()
-
 
7920
    if self.utx != None:
-
 
7921
      oprot.writeFieldBegin('utx', TType.STRUCT, 1)
-
 
7922
      self.utx.write(oprot)
-
 
7923
      oprot.writeFieldEnd()
-
 
7924
    oprot.writeFieldStop()
-
 
7925
    oprot.writeStructEnd()
-
 
7926
 
-
 
7927
  def __repr__(self):
-
 
7928
    L = ['%s=%r' % (key, value)
-
 
7929
      for key, value in self.__dict__.iteritems()]
-
 
7930
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
-
 
7931
 
-
 
7932
  def __eq__(self, other):
-
 
7933
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
-
 
7934
 
-
 
7935
  def __ne__(self, other):
-
 
7936
    return not (self == other)
-
 
7937
 
-
 
7938
class getTrackersByAffiliate_args:
-
 
7939
  """
-
 
7940
  Attributes:
-
 
7941
   - affiliateId
-
 
7942
  """
-
 
7943
 
-
 
7944
  thrift_spec = (
-
 
7945
    None, # 0
-
 
7946
    (1, TType.I64, 'affiliateId', None, None, ), # 1
-
 
7947
  )
-
 
7948
 
-
 
7949
  def __init__(self, affiliateId=None,):
-
 
7950
    self.affiliateId = affiliateId
-
 
7951
 
-
 
7952
  def read(self, iprot):
-
 
7953
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
-
 
7954
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
-
 
7955
      return
-
 
7956
    iprot.readStructBegin()
-
 
7957
    while True:
-
 
7958
      (fname, ftype, fid) = iprot.readFieldBegin()
-
 
7959
      if ftype == TType.STOP:
-
 
7960
        break
-
 
7961
      if fid == 1:
-
 
7962
        if ftype == TType.I64:
-
 
7963
          self.affiliateId = iprot.readI64();
-
 
7964
        else:
-
 
7965
          iprot.skip(ftype)
-
 
7966
      else:
-
 
7967
        iprot.skip(ftype)
-
 
7968
      iprot.readFieldEnd()
-
 
7969
    iprot.readStructEnd()
-
 
7970
 
-
 
7971
  def write(self, oprot):
-
 
7972
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
-
 
7973
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
-
 
7974
      return
-
 
7975
    oprot.writeStructBegin('getTrackersByAffiliate_args')
-
 
7976
    if self.affiliateId != None:
-
 
7977
      oprot.writeFieldBegin('affiliateId', TType.I64, 1)
-
 
7978
      oprot.writeI64(self.affiliateId)
-
 
7979
      oprot.writeFieldEnd()
-
 
7980
    oprot.writeFieldStop()
-
 
7981
    oprot.writeStructEnd()
-
 
7982
 
-
 
7983
  def __repr__(self):
-
 
7984
    L = ['%s=%r' % (key, value)
-
 
7985
      for key, value in self.__dict__.iteritems()]
-
 
7986
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
-
 
7987
 
-
 
7988
  def __eq__(self, other):
-
 
7989
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
-
 
7990
 
-
 
7991
  def __ne__(self, other):
-
 
7992
    return not (self == other)
-
 
7993
 
-
 
7994
class getTrackersByAffiliate_result:
-
 
7995
  """
-
 
7996
  Attributes:
-
 
7997
   - success
-
 
7998
   - utx
-
 
7999
  """
-
 
8000
 
-
 
8001
  thrift_spec = (
-
 
8002
    (0, TType.LIST, 'success', (TType.STRUCT,(Tracker, Tracker.thrift_spec)), None, ), # 0
-
 
8003
    (1, TType.STRUCT, 'utx', (UserTrackerException, UserTrackerException.thrift_spec), None, ), # 1
-
 
8004
  )
-
 
8005
 
-
 
8006
  def __init__(self, success=None, utx=None,):
-
 
8007
    self.success = success
-
 
8008
    self.utx = utx
-
 
8009
 
-
 
8010
  def read(self, iprot):
-
 
8011
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
-
 
8012
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
-
 
8013
      return
-
 
8014
    iprot.readStructBegin()
-
 
8015
    while True:
-
 
8016
      (fname, ftype, fid) = iprot.readFieldBegin()
-
 
8017
      if ftype == TType.STOP:
-
 
8018
        break
-
 
8019
      if fid == 0:
-
 
8020
        if ftype == TType.LIST:
-
 
8021
          self.success = []
-
 
8022
          (_etype59, _size56) = iprot.readListBegin()
-
 
8023
          for _i60 in xrange(_size56):
-
 
8024
            _elem61 = Tracker()
-
 
8025
            _elem61.read(iprot)
-
 
8026
            self.success.append(_elem61)
-
 
8027
          iprot.readListEnd()
-
 
8028
        else:
-
 
8029
          iprot.skip(ftype)
-
 
8030
      elif fid == 1:
-
 
8031
        if ftype == TType.STRUCT:
-
 
8032
          self.utx = UserTrackerException()
-
 
8033
          self.utx.read(iprot)
-
 
8034
        else:
-
 
8035
          iprot.skip(ftype)
-
 
8036
      else:
-
 
8037
        iprot.skip(ftype)
-
 
8038
      iprot.readFieldEnd()
-
 
8039
    iprot.readStructEnd()
-
 
8040
 
-
 
8041
  def write(self, oprot):
-
 
8042
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
-
 
8043
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
-
 
8044
      return
-
 
8045
    oprot.writeStructBegin('getTrackersByAffiliate_result')
-
 
8046
    if self.success != None:
-
 
8047
      oprot.writeFieldBegin('success', TType.LIST, 0)
-
 
8048
      oprot.writeListBegin(TType.STRUCT, len(self.success))
-
 
8049
      for iter62 in self.success:
-
 
8050
        iter62.write(oprot)
-
 
8051
      oprot.writeListEnd()
-
 
8052
      oprot.writeFieldEnd()
-
 
8053
    if self.utx != None:
-
 
8054
      oprot.writeFieldBegin('utx', TType.STRUCT, 1)
-
 
8055
      self.utx.write(oprot)
-
 
8056
      oprot.writeFieldEnd()
-
 
8057
    oprot.writeFieldStop()
-
 
8058
    oprot.writeStructEnd()
-
 
8059
 
-
 
8060
  def __repr__(self):
-
 
8061
    L = ['%s=%r' % (key, value)
-
 
8062
      for key, value in self.__dict__.iteritems()]
-
 
8063
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
-
 
8064
 
-
 
8065
  def __eq__(self, other):
-
 
8066
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
-
 
8067
 
-
 
8068
  def __ne__(self, other):
-
 
8069
    return not (self == other)
-
 
8070
 
-
 
8071
class addTrackLog_args:
-
 
8072
  """
-
 
8073
  Attributes:
-
 
8074
   - trackerId
-
 
8075
   - userId
-
 
8076
   - event
-
 
8077
   - url
-
 
8078
   - data
-
 
8079
  """
-
 
8080
 
-
 
8081
  thrift_spec = (
-
 
8082
    None, # 0
-
 
8083
    (1, TType.I64, 'trackerId', None, None, ), # 1
-
 
8084
    (2, TType.I64, 'userId', None, None, ), # 2
-
 
8085
    (3, TType.STRING, 'event', None, None, ), # 3
-
 
8086
    (4, TType.STRING, 'url', None, None, ), # 4
-
 
8087
    (5, TType.STRING, 'data', None, None, ), # 5
-
 
8088
  )
-
 
8089
 
-
 
8090
  def __init__(self, trackerId=None, userId=None, event=None, url=None, data=None,):
-
 
8091
    self.trackerId = trackerId
-
 
8092
    self.userId = userId
-
 
8093
    self.event = event
-
 
8094
    self.url = url
-
 
8095
    self.data = data
-
 
8096
 
-
 
8097
  def read(self, iprot):
-
 
8098
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
-
 
8099
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
-
 
8100
      return
-
 
8101
    iprot.readStructBegin()
-
 
8102
    while True:
-
 
8103
      (fname, ftype, fid) = iprot.readFieldBegin()
-
 
8104
      if ftype == TType.STOP:
-
 
8105
        break
-
 
8106
      if fid == 1:
-
 
8107
        if ftype == TType.I64:
-
 
8108
          self.trackerId = iprot.readI64();
-
 
8109
        else:
-
 
8110
          iprot.skip(ftype)
-
 
8111
      elif fid == 2:
-
 
8112
        if ftype == TType.I64:
-
 
8113
          self.userId = iprot.readI64();
-
 
8114
        else:
-
 
8115
          iprot.skip(ftype)
-
 
8116
      elif fid == 3:
-
 
8117
        if ftype == TType.STRING:
-
 
8118
          self.event = iprot.readString();
-
 
8119
        else:
-
 
8120
          iprot.skip(ftype)
-
 
8121
      elif fid == 4:
-
 
8122
        if ftype == TType.STRING:
-
 
8123
          self.url = iprot.readString();
-
 
8124
        else:
-
 
8125
          iprot.skip(ftype)
-
 
8126
      elif fid == 5:
-
 
8127
        if ftype == TType.STRING:
-
 
8128
          self.data = iprot.readString();
-
 
8129
        else:
-
 
8130
          iprot.skip(ftype)
-
 
8131
      else:
-
 
8132
        iprot.skip(ftype)
-
 
8133
      iprot.readFieldEnd()
-
 
8134
    iprot.readStructEnd()
-
 
8135
 
-
 
8136
  def write(self, oprot):
-
 
8137
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
-
 
8138
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
-
 
8139
      return
-
 
8140
    oprot.writeStructBegin('addTrackLog_args')
-
 
8141
    if self.trackerId != None:
-
 
8142
      oprot.writeFieldBegin('trackerId', TType.I64, 1)
-
 
8143
      oprot.writeI64(self.trackerId)
-
 
8144
      oprot.writeFieldEnd()
-
 
8145
    if self.userId != None:
-
 
8146
      oprot.writeFieldBegin('userId', TType.I64, 2)
-
 
8147
      oprot.writeI64(self.userId)
-
 
8148
      oprot.writeFieldEnd()
-
 
8149
    if self.event != None:
-
 
8150
      oprot.writeFieldBegin('event', TType.STRING, 3)
-
 
8151
      oprot.writeString(self.event)
-
 
8152
      oprot.writeFieldEnd()
-
 
8153
    if self.url != None:
-
 
8154
      oprot.writeFieldBegin('url', TType.STRING, 4)
-
 
8155
      oprot.writeString(self.url)
-
 
8156
      oprot.writeFieldEnd()
-
 
8157
    if self.data != None:
-
 
8158
      oprot.writeFieldBegin('data', TType.STRING, 5)
-
 
8159
      oprot.writeString(self.data)
-
 
8160
      oprot.writeFieldEnd()
-
 
8161
    oprot.writeFieldStop()
-
 
8162
    oprot.writeStructEnd()
-
 
8163
 
-
 
8164
  def __repr__(self):
-
 
8165
    L = ['%s=%r' % (key, value)
-
 
8166
      for key, value in self.__dict__.iteritems()]
-
 
8167
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
-
 
8168
 
-
 
8169
  def __eq__(self, other):
-
 
8170
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
-
 
8171
 
-
 
8172
  def __ne__(self, other):
-
 
8173
    return not (self == other)
-
 
8174
 
-
 
8175
class addTrackLog_result:
-
 
8176
  """
-
 
8177
  Attributes:
-
 
8178
   - success
-
 
8179
   - utx
-
 
8180
  """
-
 
8181
 
-
 
8182
  thrift_spec = (
-
 
8183
    (0, TType.I64, 'success', None, None, ), # 0
-
 
8184
    (1, TType.STRUCT, 'utx', (UserTrackerException, UserTrackerException.thrift_spec), None, ), # 1
-
 
8185
  )
-
 
8186
 
-
 
8187
  def __init__(self, success=None, utx=None,):
-
 
8188
    self.success = success
-
 
8189
    self.utx = utx
-
 
8190
 
-
 
8191
  def read(self, iprot):
-
 
8192
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
-
 
8193
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
-
 
8194
      return
-
 
8195
    iprot.readStructBegin()
-
 
8196
    while True:
-
 
8197
      (fname, ftype, fid) = iprot.readFieldBegin()
-
 
8198
      if ftype == TType.STOP:
-
 
8199
        break
-
 
8200
      if fid == 0:
-
 
8201
        if ftype == TType.I64:
-
 
8202
          self.success = iprot.readI64();
-
 
8203
        else:
-
 
8204
          iprot.skip(ftype)
-
 
8205
      elif fid == 1:
-
 
8206
        if ftype == TType.STRUCT:
-
 
8207
          self.utx = UserTrackerException()
-
 
8208
          self.utx.read(iprot)
-
 
8209
        else:
-
 
8210
          iprot.skip(ftype)
-
 
8211
      else:
-
 
8212
        iprot.skip(ftype)
-
 
8213
      iprot.readFieldEnd()
-
 
8214
    iprot.readStructEnd()
-
 
8215
 
-
 
8216
  def write(self, oprot):
-
 
8217
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
-
 
8218
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
-
 
8219
      return
-
 
8220
    oprot.writeStructBegin('addTrackLog_result')
-
 
8221
    if self.success != None:
-
 
8222
      oprot.writeFieldBegin('success', TType.I64, 0)
-
 
8223
      oprot.writeI64(self.success)
-
 
8224
      oprot.writeFieldEnd()
-
 
8225
    if self.utx != None:
-
 
8226
      oprot.writeFieldBegin('utx', TType.STRUCT, 1)
-
 
8227
      self.utx.write(oprot)
-
 
8228
      oprot.writeFieldEnd()
-
 
8229
    oprot.writeFieldStop()
-
 
8230
    oprot.writeStructEnd()
-
 
8231
 
-
 
8232
  def __repr__(self):
-
 
8233
    L = ['%s=%r' % (key, value)
-
 
8234
      for key, value in self.__dict__.iteritems()]
-
 
8235
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
-
 
8236
 
-
 
8237
  def __eq__(self, other):
-
 
8238
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
-
 
8239
 
-
 
8240
  def __ne__(self, other):
-
 
8241
    return not (self == other)
-
 
8242
 
-
 
8243
class getTrackLogById_args:
-
 
8244
  """
-
 
8245
  Attributes:
-
 
8246
   - id
-
 
8247
  """
-
 
8248
 
-
 
8249
  thrift_spec = (
-
 
8250
    None, # 0
-
 
8251
    (1, TType.I64, 'id', None, None, ), # 1
-
 
8252
  )
-
 
8253
 
-
 
8254
  def __init__(self, id=None,):
-
 
8255
    self.id = id
-
 
8256
 
-
 
8257
  def read(self, iprot):
-
 
8258
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
-
 
8259
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
-
 
8260
      return
-
 
8261
    iprot.readStructBegin()
-
 
8262
    while True:
-
 
8263
      (fname, ftype, fid) = iprot.readFieldBegin()
-
 
8264
      if ftype == TType.STOP:
-
 
8265
        break
-
 
8266
      if fid == 1:
-
 
8267
        if ftype == TType.I64:
-
 
8268
          self.id = iprot.readI64();
-
 
8269
        else:
-
 
8270
          iprot.skip(ftype)
-
 
8271
      else:
-
 
8272
        iprot.skip(ftype)
-
 
8273
      iprot.readFieldEnd()
-
 
8274
    iprot.readStructEnd()
-
 
8275
 
-
 
8276
  def write(self, oprot):
-
 
8277
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
-
 
8278
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
-
 
8279
      return
-
 
8280
    oprot.writeStructBegin('getTrackLogById_args')
-
 
8281
    if self.id != None:
-
 
8282
      oprot.writeFieldBegin('id', TType.I64, 1)
-
 
8283
      oprot.writeI64(self.id)
-
 
8284
      oprot.writeFieldEnd()
-
 
8285
    oprot.writeFieldStop()
-
 
8286
    oprot.writeStructEnd()
-
 
8287
 
-
 
8288
  def __repr__(self):
-
 
8289
    L = ['%s=%r' % (key, value)
-
 
8290
      for key, value in self.__dict__.iteritems()]
-
 
8291
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
-
 
8292
 
-
 
8293
  def __eq__(self, other):
-
 
8294
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
-
 
8295
 
-
 
8296
  def __ne__(self, other):
-
 
8297
    return not (self == other)
-
 
8298
 
-
 
8299
class getTrackLogById_result:
-
 
8300
  """
-
 
8301
  Attributes:
-
 
8302
   - success
-
 
8303
   - utx
-
 
8304
  """
-
 
8305
 
-
 
8306
  thrift_spec = (
-
 
8307
    (0, TType.STRUCT, 'success', (TrackLog, TrackLog.thrift_spec), None, ), # 0
-
 
8308
    (1, TType.STRUCT, 'utx', (UserTrackerException, UserTrackerException.thrift_spec), None, ), # 1
-
 
8309
  )
-
 
8310
 
-
 
8311
  def __init__(self, success=None, utx=None,):
-
 
8312
    self.success = success
-
 
8313
    self.utx = utx
-
 
8314
 
-
 
8315
  def read(self, iprot):
-
 
8316
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
-
 
8317
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
-
 
8318
      return
-
 
8319
    iprot.readStructBegin()
-
 
8320
    while True:
-
 
8321
      (fname, ftype, fid) = iprot.readFieldBegin()
-
 
8322
      if ftype == TType.STOP:
-
 
8323
        break
-
 
8324
      if fid == 0:
-
 
8325
        if ftype == TType.STRUCT:
-
 
8326
          self.success = TrackLog()
-
 
8327
          self.success.read(iprot)
-
 
8328
        else:
-
 
8329
          iprot.skip(ftype)
-
 
8330
      elif fid == 1:
-
 
8331
        if ftype == TType.STRUCT:
-
 
8332
          self.utx = UserTrackerException()
-
 
8333
          self.utx.read(iprot)
-
 
8334
        else:
-
 
8335
          iprot.skip(ftype)
-
 
8336
      else:
-
 
8337
        iprot.skip(ftype)
-
 
8338
      iprot.readFieldEnd()
-
 
8339
    iprot.readStructEnd()
-
 
8340
 
-
 
8341
  def write(self, oprot):
-
 
8342
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
-
 
8343
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
-
 
8344
      return
-
 
8345
    oprot.writeStructBegin('getTrackLogById_result')
-
 
8346
    if self.success != None:
-
 
8347
      oprot.writeFieldBegin('success', TType.STRUCT, 0)
-
 
8348
      self.success.write(oprot)
-
 
8349
      oprot.writeFieldEnd()
-
 
8350
    if self.utx != None:
-
 
8351
      oprot.writeFieldBegin('utx', TType.STRUCT, 1)
-
 
8352
      self.utx.write(oprot)
-
 
8353
      oprot.writeFieldEnd()
-
 
8354
    oprot.writeFieldStop()
-
 
8355
    oprot.writeStructEnd()
-
 
8356
 
-
 
8357
  def __repr__(self):
-
 
8358
    L = ['%s=%r' % (key, value)
-
 
8359
      for key, value in self.__dict__.iteritems()]
-
 
8360
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
-
 
8361
 
-
 
8362
  def __eq__(self, other):
-
 
8363
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
-
 
8364
 
-
 
8365
  def __ne__(self, other):
-
 
8366
    return not (self == other)
-
 
8367
 
-
 
8368
class getTrackLogsByTracker_args:
-
 
8369
  """
-
 
8370
  Attributes:
-
 
8371
   - trackerId
-
 
8372
  """
-
 
8373
 
-
 
8374
  thrift_spec = (
-
 
8375
    None, # 0
-
 
8376
    (1, TType.I64, 'trackerId', None, None, ), # 1
-
 
8377
  )
-
 
8378
 
-
 
8379
  def __init__(self, trackerId=None,):
-
 
8380
    self.trackerId = trackerId
-
 
8381
 
-
 
8382
  def read(self, iprot):
-
 
8383
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
-
 
8384
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
-
 
8385
      return
-
 
8386
    iprot.readStructBegin()
-
 
8387
    while True:
-
 
8388
      (fname, ftype, fid) = iprot.readFieldBegin()
-
 
8389
      if ftype == TType.STOP:
-
 
8390
        break
-
 
8391
      if fid == 1:
-
 
8392
        if ftype == TType.I64:
-
 
8393
          self.trackerId = iprot.readI64();
-
 
8394
        else:
-
 
8395
          iprot.skip(ftype)
-
 
8396
      else:
-
 
8397
        iprot.skip(ftype)
-
 
8398
      iprot.readFieldEnd()
-
 
8399
    iprot.readStructEnd()
-
 
8400
 
-
 
8401
  def write(self, oprot):
-
 
8402
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
-
 
8403
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
-
 
8404
      return
-
 
8405
    oprot.writeStructBegin('getTrackLogsByTracker_args')
-
 
8406
    if self.trackerId != None:
-
 
8407
      oprot.writeFieldBegin('trackerId', TType.I64, 1)
-
 
8408
      oprot.writeI64(self.trackerId)
-
 
8409
      oprot.writeFieldEnd()
-
 
8410
    oprot.writeFieldStop()
-
 
8411
    oprot.writeStructEnd()
-
 
8412
 
-
 
8413
  def __repr__(self):
-
 
8414
    L = ['%s=%r' % (key, value)
-
 
8415
      for key, value in self.__dict__.iteritems()]
-
 
8416
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
-
 
8417
 
-
 
8418
  def __eq__(self, other):
-
 
8419
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
-
 
8420
 
-
 
8421
  def __ne__(self, other):
-
 
8422
    return not (self == other)
-
 
8423
 
-
 
8424
class getTrackLogsByTracker_result:
-
 
8425
  """
-
 
8426
  Attributes:
-
 
8427
   - success
-
 
8428
   - utx
-
 
8429
  """
-
 
8430
 
-
 
8431
  thrift_spec = (
-
 
8432
    (0, TType.LIST, 'success', (TType.STRUCT,(TrackLog, TrackLog.thrift_spec)), None, ), # 0
-
 
8433
    (1, TType.STRUCT, 'utx', (UserTrackerException, UserTrackerException.thrift_spec), None, ), # 1
-
 
8434
  )
-
 
8435
 
-
 
8436
  def __init__(self, success=None, utx=None,):
-
 
8437
    self.success = success
-
 
8438
    self.utx = utx
-
 
8439
 
-
 
8440
  def read(self, iprot):
-
 
8441
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
-
 
8442
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
-
 
8443
      return
-
 
8444
    iprot.readStructBegin()
-
 
8445
    while True:
-
 
8446
      (fname, ftype, fid) = iprot.readFieldBegin()
-
 
8447
      if ftype == TType.STOP:
-
 
8448
        break
-
 
8449
      if fid == 0:
-
 
8450
        if ftype == TType.LIST:
-
 
8451
          self.success = []
-
 
8452
          (_etype66, _size63) = iprot.readListBegin()
-
 
8453
          for _i67 in xrange(_size63):
-
 
8454
            _elem68 = TrackLog()
-
 
8455
            _elem68.read(iprot)
-
 
8456
            self.success.append(_elem68)
-
 
8457
          iprot.readListEnd()
-
 
8458
        else:
-
 
8459
          iprot.skip(ftype)
-
 
8460
      elif fid == 1:
-
 
8461
        if ftype == TType.STRUCT:
-
 
8462
          self.utx = UserTrackerException()
-
 
8463
          self.utx.read(iprot)
-
 
8464
        else:
-
 
8465
          iprot.skip(ftype)
-
 
8466
      else:
-
 
8467
        iprot.skip(ftype)
-
 
8468
      iprot.readFieldEnd()
-
 
8469
    iprot.readStructEnd()
-
 
8470
 
-
 
8471
  def write(self, oprot):
-
 
8472
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
-
 
8473
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
-
 
8474
      return
-
 
8475
    oprot.writeStructBegin('getTrackLogsByTracker_result')
-
 
8476
    if self.success != None:
-
 
8477
      oprot.writeFieldBegin('success', TType.LIST, 0)
-
 
8478
      oprot.writeListBegin(TType.STRUCT, len(self.success))
-
 
8479
      for iter69 in self.success:
-
 
8480
        iter69.write(oprot)
-
 
8481
      oprot.writeListEnd()
-
 
8482
      oprot.writeFieldEnd()
-
 
8483
    if self.utx != None:
-
 
8484
      oprot.writeFieldBegin('utx', TType.STRUCT, 1)
-
 
8485
      self.utx.write(oprot)
-
 
8486
      oprot.writeFieldEnd()
-
 
8487
    oprot.writeFieldStop()
-
 
8488
    oprot.writeStructEnd()
-
 
8489
 
-
 
8490
  def __repr__(self):
-
 
8491
    L = ['%s=%r' % (key, value)
-
 
8492
      for key, value in self.__dict__.iteritems()]
-
 
8493
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
-
 
8494
 
-
 
8495
  def __eq__(self, other):
-
 
8496
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
-
 
8497
 
-
 
8498
  def __ne__(self, other):
-
 
8499
    return not (self == other)
-
 
8500
 
-
 
8501
class getTrackLogsByUser_args:
-
 
8502
  """
-
 
8503
  Attributes:
-
 
8504
   - userId
-
 
8505
  """
-
 
8506
 
-
 
8507
  thrift_spec = (
-
 
8508
    None, # 0
-
 
8509
    (1, TType.I64, 'userId', None, None, ), # 1
-
 
8510
  )
-
 
8511
 
-
 
8512
  def __init__(self, userId=None,):
-
 
8513
    self.userId = userId
-
 
8514
 
-
 
8515
  def read(self, iprot):
-
 
8516
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
-
 
8517
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
-
 
8518
      return
-
 
8519
    iprot.readStructBegin()
-
 
8520
    while True:
-
 
8521
      (fname, ftype, fid) = iprot.readFieldBegin()
-
 
8522
      if ftype == TType.STOP:
-
 
8523
        break
-
 
8524
      if fid == 1:
-
 
8525
        if ftype == TType.I64:
-
 
8526
          self.userId = iprot.readI64();
-
 
8527
        else:
-
 
8528
          iprot.skip(ftype)
-
 
8529
      else:
-
 
8530
        iprot.skip(ftype)
-
 
8531
      iprot.readFieldEnd()
-
 
8532
    iprot.readStructEnd()
-
 
8533
 
-
 
8534
  def write(self, oprot):
-
 
8535
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
-
 
8536
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
-
 
8537
      return
-
 
8538
    oprot.writeStructBegin('getTrackLogsByUser_args')
-
 
8539
    if self.userId != None:
-
 
8540
      oprot.writeFieldBegin('userId', TType.I64, 1)
-
 
8541
      oprot.writeI64(self.userId)
-
 
8542
      oprot.writeFieldEnd()
-
 
8543
    oprot.writeFieldStop()
-
 
8544
    oprot.writeStructEnd()
-
 
8545
 
-
 
8546
  def __repr__(self):
-
 
8547
    L = ['%s=%r' % (key, value)
-
 
8548
      for key, value in self.__dict__.iteritems()]
-
 
8549
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
-
 
8550
 
-
 
8551
  def __eq__(self, other):
-
 
8552
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
-
 
8553
 
-
 
8554
  def __ne__(self, other):
-
 
8555
    return not (self == other)
-
 
8556
 
-
 
8557
class getTrackLogsByUser_result:
-
 
8558
  """
-
 
8559
  Attributes:
-
 
8560
   - success
-
 
8561
   - utx
-
 
8562
  """
-
 
8563
 
-
 
8564
  thrift_spec = (
-
 
8565
    (0, TType.LIST, 'success', (TType.STRUCT,(TrackLog, TrackLog.thrift_spec)), None, ), # 0
-
 
8566
    (1, TType.STRUCT, 'utx', (UserTrackerException, UserTrackerException.thrift_spec), None, ), # 1
-
 
8567
  )
-
 
8568
 
-
 
8569
  def __init__(self, success=None, utx=None,):
-
 
8570
    self.success = success
-
 
8571
    self.utx = utx
-
 
8572
 
-
 
8573
  def read(self, iprot):
-
 
8574
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
-
 
8575
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
-
 
8576
      return
-
 
8577
    iprot.readStructBegin()
-
 
8578
    while True:
-
 
8579
      (fname, ftype, fid) = iprot.readFieldBegin()
-
 
8580
      if ftype == TType.STOP:
-
 
8581
        break
-
 
8582
      if fid == 0:
-
 
8583
        if ftype == TType.LIST:
-
 
8584
          self.success = []
-
 
8585
          (_etype73, _size70) = iprot.readListBegin()
-
 
8586
          for _i74 in xrange(_size70):
-
 
8587
            _elem75 = TrackLog()
-
 
8588
            _elem75.read(iprot)
-
 
8589
            self.success.append(_elem75)
-
 
8590
          iprot.readListEnd()
-
 
8591
        else:
-
 
8592
          iprot.skip(ftype)
-
 
8593
      elif fid == 1:
-
 
8594
        if ftype == TType.STRUCT:
-
 
8595
          self.utx = UserTrackerException()
-
 
8596
          self.utx.read(iprot)
-
 
8597
        else:
-
 
8598
          iprot.skip(ftype)
-
 
8599
      else:
-
 
8600
        iprot.skip(ftype)
-
 
8601
      iprot.readFieldEnd()
-
 
8602
    iprot.readStructEnd()
-
 
8603
 
-
 
8604
  def write(self, oprot):
-
 
8605
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
-
 
8606
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
-
 
8607
      return
-
 
8608
    oprot.writeStructBegin('getTrackLogsByUser_result')
-
 
8609
    if self.success != None:
-
 
8610
      oprot.writeFieldBegin('success', TType.LIST, 0)
-
 
8611
      oprot.writeListBegin(TType.STRUCT, len(self.success))
-
 
8612
      for iter76 in self.success:
-
 
8613
        iter76.write(oprot)
-
 
8614
      oprot.writeListEnd()
-
 
8615
      oprot.writeFieldEnd()
-
 
8616
    if self.utx != None:
-
 
8617
      oprot.writeFieldBegin('utx', TType.STRUCT, 1)
-
 
8618
      self.utx.write(oprot)
-
 
8619
      oprot.writeFieldEnd()
-
 
8620
    oprot.writeFieldStop()
-
 
8621
    oprot.writeStructEnd()
-
 
8622
 
-
 
8623
  def __repr__(self):
-
 
8624
    L = ['%s=%r' % (key, value)
-
 
8625
      for key, value in self.__dict__.iteritems()]
-
 
8626
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
-
 
8627
 
-
 
8628
  def __eq__(self, other):
-
 
8629
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
-
 
8630
 
-
 
8631
  def __ne__(self, other):
-
 
8632
    return not (self == other)
-
 
8633
 
-
 
8634
class getTrackLogs_args:
-
 
8635
  """
-
 
8636
  Attributes:
-
 
8637
   - trackerId
-
 
8638
   - userId
-
 
8639
   - event
-
 
8640
   - url
-
 
8641
  """
-
 
8642
 
-
 
8643
  thrift_spec = (
-
 
8644
    None, # 0
-
 
8645
    (1, TType.I64, 'trackerId', None, None, ), # 1
-
 
8646
    (2, TType.I64, 'userId', None, None, ), # 2
-
 
8647
    (3, TType.STRING, 'event', None, None, ), # 3
-
 
8648
    (4, TType.STRING, 'url', None, None, ), # 4
-
 
8649
  )
-
 
8650
 
-
 
8651
  def __init__(self, trackerId=None, userId=None, event=None, url=None,):
-
 
8652
    self.trackerId = trackerId
-
 
8653
    self.userId = userId
-
 
8654
    self.event = event
-
 
8655
    self.url = url
-
 
8656
 
-
 
8657
  def read(self, iprot):
-
 
8658
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
-
 
8659
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
-
 
8660
      return
-
 
8661
    iprot.readStructBegin()
-
 
8662
    while True:
-
 
8663
      (fname, ftype, fid) = iprot.readFieldBegin()
-
 
8664
      if ftype == TType.STOP:
-
 
8665
        break
-
 
8666
      if fid == 1:
-
 
8667
        if ftype == TType.I64:
-
 
8668
          self.trackerId = iprot.readI64();
-
 
8669
        else:
-
 
8670
          iprot.skip(ftype)
-
 
8671
      elif fid == 2:
-
 
8672
        if ftype == TType.I64:
-
 
8673
          self.userId = iprot.readI64();
-
 
8674
        else:
-
 
8675
          iprot.skip(ftype)
-
 
8676
      elif fid == 3:
-
 
8677
        if ftype == TType.STRING:
-
 
8678
          self.event = iprot.readString();
-
 
8679
        else:
-
 
8680
          iprot.skip(ftype)
-
 
8681
      elif fid == 4:
-
 
8682
        if ftype == TType.STRING:
-
 
8683
          self.url = iprot.readString();
-
 
8684
        else:
-
 
8685
          iprot.skip(ftype)
-
 
8686
      else:
-
 
8687
        iprot.skip(ftype)
-
 
8688
      iprot.readFieldEnd()
-
 
8689
    iprot.readStructEnd()
-
 
8690
 
-
 
8691
  def write(self, oprot):
-
 
8692
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
-
 
8693
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
-
 
8694
      return
-
 
8695
    oprot.writeStructBegin('getTrackLogs_args')
-
 
8696
    if self.trackerId != None:
-
 
8697
      oprot.writeFieldBegin('trackerId', TType.I64, 1)
-
 
8698
      oprot.writeI64(self.trackerId)
-
 
8699
      oprot.writeFieldEnd()
-
 
8700
    if self.userId != None:
-
 
8701
      oprot.writeFieldBegin('userId', TType.I64, 2)
-
 
8702
      oprot.writeI64(self.userId)
-
 
8703
      oprot.writeFieldEnd()
-
 
8704
    if self.event != None:
-
 
8705
      oprot.writeFieldBegin('event', TType.STRING, 3)
-
 
8706
      oprot.writeString(self.event)
-
 
8707
      oprot.writeFieldEnd()
-
 
8708
    if self.url != None:
-
 
8709
      oprot.writeFieldBegin('url', TType.STRING, 4)
-
 
8710
      oprot.writeString(self.url)
-
 
8711
      oprot.writeFieldEnd()
-
 
8712
    oprot.writeFieldStop()
-
 
8713
    oprot.writeStructEnd()
-
 
8714
 
-
 
8715
  def __repr__(self):
-
 
8716
    L = ['%s=%r' % (key, value)
-
 
8717
      for key, value in self.__dict__.iteritems()]
-
 
8718
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
-
 
8719
 
-
 
8720
  def __eq__(self, other):
-
 
8721
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
-
 
8722
 
-
 
8723
  def __ne__(self, other):
-
 
8724
    return not (self == other)
-
 
8725
 
-
 
8726
class getTrackLogs_result:
-
 
8727
  """
-
 
8728
  Attributes:
-
 
8729
   - success
-
 
8730
   - utx
-
 
8731
  """
-
 
8732
 
-
 
8733
  thrift_spec = (
-
 
8734
    (0, TType.LIST, 'success', (TType.STRUCT,(TrackLog, TrackLog.thrift_spec)), None, ), # 0
-
 
8735
    (1, TType.STRUCT, 'utx', (UserTrackerException, UserTrackerException.thrift_spec), None, ), # 1
-
 
8736
  )
-
 
8737
 
-
 
8738
  def __init__(self, success=None, utx=None,):
-
 
8739
    self.success = success
-
 
8740
    self.utx = utx
-
 
8741
 
-
 
8742
  def read(self, iprot):
-
 
8743
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
-
 
8744
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
-
 
8745
      return
-
 
8746
    iprot.readStructBegin()
-
 
8747
    while True:
-
 
8748
      (fname, ftype, fid) = iprot.readFieldBegin()
-
 
8749
      if ftype == TType.STOP:
-
 
8750
        break
-
 
8751
      if fid == 0:
-
 
8752
        if ftype == TType.LIST:
-
 
8753
          self.success = []
-
 
8754
          (_etype80, _size77) = iprot.readListBegin()
-
 
8755
          for _i81 in xrange(_size77):
-
 
8756
            _elem82 = TrackLog()
-
 
8757
            _elem82.read(iprot)
-
 
8758
            self.success.append(_elem82)
-
 
8759
          iprot.readListEnd()
-
 
8760
        else:
-
 
8761
          iprot.skip(ftype)
-
 
8762
      elif fid == 1:
-
 
8763
        if ftype == TType.STRUCT:
-
 
8764
          self.utx = UserTrackerException()
-
 
8765
          self.utx.read(iprot)
-
 
8766
        else:
-
 
8767
          iprot.skip(ftype)
-
 
8768
      else:
-
 
8769
        iprot.skip(ftype)
-
 
8770
      iprot.readFieldEnd()
-
 
8771
    iprot.readStructEnd()
-
 
8772
 
-
 
8773
  def write(self, oprot):
-
 
8774
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
-
 
8775
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
-
 
8776
      return
-
 
8777
    oprot.writeStructBegin('getTrackLogs_result')
-
 
8778
    if self.success != None:
-
 
8779
      oprot.writeFieldBegin('success', TType.LIST, 0)
-
 
8780
      oprot.writeListBegin(TType.STRUCT, len(self.success))
-
 
8781
      for iter83 in self.success:
-
 
8782
        iter83.write(oprot)
-
 
8783
      oprot.writeListEnd()
-
 
8784
      oprot.writeFieldEnd()
-
 
8785
    if self.utx != None:
-
 
8786
      oprot.writeFieldBegin('utx', TType.STRUCT, 1)
-
 
8787
      self.utx.write(oprot)
-
 
8788
      oprot.writeFieldEnd()
-
 
8789
    oprot.writeFieldStop()
-
 
8790
    oprot.writeStructEnd()
-
 
8791
 
-
 
8792
  def __repr__(self):
-
 
8793
    L = ['%s=%r' % (key, value)
-
 
8794
      for key, value in self.__dict__.iteritems()]
-
 
8795
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
-
 
8796
 
-
 
8797
  def __eq__(self, other):
-
 
8798
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
-
 
8799
 
-
 
8800
  def __ne__(self, other):
-
 
8801
    return not (self == other)
-
 
8802
 
5944
class createCart_args:
8803
class createCart_args:
5945
  """
8804
  """
5946
  Attributes:
8805
  Attributes:
5947
   - userId
8806
   - userId
5948
  """
8807
  """
Line 6409... Line 9268...
6409
      if ftype == TType.STOP:
9268
      if ftype == TType.STOP:
6410
        break
9269
        break
6411
      if fid == 0:
9270
      if fid == 0:
6412
        if ftype == TType.LIST:
9271
        if ftype == TType.LIST:
6413
          self.success = []
9272
          self.success = []
6414
          (_etype52, _size49) = iprot.readListBegin()
9273
          (_etype87, _size84) = iprot.readListBegin()
6415
          for _i53 in xrange(_size49):
9274
          for _i88 in xrange(_size84):
6416
            _elem54 = Cart()
9275
            _elem89 = Cart()
6417
            _elem54.read(iprot)
9276
            _elem89.read(iprot)
6418
            self.success.append(_elem54)
9277
            self.success.append(_elem89)
6419
          iprot.readListEnd()
9278
          iprot.readListEnd()
6420
        else:
9279
        else:
6421
          iprot.skip(ftype)
9280
          iprot.skip(ftype)
6422
      elif fid == 1:
9281
      elif fid == 1:
6423
        if ftype == TType.STRUCT:
9282
        if ftype == TType.STRUCT:
Line 6436... Line 9295...
6436
      return
9295
      return
6437
    oprot.writeStructBegin('getCartsForUser_result')
9296
    oprot.writeStructBegin('getCartsForUser_result')
6438
    if self.success != None:
9297
    if self.success != None:
6439
      oprot.writeFieldBegin('success', TType.LIST, 0)
9298
      oprot.writeFieldBegin('success', TType.LIST, 0)
6440
      oprot.writeListBegin(TType.STRUCT, len(self.success))
9299
      oprot.writeListBegin(TType.STRUCT, len(self.success))
6441
      for iter55 in self.success:
9300
      for iter90 in self.success:
6442
        iter55.write(oprot)
9301
        iter90.write(oprot)
6443
      oprot.writeListEnd()
9302
      oprot.writeListEnd()
6444
      oprot.writeFieldEnd()
9303
      oprot.writeFieldEnd()
6445
    if self.scx != None:
9304
    if self.scx != None:
6446
      oprot.writeFieldBegin('scx', TType.STRUCT, 1)
9305
      oprot.writeFieldBegin('scx', TType.STRUCT, 1)
6447
      self.scx.write(oprot)
9306
      self.scx.write(oprot)
Line 6542... Line 9401...
6542
      if ftype == TType.STOP:
9401
      if ftype == TType.STOP:
6543
        break
9402
        break
6544
      if fid == 0:
9403
      if fid == 0:
6545
        if ftype == TType.LIST:
9404
        if ftype == TType.LIST:
6546
          self.success = []
9405
          self.success = []
6547
          (_etype59, _size56) = iprot.readListBegin()
9406
          (_etype94, _size91) = iprot.readListBegin()
6548
          for _i60 in xrange(_size56):
9407
          for _i95 in xrange(_size91):
6549
            _elem61 = Cart()
9408
            _elem96 = Cart()
6550
            _elem61.read(iprot)
9409
            _elem96.read(iprot)
6551
            self.success.append(_elem61)
9410
            self.success.append(_elem96)
6552
          iprot.readListEnd()
9411
          iprot.readListEnd()
6553
        else:
9412
        else:
6554
          iprot.skip(ftype)
9413
          iprot.skip(ftype)
6555
      elif fid == 1:
9414
      elif fid == 1:
6556
        if ftype == TType.STRUCT:
9415
        if ftype == TType.STRUCT:
Line 6569... Line 9428...
6569
      return
9428
      return
6570
    oprot.writeStructBegin('getCartsByStatus_result')
9429
    oprot.writeStructBegin('getCartsByStatus_result')
6571
    if self.success != None:
9430
    if self.success != None:
6572
      oprot.writeFieldBegin('success', TType.LIST, 0)
9431
      oprot.writeFieldBegin('success', TType.LIST, 0)
6573
      oprot.writeListBegin(TType.STRUCT, len(self.success))
9432
      oprot.writeListBegin(TType.STRUCT, len(self.success))
6574
      for iter62 in self.success:
9433
      for iter97 in self.success:
6575
        iter62.write(oprot)
9434
        iter97.write(oprot)
6576
      oprot.writeListEnd()
9435
      oprot.writeListEnd()
6577
      oprot.writeFieldEnd()
9436
      oprot.writeFieldEnd()
6578
    if self.scx != None:
9437
    if self.scx != None:
6579
      oprot.writeFieldBegin('scx', TType.STRUCT, 1)
9438
      oprot.writeFieldBegin('scx', TType.STRUCT, 1)
6580
      self.scx.write(oprot)
9439
      self.scx.write(oprot)
Line 6699... Line 9558...
6699
      if ftype == TType.STOP:
9558
      if ftype == TType.STOP:
6700
        break
9559
        break
6701
      if fid == 0:
9560
      if fid == 0:
6702
        if ftype == TType.LIST:
9561
        if ftype == TType.LIST:
6703
          self.success = []
9562
          self.success = []
6704
          (_etype66, _size63) = iprot.readListBegin()
9563
          (_etype101, _size98) = iprot.readListBegin()
6705
          for _i67 in xrange(_size63):
9564
          for _i102 in xrange(_size98):
6706
            _elem68 = Cart()
9565
            _elem103 = Cart()
6707
            _elem68.read(iprot)
9566
            _elem103.read(iprot)
6708
            self.success.append(_elem68)
9567
            self.success.append(_elem103)
6709
          iprot.readListEnd()
9568
          iprot.readListEnd()
6710
        else:
9569
        else:
6711
          iprot.skip(ftype)
9570
          iprot.skip(ftype)
6712
      elif fid == 1:
9571
      elif fid == 1:
6713
        if ftype == TType.STRUCT:
9572
        if ftype == TType.STRUCT:
Line 6726... Line 9585...
6726
      return
9585
      return
6727
    oprot.writeStructBegin('getCartsByTime_result')
9586
    oprot.writeStructBegin('getCartsByTime_result')
6728
    if self.success != None:
9587
    if self.success != None:
6729
      oprot.writeFieldBegin('success', TType.LIST, 0)
9588
      oprot.writeFieldBegin('success', TType.LIST, 0)
6730
      oprot.writeListBegin(TType.STRUCT, len(self.success))
9589
      oprot.writeListBegin(TType.STRUCT, len(self.success))
6731
      for iter69 in self.success:
9590
      for iter104 in self.success:
6732
        iter69.write(oprot)
9591
        iter104.write(oprot)
6733
      oprot.writeListEnd()
9592
      oprot.writeListEnd()
6734
      oprot.writeFieldEnd()
9593
      oprot.writeFieldEnd()
6735
    if self.scx != None:
9594
    if self.scx != None:
6736
      oprot.writeFieldBegin('scx', TType.STRUCT, 1)
9595
      oprot.writeFieldBegin('scx', TType.STRUCT, 1)
6737
      self.scx.write(oprot)
9596
      self.scx.write(oprot)
Line 8046... Line 10905...
8046
        else:
10905
        else:
8047
          iprot.skip(ftype)
10906
          iprot.skip(ftype)
8048
      elif fid == 2:
10907
      elif fid == 2:
8049
        if ftype == TType.MAP:
10908
        if ftype == TType.MAP:
8050
          self.items = {}
10909
          self.items = {}
8051
          (_ktype71, _vtype72, _size70 ) = iprot.readMapBegin() 
10910
          (_ktype106, _vtype107, _size105 ) = iprot.readMapBegin() 
8052
          for _i74 in xrange(_size70):
10911
          for _i109 in xrange(_size105):
8053
            _key75 = iprot.readI64();
10912
            _key110 = iprot.readI64();
8054
            _val76 = iprot.readDouble();
10913
            _val111 = iprot.readDouble();
8055
            self.items[_key75] = _val76
10914
            self.items[_key110] = _val111
8056
          iprot.readMapEnd()
10915
          iprot.readMapEnd()
8057
        else:
10916
        else:
8058
          iprot.skip(ftype)
10917
          iprot.skip(ftype)
8059
      else:
10918
      else:
8060
        iprot.skip(ftype)
10919
        iprot.skip(ftype)
Line 8071... Line 10930...
8071
      oprot.writeI64(self.cartId)
10930
      oprot.writeI64(self.cartId)
8072
      oprot.writeFieldEnd()
10931
      oprot.writeFieldEnd()
8073
    if self.items != None:
10932
    if self.items != None:
8074
      oprot.writeFieldBegin('items', TType.MAP, 2)
10933
      oprot.writeFieldBegin('items', TType.MAP, 2)
8075
      oprot.writeMapBegin(TType.I64, TType.DOUBLE, len(self.items))
10934
      oprot.writeMapBegin(TType.I64, TType.DOUBLE, len(self.items))
8076
      for kiter77,viter78 in self.items.items():
10935
      for kiter112,viter113 in self.items.items():
8077
        oprot.writeI64(kiter77)
10936
        oprot.writeI64(kiter112)
8078
        oprot.writeDouble(viter78)
10937
        oprot.writeDouble(viter113)
8079
      oprot.writeMapEnd()
10938
      oprot.writeMapEnd()
8080
      oprot.writeFieldEnd()
10939
      oprot.writeFieldEnd()
8081
    oprot.writeFieldStop()
10940
    oprot.writeFieldStop()
8082
    oprot.writeStructEnd()
10941
    oprot.writeStructEnd()
8083
 
10942
 
Line 9073... Line 11932...
9073
      if ftype == TType.STOP:
11932
      if ftype == TType.STOP:
9074
        break
11933
        break
9075
      if fid == 0:
11934
      if fid == 0:
9076
        if ftype == TType.LIST:
11935
        if ftype == TType.LIST:
9077
          self.success = []
11936
          self.success = []
9078
          (_etype82, _size79) = iprot.readListBegin()
11937
          (_etype117, _size114) = iprot.readListBegin()
9079
          for _i83 in xrange(_size79):
11938
          for _i118 in xrange(_size114):
9080
            _elem84 = User()
11939
            _elem119 = User()
9081
            _elem84.read(iprot)
11940
            _elem119.read(iprot)
9082
            self.success.append(_elem84)
11941
            self.success.append(_elem119)
9083
          iprot.readListEnd()
11942
          iprot.readListEnd()
9084
        else:
11943
        else:
9085
          iprot.skip(ftype)
11944
          iprot.skip(ftype)
9086
      else:
11945
      else:
9087
        iprot.skip(ftype)
11946
        iprot.skip(ftype)
Line 9094... Line 11953...
9094
      return
11953
      return
9095
    oprot.writeStructBegin('getAllUsers_result')
11954
    oprot.writeStructBegin('getAllUsers_result')
9096
    if self.success != None:
11955
    if self.success != None:
9097
      oprot.writeFieldBegin('success', TType.LIST, 0)
11956
      oprot.writeFieldBegin('success', TType.LIST, 0)
9098
      oprot.writeListBegin(TType.STRUCT, len(self.success))
11957
      oprot.writeListBegin(TType.STRUCT, len(self.success))
9099
      for iter85 in self.success:
11958
      for iter120 in self.success:
9100
        iter85.write(oprot)
11959
        iter120.write(oprot)
9101
      oprot.writeListEnd()
11960
      oprot.writeListEnd()
9102
      oprot.writeFieldEnd()
11961
      oprot.writeFieldEnd()
9103
    oprot.writeFieldStop()
11962
    oprot.writeFieldStop()
9104
    oprot.writeStructEnd()
11963
    oprot.writeStructEnd()
9105
 
11964