Subversion Repositories SmartDukaan

Rev

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

Rev 1976 Rev 1996
Line 253... Line 253...
253
    Parameters:
253
    Parameters:
254
     - name
254
     - name
255
    """
255
    """
256
    pass
256
    pass
257
 
257
 
258
  def getAffiliatesByMasterAffiliate(self, id):
258
  def getTrackerById(self, id):
259
    """
259
    """
260
    Parameters:
260
    Parameters:
261
     - id
261
     - id
262
    """
262
    """
263
    pass
263
    pass
264
 
264
 
265
  def createTracker(self, affiliateId, addedOn):
265
  def getAffiliatesByMasterAffiliate(self, id):
266
    """
-
 
267
    Parameters:
-
 
268
     - affiliateId
-
 
269
     - addedOn
-
 
270
    """
-
 
271
    pass
-
 
272
 
-
 
273
  def getTrackerById(self, trackerId):
-
 
274
    """
266
    """
275
    Parameters:
267
    Parameters:
276
     - trackerId
268
     - id
277
    """
269
    """
278
    pass
270
    pass
279
 
271
 
280
  def getTrackersByAffiliate(self, affiliateId):
272
  def addTrackLog(self, affiliateId, userId, event, url, data, addedOn):
281
    """
273
    """
282
    Parameters:
274
    Parameters:
283
     - affiliateId
275
     - affiliateId
284
    """
-
 
285
    pass
-
 
286
 
-
 
287
  def addTrackLog(self, trackerId, userId, event, url, data, addedOn):
-
 
288
    """
-
 
289
    Parameters:
-
 
290
     - trackerId
-
 
291
     - userId
276
     - userId
292
     - event
277
     - event
293
     - url
278
     - url
294
     - data
279
     - data
295
     - addedOn
280
     - addedOn
Line 301... Line 286...
301
    Parameters:
286
    Parameters:
302
     - id
287
     - id
303
    """
288
    """
304
    pass
289
    pass
305
 
290
 
306
  def getTrackLogsByTracker(self, trackerId):
291
  def getTrackLogsByAffiliate(self, affiliateId):
307
    """
292
    """
308
    Parameters:
293
    Parameters:
309
     - trackerId
294
     - affiliateId
310
    """
295
    """
311
    pass
296
    pass
312
 
297
 
313
  def getTrackLogsByUser(self, userId):
298
  def getTrackLogsByUser(self, userId):
314
    """
299
    """
315
    Parameters:
300
    Parameters:
316
     - userId
301
     - userId
317
    """
302
    """
318
    pass
303
    pass
319
 
304
 
320
  def getTrackLogs(self, trackerId, userId, event, url):
305
  def getTrackLogs(self, userId, event, url):
321
    """
306
    """
322
    Parameters:
307
    Parameters:
323
     - trackerId
-
 
324
     - userId
308
     - userId
325
     - event
309
     - event
326
     - url
310
     - url
327
    """
311
    """
328
    pass
312
    pass
Line 1625... Line 1609...
1625
      return result.success
1609
      return result.success
1626
    if result.utx != None:
1610
    if result.utx != None:
1627
      raise result.utx
1611
      raise result.utx
1628
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAffiliateByName failed: unknown result");
1612
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAffiliateByName failed: unknown result");
1629
 
1613
 
1630
  def getAffiliatesByMasterAffiliate(self, id):
1614
  def getTrackerById(self, id):
1631
    """
1615
    """
1632
    Parameters:
1616
    Parameters:
1633
     - id
1617
     - id
1634
    """
1618
    """
1635
    self.send_getAffiliatesByMasterAffiliate(id)
-
 
1636
    return self.recv_getAffiliatesByMasterAffiliate()
-
 
1637
 
-
 
1638
  def send_getAffiliatesByMasterAffiliate(self, id):
-
 
1639
    self._oprot.writeMessageBegin('getAffiliatesByMasterAffiliate', TMessageType.CALL, self._seqid)
-
 
1640
    args = getAffiliatesByMasterAffiliate_args()
-
 
1641
    args.id = id
-
 
1642
    args.write(self._oprot)
-
 
1643
    self._oprot.writeMessageEnd()
-
 
1644
    self._oprot.trans.flush()
-
 
1645
 
-
 
1646
  def recv_getAffiliatesByMasterAffiliate(self, ):
-
 
1647
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
-
 
1648
    if mtype == TMessageType.EXCEPTION:
-
 
1649
      x = TApplicationException()
-
 
1650
      x.read(self._iprot)
-
 
1651
      self._iprot.readMessageEnd()
-
 
1652
      raise x
-
 
1653
    result = getAffiliatesByMasterAffiliate_result()
-
 
1654
    result.read(self._iprot)
-
 
1655
    self._iprot.readMessageEnd()
-
 
1656
    if result.success != None:
-
 
1657
      return result.success
-
 
1658
    if result.utx != None:
-
 
1659
      raise result.utx
-
 
1660
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAffiliatesByMasterAffiliate failed: unknown result");
-
 
1661
 
-
 
1662
  def createTracker(self, affiliateId, addedOn):
-
 
1663
    """
-
 
1664
    Parameters:
-
 
1665
     - affiliateId
-
 
1666
     - addedOn
-
 
1667
    """
-
 
1668
    self.send_createTracker(affiliateId, addedOn)
-
 
1669
    return self.recv_createTracker()
-
 
1670
 
-
 
1671
  def send_createTracker(self, affiliateId, addedOn):
-
 
1672
    self._oprot.writeMessageBegin('createTracker', TMessageType.CALL, self._seqid)
-
 
1673
    args = createTracker_args()
-
 
1674
    args.affiliateId = affiliateId
-
 
1675
    args.addedOn = addedOn
-
 
1676
    args.write(self._oprot)
-
 
1677
    self._oprot.writeMessageEnd()
-
 
1678
    self._oprot.trans.flush()
-
 
1679
 
-
 
1680
  def recv_createTracker(self, ):
-
 
1681
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
-
 
1682
    if mtype == TMessageType.EXCEPTION:
-
 
1683
      x = TApplicationException()
-
 
1684
      x.read(self._iprot)
-
 
1685
      self._iprot.readMessageEnd()
-
 
1686
      raise x
-
 
1687
    result = createTracker_result()
-
 
1688
    result.read(self._iprot)
-
 
1689
    self._iprot.readMessageEnd()
-
 
1690
    if result.success != None:
-
 
1691
      return result.success
-
 
1692
    if result.utx != None:
-
 
1693
      raise result.utx
-
 
1694
    raise TApplicationException(TApplicationException.MISSING_RESULT, "createTracker failed: unknown result");
-
 
1695
 
-
 
1696
  def getTrackerById(self, trackerId):
-
 
1697
    """
-
 
1698
    Parameters:
-
 
1699
     - trackerId
-
 
1700
    """
-
 
1701
    self.send_getTrackerById(trackerId)
1619
    self.send_getTrackerById(id)
1702
    return self.recv_getTrackerById()
1620
    return self.recv_getTrackerById()
1703
 
1621
 
1704
  def send_getTrackerById(self, trackerId):
1622
  def send_getTrackerById(self, id):
1705
    self._oprot.writeMessageBegin('getTrackerById', TMessageType.CALL, self._seqid)
1623
    self._oprot.writeMessageBegin('getTrackerById', TMessageType.CALL, self._seqid)
1706
    args = getTrackerById_args()
1624
    args = getTrackerById_args()
1707
    args.trackerId = trackerId
1625
    args.id = id
1708
    args.write(self._oprot)
1626
    args.write(self._oprot)
1709
    self._oprot.writeMessageEnd()
1627
    self._oprot.writeMessageEnd()
1710
    self._oprot.trans.flush()
1628
    self._oprot.trans.flush()
1711
 
1629
 
1712
  def recv_getTrackerById(self, ):
1630
  def recv_getTrackerById(self, ):
Line 1723... Line 1641...
1723
      return result.success
1641
      return result.success
1724
    if result.utx != None:
1642
    if result.utx != None:
1725
      raise result.utx
1643
      raise result.utx
1726
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getTrackerById failed: unknown result");
1644
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getTrackerById failed: unknown result");
1727
 
1645
 
1728
  def getTrackersByAffiliate(self, affiliateId):
1646
  def getAffiliatesByMasterAffiliate(self, id):
1729
    """
1647
    """
1730
    Parameters:
1648
    Parameters:
1731
     - affiliateId
1649
     - id
1732
    """
1650
    """
1733
    self.send_getTrackersByAffiliate(affiliateId)
1651
    self.send_getAffiliatesByMasterAffiliate(id)
1734
    return self.recv_getTrackersByAffiliate()
1652
    return self.recv_getAffiliatesByMasterAffiliate()
1735
 
1653
 
1736
  def send_getTrackersByAffiliate(self, affiliateId):
1654
  def send_getAffiliatesByMasterAffiliate(self, id):
1737
    self._oprot.writeMessageBegin('getTrackersByAffiliate', TMessageType.CALL, self._seqid)
1655
    self._oprot.writeMessageBegin('getAffiliatesByMasterAffiliate', TMessageType.CALL, self._seqid)
1738
    args = getTrackersByAffiliate_args()
1656
    args = getAffiliatesByMasterAffiliate_args()
1739
    args.affiliateId = affiliateId
1657
    args.id = id
1740
    args.write(self._oprot)
1658
    args.write(self._oprot)
1741
    self._oprot.writeMessageEnd()
1659
    self._oprot.writeMessageEnd()
1742
    self._oprot.trans.flush()
1660
    self._oprot.trans.flush()
1743
 
1661
 
1744
  def recv_getTrackersByAffiliate(self, ):
1662
  def recv_getAffiliatesByMasterAffiliate(self, ):
1745
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
1663
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
1746
    if mtype == TMessageType.EXCEPTION:
1664
    if mtype == TMessageType.EXCEPTION:
1747
      x = TApplicationException()
1665
      x = TApplicationException()
1748
      x.read(self._iprot)
1666
      x.read(self._iprot)
1749
      self._iprot.readMessageEnd()
1667
      self._iprot.readMessageEnd()
1750
      raise x
1668
      raise x
1751
    result = getTrackersByAffiliate_result()
1669
    result = getAffiliatesByMasterAffiliate_result()
1752
    result.read(self._iprot)
1670
    result.read(self._iprot)
1753
    self._iprot.readMessageEnd()
1671
    self._iprot.readMessageEnd()
1754
    if result.success != None:
1672
    if result.success != None:
1755
      return result.success
1673
      return result.success
1756
    if result.utx != None:
1674
    if result.utx != None:
1757
      raise result.utx
1675
      raise result.utx
1758
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getTrackersByAffiliate failed: unknown result");
1676
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAffiliatesByMasterAffiliate failed: unknown result");
1759
 
1677
 
1760
  def addTrackLog(self, trackerId, userId, event, url, data, addedOn):
1678
  def addTrackLog(self, affiliateId, userId, event, url, data, addedOn):
1761
    """
1679
    """
1762
    Parameters:
1680
    Parameters:
1763
     - trackerId
1681
     - affiliateId
1764
     - userId
1682
     - userId
1765
     - event
1683
     - event
1766
     - url
1684
     - url
1767
     - data
1685
     - data
1768
     - addedOn
1686
     - addedOn
1769
    """
1687
    """
1770
    self.send_addTrackLog(trackerId, userId, event, url, data, addedOn)
1688
    self.send_addTrackLog(affiliateId, userId, event, url, data, addedOn)
1771
    return self.recv_addTrackLog()
1689
    return self.recv_addTrackLog()
1772
 
1690
 
1773
  def send_addTrackLog(self, trackerId, userId, event, url, data, addedOn):
1691
  def send_addTrackLog(self, affiliateId, userId, event, url, data, addedOn):
1774
    self._oprot.writeMessageBegin('addTrackLog', TMessageType.CALL, self._seqid)
1692
    self._oprot.writeMessageBegin('addTrackLog', TMessageType.CALL, self._seqid)
1775
    args = addTrackLog_args()
1693
    args = addTrackLog_args()
1776
    args.trackerId = trackerId
1694
    args.affiliateId = affiliateId
1777
    args.userId = userId
1695
    args.userId = userId
1778
    args.event = event
1696
    args.event = event
1779
    args.url = url
1697
    args.url = url
1780
    args.data = data
1698
    args.data = data
1781
    args.addedOn = addedOn
1699
    args.addedOn = addedOn
Line 1829... Line 1747...
1829
      return result.success
1747
      return result.success
1830
    if result.utx != None:
1748
    if result.utx != None:
1831
      raise result.utx
1749
      raise result.utx
1832
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getTrackLogById failed: unknown result");
1750
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getTrackLogById failed: unknown result");
1833
 
1751
 
1834
  def getTrackLogsByTracker(self, trackerId):
1752
  def getTrackLogsByAffiliate(self, affiliateId):
1835
    """
1753
    """
1836
    Parameters:
1754
    Parameters:
1837
     - trackerId
1755
     - affiliateId
1838
    """
1756
    """
1839
    self.send_getTrackLogsByTracker(trackerId)
1757
    self.send_getTrackLogsByAffiliate(affiliateId)
1840
    return self.recv_getTrackLogsByTracker()
1758
    return self.recv_getTrackLogsByAffiliate()
1841
 
1759
 
1842
  def send_getTrackLogsByTracker(self, trackerId):
1760
  def send_getTrackLogsByAffiliate(self, affiliateId):
1843
    self._oprot.writeMessageBegin('getTrackLogsByTracker', TMessageType.CALL, self._seqid)
1761
    self._oprot.writeMessageBegin('getTrackLogsByAffiliate', TMessageType.CALL, self._seqid)
1844
    args = getTrackLogsByTracker_args()
1762
    args = getTrackLogsByAffiliate_args()
1845
    args.trackerId = trackerId
1763
    args.affiliateId = affiliateId
1846
    args.write(self._oprot)
1764
    args.write(self._oprot)
1847
    self._oprot.writeMessageEnd()
1765
    self._oprot.writeMessageEnd()
1848
    self._oprot.trans.flush()
1766
    self._oprot.trans.flush()
1849
 
1767
 
1850
  def recv_getTrackLogsByTracker(self, ):
1768
  def recv_getTrackLogsByAffiliate(self, ):
1851
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
1769
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
1852
    if mtype == TMessageType.EXCEPTION:
1770
    if mtype == TMessageType.EXCEPTION:
1853
      x = TApplicationException()
1771
      x = TApplicationException()
1854
      x.read(self._iprot)
1772
      x.read(self._iprot)
1855
      self._iprot.readMessageEnd()
1773
      self._iprot.readMessageEnd()
1856
      raise x
1774
      raise x
1857
    result = getTrackLogsByTracker_result()
1775
    result = getTrackLogsByAffiliate_result()
1858
    result.read(self._iprot)
1776
    result.read(self._iprot)
1859
    self._iprot.readMessageEnd()
1777
    self._iprot.readMessageEnd()
1860
    if result.success != None:
1778
    if result.success != None:
1861
      return result.success
1779
      return result.success
1862
    if result.utx != None:
1780
    if result.utx != None:
1863
      raise result.utx
1781
      raise result.utx
1864
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getTrackLogsByTracker failed: unknown result");
1782
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getTrackLogsByAffiliate failed: unknown result");
1865
 
1783
 
1866
  def getTrackLogsByUser(self, userId):
1784
  def getTrackLogsByUser(self, userId):
1867
    """
1785
    """
1868
    Parameters:
1786
    Parameters:
1869
     - userId
1787
     - userId
Line 1893... Line 1811...
1893
      return result.success
1811
      return result.success
1894
    if result.utx != None:
1812
    if result.utx != None:
1895
      raise result.utx
1813
      raise result.utx
1896
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getTrackLogsByUser failed: unknown result");
1814
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getTrackLogsByUser failed: unknown result");
1897
 
1815
 
1898
  def getTrackLogs(self, trackerId, userId, event, url):
1816
  def getTrackLogs(self, userId, event, url):
1899
    """
1817
    """
1900
    Parameters:
1818
    Parameters:
1901
     - trackerId
-
 
1902
     - userId
1819
     - userId
1903
     - event
1820
     - event
1904
     - url
1821
     - url
1905
    """
1822
    """
1906
    self.send_getTrackLogs(trackerId, userId, event, url)
1823
    self.send_getTrackLogs(userId, event, url)
1907
    return self.recv_getTrackLogs()
1824
    return self.recv_getTrackLogs()
1908
 
1825
 
1909
  def send_getTrackLogs(self, trackerId, userId, event, url):
1826
  def send_getTrackLogs(self, userId, event, url):
1910
    self._oprot.writeMessageBegin('getTrackLogs', TMessageType.CALL, self._seqid)
1827
    self._oprot.writeMessageBegin('getTrackLogs', TMessageType.CALL, self._seqid)
1911
    args = getTrackLogs_args()
1828
    args = getTrackLogs_args()
1912
    args.trackerId = trackerId
-
 
1913
    args.userId = userId
1829
    args.userId = userId
1914
    args.event = event
1830
    args.event = event
1915
    args.url = url
1831
    args.url = url
1916
    args.write(self._oprot)
1832
    args.write(self._oprot)
1917
    self._oprot.writeMessageEnd()
1833
    self._oprot.writeMessageEnd()
Line 2871... Line 2787...
2871
    self._processMap["getMasterAffiliateById"] = Processor.process_getMasterAffiliateById
2787
    self._processMap["getMasterAffiliateById"] = Processor.process_getMasterAffiliateById
2872
    self._processMap["getMasterAffiliateByName"] = Processor.process_getMasterAffiliateByName
2788
    self._processMap["getMasterAffiliateByName"] = Processor.process_getMasterAffiliateByName
2873
    self._processMap["createAffiliate"] = Processor.process_createAffiliate
2789
    self._processMap["createAffiliate"] = Processor.process_createAffiliate
2874
    self._processMap["getAffiliateById"] = Processor.process_getAffiliateById
2790
    self._processMap["getAffiliateById"] = Processor.process_getAffiliateById
2875
    self._processMap["getAffiliateByName"] = Processor.process_getAffiliateByName
2791
    self._processMap["getAffiliateByName"] = Processor.process_getAffiliateByName
2876
    self._processMap["getAffiliatesByMasterAffiliate"] = Processor.process_getAffiliatesByMasterAffiliate
-
 
2877
    self._processMap["createTracker"] = Processor.process_createTracker
-
 
2878
    self._processMap["getTrackerById"] = Processor.process_getTrackerById
2792
    self._processMap["getTrackerById"] = Processor.process_getTrackerById
2879
    self._processMap["getTrackersByAffiliate"] = Processor.process_getTrackersByAffiliate
2793
    self._processMap["getAffiliatesByMasterAffiliate"] = Processor.process_getAffiliatesByMasterAffiliate
2880
    self._processMap["addTrackLog"] = Processor.process_addTrackLog
2794
    self._processMap["addTrackLog"] = Processor.process_addTrackLog
2881
    self._processMap["getTrackLogById"] = Processor.process_getTrackLogById
2795
    self._processMap["getTrackLogById"] = Processor.process_getTrackLogById
2882
    self._processMap["getTrackLogsByTracker"] = Processor.process_getTrackLogsByTracker
2796
    self._processMap["getTrackLogsByAffiliate"] = Processor.process_getTrackLogsByAffiliate
2883
    self._processMap["getTrackLogsByUser"] = Processor.process_getTrackLogsByUser
2797
    self._processMap["getTrackLogsByUser"] = Processor.process_getTrackLogsByUser
2884
    self._processMap["getTrackLogs"] = Processor.process_getTrackLogs
2798
    self._processMap["getTrackLogs"] = Processor.process_getTrackLogs
2885
    self._processMap["createCart"] = Processor.process_createCart
2799
    self._processMap["createCart"] = Processor.process_createCart
2886
    self._processMap["getCurrentCart"] = Processor.process_getCurrentCart
2800
    self._processMap["getCurrentCart"] = Processor.process_getCurrentCart
2887
    self._processMap["getCart"] = Processor.process_getCart
2801
    self._processMap["getCart"] = Processor.process_getCart
Line 3277... Line 3191...
3277
    args.read(iprot)
3191
    args.read(iprot)
3278
    iprot.readMessageEnd()
3192
    iprot.readMessageEnd()
3279
    result = createMasterAffiliate_result()
3193
    result = createMasterAffiliate_result()
3280
    try:
3194
    try:
3281
      result.success = self._handler.createMasterAffiliate(args.name, args.addedOn)
3195
      result.success = self._handler.createMasterAffiliate(args.name, args.addedOn)
3282
    except UserTrackerException, utx:
3196
    except UserAffiliateException, utx:
3283
      result.utx = utx
3197
      result.utx = utx
3284
    oprot.writeMessageBegin("createMasterAffiliate", TMessageType.REPLY, seqid)
3198
    oprot.writeMessageBegin("createMasterAffiliate", TMessageType.REPLY, seqid)
3285
    result.write(oprot)
3199
    result.write(oprot)
3286
    oprot.writeMessageEnd()
3200
    oprot.writeMessageEnd()
3287
    oprot.trans.flush()
3201
    oprot.trans.flush()
Line 3291... Line 3205...
3291
    args.read(iprot)
3205
    args.read(iprot)
3292
    iprot.readMessageEnd()
3206
    iprot.readMessageEnd()
3293
    result = getAllMasterAffiliates_result()
3207
    result = getAllMasterAffiliates_result()
3294
    try:
3208
    try:
3295
      result.success = self._handler.getAllMasterAffiliates()
3209
      result.success = self._handler.getAllMasterAffiliates()
3296
    except UserTrackerException, utx:
3210
    except UserAffiliateException, utx:
3297
      result.utx = utx
3211
      result.utx = utx
3298
    oprot.writeMessageBegin("getAllMasterAffiliates", TMessageType.REPLY, seqid)
3212
    oprot.writeMessageBegin("getAllMasterAffiliates", TMessageType.REPLY, seqid)
3299
    result.write(oprot)
3213
    result.write(oprot)
3300
    oprot.writeMessageEnd()
3214
    oprot.writeMessageEnd()
3301
    oprot.trans.flush()
3215
    oprot.trans.flush()
Line 3305... Line 3219...
3305
    args.read(iprot)
3219
    args.read(iprot)
3306
    iprot.readMessageEnd()
3220
    iprot.readMessageEnd()
3307
    result = getMasterAffiliateById_result()
3221
    result = getMasterAffiliateById_result()
3308
    try:
3222
    try:
3309
      result.success = self._handler.getMasterAffiliateById(args.id)
3223
      result.success = self._handler.getMasterAffiliateById(args.id)
3310
    except UserTrackerException, utx:
3224
    except UserAffiliateException, utx:
3311
      result.utx = utx
3225
      result.utx = utx
3312
    oprot.writeMessageBegin("getMasterAffiliateById", TMessageType.REPLY, seqid)
3226
    oprot.writeMessageBegin("getMasterAffiliateById", TMessageType.REPLY, seqid)
3313
    result.write(oprot)
3227
    result.write(oprot)
3314
    oprot.writeMessageEnd()
3228
    oprot.writeMessageEnd()
3315
    oprot.trans.flush()
3229
    oprot.trans.flush()
Line 3319... Line 3233...
3319
    args.read(iprot)
3233
    args.read(iprot)
3320
    iprot.readMessageEnd()
3234
    iprot.readMessageEnd()
3321
    result = getMasterAffiliateByName_result()
3235
    result = getMasterAffiliateByName_result()
3322
    try:
3236
    try:
3323
      result.success = self._handler.getMasterAffiliateByName(args.name)
3237
      result.success = self._handler.getMasterAffiliateByName(args.name)
3324
    except UserTrackerException, utx:
3238
    except UserAffiliateException, utx:
3325
      result.utx = utx
3239
      result.utx = utx
3326
    oprot.writeMessageBegin("getMasterAffiliateByName", TMessageType.REPLY, seqid)
3240
    oprot.writeMessageBegin("getMasterAffiliateByName", TMessageType.REPLY, seqid)
3327
    result.write(oprot)
3241
    result.write(oprot)
3328
    oprot.writeMessageEnd()
3242
    oprot.writeMessageEnd()
3329
    oprot.trans.flush()
3243
    oprot.trans.flush()
Line 3333... Line 3247...
3333
    args.read(iprot)
3247
    args.read(iprot)
3334
    iprot.readMessageEnd()
3248
    iprot.readMessageEnd()
3335
    result = createAffiliate_result()
3249
    result = createAffiliate_result()
3336
    try:
3250
    try:
3337
      result.success = self._handler.createAffiliate(args.name, args.url, args.masterAffiliateId, args.addedOn)
3251
      result.success = self._handler.createAffiliate(args.name, args.url, args.masterAffiliateId, args.addedOn)
3338
    except UserTrackerException, utx:
3252
    except UserAffiliateException, utx:
3339
      result.utx = utx
3253
      result.utx = utx
3340
    oprot.writeMessageBegin("createAffiliate", TMessageType.REPLY, seqid)
3254
    oprot.writeMessageBegin("createAffiliate", TMessageType.REPLY, seqid)
3341
    result.write(oprot)
3255
    result.write(oprot)
3342
    oprot.writeMessageEnd()
3256
    oprot.writeMessageEnd()
3343
    oprot.trans.flush()
3257
    oprot.trans.flush()
Line 3347... Line 3261...
3347
    args.read(iprot)
3261
    args.read(iprot)
3348
    iprot.readMessageEnd()
3262
    iprot.readMessageEnd()
3349
    result = getAffiliateById_result()
3263
    result = getAffiliateById_result()
3350
    try:
3264
    try:
3351
      result.success = self._handler.getAffiliateById(args.id)
3265
      result.success = self._handler.getAffiliateById(args.id)
3352
    except UserTrackerException, utx:
3266
    except UserAffiliateException, utx:
3353
      result.utx = utx
3267
      result.utx = utx
3354
    oprot.writeMessageBegin("getAffiliateById", TMessageType.REPLY, seqid)
3268
    oprot.writeMessageBegin("getAffiliateById", TMessageType.REPLY, seqid)
3355
    result.write(oprot)
3269
    result.write(oprot)
3356
    oprot.writeMessageEnd()
3270
    oprot.writeMessageEnd()
3357
    oprot.trans.flush()
3271
    oprot.trans.flush()
Line 3361... Line 3275...
3361
    args.read(iprot)
3275
    args.read(iprot)
3362
    iprot.readMessageEnd()
3276
    iprot.readMessageEnd()
3363
    result = getAffiliateByName_result()
3277
    result = getAffiliateByName_result()
3364
    try:
3278
    try:
3365
      result.success = self._handler.getAffiliateByName(args.name)
3279
      result.success = self._handler.getAffiliateByName(args.name)
3366
    except UserTrackerException, utx:
3280
    except UserAffiliateException, utx:
3367
      result.utx = utx
3281
      result.utx = utx
3368
    oprot.writeMessageBegin("getAffiliateByName", TMessageType.REPLY, seqid)
3282
    oprot.writeMessageBegin("getAffiliateByName", TMessageType.REPLY, seqid)
3369
    result.write(oprot)
3283
    result.write(oprot)
3370
    oprot.writeMessageEnd()
3284
    oprot.writeMessageEnd()
3371
    oprot.trans.flush()
3285
    oprot.trans.flush()
3372
 
3286
 
3373
  def process_getAffiliatesByMasterAffiliate(self, seqid, iprot, oprot):
-
 
3374
    args = getAffiliatesByMasterAffiliate_args()
-
 
3375
    args.read(iprot)
-
 
3376
    iprot.readMessageEnd()
-
 
3377
    result = getAffiliatesByMasterAffiliate_result()
-
 
3378
    try:
-
 
3379
      result.success = self._handler.getAffiliatesByMasterAffiliate(args.id)
-
 
3380
    except UserTrackerException, utx:
-
 
3381
      result.utx = utx
-
 
3382
    oprot.writeMessageBegin("getAffiliatesByMasterAffiliate", TMessageType.REPLY, seqid)
-
 
3383
    result.write(oprot)
-
 
3384
    oprot.writeMessageEnd()
-
 
3385
    oprot.trans.flush()
-
 
3386
 
-
 
3387
  def process_createTracker(self, seqid, iprot, oprot):
-
 
3388
    args = createTracker_args()
-
 
3389
    args.read(iprot)
-
 
3390
    iprot.readMessageEnd()
-
 
3391
    result = createTracker_result()
-
 
3392
    try:
-
 
3393
      result.success = self._handler.createTracker(args.affiliateId, args.addedOn)
-
 
3394
    except UserTrackerException, utx:
-
 
3395
      result.utx = utx
-
 
3396
    oprot.writeMessageBegin("createTracker", TMessageType.REPLY, seqid)
-
 
3397
    result.write(oprot)
-
 
3398
    oprot.writeMessageEnd()
-
 
3399
    oprot.trans.flush()
-
 
3400
 
-
 
3401
  def process_getTrackerById(self, seqid, iprot, oprot):
3287
  def process_getTrackerById(self, seqid, iprot, oprot):
3402
    args = getTrackerById_args()
3288
    args = getTrackerById_args()
3403
    args.read(iprot)
3289
    args.read(iprot)
3404
    iprot.readMessageEnd()
3290
    iprot.readMessageEnd()
3405
    result = getTrackerById_result()
3291
    result = getTrackerById_result()
3406
    try:
3292
    try:
3407
      result.success = self._handler.getTrackerById(args.trackerId)
3293
      result.success = self._handler.getTrackerById(args.id)
3408
    except UserTrackerException, utx:
3294
    except UserAffiliateException, utx:
3409
      result.utx = utx
3295
      result.utx = utx
3410
    oprot.writeMessageBegin("getTrackerById", TMessageType.REPLY, seqid)
3296
    oprot.writeMessageBegin("getTrackerById", TMessageType.REPLY, seqid)
3411
    result.write(oprot)
3297
    result.write(oprot)
3412
    oprot.writeMessageEnd()
3298
    oprot.writeMessageEnd()
3413
    oprot.trans.flush()
3299
    oprot.trans.flush()
3414
 
3300
 
3415
  def process_getTrackersByAffiliate(self, seqid, iprot, oprot):
3301
  def process_getAffiliatesByMasterAffiliate(self, seqid, iprot, oprot):
3416
    args = getTrackersByAffiliate_args()
3302
    args = getAffiliatesByMasterAffiliate_args()
3417
    args.read(iprot)
3303
    args.read(iprot)
3418
    iprot.readMessageEnd()
3304
    iprot.readMessageEnd()
3419
    result = getTrackersByAffiliate_result()
3305
    result = getAffiliatesByMasterAffiliate_result()
3420
    try:
3306
    try:
3421
      result.success = self._handler.getTrackersByAffiliate(args.affiliateId)
3307
      result.success = self._handler.getAffiliatesByMasterAffiliate(args.id)
3422
    except UserTrackerException, utx:
3308
    except UserAffiliateException, utx:
3423
      result.utx = utx
3309
      result.utx = utx
3424
    oprot.writeMessageBegin("getTrackersByAffiliate", TMessageType.REPLY, seqid)
3310
    oprot.writeMessageBegin("getAffiliatesByMasterAffiliate", TMessageType.REPLY, seqid)
3425
    result.write(oprot)
3311
    result.write(oprot)
3426
    oprot.writeMessageEnd()
3312
    oprot.writeMessageEnd()
3427
    oprot.trans.flush()
3313
    oprot.trans.flush()
3428
 
3314
 
3429
  def process_addTrackLog(self, seqid, iprot, oprot):
3315
  def process_addTrackLog(self, seqid, iprot, oprot):
3430
    args = addTrackLog_args()
3316
    args = addTrackLog_args()
3431
    args.read(iprot)
3317
    args.read(iprot)
3432
    iprot.readMessageEnd()
3318
    iprot.readMessageEnd()
3433
    result = addTrackLog_result()
3319
    result = addTrackLog_result()
3434
    try:
3320
    try:
3435
      result.success = self._handler.addTrackLog(args.trackerId, args.userId, args.event, args.url, args.data, args.addedOn)
3321
      result.success = self._handler.addTrackLog(args.affiliateId, args.userId, args.event, args.url, args.data, args.addedOn)
3436
    except UserTrackerException, utx:
3322
    except UserAffiliateException, utx:
3437
      result.utx = utx
3323
      result.utx = utx
3438
    oprot.writeMessageBegin("addTrackLog", TMessageType.REPLY, seqid)
3324
    oprot.writeMessageBegin("addTrackLog", TMessageType.REPLY, seqid)
3439
    result.write(oprot)
3325
    result.write(oprot)
3440
    oprot.writeMessageEnd()
3326
    oprot.writeMessageEnd()
3441
    oprot.trans.flush()
3327
    oprot.trans.flush()
Line 3445... Line 3331...
3445
    args.read(iprot)
3331
    args.read(iprot)
3446
    iprot.readMessageEnd()
3332
    iprot.readMessageEnd()
3447
    result = getTrackLogById_result()
3333
    result = getTrackLogById_result()
3448
    try:
3334
    try:
3449
      result.success = self._handler.getTrackLogById(args.id)
3335
      result.success = self._handler.getTrackLogById(args.id)
3450
    except UserTrackerException, utx:
3336
    except UserAffiliateException, utx:
3451
      result.utx = utx
3337
      result.utx = utx
3452
    oprot.writeMessageBegin("getTrackLogById", TMessageType.REPLY, seqid)
3338
    oprot.writeMessageBegin("getTrackLogById", TMessageType.REPLY, seqid)
3453
    result.write(oprot)
3339
    result.write(oprot)
3454
    oprot.writeMessageEnd()
3340
    oprot.writeMessageEnd()
3455
    oprot.trans.flush()
3341
    oprot.trans.flush()
3456
 
3342
 
3457
  def process_getTrackLogsByTracker(self, seqid, iprot, oprot):
3343
  def process_getTrackLogsByAffiliate(self, seqid, iprot, oprot):
3458
    args = getTrackLogsByTracker_args()
3344
    args = getTrackLogsByAffiliate_args()
3459
    args.read(iprot)
3345
    args.read(iprot)
3460
    iprot.readMessageEnd()
3346
    iprot.readMessageEnd()
3461
    result = getTrackLogsByTracker_result()
3347
    result = getTrackLogsByAffiliate_result()
3462
    try:
3348
    try:
3463
      result.success = self._handler.getTrackLogsByTracker(args.trackerId)
3349
      result.success = self._handler.getTrackLogsByAffiliate(args.affiliateId)
3464
    except UserTrackerException, utx:
3350
    except UserAffiliateException, utx:
3465
      result.utx = utx
3351
      result.utx = utx
3466
    oprot.writeMessageBegin("getTrackLogsByTracker", TMessageType.REPLY, seqid)
3352
    oprot.writeMessageBegin("getTrackLogsByAffiliate", TMessageType.REPLY, seqid)
3467
    result.write(oprot)
3353
    result.write(oprot)
3468
    oprot.writeMessageEnd()
3354
    oprot.writeMessageEnd()
3469
    oprot.trans.flush()
3355
    oprot.trans.flush()
3470
 
3356
 
3471
  def process_getTrackLogsByUser(self, seqid, iprot, oprot):
3357
  def process_getTrackLogsByUser(self, seqid, iprot, oprot):
Line 3473... Line 3359...
3473
    args.read(iprot)
3359
    args.read(iprot)
3474
    iprot.readMessageEnd()
3360
    iprot.readMessageEnd()
3475
    result = getTrackLogsByUser_result()
3361
    result = getTrackLogsByUser_result()
3476
    try:
3362
    try:
3477
      result.success = self._handler.getTrackLogsByUser(args.userId)
3363
      result.success = self._handler.getTrackLogsByUser(args.userId)
3478
    except UserTrackerException, utx:
3364
    except UserAffiliateException, utx:
3479
      result.utx = utx
3365
      result.utx = utx
3480
    oprot.writeMessageBegin("getTrackLogsByUser", TMessageType.REPLY, seqid)
3366
    oprot.writeMessageBegin("getTrackLogsByUser", TMessageType.REPLY, seqid)
3481
    result.write(oprot)
3367
    result.write(oprot)
3482
    oprot.writeMessageEnd()
3368
    oprot.writeMessageEnd()
3483
    oprot.trans.flush()
3369
    oprot.trans.flush()
Line 3486... Line 3372...
3486
    args = getTrackLogs_args()
3372
    args = getTrackLogs_args()
3487
    args.read(iprot)
3373
    args.read(iprot)
3488
    iprot.readMessageEnd()
3374
    iprot.readMessageEnd()
3489
    result = getTrackLogs_result()
3375
    result = getTrackLogs_result()
3490
    try:
3376
    try:
3491
      result.success = self._handler.getTrackLogs(args.trackerId, args.userId, args.event, args.url)
3377
      result.success = self._handler.getTrackLogs(args.userId, args.event, args.url)
3492
    except UserTrackerException, utx:
3378
    except UserAffiliateException, utx:
3493
      result.utx = utx
3379
      result.utx = utx
3494
    oprot.writeMessageBegin("getTrackLogs", TMessageType.REPLY, seqid)
3380
    oprot.writeMessageBegin("getTrackLogs", TMessageType.REPLY, seqid)
3495
    result.write(oprot)
3381
    result.write(oprot)
3496
    oprot.writeMessageEnd()
3382
    oprot.writeMessageEnd()
3497
    oprot.trans.flush()
3383
    oprot.trans.flush()
Line 7214... Line 7100...
7214
   - utx
7100
   - utx
7215
  """
7101
  """
7216
 
7102
 
7217
  thrift_spec = (
7103
  thrift_spec = (
7218
    (0, TType.STRUCT, 'success', (MasterAffiliate, MasterAffiliate.thrift_spec), None, ), # 0
7104
    (0, TType.STRUCT, 'success', (MasterAffiliate, MasterAffiliate.thrift_spec), None, ), # 0
7219
    (1, TType.STRUCT, 'utx', (UserTrackerException, UserTrackerException.thrift_spec), None, ), # 1
7105
    (1, TType.STRUCT, 'utx', (UserAffiliateException, UserAffiliateException.thrift_spec), None, ), # 1
7220
  )
7106
  )
7221
 
7107
 
7222
  def __init__(self, success=None, utx=None,):
7108
  def __init__(self, success=None, utx=None,):
7223
    self.success = success
7109
    self.success = success
7224
    self.utx = utx
7110
    self.utx = utx
Line 7238... Line 7124...
7238
          self.success.read(iprot)
7124
          self.success.read(iprot)
7239
        else:
7125
        else:
7240
          iprot.skip(ftype)
7126
          iprot.skip(ftype)
7241
      elif fid == 1:
7127
      elif fid == 1:
7242
        if ftype == TType.STRUCT:
7128
        if ftype == TType.STRUCT:
7243
          self.utx = UserTrackerException()
7129
          self.utx = UserAffiliateException()
7244
          self.utx.read(iprot)
7130
          self.utx.read(iprot)
7245
        else:
7131
        else:
7246
          iprot.skip(ftype)
7132
          iprot.skip(ftype)
7247
      else:
7133
      else:
7248
        iprot.skip(ftype)
7134
        iprot.skip(ftype)
Line 7321... Line 7207...
7321
   - utx
7207
   - utx
7322
  """
7208
  """
7323
 
7209
 
7324
  thrift_spec = (
7210
  thrift_spec = (
7325
    (0, TType.LIST, 'success', (TType.STRUCT,(MasterAffiliate, MasterAffiliate.thrift_spec)), None, ), # 0
7211
    (0, TType.LIST, 'success', (TType.STRUCT,(MasterAffiliate, MasterAffiliate.thrift_spec)), None, ), # 0
7326
    (1, TType.STRUCT, 'utx', (UserTrackerException, UserTrackerException.thrift_spec), None, ), # 1
7212
    (1, TType.STRUCT, 'utx', (UserAffiliateException, UserAffiliateException.thrift_spec), None, ), # 1
7327
  )
7213
  )
7328
 
7214
 
7329
  def __init__(self, success=None, utx=None,):
7215
  def __init__(self, success=None, utx=None,):
7330
    self.success = success
7216
    self.success = success
7331
    self.utx = utx
7217
    self.utx = utx
Line 7350... Line 7236...
7350
          iprot.readListEnd()
7236
          iprot.readListEnd()
7351
        else:
7237
        else:
7352
          iprot.skip(ftype)
7238
          iprot.skip(ftype)
7353
      elif fid == 1:
7239
      elif fid == 1:
7354
        if ftype == TType.STRUCT:
7240
        if ftype == TType.STRUCT:
7355
          self.utx = UserTrackerException()
7241
          self.utx = UserAffiliateException()
7356
          self.utx.read(iprot)
7242
          self.utx.read(iprot)
7357
        else:
7243
        else:
7358
          iprot.skip(ftype)
7244
          iprot.skip(ftype)
7359
      else:
7245
      else:
7360
        iprot.skip(ftype)
7246
        iprot.skip(ftype)
Line 7454... Line 7340...
7454
   - utx
7340
   - utx
7455
  """
7341
  """
7456
 
7342
 
7457
  thrift_spec = (
7343
  thrift_spec = (
7458
    (0, TType.STRUCT, 'success', (MasterAffiliate, MasterAffiliate.thrift_spec), None, ), # 0
7344
    (0, TType.STRUCT, 'success', (MasterAffiliate, MasterAffiliate.thrift_spec), None, ), # 0
7459
    (1, TType.STRUCT, 'utx', (UserTrackerException, UserTrackerException.thrift_spec), None, ), # 1
7345
    (1, TType.STRUCT, 'utx', (UserAffiliateException, UserAffiliateException.thrift_spec), None, ), # 1
7460
  )
7346
  )
7461
 
7347
 
7462
  def __init__(self, success=None, utx=None,):
7348
  def __init__(self, success=None, utx=None,):
7463
    self.success = success
7349
    self.success = success
7464
    self.utx = utx
7350
    self.utx = utx
Line 7478... Line 7364...
7478
          self.success.read(iprot)
7364
          self.success.read(iprot)
7479
        else:
7365
        else:
7480
          iprot.skip(ftype)
7366
          iprot.skip(ftype)
7481
      elif fid == 1:
7367
      elif fid == 1:
7482
        if ftype == TType.STRUCT:
7368
        if ftype == TType.STRUCT:
7483
          self.utx = UserTrackerException()
7369
          self.utx = UserAffiliateException()
7484
          self.utx.read(iprot)
7370
          self.utx.read(iprot)
7485
        else:
7371
        else:
7486
          iprot.skip(ftype)
7372
          iprot.skip(ftype)
7487
      else:
7373
      else:
7488
        iprot.skip(ftype)
7374
        iprot.skip(ftype)
Line 7579... Line 7465...
7579
   - utx
7465
   - utx
7580
  """
7466
  """
7581
 
7467
 
7582
  thrift_spec = (
7468
  thrift_spec = (
7583
    (0, TType.STRUCT, 'success', (MasterAffiliate, MasterAffiliate.thrift_spec), None, ), # 0
7469
    (0, TType.STRUCT, 'success', (MasterAffiliate, MasterAffiliate.thrift_spec), None, ), # 0
7584
    (1, TType.STRUCT, 'utx', (UserTrackerException, UserTrackerException.thrift_spec), None, ), # 1
7470
    (1, TType.STRUCT, 'utx', (UserAffiliateException, UserAffiliateException.thrift_spec), None, ), # 1
7585
  )
7471
  )
7586
 
7472
 
7587
  def __init__(self, success=None, utx=None,):
7473
  def __init__(self, success=None, utx=None,):
7588
    self.success = success
7474
    self.success = success
7589
    self.utx = utx
7475
    self.utx = utx
Line 7603... Line 7489...
7603
          self.success.read(iprot)
7489
          self.success.read(iprot)
7604
        else:
7490
        else:
7605
          iprot.skip(ftype)
7491
          iprot.skip(ftype)
7606
      elif fid == 1:
7492
      elif fid == 1:
7607
        if ftype == TType.STRUCT:
7493
        if ftype == TType.STRUCT:
7608
          self.utx = UserTrackerException()
7494
          self.utx = UserAffiliateException()
7609
          self.utx.read(iprot)
7495
          self.utx.read(iprot)
7610
        else:
7496
        else:
7611
          iprot.skip(ftype)
7497
          iprot.skip(ftype)
7612
      else:
7498
      else:
7613
        iprot.skip(ftype)
7499
        iprot.skip(ftype)
Line 7740... Line 7626...
7740
   - utx
7626
   - utx
7741
  """
7627
  """
7742
 
7628
 
7743
  thrift_spec = (
7629
  thrift_spec = (
7744
    (0, TType.STRUCT, 'success', (Affiliate, Affiliate.thrift_spec), None, ), # 0
7630
    (0, TType.STRUCT, 'success', (Affiliate, Affiliate.thrift_spec), None, ), # 0
7745
    (1, TType.STRUCT, 'utx', (UserTrackerException, UserTrackerException.thrift_spec), None, ), # 1
7631
    (1, TType.STRUCT, 'utx', (UserAffiliateException, UserAffiliateException.thrift_spec), None, ), # 1
7746
  )
7632
  )
7747
 
7633
 
7748
  def __init__(self, success=None, utx=None,):
7634
  def __init__(self, success=None, utx=None,):
7749
    self.success = success
7635
    self.success = success
7750
    self.utx = utx
7636
    self.utx = utx
Line 7764... Line 7650...
7764
          self.success.read(iprot)
7650
          self.success.read(iprot)
7765
        else:
7651
        else:
7766
          iprot.skip(ftype)
7652
          iprot.skip(ftype)
7767
      elif fid == 1:
7653
      elif fid == 1:
7768
        if ftype == TType.STRUCT:
7654
        if ftype == TType.STRUCT:
7769
          self.utx = UserTrackerException()
7655
          self.utx = UserAffiliateException()
7770
          self.utx.read(iprot)
7656
          self.utx.read(iprot)
7771
        else:
7657
        else:
7772
          iprot.skip(ftype)
7658
          iprot.skip(ftype)
7773
      else:
7659
      else:
7774
        iprot.skip(ftype)
7660
        iprot.skip(ftype)
Line 7865... Line 7751...
7865
   - utx
7751
   - utx
7866
  """
7752
  """
7867
 
7753
 
7868
  thrift_spec = (
7754
  thrift_spec = (
7869
    (0, TType.STRUCT, 'success', (Affiliate, Affiliate.thrift_spec), None, ), # 0
7755
    (0, TType.STRUCT, 'success', (Affiliate, Affiliate.thrift_spec), None, ), # 0
7870
    (1, TType.STRUCT, 'utx', (UserTrackerException, UserTrackerException.thrift_spec), None, ), # 1
7756
    (1, TType.STRUCT, 'utx', (UserAffiliateException, UserAffiliateException.thrift_spec), None, ), # 1
7871
  )
7757
  )
7872
 
7758
 
7873
  def __init__(self, success=None, utx=None,):
7759
  def __init__(self, success=None, utx=None,):
7874
    self.success = success
7760
    self.success = success
7875
    self.utx = utx
7761
    self.utx = utx
Line 7889... Line 7775...
7889
          self.success.read(iprot)
7775
          self.success.read(iprot)
7890
        else:
7776
        else:
7891
          iprot.skip(ftype)
7777
          iprot.skip(ftype)
7892
      elif fid == 1:
7778
      elif fid == 1:
7893
        if ftype == TType.STRUCT:
7779
        if ftype == TType.STRUCT:
7894
          self.utx = UserTrackerException()
7780
          self.utx = UserAffiliateException()
7895
          self.utx.read(iprot)
7781
          self.utx.read(iprot)
7896
        else:
7782
        else:
7897
          iprot.skip(ftype)
7783
          iprot.skip(ftype)
7898
      else:
7784
      else:
7899
        iprot.skip(ftype)
7785
        iprot.skip(ftype)
Line 7990... Line 7876...
7990
   - utx
7876
   - utx
7991
  """
7877
  """
7992
 
7878
 
7993
  thrift_spec = (
7879
  thrift_spec = (
7994
    (0, TType.STRUCT, 'success', (Affiliate, Affiliate.thrift_spec), None, ), # 0
7880
    (0, TType.STRUCT, 'success', (Affiliate, Affiliate.thrift_spec), None, ), # 0
7995
    (1, TType.STRUCT, 'utx', (UserTrackerException, UserTrackerException.thrift_spec), None, ), # 1
7881
    (1, TType.STRUCT, 'utx', (UserAffiliateException, UserAffiliateException.thrift_spec), None, ), # 1
7996
  )
7882
  )
7997
 
7883
 
7998
  def __init__(self, success=None, utx=None,):
7884
  def __init__(self, success=None, utx=None,):
7999
    self.success = success
7885
    self.success = success
8000
    self.utx = utx
7886
    self.utx = utx
Line 8014... Line 7900...
8014
          self.success.read(iprot)
7900
          self.success.read(iprot)
8015
        else:
7901
        else:
8016
          iprot.skip(ftype)
7902
          iprot.skip(ftype)
8017
      elif fid == 1:
7903
      elif fid == 1:
8018
        if ftype == TType.STRUCT:
7904
        if ftype == TType.STRUCT:
8019
          self.utx = UserTrackerException()
7905
          self.utx = UserAffiliateException()
8020
          self.utx.read(iprot)
7906
          self.utx.read(iprot)
8021
        else:
7907
        else:
8022
          iprot.skip(ftype)
7908
          iprot.skip(ftype)
8023
      else:
7909
      else:
8024
        iprot.skip(ftype)
7910
        iprot.skip(ftype)
Line 8050... Line 7936...
8050
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
7936
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
8051
 
7937
 
8052
  def __ne__(self, other):
7938
  def __ne__(self, other):
8053
    return not (self == other)
7939
    return not (self == other)
8054
 
7940
 
8055
class getAffiliatesByMasterAffiliate_args:
7941
class getTrackerById_args:
8056
  """
7942
  """
8057
  Attributes:
7943
  Attributes:
8058
   - id
7944
   - id
8059
  """
7945
  """
8060
 
7946
 
Line 8087... Line 7973...
8087
 
7973
 
8088
  def write(self, oprot):
7974
  def write(self, oprot):
8089
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
7975
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
8090
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
7976
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
8091
      return
7977
      return
8092
    oprot.writeStructBegin('getAffiliatesByMasterAffiliate_args')
7978
    oprot.writeStructBegin('getTrackerById_args')
8093
    if self.id != None:
7979
    if self.id != None:
8094
      oprot.writeFieldBegin('id', TType.I64, 1)
7980
      oprot.writeFieldBegin('id', TType.I64, 1)
8095
      oprot.writeI64(self.id)
7981
      oprot.writeI64(self.id)
8096
      oprot.writeFieldEnd()
7982
      oprot.writeFieldEnd()
8097
    oprot.writeFieldStop()
7983
    oprot.writeFieldStop()
Line 8106... Line 7992...
8106
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
7992
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
8107
 
7993
 
8108
  def __ne__(self, other):
7994
  def __ne__(self, other):
8109
    return not (self == other)
7995
    return not (self == other)
8110
 
7996
 
8111
class getAffiliatesByMasterAffiliate_result:
-
 
8112
  """
-
 
8113
  Attributes:
-
 
8114
   - success
-
 
8115
   - utx
-
 
8116
  """
-
 
8117
 
-
 
8118
  thrift_spec = (
-
 
8119
    (0, TType.LIST, 'success', (TType.STRUCT,(Affiliate, Affiliate.thrift_spec)), None, ), # 0
-
 
8120
    (1, TType.STRUCT, 'utx', (UserTrackerException, UserTrackerException.thrift_spec), None, ), # 1
-
 
8121
  )
-
 
8122
 
-
 
8123
  def __init__(self, success=None, utx=None,):
-
 
8124
    self.success = success
-
 
8125
    self.utx = utx
-
 
8126
 
-
 
8127
  def read(self, iprot):
-
 
8128
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
-
 
8129
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
-
 
8130
      return
-
 
8131
    iprot.readStructBegin()
-
 
8132
    while True:
-
 
8133
      (fname, ftype, fid) = iprot.readFieldBegin()
-
 
8134
      if ftype == TType.STOP:
-
 
8135
        break
-
 
8136
      if fid == 0:
-
 
8137
        if ftype == TType.LIST:
-
 
8138
          self.success = []
-
 
8139
          (_etype66, _size63) = iprot.readListBegin()
-
 
8140
          for _i67 in xrange(_size63):
-
 
8141
            _elem68 = Affiliate()
-
 
8142
            _elem68.read(iprot)
-
 
8143
            self.success.append(_elem68)
-
 
8144
          iprot.readListEnd()
-
 
8145
        else:
-
 
8146
          iprot.skip(ftype)
-
 
8147
      elif fid == 1:
-
 
8148
        if ftype == TType.STRUCT:
-
 
8149
          self.utx = UserTrackerException()
-
 
8150
          self.utx.read(iprot)
-
 
8151
        else:
-
 
8152
          iprot.skip(ftype)
-
 
8153
      else:
-
 
8154
        iprot.skip(ftype)
-
 
8155
      iprot.readFieldEnd()
-
 
8156
    iprot.readStructEnd()
-
 
8157
 
-
 
8158
  def write(self, oprot):
-
 
8159
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
-
 
8160
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
-
 
8161
      return
-
 
8162
    oprot.writeStructBegin('getAffiliatesByMasterAffiliate_result')
-
 
8163
    if self.success != None:
-
 
8164
      oprot.writeFieldBegin('success', TType.LIST, 0)
-
 
8165
      oprot.writeListBegin(TType.STRUCT, len(self.success))
-
 
8166
      for iter69 in self.success:
-
 
8167
        iter69.write(oprot)
-
 
8168
      oprot.writeListEnd()
-
 
8169
      oprot.writeFieldEnd()
-
 
8170
    if self.utx != None:
-
 
8171
      oprot.writeFieldBegin('utx', TType.STRUCT, 1)
-
 
8172
      self.utx.write(oprot)
-
 
8173
      oprot.writeFieldEnd()
-
 
8174
    oprot.writeFieldStop()
-
 
8175
    oprot.writeStructEnd()
-
 
8176
 
-
 
8177
  def __repr__(self):
-
 
8178
    L = ['%s=%r' % (key, value)
-
 
8179
      for key, value in self.__dict__.iteritems()]
-
 
8180
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
-
 
8181
 
-
 
8182
  def __eq__(self, other):
-
 
8183
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
-
 
8184
 
-
 
8185
  def __ne__(self, other):
-
 
8186
    return not (self == other)
-
 
8187
 
-
 
8188
class createTracker_args:
-
 
8189
  """
-
 
8190
  Attributes:
-
 
8191
   - affiliateId
-
 
8192
   - addedOn
-
 
8193
  """
-
 
8194
 
-
 
8195
  thrift_spec = (
-
 
8196
    None, # 0
-
 
8197
    (1, TType.I64, 'affiliateId', None, None, ), # 1
-
 
8198
    (2, TType.I64, 'addedOn', None, None, ), # 2
-
 
8199
  )
-
 
8200
 
-
 
8201
  def __init__(self, affiliateId=None, addedOn=None,):
-
 
8202
    self.affiliateId = affiliateId
-
 
8203
    self.addedOn = addedOn
-
 
8204
 
-
 
8205
  def read(self, iprot):
-
 
8206
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
-
 
8207
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
-
 
8208
      return
-
 
8209
    iprot.readStructBegin()
-
 
8210
    while True:
-
 
8211
      (fname, ftype, fid) = iprot.readFieldBegin()
-
 
8212
      if ftype == TType.STOP:
-
 
8213
        break
-
 
8214
      if fid == 1:
-
 
8215
        if ftype == TType.I64:
-
 
8216
          self.affiliateId = iprot.readI64();
-
 
8217
        else:
-
 
8218
          iprot.skip(ftype)
-
 
8219
      elif fid == 2:
-
 
8220
        if ftype == TType.I64:
-
 
8221
          self.addedOn = iprot.readI64();
-
 
8222
        else:
-
 
8223
          iprot.skip(ftype)
-
 
8224
      else:
-
 
8225
        iprot.skip(ftype)
-
 
8226
      iprot.readFieldEnd()
-
 
8227
    iprot.readStructEnd()
-
 
8228
 
-
 
8229
  def write(self, oprot):
-
 
8230
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
-
 
8231
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
-
 
8232
      return
-
 
8233
    oprot.writeStructBegin('createTracker_args')
-
 
8234
    if self.affiliateId != None:
-
 
8235
      oprot.writeFieldBegin('affiliateId', TType.I64, 1)
-
 
8236
      oprot.writeI64(self.affiliateId)
-
 
8237
      oprot.writeFieldEnd()
-
 
8238
    if self.addedOn != None:
-
 
8239
      oprot.writeFieldBegin('addedOn', TType.I64, 2)
-
 
8240
      oprot.writeI64(self.addedOn)
-
 
8241
      oprot.writeFieldEnd()
-
 
8242
    oprot.writeFieldStop()
-
 
8243
    oprot.writeStructEnd()
-
 
8244
 
-
 
8245
  def __repr__(self):
-
 
8246
    L = ['%s=%r' % (key, value)
-
 
8247
      for key, value in self.__dict__.iteritems()]
-
 
8248
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
-
 
8249
 
-
 
8250
  def __eq__(self, other):
-
 
8251
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
-
 
8252
 
-
 
8253
  def __ne__(self, other):
-
 
8254
    return not (self == other)
-
 
8255
 
-
 
8256
class createTracker_result:
-
 
8257
  """
-
 
8258
  Attributes:
-
 
8259
   - success
-
 
8260
   - utx
-
 
8261
  """
-
 
8262
 
-
 
8263
  thrift_spec = (
-
 
8264
    (0, TType.STRUCT, 'success', (Tracker, Tracker.thrift_spec), None, ), # 0
-
 
8265
    (1, TType.STRUCT, 'utx', (UserTrackerException, UserTrackerException.thrift_spec), None, ), # 1
-
 
8266
  )
-
 
8267
 
-
 
8268
  def __init__(self, success=None, utx=None,):
-
 
8269
    self.success = success
-
 
8270
    self.utx = utx
-
 
8271
 
-
 
8272
  def read(self, iprot):
-
 
8273
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
-
 
8274
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
-
 
8275
      return
-
 
8276
    iprot.readStructBegin()
-
 
8277
    while True:
-
 
8278
      (fname, ftype, fid) = iprot.readFieldBegin()
-
 
8279
      if ftype == TType.STOP:
-
 
8280
        break
-
 
8281
      if fid == 0:
-
 
8282
        if ftype == TType.STRUCT:
-
 
8283
          self.success = Tracker()
-
 
8284
          self.success.read(iprot)
-
 
8285
        else:
-
 
8286
          iprot.skip(ftype)
-
 
8287
      elif fid == 1:
-
 
8288
        if ftype == TType.STRUCT:
-
 
8289
          self.utx = UserTrackerException()
-
 
8290
          self.utx.read(iprot)
-
 
8291
        else:
-
 
8292
          iprot.skip(ftype)
-
 
8293
      else:
-
 
8294
        iprot.skip(ftype)
-
 
8295
      iprot.readFieldEnd()
-
 
8296
    iprot.readStructEnd()
-
 
8297
 
-
 
8298
  def write(self, oprot):
-
 
8299
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
-
 
8300
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
-
 
8301
      return
-
 
8302
    oprot.writeStructBegin('createTracker_result')
-
 
8303
    if self.success != None:
-
 
8304
      oprot.writeFieldBegin('success', TType.STRUCT, 0)
-
 
8305
      self.success.write(oprot)
-
 
8306
      oprot.writeFieldEnd()
-
 
8307
    if self.utx != None:
-
 
8308
      oprot.writeFieldBegin('utx', TType.STRUCT, 1)
-
 
8309
      self.utx.write(oprot)
-
 
8310
      oprot.writeFieldEnd()
-
 
8311
    oprot.writeFieldStop()
-
 
8312
    oprot.writeStructEnd()
-
 
8313
 
-
 
8314
  def __repr__(self):
-
 
8315
    L = ['%s=%r' % (key, value)
-
 
8316
      for key, value in self.__dict__.iteritems()]
-
 
8317
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
-
 
8318
 
-
 
8319
  def __eq__(self, other):
-
 
8320
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
-
 
8321
 
-
 
8322
  def __ne__(self, other):
-
 
8323
    return not (self == other)
-
 
8324
 
-
 
8325
class getTrackerById_args:
-
 
8326
  """
-
 
8327
  Attributes:
-
 
8328
   - trackerId
-
 
8329
  """
-
 
8330
 
-
 
8331
  thrift_spec = (
-
 
8332
    None, # 0
-
 
8333
    (1, TType.I64, 'trackerId', None, None, ), # 1
-
 
8334
  )
-
 
8335
 
-
 
8336
  def __init__(self, trackerId=None,):
-
 
8337
    self.trackerId = trackerId
-
 
8338
 
-
 
8339
  def read(self, iprot):
-
 
8340
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
-
 
8341
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
-
 
8342
      return
-
 
8343
    iprot.readStructBegin()
-
 
8344
    while True:
-
 
8345
      (fname, ftype, fid) = iprot.readFieldBegin()
-
 
8346
      if ftype == TType.STOP:
-
 
8347
        break
-
 
8348
      if fid == 1:
-
 
8349
        if ftype == TType.I64:
-
 
8350
          self.trackerId = iprot.readI64();
-
 
8351
        else:
-
 
8352
          iprot.skip(ftype)
-
 
8353
      else:
-
 
8354
        iprot.skip(ftype)
-
 
8355
      iprot.readFieldEnd()
-
 
8356
    iprot.readStructEnd()
-
 
8357
 
-
 
8358
  def write(self, oprot):
-
 
8359
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
-
 
8360
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
-
 
8361
      return
-
 
8362
    oprot.writeStructBegin('getTrackerById_args')
-
 
8363
    if self.trackerId != None:
-
 
8364
      oprot.writeFieldBegin('trackerId', TType.I64, 1)
-
 
8365
      oprot.writeI64(self.trackerId)
-
 
8366
      oprot.writeFieldEnd()
-
 
8367
    oprot.writeFieldStop()
-
 
8368
    oprot.writeStructEnd()
-
 
8369
 
-
 
8370
  def __repr__(self):
-
 
8371
    L = ['%s=%r' % (key, value)
-
 
8372
      for key, value in self.__dict__.iteritems()]
-
 
8373
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
-
 
8374
 
-
 
8375
  def __eq__(self, other):
-
 
8376
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
-
 
8377
 
-
 
8378
  def __ne__(self, other):
-
 
8379
    return not (self == other)
-
 
8380
 
-
 
8381
class getTrackerById_result:
7997
class getTrackerById_result:
8382
  """
7998
  """
8383
  Attributes:
7999
  Attributes:
8384
   - success
8000
   - success
8385
   - utx
8001
   - utx
8386
  """
8002
  """
8387
 
8003
 
8388
  thrift_spec = (
8004
  thrift_spec = (
8389
    (0, TType.STRUCT, 'success', (Tracker, Tracker.thrift_spec), None, ), # 0
8005
    (0, TType.STRUCT, 'success', (Tracker, Tracker.thrift_spec), None, ), # 0
8390
    (1, TType.STRUCT, 'utx', (UserTrackerException, UserTrackerException.thrift_spec), None, ), # 1
8006
    (1, TType.STRUCT, 'utx', (UserAffiliateException, UserAffiliateException.thrift_spec), None, ), # 1
8391
  )
8007
  )
8392
 
8008
 
8393
  def __init__(self, success=None, utx=None,):
8009
  def __init__(self, success=None, utx=None,):
8394
    self.success = success
8010
    self.success = success
8395
    self.utx = utx
8011
    self.utx = utx
Line 8409... Line 8025...
8409
          self.success.read(iprot)
8025
          self.success.read(iprot)
8410
        else:
8026
        else:
8411
          iprot.skip(ftype)
8027
          iprot.skip(ftype)
8412
      elif fid == 1:
8028
      elif fid == 1:
8413
        if ftype == TType.STRUCT:
8029
        if ftype == TType.STRUCT:
8414
          self.utx = UserTrackerException()
8030
          self.utx = UserAffiliateException()
8415
          self.utx.read(iprot)
8031
          self.utx.read(iprot)
8416
        else:
8032
        else:
8417
          iprot.skip(ftype)
8033
          iprot.skip(ftype)
8418
      else:
8034
      else:
8419
        iprot.skip(ftype)
8035
        iprot.skip(ftype)
Line 8445... Line 8061...
8445
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
8061
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
8446
 
8062
 
8447
  def __ne__(self, other):
8063
  def __ne__(self, other):
8448
    return not (self == other)
8064
    return not (self == other)
8449
 
8065
 
8450
class getTrackersByAffiliate_args:
8066
class getAffiliatesByMasterAffiliate_args:
8451
  """
8067
  """
8452
  Attributes:
8068
  Attributes:
8453
   - affiliateId
8069
   - id
8454
  """
8070
  """
8455
 
8071
 
8456
  thrift_spec = (
8072
  thrift_spec = (
8457
    None, # 0
8073
    None, # 0
8458
    (1, TType.I64, 'affiliateId', None, None, ), # 1
8074
    (1, TType.I64, 'id', None, None, ), # 1
8459
  )
8075
  )
8460
 
8076
 
8461
  def __init__(self, affiliateId=None,):
8077
  def __init__(self, id=None,):
8462
    self.affiliateId = affiliateId
8078
    self.id = id
8463
 
8079
 
8464
  def read(self, iprot):
8080
  def read(self, iprot):
8465
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
8081
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
8466
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
8082
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
8467
      return
8083
      return
Line 8470... Line 8086...
8470
      (fname, ftype, fid) = iprot.readFieldBegin()
8086
      (fname, ftype, fid) = iprot.readFieldBegin()
8471
      if ftype == TType.STOP:
8087
      if ftype == TType.STOP:
8472
        break
8088
        break
8473
      if fid == 1:
8089
      if fid == 1:
8474
        if ftype == TType.I64:
8090
        if ftype == TType.I64:
8475
          self.affiliateId = iprot.readI64();
8091
          self.id = iprot.readI64();
8476
        else:
8092
        else:
8477
          iprot.skip(ftype)
8093
          iprot.skip(ftype)
8478
      else:
8094
      else:
8479
        iprot.skip(ftype)
8095
        iprot.skip(ftype)
8480
      iprot.readFieldEnd()
8096
      iprot.readFieldEnd()
Line 8482... Line 8098...
8482
 
8098
 
8483
  def write(self, oprot):
8099
  def write(self, oprot):
8484
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
8100
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
8485
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
8101
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
8486
      return
8102
      return
8487
    oprot.writeStructBegin('getTrackersByAffiliate_args')
8103
    oprot.writeStructBegin('getAffiliatesByMasterAffiliate_args')
8488
    if self.affiliateId != None:
8104
    if self.id != None:
8489
      oprot.writeFieldBegin('affiliateId', TType.I64, 1)
8105
      oprot.writeFieldBegin('id', TType.I64, 1)
8490
      oprot.writeI64(self.affiliateId)
8106
      oprot.writeI64(self.id)
8491
      oprot.writeFieldEnd()
8107
      oprot.writeFieldEnd()
8492
    oprot.writeFieldStop()
8108
    oprot.writeFieldStop()
8493
    oprot.writeStructEnd()
8109
    oprot.writeStructEnd()
8494
 
8110
 
8495
  def __repr__(self):
8111
  def __repr__(self):
Line 8501... Line 8117...
8501
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
8117
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
8502
 
8118
 
8503
  def __ne__(self, other):
8119
  def __ne__(self, other):
8504
    return not (self == other)
8120
    return not (self == other)
8505
 
8121
 
8506
class getTrackersByAffiliate_result:
8122
class getAffiliatesByMasterAffiliate_result:
8507
  """
8123
  """
8508
  Attributes:
8124
  Attributes:
8509
   - success
8125
   - success
8510
   - utx
8126
   - utx
8511
  """
8127
  """
8512
 
8128
 
8513
  thrift_spec = (
8129
  thrift_spec = (
8514
    (0, TType.LIST, 'success', (TType.STRUCT,(Tracker, Tracker.thrift_spec)), None, ), # 0
8130
    (0, TType.LIST, 'success', (TType.STRUCT,(Affiliate, Affiliate.thrift_spec)), None, ), # 0
8515
    (1, TType.STRUCT, 'utx', (UserTrackerException, UserTrackerException.thrift_spec), None, ), # 1
8131
    (1, TType.STRUCT, 'utx', (UserAffiliateException, UserAffiliateException.thrift_spec), None, ), # 1
8516
  )
8132
  )
8517
 
8133
 
8518
  def __init__(self, success=None, utx=None,):
8134
  def __init__(self, success=None, utx=None,):
8519
    self.success = success
8135
    self.success = success
8520
    self.utx = utx
8136
    self.utx = utx
Line 8529... Line 8145...
8529
      if ftype == TType.STOP:
8145
      if ftype == TType.STOP:
8530
        break
8146
        break
8531
      if fid == 0:
8147
      if fid == 0:
8532
        if ftype == TType.LIST:
8148
        if ftype == TType.LIST:
8533
          self.success = []
8149
          self.success = []
8534
          (_etype73, _size70) = iprot.readListBegin()
8150
          (_etype66, _size63) = iprot.readListBegin()
8535
          for _i74 in xrange(_size70):
8151
          for _i67 in xrange(_size63):
8536
            _elem75 = Tracker()
8152
            _elem68 = Affiliate()
8537
            _elem75.read(iprot)
8153
            _elem68.read(iprot)
8538
            self.success.append(_elem75)
8154
            self.success.append(_elem68)
8539
          iprot.readListEnd()
8155
          iprot.readListEnd()
8540
        else:
8156
        else:
8541
          iprot.skip(ftype)
8157
          iprot.skip(ftype)
8542
      elif fid == 1:
8158
      elif fid == 1:
8543
        if ftype == TType.STRUCT:
8159
        if ftype == TType.STRUCT:
8544
          self.utx = UserTrackerException()
8160
          self.utx = UserAffiliateException()
8545
          self.utx.read(iprot)
8161
          self.utx.read(iprot)
8546
        else:
8162
        else:
8547
          iprot.skip(ftype)
8163
          iprot.skip(ftype)
8548
      else:
8164
      else:
8549
        iprot.skip(ftype)
8165
        iprot.skip(ftype)
Line 8552... Line 8168...
8552
 
8168
 
8553
  def write(self, oprot):
8169
  def write(self, oprot):
8554
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
8170
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
8555
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
8171
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
8556
      return
8172
      return
8557
    oprot.writeStructBegin('getTrackersByAffiliate_result')
8173
    oprot.writeStructBegin('getAffiliatesByMasterAffiliate_result')
8558
    if self.success != None:
8174
    if self.success != None:
8559
      oprot.writeFieldBegin('success', TType.LIST, 0)
8175
      oprot.writeFieldBegin('success', TType.LIST, 0)
8560
      oprot.writeListBegin(TType.STRUCT, len(self.success))
8176
      oprot.writeListBegin(TType.STRUCT, len(self.success))
8561
      for iter76 in self.success:
8177
      for iter69 in self.success:
8562
        iter76.write(oprot)
8178
        iter69.write(oprot)
8563
      oprot.writeListEnd()
8179
      oprot.writeListEnd()
8564
      oprot.writeFieldEnd()
8180
      oprot.writeFieldEnd()
8565
    if self.utx != None:
8181
    if self.utx != None:
8566
      oprot.writeFieldBegin('utx', TType.STRUCT, 1)
8182
      oprot.writeFieldBegin('utx', TType.STRUCT, 1)
8567
      self.utx.write(oprot)
8183
      self.utx.write(oprot)
Line 8581... Line 8197...
8581
    return not (self == other)
8197
    return not (self == other)
8582
 
8198
 
8583
class addTrackLog_args:
8199
class addTrackLog_args:
8584
  """
8200
  """
8585
  Attributes:
8201
  Attributes:
8586
   - trackerId
8202
   - affiliateId
8587
   - userId
8203
   - userId
8588
   - event
8204
   - event
8589
   - url
8205
   - url
8590
   - data
8206
   - data
8591
   - addedOn
8207
   - addedOn
8592
  """
8208
  """
8593
 
8209
 
8594
  thrift_spec = (
8210
  thrift_spec = (
8595
    None, # 0
8211
    None, # 0
8596
    (1, TType.I64, 'trackerId', None, None, ), # 1
8212
    (1, TType.I64, 'affiliateId', None, None, ), # 1
8597
    (2, TType.I64, 'userId', None, None, ), # 2
8213
    (2, TType.I64, 'userId', None, None, ), # 2
8598
    (3, TType.STRING, 'event', None, None, ), # 3
8214
    (3, TType.STRING, 'event', None, None, ), # 3
8599
    (4, TType.STRING, 'url', None, None, ), # 4
8215
    (4, TType.STRING, 'url', None, None, ), # 4
8600
    (5, TType.STRING, 'data', None, None, ), # 5
8216
    (5, TType.STRING, 'data', None, None, ), # 5
8601
    (6, TType.I64, 'addedOn', None, None, ), # 6
8217
    (6, TType.I64, 'addedOn', None, None, ), # 6
8602
  )
8218
  )
8603
 
8219
 
8604
  def __init__(self, trackerId=None, userId=None, event=None, url=None, data=None, addedOn=None,):
8220
  def __init__(self, affiliateId=None, userId=None, event=None, url=None, data=None, addedOn=None,):
8605
    self.trackerId = trackerId
8221
    self.affiliateId = affiliateId
8606
    self.userId = userId
8222
    self.userId = userId
8607
    self.event = event
8223
    self.event = event
8608
    self.url = url
8224
    self.url = url
8609
    self.data = data
8225
    self.data = data
8610
    self.addedOn = addedOn
8226
    self.addedOn = addedOn
Line 8618... Line 8234...
8618
      (fname, ftype, fid) = iprot.readFieldBegin()
8234
      (fname, ftype, fid) = iprot.readFieldBegin()
8619
      if ftype == TType.STOP:
8235
      if ftype == TType.STOP:
8620
        break
8236
        break
8621
      if fid == 1:
8237
      if fid == 1:
8622
        if ftype == TType.I64:
8238
        if ftype == TType.I64:
8623
          self.trackerId = iprot.readI64();
8239
          self.affiliateId = iprot.readI64();
8624
        else:
8240
        else:
8625
          iprot.skip(ftype)
8241
          iprot.skip(ftype)
8626
      elif fid == 2:
8242
      elif fid == 2:
8627
        if ftype == TType.I64:
8243
        if ftype == TType.I64:
8628
          self.userId = iprot.readI64();
8244
          self.userId = iprot.readI64();
Line 8656... Line 8272...
8656
  def write(self, oprot):
8272
  def write(self, oprot):
8657
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
8273
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
8658
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
8274
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
8659
      return
8275
      return
8660
    oprot.writeStructBegin('addTrackLog_args')
8276
    oprot.writeStructBegin('addTrackLog_args')
8661
    if self.trackerId != None:
8277
    if self.affiliateId != None:
8662
      oprot.writeFieldBegin('trackerId', TType.I64, 1)
8278
      oprot.writeFieldBegin('affiliateId', TType.I64, 1)
8663
      oprot.writeI64(self.trackerId)
8279
      oprot.writeI64(self.affiliateId)
8664
      oprot.writeFieldEnd()
8280
      oprot.writeFieldEnd()
8665
    if self.userId != None:
8281
    if self.userId != None:
8666
      oprot.writeFieldBegin('userId', TType.I64, 2)
8282
      oprot.writeFieldBegin('userId', TType.I64, 2)
8667
      oprot.writeI64(self.userId)
8283
      oprot.writeI64(self.userId)
8668
      oprot.writeFieldEnd()
8284
      oprot.writeFieldEnd()
Line 8703... Line 8319...
8703
   - utx
8319
   - utx
8704
  """
8320
  """
8705
 
8321
 
8706
  thrift_spec = (
8322
  thrift_spec = (
8707
    (0, TType.I64, 'success', None, None, ), # 0
8323
    (0, TType.I64, 'success', None, None, ), # 0
8708
    (1, TType.STRUCT, 'utx', (UserTrackerException, UserTrackerException.thrift_spec), None, ), # 1
8324
    (1, TType.STRUCT, 'utx', (UserAffiliateException, UserAffiliateException.thrift_spec), None, ), # 1
8709
  )
8325
  )
8710
 
8326
 
8711
  def __init__(self, success=None, utx=None,):
8327
  def __init__(self, success=None, utx=None,):
8712
    self.success = success
8328
    self.success = success
8713
    self.utx = utx
8329
    self.utx = utx
Line 8726... Line 8342...
8726
          self.success = iprot.readI64();
8342
          self.success = iprot.readI64();
8727
        else:
8343
        else:
8728
          iprot.skip(ftype)
8344
          iprot.skip(ftype)
8729
      elif fid == 1:
8345
      elif fid == 1:
8730
        if ftype == TType.STRUCT:
8346
        if ftype == TType.STRUCT:
8731
          self.utx = UserTrackerException()
8347
          self.utx = UserAffiliateException()
8732
          self.utx.read(iprot)
8348
          self.utx.read(iprot)
8733
        else:
8349
        else:
8734
          iprot.skip(ftype)
8350
          iprot.skip(ftype)
8735
      else:
8351
      else:
8736
        iprot.skip(ftype)
8352
        iprot.skip(ftype)
Line 8827... Line 8443...
8827
   - utx
8443
   - utx
8828
  """
8444
  """
8829
 
8445
 
8830
  thrift_spec = (
8446
  thrift_spec = (
8831
    (0, TType.STRUCT, 'success', (TrackLog, TrackLog.thrift_spec), None, ), # 0
8447
    (0, TType.STRUCT, 'success', (TrackLog, TrackLog.thrift_spec), None, ), # 0
8832
    (1, TType.STRUCT, 'utx', (UserTrackerException, UserTrackerException.thrift_spec), None, ), # 1
8448
    (1, TType.STRUCT, 'utx', (UserAffiliateException, UserAffiliateException.thrift_spec), None, ), # 1
8833
  )
8449
  )
8834
 
8450
 
8835
  def __init__(self, success=None, utx=None,):
8451
  def __init__(self, success=None, utx=None,):
8836
    self.success = success
8452
    self.success = success
8837
    self.utx = utx
8453
    self.utx = utx
Line 8851... Line 8467...
8851
          self.success.read(iprot)
8467
          self.success.read(iprot)
8852
        else:
8468
        else:
8853
          iprot.skip(ftype)
8469
          iprot.skip(ftype)
8854
      elif fid == 1:
8470
      elif fid == 1:
8855
        if ftype == TType.STRUCT:
8471
        if ftype == TType.STRUCT:
8856
          self.utx = UserTrackerException()
8472
          self.utx = UserAffiliateException()
8857
          self.utx.read(iprot)
8473
          self.utx.read(iprot)
8858
        else:
8474
        else:
8859
          iprot.skip(ftype)
8475
          iprot.skip(ftype)
8860
      else:
8476
      else:
8861
        iprot.skip(ftype)
8477
        iprot.skip(ftype)
Line 8887... Line 8503...
8887
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
8503
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
8888
 
8504
 
8889
  def __ne__(self, other):
8505
  def __ne__(self, other):
8890
    return not (self == other)
8506
    return not (self == other)
8891
 
8507
 
8892
class getTrackLogsByTracker_args:
8508
class getTrackLogsByAffiliate_args:
8893
  """
8509
  """
8894
  Attributes:
8510
  Attributes:
8895
   - trackerId
8511
   - affiliateId
8896
  """
8512
  """
8897
 
8513
 
8898
  thrift_spec = (
8514
  thrift_spec = (
8899
    None, # 0
8515
    None, # 0
8900
    (1, TType.I64, 'trackerId', None, None, ), # 1
8516
    (1, TType.I64, 'affiliateId', None, None, ), # 1
8901
  )
8517
  )
8902
 
8518
 
8903
  def __init__(self, trackerId=None,):
8519
  def __init__(self, affiliateId=None,):
8904
    self.trackerId = trackerId
8520
    self.affiliateId = affiliateId
8905
 
8521
 
8906
  def read(self, iprot):
8522
  def read(self, iprot):
8907
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
8523
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
8908
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
8524
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
8909
      return
8525
      return
Line 8912... Line 8528...
8912
      (fname, ftype, fid) = iprot.readFieldBegin()
8528
      (fname, ftype, fid) = iprot.readFieldBegin()
8913
      if ftype == TType.STOP:
8529
      if ftype == TType.STOP:
8914
        break
8530
        break
8915
      if fid == 1:
8531
      if fid == 1:
8916
        if ftype == TType.I64:
8532
        if ftype == TType.I64:
8917
          self.trackerId = iprot.readI64();
8533
          self.affiliateId = iprot.readI64();
8918
        else:
8534
        else:
8919
          iprot.skip(ftype)
8535
          iprot.skip(ftype)
8920
      else:
8536
      else:
8921
        iprot.skip(ftype)
8537
        iprot.skip(ftype)
8922
      iprot.readFieldEnd()
8538
      iprot.readFieldEnd()
Line 8924... Line 8540...
8924
 
8540
 
8925
  def write(self, oprot):
8541
  def write(self, oprot):
8926
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
8542
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
8927
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
8543
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
8928
      return
8544
      return
8929
    oprot.writeStructBegin('getTrackLogsByTracker_args')
8545
    oprot.writeStructBegin('getTrackLogsByAffiliate_args')
8930
    if self.trackerId != None:
8546
    if self.affiliateId != None:
8931
      oprot.writeFieldBegin('trackerId', TType.I64, 1)
8547
      oprot.writeFieldBegin('affiliateId', TType.I64, 1)
8932
      oprot.writeI64(self.trackerId)
8548
      oprot.writeI64(self.affiliateId)
8933
      oprot.writeFieldEnd()
8549
      oprot.writeFieldEnd()
8934
    oprot.writeFieldStop()
8550
    oprot.writeFieldStop()
8935
    oprot.writeStructEnd()
8551
    oprot.writeStructEnd()
8936
 
8552
 
8937
  def __repr__(self):
8553
  def __repr__(self):
Line 8943... Line 8559...
8943
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
8559
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
8944
 
8560
 
8945
  def __ne__(self, other):
8561
  def __ne__(self, other):
8946
    return not (self == other)
8562
    return not (self == other)
8947
 
8563
 
8948
class getTrackLogsByTracker_result:
8564
class getTrackLogsByAffiliate_result:
8949
  """
8565
  """
8950
  Attributes:
8566
  Attributes:
8951
   - success
8567
   - success
8952
   - utx
8568
   - utx
8953
  """
8569
  """
8954
 
8570
 
8955
  thrift_spec = (
8571
  thrift_spec = (
8956
    (0, TType.LIST, 'success', (TType.STRUCT,(TrackLog, TrackLog.thrift_spec)), None, ), # 0
8572
    (0, TType.LIST, 'success', (TType.STRUCT,(TrackLog, TrackLog.thrift_spec)), None, ), # 0
8957
    (1, TType.STRUCT, 'utx', (UserTrackerException, UserTrackerException.thrift_spec), None, ), # 1
8573
    (1, TType.STRUCT, 'utx', (UserAffiliateException, UserAffiliateException.thrift_spec), None, ), # 1
8958
  )
8574
  )
8959
 
8575
 
8960
  def __init__(self, success=None, utx=None,):
8576
  def __init__(self, success=None, utx=None,):
8961
    self.success = success
8577
    self.success = success
8962
    self.utx = utx
8578
    self.utx = utx
Line 8971... Line 8587...
8971
      if ftype == TType.STOP:
8587
      if ftype == TType.STOP:
8972
        break
8588
        break
8973
      if fid == 0:
8589
      if fid == 0:
8974
        if ftype == TType.LIST:
8590
        if ftype == TType.LIST:
8975
          self.success = []
8591
          self.success = []
8976
          (_etype80, _size77) = iprot.readListBegin()
8592
          (_etype73, _size70) = iprot.readListBegin()
8977
          for _i81 in xrange(_size77):
8593
          for _i74 in xrange(_size70):
8978
            _elem82 = TrackLog()
8594
            _elem75 = TrackLog()
8979
            _elem82.read(iprot)
8595
            _elem75.read(iprot)
8980
            self.success.append(_elem82)
8596
            self.success.append(_elem75)
8981
          iprot.readListEnd()
8597
          iprot.readListEnd()
8982
        else:
8598
        else:
8983
          iprot.skip(ftype)
8599
          iprot.skip(ftype)
8984
      elif fid == 1:
8600
      elif fid == 1:
8985
        if ftype == TType.STRUCT:
8601
        if ftype == TType.STRUCT:
8986
          self.utx = UserTrackerException()
8602
          self.utx = UserAffiliateException()
8987
          self.utx.read(iprot)
8603
          self.utx.read(iprot)
8988
        else:
8604
        else:
8989
          iprot.skip(ftype)
8605
          iprot.skip(ftype)
8990
      else:
8606
      else:
8991
        iprot.skip(ftype)
8607
        iprot.skip(ftype)
Line 8994... Line 8610...
8994
 
8610
 
8995
  def write(self, oprot):
8611
  def write(self, oprot):
8996
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
8612
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
8997
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
8613
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
8998
      return
8614
      return
8999
    oprot.writeStructBegin('getTrackLogsByTracker_result')
8615
    oprot.writeStructBegin('getTrackLogsByAffiliate_result')
9000
    if self.success != None:
8616
    if self.success != None:
9001
      oprot.writeFieldBegin('success', TType.LIST, 0)
8617
      oprot.writeFieldBegin('success', TType.LIST, 0)
9002
      oprot.writeListBegin(TType.STRUCT, len(self.success))
8618
      oprot.writeListBegin(TType.STRUCT, len(self.success))
9003
      for iter83 in self.success:
8619
      for iter76 in self.success:
9004
        iter83.write(oprot)
8620
        iter76.write(oprot)
9005
      oprot.writeListEnd()
8621
      oprot.writeListEnd()
9006
      oprot.writeFieldEnd()
8622
      oprot.writeFieldEnd()
9007
    if self.utx != None:
8623
    if self.utx != None:
9008
      oprot.writeFieldBegin('utx', TType.STRUCT, 1)
8624
      oprot.writeFieldBegin('utx', TType.STRUCT, 1)
9009
      self.utx.write(oprot)
8625
      self.utx.write(oprot)
Line 9085... Line 8701...
9085
   - utx
8701
   - utx
9086
  """
8702
  """
9087
 
8703
 
9088
  thrift_spec = (
8704
  thrift_spec = (
9089
    (0, TType.LIST, 'success', (TType.STRUCT,(TrackLog, TrackLog.thrift_spec)), None, ), # 0
8705
    (0, TType.LIST, 'success', (TType.STRUCT,(TrackLog, TrackLog.thrift_spec)), None, ), # 0
9090
    (1, TType.STRUCT, 'utx', (UserTrackerException, UserTrackerException.thrift_spec), None, ), # 1
8706
    (1, TType.STRUCT, 'utx', (UserAffiliateException, UserAffiliateException.thrift_spec), None, ), # 1
9091
  )
8707
  )
9092
 
8708
 
9093
  def __init__(self, success=None, utx=None,):
8709
  def __init__(self, success=None, utx=None,):
9094
    self.success = success
8710
    self.success = success
9095
    self.utx = utx
8711
    self.utx = utx
Line 9104... Line 8720...
9104
      if ftype == TType.STOP:
8720
      if ftype == TType.STOP:
9105
        break
8721
        break
9106
      if fid == 0:
8722
      if fid == 0:
9107
        if ftype == TType.LIST:
8723
        if ftype == TType.LIST:
9108
          self.success = []
8724
          self.success = []
9109
          (_etype87, _size84) = iprot.readListBegin()
8725
          (_etype80, _size77) = iprot.readListBegin()
9110
          for _i88 in xrange(_size84):
8726
          for _i81 in xrange(_size77):
9111
            _elem89 = TrackLog()
8727
            _elem82 = TrackLog()
9112
            _elem89.read(iprot)
8728
            _elem82.read(iprot)
9113
            self.success.append(_elem89)
8729
            self.success.append(_elem82)
9114
          iprot.readListEnd()
8730
          iprot.readListEnd()
9115
        else:
8731
        else:
9116
          iprot.skip(ftype)
8732
          iprot.skip(ftype)
9117
      elif fid == 1:
8733
      elif fid == 1:
9118
        if ftype == TType.STRUCT:
8734
        if ftype == TType.STRUCT:
9119
          self.utx = UserTrackerException()
8735
          self.utx = UserAffiliateException()
9120
          self.utx.read(iprot)
8736
          self.utx.read(iprot)
9121
        else:
8737
        else:
9122
          iprot.skip(ftype)
8738
          iprot.skip(ftype)
9123
      else:
8739
      else:
9124
        iprot.skip(ftype)
8740
        iprot.skip(ftype)
Line 9131... Line 8747...
9131
      return
8747
      return
9132
    oprot.writeStructBegin('getTrackLogsByUser_result')
8748
    oprot.writeStructBegin('getTrackLogsByUser_result')
9133
    if self.success != None:
8749
    if self.success != None:
9134
      oprot.writeFieldBegin('success', TType.LIST, 0)
8750
      oprot.writeFieldBegin('success', TType.LIST, 0)
9135
      oprot.writeListBegin(TType.STRUCT, len(self.success))
8751
      oprot.writeListBegin(TType.STRUCT, len(self.success))
9136
      for iter90 in self.success:
8752
      for iter83 in self.success:
9137
        iter90.write(oprot)
8753
        iter83.write(oprot)
9138
      oprot.writeListEnd()
8754
      oprot.writeListEnd()
9139
      oprot.writeFieldEnd()
8755
      oprot.writeFieldEnd()
9140
    if self.utx != None:
8756
    if self.utx != None:
9141
      oprot.writeFieldBegin('utx', TType.STRUCT, 1)
8757
      oprot.writeFieldBegin('utx', TType.STRUCT, 1)
9142
      self.utx.write(oprot)
8758
      self.utx.write(oprot)
Line 9156... Line 8772...
9156
    return not (self == other)
8772
    return not (self == other)
9157
 
8773
 
9158
class getTrackLogs_args:
8774
class getTrackLogs_args:
9159
  """
8775
  """
9160
  Attributes:
8776
  Attributes:
9161
   - trackerId
-
 
9162
   - userId
8777
   - userId
9163
   - event
8778
   - event
9164
   - url
8779
   - url
9165
  """
8780
  """
9166
 
8781
 
9167
  thrift_spec = (
8782
  thrift_spec = (
9168
    None, # 0
8783
    None, # 0
9169
    (1, TType.I64, 'trackerId', None, None, ), # 1
-
 
9170
    (2, TType.I64, 'userId', None, None, ), # 2
8784
    (1, TType.I64, 'userId', None, None, ), # 1
9171
    (3, TType.STRING, 'event', None, None, ), # 3
8785
    (2, TType.STRING, 'event', None, None, ), # 2
9172
    (4, TType.STRING, 'url', None, None, ), # 4
8786
    (3, TType.STRING, 'url', None, None, ), # 3
9173
  )
8787
  )
9174
 
8788
 
9175
  def __init__(self, trackerId=None, userId=None, event=None, url=None,):
8789
  def __init__(self, userId=None, event=None, url=None,):
9176
    self.trackerId = trackerId
-
 
9177
    self.userId = userId
8790
    self.userId = userId
9178
    self.event = event
8791
    self.event = event
9179
    self.url = url
8792
    self.url = url
9180
 
8793
 
9181
  def read(self, iprot):
8794
  def read(self, iprot):
Line 9187... Line 8800...
9187
      (fname, ftype, fid) = iprot.readFieldBegin()
8800
      (fname, ftype, fid) = iprot.readFieldBegin()
9188
      if ftype == TType.STOP:
8801
      if ftype == TType.STOP:
9189
        break
8802
        break
9190
      if fid == 1:
8803
      if fid == 1:
9191
        if ftype == TType.I64:
8804
        if ftype == TType.I64:
9192
          self.trackerId = iprot.readI64();
-
 
9193
        else:
-
 
9194
          iprot.skip(ftype)
-
 
9195
      elif fid == 2:
-
 
9196
        if ftype == TType.I64:
-
 
9197
          self.userId = iprot.readI64();
8805
          self.userId = iprot.readI64();
9198
        else:
8806
        else:
9199
          iprot.skip(ftype)
8807
          iprot.skip(ftype)
9200
      elif fid == 3:
8808
      elif fid == 2:
9201
        if ftype == TType.STRING:
8809
        if ftype == TType.STRING:
9202
          self.event = iprot.readString();
8810
          self.event = iprot.readString();
9203
        else:
8811
        else:
9204
          iprot.skip(ftype)
8812
          iprot.skip(ftype)
9205
      elif fid == 4:
8813
      elif fid == 3:
9206
        if ftype == TType.STRING:
8814
        if ftype == TType.STRING:
9207
          self.url = iprot.readString();
8815
          self.url = iprot.readString();
9208
        else:
8816
        else:
9209
          iprot.skip(ftype)
8817
          iprot.skip(ftype)
9210
      else:
8818
      else:
Line 9215... Line 8823...
9215
  def write(self, oprot):
8823
  def write(self, oprot):
9216
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
8824
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
9217
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
8825
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
9218
      return
8826
      return
9219
    oprot.writeStructBegin('getTrackLogs_args')
8827
    oprot.writeStructBegin('getTrackLogs_args')
9220
    if self.trackerId != None:
-
 
9221
      oprot.writeFieldBegin('trackerId', TType.I64, 1)
-
 
9222
      oprot.writeI64(self.trackerId)
-
 
9223
      oprot.writeFieldEnd()
-
 
9224
    if self.userId != None:
8828
    if self.userId != None:
9225
      oprot.writeFieldBegin('userId', TType.I64, 2)
8829
      oprot.writeFieldBegin('userId', TType.I64, 1)
9226
      oprot.writeI64(self.userId)
8830
      oprot.writeI64(self.userId)
9227
      oprot.writeFieldEnd()
8831
      oprot.writeFieldEnd()
9228
    if self.event != None:
8832
    if self.event != None:
9229
      oprot.writeFieldBegin('event', TType.STRING, 3)
8833
      oprot.writeFieldBegin('event', TType.STRING, 2)
9230
      oprot.writeString(self.event)
8834
      oprot.writeString(self.event)
9231
      oprot.writeFieldEnd()
8835
      oprot.writeFieldEnd()
9232
    if self.url != None:
8836
    if self.url != None:
9233
      oprot.writeFieldBegin('url', TType.STRING, 4)
8837
      oprot.writeFieldBegin('url', TType.STRING, 3)
9234
      oprot.writeString(self.url)
8838
      oprot.writeString(self.url)
9235
      oprot.writeFieldEnd()
8839
      oprot.writeFieldEnd()
9236
    oprot.writeFieldStop()
8840
    oprot.writeFieldStop()
9237
    oprot.writeStructEnd()
8841
    oprot.writeStructEnd()
9238
 
8842
 
Line 9254... Line 8858...
9254
   - utx
8858
   - utx
9255
  """
8859
  """
9256
 
8860
 
9257
  thrift_spec = (
8861
  thrift_spec = (
9258
    (0, TType.LIST, 'success', (TType.STRUCT,(TrackLog, TrackLog.thrift_spec)), None, ), # 0
8862
    (0, TType.LIST, 'success', (TType.STRUCT,(TrackLog, TrackLog.thrift_spec)), None, ), # 0
9259
    (1, TType.STRUCT, 'utx', (UserTrackerException, UserTrackerException.thrift_spec), None, ), # 1
8863
    (1, TType.STRUCT, 'utx', (UserAffiliateException, UserAffiliateException.thrift_spec), None, ), # 1
9260
  )
8864
  )
9261
 
8865
 
9262
  def __init__(self, success=None, utx=None,):
8866
  def __init__(self, success=None, utx=None,):
9263
    self.success = success
8867
    self.success = success
9264
    self.utx = utx
8868
    self.utx = utx
Line 9273... Line 8877...
9273
      if ftype == TType.STOP:
8877
      if ftype == TType.STOP:
9274
        break
8878
        break
9275
      if fid == 0:
8879
      if fid == 0:
9276
        if ftype == TType.LIST:
8880
        if ftype == TType.LIST:
9277
          self.success = []
8881
          self.success = []
9278
          (_etype94, _size91) = iprot.readListBegin()
8882
          (_etype87, _size84) = iprot.readListBegin()
9279
          for _i95 in xrange(_size91):
8883
          for _i88 in xrange(_size84):
9280
            _elem96 = TrackLog()
8884
            _elem89 = TrackLog()
9281
            _elem96.read(iprot)
8885
            _elem89.read(iprot)
9282
            self.success.append(_elem96)
8886
            self.success.append(_elem89)
9283
          iprot.readListEnd()
8887
          iprot.readListEnd()
9284
        else:
8888
        else:
9285
          iprot.skip(ftype)
8889
          iprot.skip(ftype)
9286
      elif fid == 1:
8890
      elif fid == 1:
9287
        if ftype == TType.STRUCT:
8891
        if ftype == TType.STRUCT:
9288
          self.utx = UserTrackerException()
8892
          self.utx = UserAffiliateException()
9289
          self.utx.read(iprot)
8893
          self.utx.read(iprot)
9290
        else:
8894
        else:
9291
          iprot.skip(ftype)
8895
          iprot.skip(ftype)
9292
      else:
8896
      else:
9293
        iprot.skip(ftype)
8897
        iprot.skip(ftype)
Line 9300... Line 8904...
9300
      return
8904
      return
9301
    oprot.writeStructBegin('getTrackLogs_result')
8905
    oprot.writeStructBegin('getTrackLogs_result')
9302
    if self.success != None:
8906
    if self.success != None:
9303
      oprot.writeFieldBegin('success', TType.LIST, 0)
8907
      oprot.writeFieldBegin('success', TType.LIST, 0)
9304
      oprot.writeListBegin(TType.STRUCT, len(self.success))
8908
      oprot.writeListBegin(TType.STRUCT, len(self.success))
9305
      for iter97 in self.success:
8909
      for iter90 in self.success:
9306
        iter97.write(oprot)
8910
        iter90.write(oprot)
9307
      oprot.writeListEnd()
8911
      oprot.writeListEnd()
9308
      oprot.writeFieldEnd()
8912
      oprot.writeFieldEnd()
9309
    if self.utx != None:
8913
    if self.utx != None:
9310
      oprot.writeFieldBegin('utx', TType.STRUCT, 1)
8914
      oprot.writeFieldBegin('utx', TType.STRUCT, 1)
9311
      self.utx.write(oprot)
8915
      self.utx.write(oprot)
Line 9792... Line 9396...
9792
      if ftype == TType.STOP:
9396
      if ftype == TType.STOP:
9793
        break
9397
        break
9794
      if fid == 0:
9398
      if fid == 0:
9795
        if ftype == TType.LIST:
9399
        if ftype == TType.LIST:
9796
          self.success = []
9400
          self.success = []
9797
          (_etype101, _size98) = iprot.readListBegin()
9401
          (_etype94, _size91) = iprot.readListBegin()
9798
          for _i102 in xrange(_size98):
9402
          for _i95 in xrange(_size91):
9799
            _elem103 = Cart()
9403
            _elem96 = Cart()
9800
            _elem103.read(iprot)
9404
            _elem96.read(iprot)
9801
            self.success.append(_elem103)
9405
            self.success.append(_elem96)
9802
          iprot.readListEnd()
9406
          iprot.readListEnd()
9803
        else:
9407
        else:
9804
          iprot.skip(ftype)
9408
          iprot.skip(ftype)
9805
      elif fid == 1:
9409
      elif fid == 1:
9806
        if ftype == TType.STRUCT:
9410
        if ftype == TType.STRUCT:
Line 9819... Line 9423...
9819
      return
9423
      return
9820
    oprot.writeStructBegin('getCartsForUser_result')
9424
    oprot.writeStructBegin('getCartsForUser_result')
9821
    if self.success != None:
9425
    if self.success != None:
9822
      oprot.writeFieldBegin('success', TType.LIST, 0)
9426
      oprot.writeFieldBegin('success', TType.LIST, 0)
9823
      oprot.writeListBegin(TType.STRUCT, len(self.success))
9427
      oprot.writeListBegin(TType.STRUCT, len(self.success))
9824
      for iter104 in self.success:
9428
      for iter97 in self.success:
9825
        iter104.write(oprot)
9429
        iter97.write(oprot)
9826
      oprot.writeListEnd()
9430
      oprot.writeListEnd()
9827
      oprot.writeFieldEnd()
9431
      oprot.writeFieldEnd()
9828
    if self.scx != None:
9432
    if self.scx != None:
9829
      oprot.writeFieldBegin('scx', TType.STRUCT, 1)
9433
      oprot.writeFieldBegin('scx', TType.STRUCT, 1)
9830
      self.scx.write(oprot)
9434
      self.scx.write(oprot)
Line 9925... Line 9529...
9925
      if ftype == TType.STOP:
9529
      if ftype == TType.STOP:
9926
        break
9530
        break
9927
      if fid == 0:
9531
      if fid == 0:
9928
        if ftype == TType.LIST:
9532
        if ftype == TType.LIST:
9929
          self.success = []
9533
          self.success = []
9930
          (_etype108, _size105) = iprot.readListBegin()
9534
          (_etype101, _size98) = iprot.readListBegin()
9931
          for _i109 in xrange(_size105):
9535
          for _i102 in xrange(_size98):
9932
            _elem110 = Cart()
9536
            _elem103 = Cart()
9933
            _elem110.read(iprot)
9537
            _elem103.read(iprot)
9934
            self.success.append(_elem110)
9538
            self.success.append(_elem103)
9935
          iprot.readListEnd()
9539
          iprot.readListEnd()
9936
        else:
9540
        else:
9937
          iprot.skip(ftype)
9541
          iprot.skip(ftype)
9938
      elif fid == 1:
9542
      elif fid == 1:
9939
        if ftype == TType.STRUCT:
9543
        if ftype == TType.STRUCT:
Line 9952... Line 9556...
9952
      return
9556
      return
9953
    oprot.writeStructBegin('getCartsByStatus_result')
9557
    oprot.writeStructBegin('getCartsByStatus_result')
9954
    if self.success != None:
9558
    if self.success != None:
9955
      oprot.writeFieldBegin('success', TType.LIST, 0)
9559
      oprot.writeFieldBegin('success', TType.LIST, 0)
9956
      oprot.writeListBegin(TType.STRUCT, len(self.success))
9560
      oprot.writeListBegin(TType.STRUCT, len(self.success))
9957
      for iter111 in self.success:
9561
      for iter104 in self.success:
9958
        iter111.write(oprot)
9562
        iter104.write(oprot)
9959
      oprot.writeListEnd()
9563
      oprot.writeListEnd()
9960
      oprot.writeFieldEnd()
9564
      oprot.writeFieldEnd()
9961
    if self.scx != None:
9565
    if self.scx != None:
9962
      oprot.writeFieldBegin('scx', TType.STRUCT, 1)
9566
      oprot.writeFieldBegin('scx', TType.STRUCT, 1)
9963
      self.scx.write(oprot)
9567
      self.scx.write(oprot)
Line 10082... Line 9686...
10082
      if ftype == TType.STOP:
9686
      if ftype == TType.STOP:
10083
        break
9687
        break
10084
      if fid == 0:
9688
      if fid == 0:
10085
        if ftype == TType.LIST:
9689
        if ftype == TType.LIST:
10086
          self.success = []
9690
          self.success = []
10087
          (_etype115, _size112) = iprot.readListBegin()
9691
          (_etype108, _size105) = iprot.readListBegin()
10088
          for _i116 in xrange(_size112):
9692
          for _i109 in xrange(_size105):
10089
            _elem117 = Cart()
9693
            _elem110 = Cart()
10090
            _elem117.read(iprot)
9694
            _elem110.read(iprot)
10091
            self.success.append(_elem117)
9695
            self.success.append(_elem110)
10092
          iprot.readListEnd()
9696
          iprot.readListEnd()
10093
        else:
9697
        else:
10094
          iprot.skip(ftype)
9698
          iprot.skip(ftype)
10095
      elif fid == 1:
9699
      elif fid == 1:
10096
        if ftype == TType.STRUCT:
9700
        if ftype == TType.STRUCT:
Line 10109... Line 9713...
10109
      return
9713
      return
10110
    oprot.writeStructBegin('getCartsByTime_result')
9714
    oprot.writeStructBegin('getCartsByTime_result')
10111
    if self.success != None:
9715
    if self.success != None:
10112
      oprot.writeFieldBegin('success', TType.LIST, 0)
9716
      oprot.writeFieldBegin('success', TType.LIST, 0)
10113
      oprot.writeListBegin(TType.STRUCT, len(self.success))
9717
      oprot.writeListBegin(TType.STRUCT, len(self.success))
10114
      for iter118 in self.success:
9718
      for iter111 in self.success:
10115
        iter118.write(oprot)
9719
        iter111.write(oprot)
10116
      oprot.writeListEnd()
9720
      oprot.writeListEnd()
10117
      oprot.writeFieldEnd()
9721
      oprot.writeFieldEnd()
10118
    if self.scx != None:
9722
    if self.scx != None:
10119
      oprot.writeFieldBegin('scx', TType.STRUCT, 1)
9723
      oprot.writeFieldBegin('scx', TType.STRUCT, 1)
10120
      self.scx.write(oprot)
9724
      self.scx.write(oprot)
Line 11691... Line 11295...
11691
        else:
11295
        else:
11692
          iprot.skip(ftype)
11296
          iprot.skip(ftype)
11693
      elif fid == 2:
11297
      elif fid == 2:
11694
        if ftype == TType.MAP:
11298
        if ftype == TType.MAP:
11695
          self.items = {}
11299
          self.items = {}
11696
          (_ktype120, _vtype121, _size119 ) = iprot.readMapBegin() 
11300
          (_ktype113, _vtype114, _size112 ) = iprot.readMapBegin() 
11697
          for _i123 in xrange(_size119):
11301
          for _i116 in xrange(_size112):
11698
            _key124 = iprot.readI64();
11302
            _key117 = iprot.readI64();
11699
            _val125 = iprot.readDouble();
11303
            _val118 = iprot.readDouble();
11700
            self.items[_key124] = _val125
11304
            self.items[_key117] = _val118
11701
          iprot.readMapEnd()
11305
          iprot.readMapEnd()
11702
        else:
11306
        else:
11703
          iprot.skip(ftype)
11307
          iprot.skip(ftype)
11704
      else:
11308
      else:
11705
        iprot.skip(ftype)
11309
        iprot.skip(ftype)
Line 11716... Line 11320...
11716
      oprot.writeI64(self.cartId)
11320
      oprot.writeI64(self.cartId)
11717
      oprot.writeFieldEnd()
11321
      oprot.writeFieldEnd()
11718
    if self.items != None:
11322
    if self.items != None:
11719
      oprot.writeFieldBegin('items', TType.MAP, 2)
11323
      oprot.writeFieldBegin('items', TType.MAP, 2)
11720
      oprot.writeMapBegin(TType.I64, TType.DOUBLE, len(self.items))
11324
      oprot.writeMapBegin(TType.I64, TType.DOUBLE, len(self.items))
11721
      for kiter126,viter127 in self.items.items():
11325
      for kiter119,viter120 in self.items.items():
11722
        oprot.writeI64(kiter126)
11326
        oprot.writeI64(kiter119)
11723
        oprot.writeDouble(viter127)
11327
        oprot.writeDouble(viter120)
11724
      oprot.writeMapEnd()
11328
      oprot.writeMapEnd()
11725
      oprot.writeFieldEnd()
11329
      oprot.writeFieldEnd()
11726
    oprot.writeFieldStop()
11330
    oprot.writeFieldStop()
11727
    oprot.writeStructEnd()
11331
    oprot.writeStructEnd()
11728
 
11332
 
Line 12742... Line 12346...
12742
      if ftype == TType.STOP:
12346
      if ftype == TType.STOP:
12743
        break
12347
        break
12744
      if fid == 0:
12348
      if fid == 0:
12745
        if ftype == TType.LIST:
12349
        if ftype == TType.LIST:
12746
          self.success = []
12350
          self.success = []
12747
          (_etype131, _size128) = iprot.readListBegin()
12351
          (_etype124, _size121) = iprot.readListBegin()
12748
          for _i132 in xrange(_size128):
12352
          for _i125 in xrange(_size121):
12749
            _elem133 = User()
12353
            _elem126 = User()
12750
            _elem133.read(iprot)
12354
            _elem126.read(iprot)
12751
            self.success.append(_elem133)
12355
            self.success.append(_elem126)
12752
          iprot.readListEnd()
12356
          iprot.readListEnd()
12753
        else:
12357
        else:
12754
          iprot.skip(ftype)
12358
          iprot.skip(ftype)
12755
      else:
12359
      else:
12756
        iprot.skip(ftype)
12360
        iprot.skip(ftype)
Line 12763... Line 12367...
12763
      return
12367
      return
12764
    oprot.writeStructBegin('getAllUsers_result')
12368
    oprot.writeStructBegin('getAllUsers_result')
12765
    if self.success != None:
12369
    if self.success != None:
12766
      oprot.writeFieldBegin('success', TType.LIST, 0)
12370
      oprot.writeFieldBegin('success', TType.LIST, 0)
12767
      oprot.writeListBegin(TType.STRUCT, len(self.success))
12371
      oprot.writeListBegin(TType.STRUCT, len(self.success))
12768
      for iter134 in self.success:
12372
      for iter127 in self.success:
12769
        iter134.write(oprot)
12373
        iter127.write(oprot)
12770
      oprot.writeListEnd()
12374
      oprot.writeListEnd()
12771
      oprot.writeFieldEnd()
12375
      oprot.writeFieldEnd()
12772
    oprot.writeFieldStop()
12376
    oprot.writeFieldStop()
12773
    oprot.writeStructEnd()
12377
    oprot.writeStructEnd()
12774
 
12378