Subversion Repositories SmartDukaan

Rev

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

Rev 3385 Rev 3431
Line 1... Line 1...
1
#
1
#
2
# Autogenerated by Thrift
2
# Autogenerated by Thrift Compiler (0.7.0)
3
#
3
#
4
# DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
4
# DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
5
#
5
#
6
 
6
 
7
from thrift.Thrift import *
7
from thrift.Thrift import *
8
import shop2020.thriftpy.generic.GenericService
8
import shop2020.thriftpy.generic.GenericService
9
from ttypes import *
9
from ttypes import *
10
from thrift.Thrift import TProcessor
10
from thrift.Thrift import TProcessor
11
from thrift.transport import TTransport
11
from thrift.transport import TTransport
12
from thrift.protocol import TBinaryProtocol
12
from thrift.protocol import TBinaryProtocol, TProtocol
13
try:
13
try:
14
  from thrift.protocol import fastbinary
14
  from thrift.protocol import fastbinary
15
except:
15
except:
16
  fastbinary = None
16
  fastbinary = None
17
 
17
 
Line 429... Line 429...
429
    pass
429
    pass
430
 
430
 
431
  def createOrders(self, cartId, sessionSource, sessionStartTime):
431
  def createOrders(self, cartId, sessionSource, sessionStartTime):
432
    """
432
    """
433
    Creates a transaction and multiple orders for the given cart. Returns the transaction ID created.
433
    Creates a transaction and multiple orders for the given cart. Returns the transaction ID created.
434
    
434
 
435
    Parameters:
435
    Parameters:
436
     - cartId
436
     - cartId
437
     - sessionSource
437
     - sessionSource
438
     - sessionStartTime
438
     - sessionStartTime
439
    """
439
    """
Line 444... Line 444...
444
    Validates that:
444
    Validates that:
445
    1. The checkout timestamp is greater than the updatedOn timestamp.
445
    1. The checkout timestamp is greater than the updatedOn timestamp.
446
    2. All of the lines in the cart are active items.
446
    2. All of the lines in the cart are active items.
447
    3. The estimate for any of the lines in cart doesn't change.
447
    3. The estimate for any of the lines in cart doesn't change.
448
    If all three are true, returns empty string; else returns appropriate message.
448
    If all three are true, returns empty string; else returns appropriate message.
449
    
449
 
450
    Parameters:
450
    Parameters:
451
     - cartId
451
     - cartId
452
    """
452
    """
453
    pass
453
    pass
454
 
454
 
455
  def mergeCart(self, fromCartId, toCartId):
455
  def mergeCart(self, fromCartId, toCartId):
456
    """
456
    """
457
    Merges the lines from the first cart into the second cart. Lines with duplicate items are removed.
457
    Merges the lines from the first cart into the second cart. Lines with duplicate items are removed.
458
    
458
 
459
    Parameters:
459
    Parameters:
460
     - fromCartId
460
     - fromCartId
461
     - toCartId
461
     - toCartId
462
    """
462
    """
463
    pass
463
    pass
464
 
464
 
465
  def checkOut(self, cartId):
465
  def checkOut(self, cartId):
466
    """
466
    """
467
    Sets the checkedOutOn timestamp of the cart. Raises an exception if the specified cart can't be found.
467
    Sets the checkedOutOn timestamp of the cart. Raises an exception if the specified cart can't be found.
468
    
468
 
469
    Parameters:
469
    Parameters:
470
     - cartId
470
     - cartId
471
    """
471
    """
472
    pass
472
    pass
473
 
473
 
474
  def resetCart(self, cartId, items):
474
  def resetCart(self, cartId, items):
475
    """
475
    """
476
    The second parameter is a map of item ids and their quantities which have been successfully processed.
476
    The second parameter is a map of item ids and their quantities which have been successfully processed.
477
    This methods removes the specified quantiry of the specified item from the cart.
477
    This methods removes the specified quantiry of the specified item from the cart.
478
    
478
 
479
    Parameters:
479
    Parameters:
480
     - cartId
480
     - cartId
481
     - items
481
     - items
482
    """
482
    """
483
    pass
483
    pass
Line 486... Line 486...
486
    """
486
    """
487
    Returns number of registered users.
487
    Returns number of registered users.
488
    If userType = null, then it returns count of all users, including anonymous
488
    If userType = null, then it returns count of all users, including anonymous
489
    If userType = UserType.ANONYMOUS, then it returns count of anonymous users only
489
    If userType = UserType.ANONYMOUS, then it returns count of anonymous users only
490
    If userType = UserType.USER, then it returns count of non-anonymous users only
490
    If userType = UserType.USER, then it returns count of non-anonymous users only
491
    
491
 
492
    Parameters:
492
    Parameters:
493
     - userType
493
     - userType
494
    """
494
    """
495
    pass
495
    pass
496
 
496
 
497
  def getAllUsers(self, userType, startDate, endDate):
497
  def getAllUsers(self, userType, startDate, endDate):
498
    """
498
    """
499
    Returns list of users of type userType who registered between startDate and endDate (both inclusive).
499
    Returns list of users of type userType who registered between startDate and endDate (both inclusive).
500
    If any of startDate or endDate is -1, then that filter is ignored.
500
    If any of startDate or endDate is -1, then that filter is ignored.
501
    If userType is null, then returns all the users, irrespective of anonymous flag
501
    If userType is null, then returns all the users, irrespective of anonymous flag
502
    
502
 
503
    
503
 
504
    Parameters:
504
    Parameters:
505
     - userType
505
     - userType
506
     - startDate
506
     - startDate
507
     - endDate
507
     - endDate
508
    """
508
    """
Line 527... Line 527...
527
    pass
527
    pass
528
 
528
 
529
  def getMyResearchItems(self, userId):
529
  def getMyResearchItems(self, userId):
530
    """
530
    """
531
    Returns list of item ids in myresearch for the user
531
    Returns list of item ids in myresearch for the user
532
    
532
 
533
    Parameters:
533
    Parameters:
534
     - userId
534
     - userId
535
    """
535
    """
536
    pass
536
    pass
537
 
537
 
538
  def updateMyResearch(self, userId, itemId):
538
  def updateMyResearch(self, userId, itemId):
539
    """
539
    """
540
    add item to my research for a user
540
    add item to my research for a user
541
    
541
 
542
    Parameters:
542
    Parameters:
543
     - userId
543
     - userId
544
     - itemId
544
     - itemId
545
    """
545
    """
546
    pass
546
    pass
547
 
547
 
548
  def deleteItemFromMyResearch(self, userId, itemId):
548
  def deleteItemFromMyResearch(self, userId, itemId):
549
    """
549
    """
550
    delete item from my research for a user
550
    delete item from my research for a user
551
    
551
 
552
    Parameters:
552
    Parameters:
553
     - userId
553
     - userId
554
     - itemId
554
     - itemId
555
    """
555
    """
556
    pass
556
    pass
557
 
557
 
558
  def getBrowseHistoryItems(self, userId):
558
  def getBrowseHistoryItems(self, userId):
559
    """
559
    """
560
    Returns list of item ids in browse history for the user. It will return maximum 10 items.
560
    Returns list of item ids in browse history for the user. It will return maximum 10 items.
561
    
561
 
562
    Parameters:
562
    Parameters:
563
     - userId
563
     - userId
564
    """
564
    """
565
    pass
565
    pass
566
 
566
 
567
  def updateBrowseHistory(self, userId, itemId):
567
  def updateBrowseHistory(self, userId, itemId):
568
    """
568
    """
569
    add item to browse history for a user
569
    add item to browse history for a user
570
    
570
 
571
    Parameters:
571
    Parameters:
572
     - userId
572
     - userId
573
     - itemId
573
     - itemId
574
    """
574
    """
575
    pass
575
    pass
576
 
576
 
577
  def getCartsWithCouponCount(self, couponCode):
577
  def getCartsWithCouponCount(self, couponCode):
578
    """
578
    """
579
    Returns count of Carts with given coupon applied
579
    Returns count of Carts with given coupon applied
580
    
580
 
581
    Parameters:
581
    Parameters:
582
     - couponCode
582
     - couponCode
583
    """
583
    """
584
    pass
584
    pass
585
 
585
 
Line 615... Line 615...
615
      self._iprot.readMessageEnd()
615
      self._iprot.readMessageEnd()
616
      raise x
616
      raise x
617
    result = createAnonymousUser_result()
617
    result = createAnonymousUser_result()
618
    result.read(self._iprot)
618
    result.read(self._iprot)
619
    self._iprot.readMessageEnd()
619
    self._iprot.readMessageEnd()
620
    if result.success != None:
620
    if result.success is not None:
621
      return result.success
621
      return result.success
622
    if result.ucex != None:
622
    if result.ucex is not None:
623
      raise result.ucex
623
      raise result.ucex
624
    raise TApplicationException(TApplicationException.MISSING_RESULT, "createAnonymousUser failed: unknown result");
624
    raise TApplicationException(TApplicationException.MISSING_RESULT, "createAnonymousUser failed: unknown result");
625
 
625
 
626
  def getUserById(self, userId):
626
  def getUserById(self, userId):
627
    """
627
    """
Line 647... Line 647...
647
      self._iprot.readMessageEnd()
647
      self._iprot.readMessageEnd()
648
      raise x
648
      raise x
649
    result = getUserById_result()
649
    result = getUserById_result()
650
    result.read(self._iprot)
650
    result.read(self._iprot)
651
    self._iprot.readMessageEnd()
651
    self._iprot.readMessageEnd()
652
    if result.success != None:
652
    if result.success is not None:
653
      return result.success
653
      return result.success
654
    if result.ucex != None:
654
    if result.ucex is not None:
655
      raise result.ucex
655
      raise result.ucex
656
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getUserById failed: unknown result");
656
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getUserById failed: unknown result");
657
 
657
 
658
  def getUserByEmail(self, email):
658
  def getUserByEmail(self, email):
659
    """
659
    """
Line 679... Line 679...
679
      self._iprot.readMessageEnd()
679
      self._iprot.readMessageEnd()
680
      raise x
680
      raise x
681
    result = getUserByEmail_result()
681
    result = getUserByEmail_result()
682
    result.read(self._iprot)
682
    result.read(self._iprot)
683
    self._iprot.readMessageEnd()
683
    self._iprot.readMessageEnd()
684
    if result.success != None:
684
    if result.success is not None:
685
      return result.success
685
      return result.success
686
    if result.ucex != None:
686
    if result.ucex is not None:
687
      raise result.ucex
687
      raise result.ucex
688
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getUserByEmail failed: unknown result");
688
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getUserByEmail failed: unknown result");
689
 
689
 
690
  def getUserByMobileNumber(self, mobileNumber):
690
  def getUserByMobileNumber(self, mobileNumber):
691
    """
691
    """
Line 711... Line 711...
711
      self._iprot.readMessageEnd()
711
      self._iprot.readMessageEnd()
712
      raise x
712
      raise x
713
    result = getUserByMobileNumber_result()
713
    result = getUserByMobileNumber_result()
714
    result.read(self._iprot)
714
    result.read(self._iprot)
715
    self._iprot.readMessageEnd()
715
    self._iprot.readMessageEnd()
716
    if result.success != None:
716
    if result.success is not None:
717
      return result.success
717
      return result.success
718
    if result.ucex != None:
718
    if result.ucex is not None:
719
      raise result.ucex
719
      raise result.ucex
720
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getUserByMobileNumber failed: unknown result");
720
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getUserByMobileNumber failed: unknown result");
721
 
721
 
722
  def createUser(self, user):
722
  def createUser(self, user):
723
    """
723
    """
Line 743... Line 743...
743
      self._iprot.readMessageEnd()
743
      self._iprot.readMessageEnd()
744
      raise x
744
      raise x
745
    result = createUser_result()
745
    result = createUser_result()
746
    result.read(self._iprot)
746
    result.read(self._iprot)
747
    self._iprot.readMessageEnd()
747
    self._iprot.readMessageEnd()
748
    if result.success != None:
748
    if result.success is not None:
749
      return result.success
749
      return result.success
750
    if result.ucex != None:
750
    if result.ucex is not None:
751
      raise result.ucex
751
      raise result.ucex
752
    raise TApplicationException(TApplicationException.MISSING_RESULT, "createUser failed: unknown result");
752
    raise TApplicationException(TApplicationException.MISSING_RESULT, "createUser failed: unknown result");
753
 
753
 
754
  def updateUser(self, user):
754
  def updateUser(self, user):
755
    """
755
    """
Line 775... Line 775...
775
      self._iprot.readMessageEnd()
775
      self._iprot.readMessageEnd()
776
      raise x
776
      raise x
777
    result = updateUser_result()
777
    result = updateUser_result()
778
    result.read(self._iprot)
778
    result.read(self._iprot)
779
    self._iprot.readMessageEnd()
779
    self._iprot.readMessageEnd()
780
    if result.success != None:
780
    if result.success is not None:
781
      return result.success
781
      return result.success
782
    if result.ucex != None:
782
    if result.ucex is not None:
783
      raise result.ucex
783
      raise result.ucex
784
    raise TApplicationException(TApplicationException.MISSING_RESULT, "updateUser failed: unknown result");
784
    raise TApplicationException(TApplicationException.MISSING_RESULT, "updateUser failed: unknown result");
785
 
785
 
786
  def deleteUser(self, userId):
786
  def deleteUser(self, userId):
787
    """
787
    """
Line 807... Line 807...
807
      self._iprot.readMessageEnd()
807
      self._iprot.readMessageEnd()
808
      raise x
808
      raise x
809
    result = deleteUser_result()
809
    result = deleteUser_result()
810
    result.read(self._iprot)
810
    result.read(self._iprot)
811
    self._iprot.readMessageEnd()
811
    self._iprot.readMessageEnd()
812
    if result.success != None:
812
    if result.success is not None:
813
      return result.success
813
      return result.success
814
    if result.ucex != None:
814
    if result.ucex is not None:
815
      raise result.ucex
815
      raise result.ucex
816
    raise TApplicationException(TApplicationException.MISSING_RESULT, "deleteUser failed: unknown result");
816
    raise TApplicationException(TApplicationException.MISSING_RESULT, "deleteUser failed: unknown result");
817
 
817
 
818
  def getUserState(self, userId):
818
  def getUserState(self, userId):
819
    """
819
    """
Line 839... Line 839...
839
      self._iprot.readMessageEnd()
839
      self._iprot.readMessageEnd()
840
      raise x
840
      raise x
841
    result = getUserState_result()
841
    result = getUserState_result()
842
    result.read(self._iprot)
842
    result.read(self._iprot)
843
    self._iprot.readMessageEnd()
843
    self._iprot.readMessageEnd()
844
    if result.success != None:
844
    if result.success is not None:
845
      return result.success
845
      return result.success
846
    if result.ucex != None:
846
    if result.ucex is not None:
847
      raise result.ucex
847
      raise result.ucex
848
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getUserState failed: unknown result");
848
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getUserState failed: unknown result");
849
 
849
 
850
  def authenticateUser(self, email, password):
850
  def authenticateUser(self, email, password):
851
    """
851
    """
Line 873... Line 873...
873
      self._iprot.readMessageEnd()
873
      self._iprot.readMessageEnd()
874
      raise x
874
      raise x
875
    result = authenticateUser_result()
875
    result = authenticateUser_result()
876
    result.read(self._iprot)
876
    result.read(self._iprot)
877
    self._iprot.readMessageEnd()
877
    self._iprot.readMessageEnd()
878
    if result.success != None:
878
    if result.success is not None:
879
      return result.success
879
      return result.success
880
    if result.auex != None:
880
    if result.auex is not None:
881
      raise result.auex
881
      raise result.auex
882
    raise TApplicationException(TApplicationException.MISSING_RESULT, "authenticateUser failed: unknown result");
882
    raise TApplicationException(TApplicationException.MISSING_RESULT, "authenticateUser failed: unknown result");
883
 
883
 
884
  def userExists(self, email):
884
  def userExists(self, email):
885
    """
885
    """
Line 905... Line 905...
905
      self._iprot.readMessageEnd()
905
      self._iprot.readMessageEnd()
906
      raise x
906
      raise x
907
    result = userExists_result()
907
    result = userExists_result()
908
    result.read(self._iprot)
908
    result.read(self._iprot)
909
    self._iprot.readMessageEnd()
909
    self._iprot.readMessageEnd()
910
    if result.success != None:
910
    if result.success is not None:
911
      return result.success
911
      return result.success
912
    if result.ucx != None:
912
    if result.ucx is not None:
913
      raise result.ucx
913
      raise result.ucx
914
    raise TApplicationException(TApplicationException.MISSING_RESULT, "userExists failed: unknown result");
914
    raise TApplicationException(TApplicationException.MISSING_RESULT, "userExists failed: unknown result");
915
 
915
 
916
  def addAddressForUser(self, userId, address, setDefault):
916
  def addAddressForUser(self, userId, address, setDefault):
917
    """
917
    """
Line 941... Line 941...
941
      self._iprot.readMessageEnd()
941
      self._iprot.readMessageEnd()
942
      raise x
942
      raise x
943
    result = addAddressForUser_result()
943
    result = addAddressForUser_result()
944
    result.read(self._iprot)
944
    result.read(self._iprot)
945
    self._iprot.readMessageEnd()
945
    self._iprot.readMessageEnd()
946
    if result.success != None:
946
    if result.success is not None:
947
      return result.success
947
      return result.success
948
    if result.ucx != None:
948
    if result.ucx is not None:
949
      raise result.ucx
949
      raise result.ucx
950
    raise TApplicationException(TApplicationException.MISSING_RESULT, "addAddressForUser failed: unknown result");
950
    raise TApplicationException(TApplicationException.MISSING_RESULT, "addAddressForUser failed: unknown result");
951
 
951
 
952
  def removeAddressForUser(self, userid, addressId):
952
  def removeAddressForUser(self, userid, addressId):
953
    """
953
    """
Line 975... Line 975...
975
      self._iprot.readMessageEnd()
975
      self._iprot.readMessageEnd()
976
      raise x
976
      raise x
977
    result = removeAddressForUser_result()
977
    result = removeAddressForUser_result()
978
    result.read(self._iprot)
978
    result.read(self._iprot)
979
    self._iprot.readMessageEnd()
979
    self._iprot.readMessageEnd()
980
    if result.success != None:
980
    if result.success is not None:
981
      return result.success
981
      return result.success
982
    if result.ucx != None:
982
    if result.ucx is not None:
983
      raise result.ucx
983
      raise result.ucx
984
    raise TApplicationException(TApplicationException.MISSING_RESULT, "removeAddressForUser failed: unknown result");
984
    raise TApplicationException(TApplicationException.MISSING_RESULT, "removeAddressForUser failed: unknown result");
985
 
985
 
986
  def setUserAsLoggedIn(self, userId, timestamp):
986
  def setUserAsLoggedIn(self, userId, timestamp):
987
    """
987
    """
Line 1009... Line 1009...
1009
      self._iprot.readMessageEnd()
1009
      self._iprot.readMessageEnd()
1010
      raise x
1010
      raise x
1011
    result = setUserAsLoggedIn_result()
1011
    result = setUserAsLoggedIn_result()
1012
    result.read(self._iprot)
1012
    result.read(self._iprot)
1013
    self._iprot.readMessageEnd()
1013
    self._iprot.readMessageEnd()
1014
    if result.success != None:
1014
    if result.success is not None:
1015
      return result.success
1015
      return result.success
1016
    if result.ucx != None:
1016
    if result.ucx is not None:
1017
      raise result.ucx
1017
      raise result.ucx
1018
    raise TApplicationException(TApplicationException.MISSING_RESULT, "setUserAsLoggedIn failed: unknown result");
1018
    raise TApplicationException(TApplicationException.MISSING_RESULT, "setUserAsLoggedIn failed: unknown result");
1019
 
1019
 
1020
  def setUserAsLoggedOut(self, userid, timestamp):
1020
  def setUserAsLoggedOut(self, userid, timestamp):
1021
    """
1021
    """
Line 1043... Line 1043...
1043
      self._iprot.readMessageEnd()
1043
      self._iprot.readMessageEnd()
1044
      raise x
1044
      raise x
1045
    result = setUserAsLoggedOut_result()
1045
    result = setUserAsLoggedOut_result()
1046
    result.read(self._iprot)
1046
    result.read(self._iprot)
1047
    self._iprot.readMessageEnd()
1047
    self._iprot.readMessageEnd()
1048
    if result.success != None:
1048
    if result.success is not None:
1049
      return result.success
1049
      return result.success
1050
    if result.ucx != None:
1050
    if result.ucx is not None:
1051
      raise result.ucx
1051
      raise result.ucx
1052
    raise TApplicationException(TApplicationException.MISSING_RESULT, "setUserAsLoggedOut failed: unknown result");
1052
    raise TApplicationException(TApplicationException.MISSING_RESULT, "setUserAsLoggedOut failed: unknown result");
1053
 
1053
 
1054
  def setDefaultAddress(self, userid, addressId):
1054
  def setDefaultAddress(self, userid, addressId):
1055
    """
1055
    """
Line 1077... Line 1077...
1077
      self._iprot.readMessageEnd()
1077
      self._iprot.readMessageEnd()
1078
      raise x
1078
      raise x
1079
    result = setDefaultAddress_result()
1079
    result = setDefaultAddress_result()
1080
    result.read(self._iprot)
1080
    result.read(self._iprot)
1081
    self._iprot.readMessageEnd()
1081
    self._iprot.readMessageEnd()
1082
    if result.success != None:
1082
    if result.success is not None:
1083
      return result.success
1083
      return result.success
1084
    if result.ucx != None:
1084
    if result.ucx is not None:
1085
      raise result.ucx
1085
      raise result.ucx
1086
    raise TApplicationException(TApplicationException.MISSING_RESULT, "setDefaultAddress failed: unknown result");
1086
    raise TApplicationException(TApplicationException.MISSING_RESULT, "setDefaultAddress failed: unknown result");
1087
 
1087
 
1088
  def updatePassword(self, userid, oldPassword, newPassword):
1088
  def updatePassword(self, userid, oldPassword, newPassword):
1089
    """
1089
    """
Line 1113... Line 1113...
1113
      self._iprot.readMessageEnd()
1113
      self._iprot.readMessageEnd()
1114
      raise x
1114
      raise x
1115
    result = updatePassword_result()
1115
    result = updatePassword_result()
1116
    result.read(self._iprot)
1116
    result.read(self._iprot)
1117
    self._iprot.readMessageEnd()
1117
    self._iprot.readMessageEnd()
1118
    if result.success != None:
1118
    if result.success is not None:
1119
      return result.success
1119
      return result.success
1120
    if result.ucx != None:
1120
    if result.ucx is not None:
1121
      raise result.ucx
1121
      raise result.ucx
1122
    raise TApplicationException(TApplicationException.MISSING_RESULT, "updatePassword failed: unknown result");
1122
    raise TApplicationException(TApplicationException.MISSING_RESULT, "updatePassword failed: unknown result");
1123
 
1123
 
1124
  def forgotPassword(self, email, newPassword):
1124
  def forgotPassword(self, email, newPassword):
1125
    """
1125
    """
Line 1147... Line 1147...
1147
      self._iprot.readMessageEnd()
1147
      self._iprot.readMessageEnd()
1148
      raise x
1148
      raise x
1149
    result = forgotPassword_result()
1149
    result = forgotPassword_result()
1150
    result.read(self._iprot)
1150
    result.read(self._iprot)
1151
    self._iprot.readMessageEnd()
1151
    self._iprot.readMessageEnd()
1152
    if result.success != None:
1152
    if result.success is not None:
1153
      return result.success
1153
      return result.success
1154
    if result.ucx != None:
1154
    if result.ucx is not None:
1155
      raise result.ucx
1155
      raise result.ucx
1156
    raise TApplicationException(TApplicationException.MISSING_RESULT, "forgotPassword failed: unknown result");
1156
    raise TApplicationException(TApplicationException.MISSING_RESULT, "forgotPassword failed: unknown result");
1157
 
1157
 
1158
  def getAllAddressesForUser(self, userId):
1158
  def getAllAddressesForUser(self, userId):
1159
    """
1159
    """
Line 1179... Line 1179...
1179
      self._iprot.readMessageEnd()
1179
      self._iprot.readMessageEnd()
1180
      raise x
1180
      raise x
1181
    result = getAllAddressesForUser_result()
1181
    result = getAllAddressesForUser_result()
1182
    result.read(self._iprot)
1182
    result.read(self._iprot)
1183
    self._iprot.readMessageEnd()
1183
    self._iprot.readMessageEnd()
1184
    if result.success != None:
1184
    if result.success is not None:
1185
      return result.success
1185
      return result.success
1186
    if result.ucx != None:
1186
    if result.ucx is not None:
1187
      raise result.ucx
1187
      raise result.ucx
1188
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAllAddressesForUser failed: unknown result");
1188
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAllAddressesForUser failed: unknown result");
1189
 
1189
 
1190
  def getAddressById(self, addressId):
1190
  def getAddressById(self, addressId):
1191
    """
1191
    """
Line 1211... Line 1211...
1211
      self._iprot.readMessageEnd()
1211
      self._iprot.readMessageEnd()
1212
      raise x
1212
      raise x
1213
    result = getAddressById_result()
1213
    result = getAddressById_result()
1214
    result.read(self._iprot)
1214
    result.read(self._iprot)
1215
    self._iprot.readMessageEnd()
1215
    self._iprot.readMessageEnd()
1216
    if result.success != None:
1216
    if result.success is not None:
1217
      return result.success
1217
      return result.success
1218
    if result.ucx != None:
1218
    if result.ucx is not None:
1219
      raise result.ucx
1219
      raise result.ucx
1220
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAddressById failed: unknown result");
1220
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAddressById failed: unknown result");
1221
 
1221
 
1222
  def getDefaultAddressId(self, userId):
1222
  def getDefaultAddressId(self, userId):
1223
    """
1223
    """
Line 1243... Line 1243...
1243
      self._iprot.readMessageEnd()
1243
      self._iprot.readMessageEnd()
1244
      raise x
1244
      raise x
1245
    result = getDefaultAddressId_result()
1245
    result = getDefaultAddressId_result()
1246
    result.read(self._iprot)
1246
    result.read(self._iprot)
1247
    self._iprot.readMessageEnd()
1247
    self._iprot.readMessageEnd()
1248
    if result.success != None:
1248
    if result.success is not None:
1249
      return result.success
1249
      return result.success
1250
    if result.ucx != None:
1250
    if result.ucx is not None:
1251
      raise result.ucx
1251
      raise result.ucx
1252
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getDefaultAddressId failed: unknown result");
1252
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getDefaultAddressId failed: unknown result");
1253
 
1253
 
1254
  def getDefaultPincode(self, userId):
1254
  def getDefaultPincode(self, userId):
1255
    """
1255
    """
Line 1275... Line 1275...
1275
      self._iprot.readMessageEnd()
1275
      self._iprot.readMessageEnd()
1276
      raise x
1276
      raise x
1277
    result = getDefaultPincode_result()
1277
    result = getDefaultPincode_result()
1278
    result.read(self._iprot)
1278
    result.read(self._iprot)
1279
    self._iprot.readMessageEnd()
1279
    self._iprot.readMessageEnd()
1280
    if result.success != None:
1280
    if result.success is not None:
1281
      return result.success
1281
      return result.success
1282
    if result.ucx != None:
1282
    if result.ucx is not None:
1283
      raise result.ucx
1283
      raise result.ucx
1284
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getDefaultPincode failed: unknown result");
1284
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getDefaultPincode failed: unknown result");
1285
 
1285
 
1286
  def saveUserCommunication(self, userId, replyTo, communicationType, orderId, airwaybillNo, productName, subject, message):
1286
  def saveUserCommunication(self, userId, replyTo, communicationType, orderId, airwaybillNo, productName, subject, message):
1287
    """
1287
    """
Line 1321... Line 1321...
1321
      self._iprot.readMessageEnd()
1321
      self._iprot.readMessageEnd()
1322
      raise x
1322
      raise x
1323
    result = saveUserCommunication_result()
1323
    result = saveUserCommunication_result()
1324
    result.read(self._iprot)
1324
    result.read(self._iprot)
1325
    self._iprot.readMessageEnd()
1325
    self._iprot.readMessageEnd()
1326
    if result.success != None:
1326
    if result.success is not None:
1327
      return result.success
1327
      return result.success
1328
    if result.ucx != None:
1328
    if result.ucx is not None:
1329
      raise result.ucx
1329
      raise result.ucx
1330
    raise TApplicationException(TApplicationException.MISSING_RESULT, "saveUserCommunication failed: unknown result");
1330
    raise TApplicationException(TApplicationException.MISSING_RESULT, "saveUserCommunication failed: unknown result");
1331
 
1331
 
1332
  def getUserCommunicationById(self, id):
1332
  def getUserCommunicationById(self, id):
1333
    """
1333
    """
Line 1353... Line 1353...
1353
      self._iprot.readMessageEnd()
1353
      self._iprot.readMessageEnd()
1354
      raise x
1354
      raise x
1355
    result = getUserCommunicationById_result()
1355
    result = getUserCommunicationById_result()
1356
    result.read(self._iprot)
1356
    result.read(self._iprot)
1357
    self._iprot.readMessageEnd()
1357
    self._iprot.readMessageEnd()
1358
    if result.success != None:
1358
    if result.success is not None:
1359
      return result.success
1359
      return result.success
1360
    if result.ucx != None:
1360
    if result.ucx is not None:
1361
      raise result.ucx
1361
      raise result.ucx
1362
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getUserCommunicationById failed: unknown result");
1362
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getUserCommunicationById failed: unknown result");
1363
 
1363
 
1364
  def getUserCommunicationByUser(self, userId):
1364
  def getUserCommunicationByUser(self, userId):
1365
    """
1365
    """
Line 1385... Line 1385...
1385
      self._iprot.readMessageEnd()
1385
      self._iprot.readMessageEnd()
1386
      raise x
1386
      raise x
1387
    result = getUserCommunicationByUser_result()
1387
    result = getUserCommunicationByUser_result()
1388
    result.read(self._iprot)
1388
    result.read(self._iprot)
1389
    self._iprot.readMessageEnd()
1389
    self._iprot.readMessageEnd()
1390
    if result.success != None:
1390
    if result.success is not None:
1391
      return result.success
1391
      return result.success
1392
    if result.ucx != None:
1392
    if result.ucx is not None:
1393
      raise result.ucx
1393
      raise result.ucx
1394
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getUserCommunicationByUser failed: unknown result");
1394
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getUserCommunicationByUser failed: unknown result");
1395
 
1395
 
1396
  def getAllUserCommunications(self, ):
1396
  def getAllUserCommunications(self, ):
1397
    self.send_getAllUserCommunications()
1397
    self.send_getAllUserCommunications()
Line 1412... Line 1412...
1412
      self._iprot.readMessageEnd()
1412
      self._iprot.readMessageEnd()
1413
      raise x
1413
      raise x
1414
    result = getAllUserCommunications_result()
1414
    result = getAllUserCommunications_result()
1415
    result.read(self._iprot)
1415
    result.read(self._iprot)
1416
    self._iprot.readMessageEnd()
1416
    self._iprot.readMessageEnd()
1417
    if result.success != None:
1417
    if result.success is not None:
1418
      return result.success
1418
      return result.success
1419
    if result.ucx != None:
1419
    if result.ucx is not None:
1420
      raise result.ucx
1420
      raise result.ucx
1421
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAllUserCommunications failed: unknown result");
1421
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAllUserCommunications failed: unknown result");
1422
 
1422
 
1423
  def createMasterAffiliate(self, name, addedOn):
1423
  def createMasterAffiliate(self, name, addedOn):
1424
    """
1424
    """
Line 1446... Line 1446...
1446
      self._iprot.readMessageEnd()
1446
      self._iprot.readMessageEnd()
1447
      raise x
1447
      raise x
1448
    result = createMasterAffiliate_result()
1448
    result = createMasterAffiliate_result()
1449
    result.read(self._iprot)
1449
    result.read(self._iprot)
1450
    self._iprot.readMessageEnd()
1450
    self._iprot.readMessageEnd()
1451
    if result.success != None:
1451
    if result.success is not None:
1452
      return result.success
1452
      return result.success
1453
    if result.utx != None:
1453
    if result.utx is not None:
1454
      raise result.utx
1454
      raise result.utx
1455
    raise TApplicationException(TApplicationException.MISSING_RESULT, "createMasterAffiliate failed: unknown result");
1455
    raise TApplicationException(TApplicationException.MISSING_RESULT, "createMasterAffiliate failed: unknown result");
1456
 
1456
 
1457
  def getAllMasterAffiliates(self, ):
1457
  def getAllMasterAffiliates(self, ):
1458
    self.send_getAllMasterAffiliates()
1458
    self.send_getAllMasterAffiliates()
Line 1473... Line 1473...
1473
      self._iprot.readMessageEnd()
1473
      self._iprot.readMessageEnd()
1474
      raise x
1474
      raise x
1475
    result = getAllMasterAffiliates_result()
1475
    result = getAllMasterAffiliates_result()
1476
    result.read(self._iprot)
1476
    result.read(self._iprot)
1477
    self._iprot.readMessageEnd()
1477
    self._iprot.readMessageEnd()
1478
    if result.success != None:
1478
    if result.success is not None:
1479
      return result.success
1479
      return result.success
1480
    if result.utx != None:
1480
    if result.utx is not None:
1481
      raise result.utx
1481
      raise result.utx
1482
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAllMasterAffiliates failed: unknown result");
1482
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAllMasterAffiliates failed: unknown result");
1483
 
1483
 
1484
  def getMasterAffiliateById(self, id):
1484
  def getMasterAffiliateById(self, id):
1485
    """
1485
    """
Line 1505... Line 1505...
1505
      self._iprot.readMessageEnd()
1505
      self._iprot.readMessageEnd()
1506
      raise x
1506
      raise x
1507
    result = getMasterAffiliateById_result()
1507
    result = getMasterAffiliateById_result()
1508
    result.read(self._iprot)
1508
    result.read(self._iprot)
1509
    self._iprot.readMessageEnd()
1509
    self._iprot.readMessageEnd()
1510
    if result.success != None:
1510
    if result.success is not None:
1511
      return result.success
1511
      return result.success
1512
    if result.utx != None:
1512
    if result.utx is not None:
1513
      raise result.utx
1513
      raise result.utx
1514
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getMasterAffiliateById failed: unknown result");
1514
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getMasterAffiliateById failed: unknown result");
1515
 
1515
 
1516
  def getMasterAffiliateByName(self, name):
1516
  def getMasterAffiliateByName(self, name):
1517
    """
1517
    """
Line 1537... Line 1537...
1537
      self._iprot.readMessageEnd()
1537
      self._iprot.readMessageEnd()
1538
      raise x
1538
      raise x
1539
    result = getMasterAffiliateByName_result()
1539
    result = getMasterAffiliateByName_result()
1540
    result.read(self._iprot)
1540
    result.read(self._iprot)
1541
    self._iprot.readMessageEnd()
1541
    self._iprot.readMessageEnd()
1542
    if result.success != None:
1542
    if result.success is not None:
1543
      return result.success
1543
      return result.success
1544
    if result.utx != None:
1544
    if result.utx is not None:
1545
      raise result.utx
1545
      raise result.utx
1546
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getMasterAffiliateByName failed: unknown result");
1546
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getMasterAffiliateByName failed: unknown result");
1547
 
1547
 
1548
  def createAffiliate(self, name, url, masterAffiliateId, addedOn):
1548
  def createAffiliate(self, name, url, masterAffiliateId, addedOn):
1549
    """
1549
    """
Line 1575... Line 1575...
1575
      self._iprot.readMessageEnd()
1575
      self._iprot.readMessageEnd()
1576
      raise x
1576
      raise x
1577
    result = createAffiliate_result()
1577
    result = createAffiliate_result()
1578
    result.read(self._iprot)
1578
    result.read(self._iprot)
1579
    self._iprot.readMessageEnd()
1579
    self._iprot.readMessageEnd()
1580
    if result.success != None:
1580
    if result.success is not None:
1581
      return result.success
1581
      return result.success
1582
    if result.utx != None:
1582
    if result.utx is not None:
1583
      raise result.utx
1583
      raise result.utx
1584
    raise TApplicationException(TApplicationException.MISSING_RESULT, "createAffiliate failed: unknown result");
1584
    raise TApplicationException(TApplicationException.MISSING_RESULT, "createAffiliate failed: unknown result");
1585
 
1585
 
1586
  def getAffiliateById(self, id):
1586
  def getAffiliateById(self, id):
1587
    """
1587
    """
Line 1607... Line 1607...
1607
      self._iprot.readMessageEnd()
1607
      self._iprot.readMessageEnd()
1608
      raise x
1608
      raise x
1609
    result = getAffiliateById_result()
1609
    result = getAffiliateById_result()
1610
    result.read(self._iprot)
1610
    result.read(self._iprot)
1611
    self._iprot.readMessageEnd()
1611
    self._iprot.readMessageEnd()
1612
    if result.success != None:
1612
    if result.success is not None:
1613
      return result.success
1613
      return result.success
1614
    if result.utx != None:
1614
    if result.utx is not None:
1615
      raise result.utx
1615
      raise result.utx
1616
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAffiliateById failed: unknown result");
1616
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAffiliateById failed: unknown result");
1617
 
1617
 
1618
  def getAffiliateByName(self, name):
1618
  def getAffiliateByName(self, name):
1619
    """
1619
    """
Line 1639... Line 1639...
1639
      self._iprot.readMessageEnd()
1639
      self._iprot.readMessageEnd()
1640
      raise x
1640
      raise x
1641
    result = getAffiliateByName_result()
1641
    result = getAffiliateByName_result()
1642
    result.read(self._iprot)
1642
    result.read(self._iprot)
1643
    self._iprot.readMessageEnd()
1643
    self._iprot.readMessageEnd()
1644
    if result.success != None:
1644
    if result.success is not None:
1645
      return result.success
1645
      return result.success
1646
    if result.utx != None:
1646
    if result.utx is not None:
1647
      raise result.utx
1647
      raise result.utx
1648
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAffiliateByName failed: unknown result");
1648
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAffiliateByName failed: unknown result");
1649
 
1649
 
1650
  def getTrackerById(self, id):
1650
  def getTrackerById(self, id):
1651
    """
1651
    """
Line 1671... Line 1671...
1671
      self._iprot.readMessageEnd()
1671
      self._iprot.readMessageEnd()
1672
      raise x
1672
      raise x
1673
    result = getTrackerById_result()
1673
    result = getTrackerById_result()
1674
    result.read(self._iprot)
1674
    result.read(self._iprot)
1675
    self._iprot.readMessageEnd()
1675
    self._iprot.readMessageEnd()
1676
    if result.success != None:
1676
    if result.success is not None:
1677
      return result.success
1677
      return result.success
1678
    if result.utx != None:
1678
    if result.utx is not None:
1679
      raise result.utx
1679
      raise result.utx
1680
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getTrackerById failed: unknown result");
1680
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getTrackerById failed: unknown result");
1681
 
1681
 
1682
  def getAffiliatesByMasterAffiliate(self, id):
1682
  def getAffiliatesByMasterAffiliate(self, id):
1683
    """
1683
    """
Line 1703... Line 1703...
1703
      self._iprot.readMessageEnd()
1703
      self._iprot.readMessageEnd()
1704
      raise x
1704
      raise x
1705
    result = getAffiliatesByMasterAffiliate_result()
1705
    result = getAffiliatesByMasterAffiliate_result()
1706
    result.read(self._iprot)
1706
    result.read(self._iprot)
1707
    self._iprot.readMessageEnd()
1707
    self._iprot.readMessageEnd()
1708
    if result.success != None:
1708
    if result.success is not None:
1709
      return result.success
1709
      return result.success
1710
    if result.utx != None:
1710
    if result.utx is not None:
1711
      raise result.utx
1711
      raise result.utx
1712
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAffiliatesByMasterAffiliate failed: unknown result");
1712
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAffiliatesByMasterAffiliate failed: unknown result");
1713
 
1713
 
1714
  def addTrackLog(self, affiliateId, userId, event, url, data, addedOn):
1714
  def addTrackLog(self, affiliateId, userId, event, url, data, addedOn):
1715
    """
1715
    """
Line 1745... Line 1745...
1745
      self._iprot.readMessageEnd()
1745
      self._iprot.readMessageEnd()
1746
      raise x
1746
      raise x
1747
    result = addTrackLog_result()
1747
    result = addTrackLog_result()
1748
    result.read(self._iprot)
1748
    result.read(self._iprot)
1749
    self._iprot.readMessageEnd()
1749
    self._iprot.readMessageEnd()
1750
    if result.success != None:
1750
    if result.success is not None:
1751
      return result.success
1751
      return result.success
1752
    if result.utx != None:
1752
    if result.utx is not None:
1753
      raise result.utx
1753
      raise result.utx
1754
    raise TApplicationException(TApplicationException.MISSING_RESULT, "addTrackLog failed: unknown result");
1754
    raise TApplicationException(TApplicationException.MISSING_RESULT, "addTrackLog failed: unknown result");
1755
 
1755
 
1756
  def getTrackLogById(self, id):
1756
  def getTrackLogById(self, id):
1757
    """
1757
    """
Line 1777... Line 1777...
1777
      self._iprot.readMessageEnd()
1777
      self._iprot.readMessageEnd()
1778
      raise x
1778
      raise x
1779
    result = getTrackLogById_result()
1779
    result = getTrackLogById_result()
1780
    result.read(self._iprot)
1780
    result.read(self._iprot)
1781
    self._iprot.readMessageEnd()
1781
    self._iprot.readMessageEnd()
1782
    if result.success != None:
1782
    if result.success is not None:
1783
      return result.success
1783
      return result.success
1784
    if result.utx != None:
1784
    if result.utx is not None:
1785
      raise result.utx
1785
      raise result.utx
1786
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getTrackLogById failed: unknown result");
1786
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getTrackLogById failed: unknown result");
1787
 
1787
 
1788
  def getTrackLogsByAffiliate(self, affiliateId, startDate, endDate):
1788
  def getTrackLogsByAffiliate(self, affiliateId, startDate, endDate):
1789
    """
1789
    """
Line 1813... Line 1813...
1813
      self._iprot.readMessageEnd()
1813
      self._iprot.readMessageEnd()
1814
      raise x
1814
      raise x
1815
    result = getTrackLogsByAffiliate_result()
1815
    result = getTrackLogsByAffiliate_result()
1816
    result.read(self._iprot)
1816
    result.read(self._iprot)
1817
    self._iprot.readMessageEnd()
1817
    self._iprot.readMessageEnd()
1818
    if result.success != None:
1818
    if result.success is not None:
1819
      return result.success
1819
      return result.success
1820
    if result.utx != None:
1820
    if result.utx is not None:
1821
      raise result.utx
1821
      raise result.utx
1822
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getTrackLogsByAffiliate failed: unknown result");
1822
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getTrackLogsByAffiliate failed: unknown result");
1823
 
1823
 
1824
  def getTrackLogsByUser(self, userId):
1824
  def getTrackLogsByUser(self, userId):
1825
    """
1825
    """
Line 1845... Line 1845...
1845
      self._iprot.readMessageEnd()
1845
      self._iprot.readMessageEnd()
1846
      raise x
1846
      raise x
1847
    result = getTrackLogsByUser_result()
1847
    result = getTrackLogsByUser_result()
1848
    result.read(self._iprot)
1848
    result.read(self._iprot)
1849
    self._iprot.readMessageEnd()
1849
    self._iprot.readMessageEnd()
1850
    if result.success != None:
1850
    if result.success is not None:
1851
      return result.success
1851
      return result.success
1852
    if result.utx != None:
1852
    if result.utx is not None:
1853
      raise result.utx
1853
      raise result.utx
1854
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getTrackLogsByUser failed: unknown result");
1854
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getTrackLogsByUser failed: unknown result");
1855
 
1855
 
1856
  def getTrackLogs(self, userId, event, url):
1856
  def getTrackLogs(self, userId, event, url):
1857
    """
1857
    """
Line 1881... Line 1881...
1881
      self._iprot.readMessageEnd()
1881
      self._iprot.readMessageEnd()
1882
      raise x
1882
      raise x
1883
    result = getTrackLogs_result()
1883
    result = getTrackLogs_result()
1884
    result.read(self._iprot)
1884
    result.read(self._iprot)
1885
    self._iprot.readMessageEnd()
1885
    self._iprot.readMessageEnd()
1886
    if result.success != None:
1886
    if result.success is not None:
1887
      return result.success
1887
      return result.success
1888
    if result.utx != None:
1888
    if result.utx is not None:
1889
      raise result.utx
1889
      raise result.utx
1890
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getTrackLogs failed: unknown result");
1890
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getTrackLogs failed: unknown result");
1891
 
1891
 
1892
  def createCart(self, userId):
1892
  def createCart(self, userId):
1893
    """
1893
    """
Line 1913... Line 1913...
1913
      self._iprot.readMessageEnd()
1913
      self._iprot.readMessageEnd()
1914
      raise x
1914
      raise x
1915
    result = createCart_result()
1915
    result = createCart_result()
1916
    result.read(self._iprot)
1916
    result.read(self._iprot)
1917
    self._iprot.readMessageEnd()
1917
    self._iprot.readMessageEnd()
1918
    if result.success != None:
1918
    if result.success is not None:
1919
      return result.success
1919
      return result.success
1920
    if result.scx != None:
1920
    if result.scx is not None:
1921
      raise result.scx
1921
      raise result.scx
1922
    raise TApplicationException(TApplicationException.MISSING_RESULT, "createCart failed: unknown result");
1922
    raise TApplicationException(TApplicationException.MISSING_RESULT, "createCart failed: unknown result");
1923
 
1923
 
1924
  def getCurrentCart(self, userId):
1924
  def getCurrentCart(self, userId):
1925
    """
1925
    """
Line 1945... Line 1945...
1945
      self._iprot.readMessageEnd()
1945
      self._iprot.readMessageEnd()
1946
      raise x
1946
      raise x
1947
    result = getCurrentCart_result()
1947
    result = getCurrentCart_result()
1948
    result.read(self._iprot)
1948
    result.read(self._iprot)
1949
    self._iprot.readMessageEnd()
1949
    self._iprot.readMessageEnd()
1950
    if result.success != None:
1950
    if result.success is not None:
1951
      return result.success
1951
      return result.success
1952
    if result.scx != None:
1952
    if result.scx is not None:
1953
      raise result.scx
1953
      raise result.scx
1954
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getCurrentCart failed: unknown result");
1954
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getCurrentCart failed: unknown result");
1955
 
1955
 
1956
  def getCart(self, cartId):
1956
  def getCart(self, cartId):
1957
    """
1957
    """
Line 1977... Line 1977...
1977
      self._iprot.readMessageEnd()
1977
      self._iprot.readMessageEnd()
1978
      raise x
1978
      raise x
1979
    result = getCart_result()
1979
    result = getCart_result()
1980
    result.read(self._iprot)
1980
    result.read(self._iprot)
1981
    self._iprot.readMessageEnd()
1981
    self._iprot.readMessageEnd()
1982
    if result.success != None:
1982
    if result.success is not None:
1983
      return result.success
1983
      return result.success
1984
    if result.scx != None:
1984
    if result.scx is not None:
1985
      raise result.scx
1985
      raise result.scx
1986
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getCart failed: unknown result");
1986
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getCart failed: unknown result");
1987
 
1987
 
1988
  def getCartsForUser(self, userId, status):
1988
  def getCartsForUser(self, userId, status):
1989
    """
1989
    """
Line 2011... Line 2011...
2011
      self._iprot.readMessageEnd()
2011
      self._iprot.readMessageEnd()
2012
      raise x
2012
      raise x
2013
    result = getCartsForUser_result()
2013
    result = getCartsForUser_result()
2014
    result.read(self._iprot)
2014
    result.read(self._iprot)
2015
    self._iprot.readMessageEnd()
2015
    self._iprot.readMessageEnd()
2016
    if result.success != None:
2016
    if result.success is not None:
2017
      return result.success
2017
      return result.success
2018
    if result.scx != None:
2018
    if result.scx is not None:
2019
      raise result.scx
2019
      raise result.scx
2020
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getCartsForUser failed: unknown result");
2020
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getCartsForUser failed: unknown result");
2021
 
2021
 
2022
  def getCartsByStatus(self, status):
2022
  def getCartsByStatus(self, status):
2023
    """
2023
    """
Line 2043... Line 2043...
2043
      self._iprot.readMessageEnd()
2043
      self._iprot.readMessageEnd()
2044
      raise x
2044
      raise x
2045
    result = getCartsByStatus_result()
2045
    result = getCartsByStatus_result()
2046
    result.read(self._iprot)
2046
    result.read(self._iprot)
2047
    self._iprot.readMessageEnd()
2047
    self._iprot.readMessageEnd()
2048
    if result.success != None:
2048
    if result.success is not None:
2049
      return result.success
2049
      return result.success
2050
    if result.scx != None:
2050
    if result.scx is not None:
2051
      raise result.scx
2051
      raise result.scx
2052
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getCartsByStatus failed: unknown result");
2052
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getCartsByStatus failed: unknown result");
2053
 
2053
 
2054
  def getCartsByTime(self, from_time, to_time, status):
2054
  def getCartsByTime(self, from_time, to_time, status):
2055
    """
2055
    """
Line 2079... Line 2079...
2079
      self._iprot.readMessageEnd()
2079
      self._iprot.readMessageEnd()
2080
      raise x
2080
      raise x
2081
    result = getCartsByTime_result()
2081
    result = getCartsByTime_result()
2082
    result.read(self._iprot)
2082
    result.read(self._iprot)
2083
    self._iprot.readMessageEnd()
2083
    self._iprot.readMessageEnd()
2084
    if result.success != None:
2084
    if result.success is not None:
2085
      return result.success
2085
      return result.success
2086
    if result.scx != None:
2086
    if result.scx is not None:
2087
      raise result.scx
2087
      raise result.scx
2088
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getCartsByTime failed: unknown result");
2088
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getCartsByTime failed: unknown result");
2089
 
2089
 
2090
  def changeCartStatus(self, cartId, status):
2090
  def changeCartStatus(self, cartId, status):
2091
    """
2091
    """
Line 2113... Line 2113...
2113
      self._iprot.readMessageEnd()
2113
      self._iprot.readMessageEnd()
2114
      raise x
2114
      raise x
2115
    result = changeCartStatus_result()
2115
    result = changeCartStatus_result()
2116
    result.read(self._iprot)
2116
    result.read(self._iprot)
2117
    self._iprot.readMessageEnd()
2117
    self._iprot.readMessageEnd()
2118
    if result.scx != None:
2118
    if result.scx is not None:
2119
      raise result.scx
2119
      raise result.scx
2120
    return
2120
    return
2121
 
2121
 
2122
  def addItemToCart(self, cartId, itemId, quantity):
2122
  def addItemToCart(self, cartId, itemId, quantity):
2123
    """
2123
    """
Line 2147... Line 2147...
2147
      self._iprot.readMessageEnd()
2147
      self._iprot.readMessageEnd()
2148
      raise x
2148
      raise x
2149
    result = addItemToCart_result()
2149
    result = addItemToCart_result()
2150
    result.read(self._iprot)
2150
    result.read(self._iprot)
2151
    self._iprot.readMessageEnd()
2151
    self._iprot.readMessageEnd()
2152
    if result.success != None:
2152
    if result.success is not None:
2153
      return result.success
2153
      return result.success
2154
    if result.scx != None:
2154
    if result.scx is not None:
2155
      raise result.scx
2155
      raise result.scx
2156
    raise TApplicationException(TApplicationException.MISSING_RESULT, "addItemToCart failed: unknown result");
2156
    raise TApplicationException(TApplicationException.MISSING_RESULT, "addItemToCart failed: unknown result");
2157
 
2157
 
2158
  def deleteItemFromCart(self, cartId, itemId):
2158
  def deleteItemFromCart(self, cartId, itemId):
2159
    """
2159
    """
Line 2181... Line 2181...
2181
      self._iprot.readMessageEnd()
2181
      self._iprot.readMessageEnd()
2182
      raise x
2182
      raise x
2183
    result = deleteItemFromCart_result()
2183
    result = deleteItemFromCart_result()
2184
    result.read(self._iprot)
2184
    result.read(self._iprot)
2185
    self._iprot.readMessageEnd()
2185
    self._iprot.readMessageEnd()
2186
    if result.scx != None:
2186
    if result.scx is not None:
2187
      raise result.scx
2187
      raise result.scx
2188
    return
2188
    return
2189
 
2189
 
2190
  def changeQuantity(self, cartId, itemId, quantity):
2190
  def changeQuantity(self, cartId, itemId, quantity):
2191
    """
2191
    """
Line 2215... Line 2215...
2215
      self._iprot.readMessageEnd()
2215
      self._iprot.readMessageEnd()
2216
      raise x
2216
      raise x
2217
    result = changeQuantity_result()
2217
    result = changeQuantity_result()
2218
    result.read(self._iprot)
2218
    result.read(self._iprot)
2219
    self._iprot.readMessageEnd()
2219
    self._iprot.readMessageEnd()
2220
    if result.scx != None:
2220
    if result.scx is not None:
2221
      raise result.scx
2221
      raise result.scx
2222
    return
2222
    return
2223
 
2223
 
2224
  def changeItemStatus(self, cartId, itemId, status):
2224
  def changeItemStatus(self, cartId, itemId, status):
2225
    """
2225
    """
Line 2249... Line 2249...
2249
      self._iprot.readMessageEnd()
2249
      self._iprot.readMessageEnd()
2250
      raise x
2250
      raise x
2251
    result = changeItemStatus_result()
2251
    result = changeItemStatus_result()
2252
    result.read(self._iprot)
2252
    result.read(self._iprot)
2253
    self._iprot.readMessageEnd()
2253
    self._iprot.readMessageEnd()
2254
    if result.scx != None:
2254
    if result.scx is not None:
2255
      raise result.scx
2255
      raise result.scx
2256
    return
2256
    return
2257
 
2257
 
2258
  def addAddressToCart(self, cartId, addressId):
2258
  def addAddressToCart(self, cartId, addressId):
2259
    """
2259
    """
Line 2281... Line 2281...
2281
      self._iprot.readMessageEnd()
2281
      self._iprot.readMessageEnd()
2282
      raise x
2282
      raise x
2283
    result = addAddressToCart_result()
2283
    result = addAddressToCart_result()
2284
    result.read(self._iprot)
2284
    result.read(self._iprot)
2285
    self._iprot.readMessageEnd()
2285
    self._iprot.readMessageEnd()
2286
    if result.scx != None:
2286
    if result.scx is not None:
2287
      raise result.scx
2287
      raise result.scx
2288
    return
2288
    return
2289
 
2289
 
2290
  def applyCouponToCart(self, cartId, couponCode, totalPrice, discountedPrice):
2290
  def applyCouponToCart(self, cartId, couponCode, totalPrice, discountedPrice):
2291
    """
2291
    """
Line 2317... Line 2317...
2317
      self._iprot.readMessageEnd()
2317
      self._iprot.readMessageEnd()
2318
      raise x
2318
      raise x
2319
    result = applyCouponToCart_result()
2319
    result = applyCouponToCart_result()
2320
    result.read(self._iprot)
2320
    result.read(self._iprot)
2321
    self._iprot.readMessageEnd()
2321
    self._iprot.readMessageEnd()
2322
    if result.scx != None:
2322
    if result.scx is not None:
2323
      raise result.scx
2323
      raise result.scx
2324
    return
2324
    return
2325
 
2325
 
2326
  def removeCoupon(self, cartId):
2326
  def removeCoupon(self, cartId):
2327
    """
2327
    """
Line 2347... Line 2347...
2347
      self._iprot.readMessageEnd()
2347
      self._iprot.readMessageEnd()
2348
      raise x
2348
      raise x
2349
    result = removeCoupon_result()
2349
    result = removeCoupon_result()
2350
    result.read(self._iprot)
2350
    result.read(self._iprot)
2351
    self._iprot.readMessageEnd()
2351
    self._iprot.readMessageEnd()
2352
    if result.scx != None:
2352
    if result.scx is not None:
2353
      raise result.scx
2353
      raise result.scx
2354
    return
2354
    return
2355
 
2355
 
2356
  def createOrders(self, cartId, sessionSource, sessionStartTime):
2356
  def createOrders(self, cartId, sessionSource, sessionStartTime):
2357
    """
2357
    """
2358
    Creates a transaction and multiple orders for the given cart. Returns the transaction ID created.
2358
    Creates a transaction and multiple orders for the given cart. Returns the transaction ID created.
2359
    
2359
 
2360
    Parameters:
2360
    Parameters:
2361
     - cartId
2361
     - cartId
2362
     - sessionSource
2362
     - sessionSource
2363
     - sessionStartTime
2363
     - sessionStartTime
2364
    """
2364
    """
Line 2383... Line 2383...
2383
      self._iprot.readMessageEnd()
2383
      self._iprot.readMessageEnd()
2384
      raise x
2384
      raise x
2385
    result = createOrders_result()
2385
    result = createOrders_result()
2386
    result.read(self._iprot)
2386
    result.read(self._iprot)
2387
    self._iprot.readMessageEnd()
2387
    self._iprot.readMessageEnd()
2388
    if result.success != None:
2388
    if result.success is not None:
2389
      return result.success
2389
      return result.success
2390
    if result.scx != None:
2390
    if result.scx is not None:
2391
      raise result.scx
2391
      raise result.scx
2392
    raise TApplicationException(TApplicationException.MISSING_RESULT, "createOrders failed: unknown result");
2392
    raise TApplicationException(TApplicationException.MISSING_RESULT, "createOrders failed: unknown result");
2393
 
2393
 
2394
  def validateCart(self, cartId):
2394
  def validateCart(self, cartId):
2395
    """
2395
    """
2396
    Validates that:
2396
    Validates that:
2397
    1. The checkout timestamp is greater than the updatedOn timestamp.
2397
    1. The checkout timestamp is greater than the updatedOn timestamp.
2398
    2. All of the lines in the cart are active items.
2398
    2. All of the lines in the cart are active items.
2399
    3. The estimate for any of the lines in cart doesn't change.
2399
    3. The estimate for any of the lines in cart doesn't change.
2400
    If all three are true, returns empty string; else returns appropriate message.
2400
    If all three are true, returns empty string; else returns appropriate message.
2401
    
2401
 
2402
    Parameters:
2402
    Parameters:
2403
     - cartId
2403
     - cartId
2404
    """
2404
    """
2405
    self.send_validateCart(cartId)
2405
    self.send_validateCart(cartId)
2406
    return self.recv_validateCart()
2406
    return self.recv_validateCart()
Line 2421... Line 2421...
2421
      self._iprot.readMessageEnd()
2421
      self._iprot.readMessageEnd()
2422
      raise x
2422
      raise x
2423
    result = validateCart_result()
2423
    result = validateCart_result()
2424
    result.read(self._iprot)
2424
    result.read(self._iprot)
2425
    self._iprot.readMessageEnd()
2425
    self._iprot.readMessageEnd()
2426
    if result.success != None:
2426
    if result.success is not None:
2427
      return result.success
2427
      return result.success
2428
    if result.scex != None:
2428
    if result.scex is not None:
2429
      raise result.scex
2429
      raise result.scex
2430
    raise TApplicationException(TApplicationException.MISSING_RESULT, "validateCart failed: unknown result");
2430
    raise TApplicationException(TApplicationException.MISSING_RESULT, "validateCart failed: unknown result");
2431
 
2431
 
2432
  def mergeCart(self, fromCartId, toCartId):
2432
  def mergeCart(self, fromCartId, toCartId):
2433
    """
2433
    """
2434
    Merges the lines from the first cart into the second cart. Lines with duplicate items are removed.
2434
    Merges the lines from the first cart into the second cart. Lines with duplicate items are removed.
2435
    
2435
 
2436
    Parameters:
2436
    Parameters:
2437
     - fromCartId
2437
     - fromCartId
2438
     - toCartId
2438
     - toCartId
2439
    """
2439
    """
2440
    self.send_mergeCart(fromCartId, toCartId)
2440
    self.send_mergeCart(fromCartId, toCartId)
Line 2462... Line 2462...
2462
    return
2462
    return
2463
 
2463
 
2464
  def checkOut(self, cartId):
2464
  def checkOut(self, cartId):
2465
    """
2465
    """
2466
    Sets the checkedOutOn timestamp of the cart. Raises an exception if the specified cart can't be found.
2466
    Sets the checkedOutOn timestamp of the cart. Raises an exception if the specified cart can't be found.
2467
    
2467
 
2468
    Parameters:
2468
    Parameters:
2469
     - cartId
2469
     - cartId
2470
    """
2470
    """
2471
    self.send_checkOut(cartId)
2471
    self.send_checkOut(cartId)
2472
    return self.recv_checkOut()
2472
    return self.recv_checkOut()
Line 2487... Line 2487...
2487
      self._iprot.readMessageEnd()
2487
      self._iprot.readMessageEnd()
2488
      raise x
2488
      raise x
2489
    result = checkOut_result()
2489
    result = checkOut_result()
2490
    result.read(self._iprot)
2490
    result.read(self._iprot)
2491
    self._iprot.readMessageEnd()
2491
    self._iprot.readMessageEnd()
2492
    if result.success != None:
2492
    if result.success is not None:
2493
      return result.success
2493
      return result.success
2494
    if result.scex != None:
2494
    if result.scex is not None:
2495
      raise result.scex
2495
      raise result.scex
2496
    raise TApplicationException(TApplicationException.MISSING_RESULT, "checkOut failed: unknown result");
2496
    raise TApplicationException(TApplicationException.MISSING_RESULT, "checkOut failed: unknown result");
2497
 
2497
 
2498
  def resetCart(self, cartId, items):
2498
  def resetCart(self, cartId, items):
2499
    """
2499
    """
2500
    The second parameter is a map of item ids and their quantities which have been successfully processed.
2500
    The second parameter is a map of item ids and their quantities which have been successfully processed.
2501
    This methods removes the specified quantiry of the specified item from the cart.
2501
    This methods removes the specified quantiry of the specified item from the cart.
2502
    
2502
 
2503
    Parameters:
2503
    Parameters:
2504
     - cartId
2504
     - cartId
2505
     - items
2505
     - items
2506
    """
2506
    """
2507
    self.send_resetCart(cartId, items)
2507
    self.send_resetCart(cartId, items)
Line 2524... Line 2524...
2524
      self._iprot.readMessageEnd()
2524
      self._iprot.readMessageEnd()
2525
      raise x
2525
      raise x
2526
    result = resetCart_result()
2526
    result = resetCart_result()
2527
    result.read(self._iprot)
2527
    result.read(self._iprot)
2528
    self._iprot.readMessageEnd()
2528
    self._iprot.readMessageEnd()
2529
    if result.success != None:
2529
    if result.success is not None:
2530
      return result.success
2530
      return result.success
2531
    if result.scex != None:
2531
    if result.scex is not None:
2532
      raise result.scex
2532
      raise result.scex
2533
    raise TApplicationException(TApplicationException.MISSING_RESULT, "resetCart failed: unknown result");
2533
    raise TApplicationException(TApplicationException.MISSING_RESULT, "resetCart failed: unknown result");
2534
 
2534
 
2535
  def getUserCount(self, userType):
2535
  def getUserCount(self, userType):
2536
    """
2536
    """
2537
    Returns number of registered users.
2537
    Returns number of registered users.
2538
    If userType = null, then it returns count of all users, including anonymous
2538
    If userType = null, then it returns count of all users, including anonymous
2539
    If userType = UserType.ANONYMOUS, then it returns count of anonymous users only
2539
    If userType = UserType.ANONYMOUS, then it returns count of anonymous users only
2540
    If userType = UserType.USER, then it returns count of non-anonymous users only
2540
    If userType = UserType.USER, then it returns count of non-anonymous users only
2541
    
2541
 
2542
    Parameters:
2542
    Parameters:
2543
     - userType
2543
     - userType
2544
    """
2544
    """
2545
    self.send_getUserCount(userType)
2545
    self.send_getUserCount(userType)
2546
    return self.recv_getUserCount()
2546
    return self.recv_getUserCount()
Line 2561... Line 2561...
2561
      self._iprot.readMessageEnd()
2561
      self._iprot.readMessageEnd()
2562
      raise x
2562
      raise x
2563
    result = getUserCount_result()
2563
    result = getUserCount_result()
2564
    result.read(self._iprot)
2564
    result.read(self._iprot)
2565
    self._iprot.readMessageEnd()
2565
    self._iprot.readMessageEnd()
2566
    if result.success != None:
2566
    if result.success is not None:
2567
      return result.success
2567
      return result.success
2568
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getUserCount failed: unknown result");
2568
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getUserCount failed: unknown result");
2569
 
2569
 
2570
  def getAllUsers(self, userType, startDate, endDate):
2570
  def getAllUsers(self, userType, startDate, endDate):
2571
    """
2571
    """
2572
    Returns list of users of type userType who registered between startDate and endDate (both inclusive).
2572
    Returns list of users of type userType who registered between startDate and endDate (both inclusive).
2573
    If any of startDate or endDate is -1, then that filter is ignored.
2573
    If any of startDate or endDate is -1, then that filter is ignored.
2574
    If userType is null, then returns all the users, irrespective of anonymous flag
2574
    If userType is null, then returns all the users, irrespective of anonymous flag
2575
    
2575
 
2576
    
2576
 
2577
    Parameters:
2577
    Parameters:
2578
     - userType
2578
     - userType
2579
     - startDate
2579
     - startDate
2580
     - endDate
2580
     - endDate
2581
    """
2581
    """
Line 2600... Line 2600...
2600
      self._iprot.readMessageEnd()
2600
      self._iprot.readMessageEnd()
2601
      raise x
2601
      raise x
2602
    result = getAllUsers_result()
2602
    result = getAllUsers_result()
2603
    result.read(self._iprot)
2603
    result.read(self._iprot)
2604
    self._iprot.readMessageEnd()
2604
    self._iprot.readMessageEnd()
2605
    if result.success != None:
2605
    if result.success is not None:
2606
      return result.success
2606
      return result.success
2607
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAllUsers failed: unknown result");
2607
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAllUsers failed: unknown result");
2608
 
2608
 
2609
  def putUserNote(self, user_id, entity_id, slide, note):
2609
  def putUserNote(self, user_id, entity_id, slide, note):
2610
    """
2610
    """
Line 2666... Line 2666...
2666
      self._iprot.readMessageEnd()
2666
      self._iprot.readMessageEnd()
2667
      raise x
2667
      raise x
2668
    result = getUserNotes_result()
2668
    result = getUserNotes_result()
2669
    result.read(self._iprot)
2669
    result.read(self._iprot)
2670
    self._iprot.readMessageEnd()
2670
    self._iprot.readMessageEnd()
2671
    if result.success != None:
2671
    if result.success is not None:
2672
      return result.success
2672
      return result.success
2673
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getUserNotes failed: unknown result");
2673
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getUserNotes failed: unknown result");
2674
 
2674
 
2675
  def getMyResearchItems(self, userId):
2675
  def getMyResearchItems(self, userId):
2676
    """
2676
    """
2677
    Returns list of item ids in myresearch for the user
2677
    Returns list of item ids in myresearch for the user
2678
    
2678
 
2679
    Parameters:
2679
    Parameters:
2680
     - userId
2680
     - userId
2681
    """
2681
    """
2682
    self.send_getMyResearchItems(userId)
2682
    self.send_getMyResearchItems(userId)
2683
    return self.recv_getMyResearchItems()
2683
    return self.recv_getMyResearchItems()
Line 2698... Line 2698...
2698
      self._iprot.readMessageEnd()
2698
      self._iprot.readMessageEnd()
2699
      raise x
2699
      raise x
2700
    result = getMyResearchItems_result()
2700
    result = getMyResearchItems_result()
2701
    result.read(self._iprot)
2701
    result.read(self._iprot)
2702
    self._iprot.readMessageEnd()
2702
    self._iprot.readMessageEnd()
2703
    if result.success != None:
2703
    if result.success is not None:
2704
      return result.success
2704
      return result.success
2705
    if result.scx != None:
2705
    if result.scx is not None:
2706
      raise result.scx
2706
      raise result.scx
2707
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getMyResearchItems failed: unknown result");
2707
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getMyResearchItems failed: unknown result");
2708
 
2708
 
2709
  def updateMyResearch(self, userId, itemId):
2709
  def updateMyResearch(self, userId, itemId):
2710
    """
2710
    """
2711
    add item to my research for a user
2711
    add item to my research for a user
2712
    
2712
 
2713
    Parameters:
2713
    Parameters:
2714
     - userId
2714
     - userId
2715
     - itemId
2715
     - itemId
2716
    """
2716
    """
2717
    self.send_updateMyResearch(userId, itemId)
2717
    self.send_updateMyResearch(userId, itemId)
Line 2734... Line 2734...
2734
      self._iprot.readMessageEnd()
2734
      self._iprot.readMessageEnd()
2735
      raise x
2735
      raise x
2736
    result = updateMyResearch_result()
2736
    result = updateMyResearch_result()
2737
    result.read(self._iprot)
2737
    result.read(self._iprot)
2738
    self._iprot.readMessageEnd()
2738
    self._iprot.readMessageEnd()
2739
    if result.success != None:
2739
    if result.success is not None:
2740
      return result.success
2740
      return result.success
2741
    if result.scx != None:
2741
    if result.scx is not None:
2742
      raise result.scx
2742
      raise result.scx
2743
    raise TApplicationException(TApplicationException.MISSING_RESULT, "updateMyResearch failed: unknown result");
2743
    raise TApplicationException(TApplicationException.MISSING_RESULT, "updateMyResearch failed: unknown result");
2744
 
2744
 
2745
  def deleteItemFromMyResearch(self, userId, itemId):
2745
  def deleteItemFromMyResearch(self, userId, itemId):
2746
    """
2746
    """
2747
    delete item from my research for a user
2747
    delete item from my research for a user
2748
    
2748
 
2749
    Parameters:
2749
    Parameters:
2750
     - userId
2750
     - userId
2751
     - itemId
2751
     - itemId
2752
    """
2752
    """
2753
    self.send_deleteItemFromMyResearch(userId, itemId)
2753
    self.send_deleteItemFromMyResearch(userId, itemId)
Line 2770... Line 2770...
2770
      self._iprot.readMessageEnd()
2770
      self._iprot.readMessageEnd()
2771
      raise x
2771
      raise x
2772
    result = deleteItemFromMyResearch_result()
2772
    result = deleteItemFromMyResearch_result()
2773
    result.read(self._iprot)
2773
    result.read(self._iprot)
2774
    self._iprot.readMessageEnd()
2774
    self._iprot.readMessageEnd()
2775
    if result.scx != None:
2775
    if result.scx is not None:
2776
      raise result.scx
2776
      raise result.scx
2777
    return
2777
    return
2778
 
2778
 
2779
  def getBrowseHistoryItems(self, userId):
2779
  def getBrowseHistoryItems(self, userId):
2780
    """
2780
    """
2781
    Returns list of item ids in browse history for the user. It will return maximum 10 items.
2781
    Returns list of item ids in browse history for the user. It will return maximum 10 items.
2782
    
2782
 
2783
    Parameters:
2783
    Parameters:
2784
     - userId
2784
     - userId
2785
    """
2785
    """
2786
    self.send_getBrowseHistoryItems(userId)
2786
    self.send_getBrowseHistoryItems(userId)
2787
    return self.recv_getBrowseHistoryItems()
2787
    return self.recv_getBrowseHistoryItems()
Line 2802... Line 2802...
2802
      self._iprot.readMessageEnd()
2802
      self._iprot.readMessageEnd()
2803
      raise x
2803
      raise x
2804
    result = getBrowseHistoryItems_result()
2804
    result = getBrowseHistoryItems_result()
2805
    result.read(self._iprot)
2805
    result.read(self._iprot)
2806
    self._iprot.readMessageEnd()
2806
    self._iprot.readMessageEnd()
2807
    if result.success != None:
2807
    if result.success is not None:
2808
      return result.success
2808
      return result.success
2809
    if result.scx != None:
2809
    if result.scx is not None:
2810
      raise result.scx
2810
      raise result.scx
2811
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getBrowseHistoryItems failed: unknown result");
2811
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getBrowseHistoryItems failed: unknown result");
2812
 
2812
 
2813
  def updateBrowseHistory(self, userId, itemId):
2813
  def updateBrowseHistory(self, userId, itemId):
2814
    """
2814
    """
2815
    add item to browse history for a user
2815
    add item to browse history for a user
2816
    
2816
 
2817
    Parameters:
2817
    Parameters:
2818
     - userId
2818
     - userId
2819
     - itemId
2819
     - itemId
2820
    """
2820
    """
2821
    self.send_updateBrowseHistory(userId, itemId)
2821
    self.send_updateBrowseHistory(userId, itemId)
Line 2843... Line 2843...
2843
    return
2843
    return
2844
 
2844
 
2845
  def getCartsWithCouponCount(self, couponCode):
2845
  def getCartsWithCouponCount(self, couponCode):
2846
    """
2846
    """
2847
    Returns count of Carts with given coupon applied
2847
    Returns count of Carts with given coupon applied
2848
    
2848
 
2849
    Parameters:
2849
    Parameters:
2850
     - couponCode
2850
     - couponCode
2851
    """
2851
    """
2852
    self.send_getCartsWithCouponCount(couponCode)
2852
    self.send_getCartsWithCouponCount(couponCode)
2853
    return self.recv_getCartsWithCouponCount()
2853
    return self.recv_getCartsWithCouponCount()
Line 2868... Line 2868...
2868
      self._iprot.readMessageEnd()
2868
      self._iprot.readMessageEnd()
2869
      raise x
2869
      raise x
2870
    result = getCartsWithCouponCount_result()
2870
    result = getCartsWithCouponCount_result()
2871
    result.read(self._iprot)
2871
    result.read(self._iprot)
2872
    self._iprot.readMessageEnd()
2872
    self._iprot.readMessageEnd()
2873
    if result.success != None:
2873
    if result.success is not None:
2874
      return result.success
2874
      return result.success
2875
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getCartsWithCouponCount failed: unknown result");
2875
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getCartsWithCouponCount failed: unknown result");
2876
 
2876
 
2877
 
2877
 
2878
class Processor(shop2020.thriftpy.generic.GenericService.Processor, Iface, TProcessor):
2878
class Processor(shop2020.thriftpy.generic.GenericService.Processor, Iface, TProcessor):
Line 3932... Line 3932...
3932
  def write(self, oprot):
3932
  def write(self, oprot):
3933
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
3933
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
3934
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
3934
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
3935
      return
3935
      return
3936
    oprot.writeStructBegin('createAnonymousUser_args')
3936
    oprot.writeStructBegin('createAnonymousUser_args')
3937
    if self.jsessionId != None:
3937
    if self.jsessionId is not None:
3938
      oprot.writeFieldBegin('jsessionId', TType.STRING, 1)
3938
      oprot.writeFieldBegin('jsessionId', TType.STRING, 1)
3939
      oprot.writeString(self.jsessionId)
3939
      oprot.writeString(self.jsessionId)
3940
      oprot.writeFieldEnd()
3940
      oprot.writeFieldEnd()
3941
    oprot.writeFieldStop()
3941
    oprot.writeFieldStop()
3942
    oprot.writeStructEnd()
3942
    oprot.writeStructEnd()
3943
 
3943
 
-
 
3944
  def validate(self):
-
 
3945
    return
-
 
3946
 
-
 
3947
 
3944
  def __repr__(self):
3948
  def __repr__(self):
3945
    L = ['%s=%r' % (key, value)
3949
    L = ['%s=%r' % (key, value)
3946
      for key, value in self.__dict__.iteritems()]
3950
      for key, value in self.__dict__.iteritems()]
3947
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
3951
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
3948
 
3952
 
Line 3997... Line 4001...
3997
  def write(self, oprot):
4001
  def write(self, oprot):
3998
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
4002
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
3999
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
4003
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
4000
      return
4004
      return
4001
    oprot.writeStructBegin('createAnonymousUser_result')
4005
    oprot.writeStructBegin('createAnonymousUser_result')
4002
    if self.success != None:
4006
    if self.success is not None:
4003
      oprot.writeFieldBegin('success', TType.STRUCT, 0)
4007
      oprot.writeFieldBegin('success', TType.STRUCT, 0)
4004
      self.success.write(oprot)
4008
      self.success.write(oprot)
4005
      oprot.writeFieldEnd()
4009
      oprot.writeFieldEnd()
4006
    if self.ucex != None:
4010
    if self.ucex is not None:
4007
      oprot.writeFieldBegin('ucex', TType.STRUCT, 1)
4011
      oprot.writeFieldBegin('ucex', TType.STRUCT, 1)
4008
      self.ucex.write(oprot)
4012
      self.ucex.write(oprot)
4009
      oprot.writeFieldEnd()
4013
      oprot.writeFieldEnd()
4010
    oprot.writeFieldStop()
4014
    oprot.writeFieldStop()
4011
    oprot.writeStructEnd()
4015
    oprot.writeStructEnd()
4012
 
4016
 
-
 
4017
  def validate(self):
-
 
4018
    return
-
 
4019
 
-
 
4020
 
4013
  def __repr__(self):
4021
  def __repr__(self):
4014
    L = ['%s=%r' % (key, value)
4022
    L = ['%s=%r' % (key, value)
4015
      for key, value in self.__dict__.iteritems()]
4023
      for key, value in self.__dict__.iteritems()]
4016
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
4024
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
4017
 
4025
 
Line 4057... Line 4065...
4057
  def write(self, oprot):
4065
  def write(self, oprot):
4058
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
4066
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
4059
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
4067
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
4060
      return
4068
      return
4061
    oprot.writeStructBegin('getUserById_args')
4069
    oprot.writeStructBegin('getUserById_args')
4062
    if self.userId != None:
4070
    if self.userId is not None:
4063
      oprot.writeFieldBegin('userId', TType.I64, 1)
4071
      oprot.writeFieldBegin('userId', TType.I64, 1)
4064
      oprot.writeI64(self.userId)
4072
      oprot.writeI64(self.userId)
4065
      oprot.writeFieldEnd()
4073
      oprot.writeFieldEnd()
4066
    oprot.writeFieldStop()
4074
    oprot.writeFieldStop()
4067
    oprot.writeStructEnd()
4075
    oprot.writeStructEnd()
4068
 
4076
 
-
 
4077
  def validate(self):
-
 
4078
    return
-
 
4079
 
-
 
4080
 
4069
  def __repr__(self):
4081
  def __repr__(self):
4070
    L = ['%s=%r' % (key, value)
4082
    L = ['%s=%r' % (key, value)
4071
      for key, value in self.__dict__.iteritems()]
4083
      for key, value in self.__dict__.iteritems()]
4072
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
4084
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
4073
 
4085
 
Line 4122... Line 4134...
4122
  def write(self, oprot):
4134
  def write(self, oprot):
4123
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
4135
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
4124
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
4136
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
4125
      return
4137
      return
4126
    oprot.writeStructBegin('getUserById_result')
4138
    oprot.writeStructBegin('getUserById_result')
4127
    if self.success != None:
4139
    if self.success is not None:
4128
      oprot.writeFieldBegin('success', TType.STRUCT, 0)
4140
      oprot.writeFieldBegin('success', TType.STRUCT, 0)
4129
      self.success.write(oprot)
4141
      self.success.write(oprot)
4130
      oprot.writeFieldEnd()
4142
      oprot.writeFieldEnd()
4131
    if self.ucex != None:
4143
    if self.ucex is not None:
4132
      oprot.writeFieldBegin('ucex', TType.STRUCT, 1)
4144
      oprot.writeFieldBegin('ucex', TType.STRUCT, 1)
4133
      self.ucex.write(oprot)
4145
      self.ucex.write(oprot)
4134
      oprot.writeFieldEnd()
4146
      oprot.writeFieldEnd()
4135
    oprot.writeFieldStop()
4147
    oprot.writeFieldStop()
4136
    oprot.writeStructEnd()
4148
    oprot.writeStructEnd()
4137
 
4149
 
-
 
4150
  def validate(self):
-
 
4151
    return
-
 
4152
 
-
 
4153
 
4138
  def __repr__(self):
4154
  def __repr__(self):
4139
    L = ['%s=%r' % (key, value)
4155
    L = ['%s=%r' % (key, value)
4140
      for key, value in self.__dict__.iteritems()]
4156
      for key, value in self.__dict__.iteritems()]
4141
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
4157
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
4142
 
4158
 
Line 4182... Line 4198...
4182
  def write(self, oprot):
4198
  def write(self, oprot):
4183
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
4199
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
4184
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
4200
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
4185
      return
4201
      return
4186
    oprot.writeStructBegin('getUserByEmail_args')
4202
    oprot.writeStructBegin('getUserByEmail_args')
4187
    if self.email != None:
4203
    if self.email is not None:
4188
      oprot.writeFieldBegin('email', TType.STRING, 1)
4204
      oprot.writeFieldBegin('email', TType.STRING, 1)
4189
      oprot.writeString(self.email)
4205
      oprot.writeString(self.email)
4190
      oprot.writeFieldEnd()
4206
      oprot.writeFieldEnd()
4191
    oprot.writeFieldStop()
4207
    oprot.writeFieldStop()
4192
    oprot.writeStructEnd()
4208
    oprot.writeStructEnd()
4193
 
4209
 
-
 
4210
  def validate(self):
-
 
4211
    return
-
 
4212
 
-
 
4213
 
4194
  def __repr__(self):
4214
  def __repr__(self):
4195
    L = ['%s=%r' % (key, value)
4215
    L = ['%s=%r' % (key, value)
4196
      for key, value in self.__dict__.iteritems()]
4216
      for key, value in self.__dict__.iteritems()]
4197
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
4217
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
4198
 
4218
 
Line 4247... Line 4267...
4247
  def write(self, oprot):
4267
  def write(self, oprot):
4248
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
4268
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
4249
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
4269
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
4250
      return
4270
      return
4251
    oprot.writeStructBegin('getUserByEmail_result')
4271
    oprot.writeStructBegin('getUserByEmail_result')
4252
    if self.success != None:
4272
    if self.success is not None:
4253
      oprot.writeFieldBegin('success', TType.STRUCT, 0)
4273
      oprot.writeFieldBegin('success', TType.STRUCT, 0)
4254
      self.success.write(oprot)
4274
      self.success.write(oprot)
4255
      oprot.writeFieldEnd()
4275
      oprot.writeFieldEnd()
4256
    if self.ucex != None:
4276
    if self.ucex is not None:
4257
      oprot.writeFieldBegin('ucex', TType.STRUCT, 1)
4277
      oprot.writeFieldBegin('ucex', TType.STRUCT, 1)
4258
      self.ucex.write(oprot)
4278
      self.ucex.write(oprot)
4259
      oprot.writeFieldEnd()
4279
      oprot.writeFieldEnd()
4260
    oprot.writeFieldStop()
4280
    oprot.writeFieldStop()
4261
    oprot.writeStructEnd()
4281
    oprot.writeStructEnd()
4262
 
4282
 
-
 
4283
  def validate(self):
-
 
4284
    return
-
 
4285
 
-
 
4286
 
4263
  def __repr__(self):
4287
  def __repr__(self):
4264
    L = ['%s=%r' % (key, value)
4288
    L = ['%s=%r' % (key, value)
4265
      for key, value in self.__dict__.iteritems()]
4289
      for key, value in self.__dict__.iteritems()]
4266
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
4290
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
4267
 
4291
 
Line 4307... Line 4331...
4307
  def write(self, oprot):
4331
  def write(self, oprot):
4308
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
4332
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
4309
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
4333
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
4310
      return
4334
      return
4311
    oprot.writeStructBegin('getUserByMobileNumber_args')
4335
    oprot.writeStructBegin('getUserByMobileNumber_args')
4312
    if self.mobileNumber != None:
4336
    if self.mobileNumber is not None:
4313
      oprot.writeFieldBegin('mobileNumber', TType.I64, 1)
4337
      oprot.writeFieldBegin('mobileNumber', TType.I64, 1)
4314
      oprot.writeI64(self.mobileNumber)
4338
      oprot.writeI64(self.mobileNumber)
4315
      oprot.writeFieldEnd()
4339
      oprot.writeFieldEnd()
4316
    oprot.writeFieldStop()
4340
    oprot.writeFieldStop()
4317
    oprot.writeStructEnd()
4341
    oprot.writeStructEnd()
4318
 
4342
 
-
 
4343
  def validate(self):
-
 
4344
    return
-
 
4345
 
-
 
4346
 
4319
  def __repr__(self):
4347
  def __repr__(self):
4320
    L = ['%s=%r' % (key, value)
4348
    L = ['%s=%r' % (key, value)
4321
      for key, value in self.__dict__.iteritems()]
4349
      for key, value in self.__dict__.iteritems()]
4322
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
4350
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
4323
 
4351
 
Line 4372... Line 4400...
4372
  def write(self, oprot):
4400
  def write(self, oprot):
4373
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
4401
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
4374
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
4402
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
4375
      return
4403
      return
4376
    oprot.writeStructBegin('getUserByMobileNumber_result')
4404
    oprot.writeStructBegin('getUserByMobileNumber_result')
4377
    if self.success != None:
4405
    if self.success is not None:
4378
      oprot.writeFieldBegin('success', TType.STRUCT, 0)
4406
      oprot.writeFieldBegin('success', TType.STRUCT, 0)
4379
      self.success.write(oprot)
4407
      self.success.write(oprot)
4380
      oprot.writeFieldEnd()
4408
      oprot.writeFieldEnd()
4381
    if self.ucex != None:
4409
    if self.ucex is not None:
4382
      oprot.writeFieldBegin('ucex', TType.STRUCT, 1)
4410
      oprot.writeFieldBegin('ucex', TType.STRUCT, 1)
4383
      self.ucex.write(oprot)
4411
      self.ucex.write(oprot)
4384
      oprot.writeFieldEnd()
4412
      oprot.writeFieldEnd()
4385
    oprot.writeFieldStop()
4413
    oprot.writeFieldStop()
4386
    oprot.writeStructEnd()
4414
    oprot.writeStructEnd()
4387
 
4415
 
-
 
4416
  def validate(self):
-
 
4417
    return
-
 
4418
 
-
 
4419
 
4388
  def __repr__(self):
4420
  def __repr__(self):
4389
    L = ['%s=%r' % (key, value)
4421
    L = ['%s=%r' % (key, value)
4390
      for key, value in self.__dict__.iteritems()]
4422
      for key, value in self.__dict__.iteritems()]
4391
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
4423
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
4392
 
4424
 
Line 4433... Line 4465...
4433
  def write(self, oprot):
4465
  def write(self, oprot):
4434
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
4466
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
4435
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
4467
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
4436
      return
4468
      return
4437
    oprot.writeStructBegin('createUser_args')
4469
    oprot.writeStructBegin('createUser_args')
4438
    if self.user != None:
4470
    if self.user is not None:
4439
      oprot.writeFieldBegin('user', TType.STRUCT, 1)
4471
      oprot.writeFieldBegin('user', TType.STRUCT, 1)
4440
      self.user.write(oprot)
4472
      self.user.write(oprot)
4441
      oprot.writeFieldEnd()
4473
      oprot.writeFieldEnd()
4442
    oprot.writeFieldStop()
4474
    oprot.writeFieldStop()
4443
    oprot.writeStructEnd()
4475
    oprot.writeStructEnd()
4444
 
4476
 
-
 
4477
  def validate(self):
-
 
4478
    return
-
 
4479
 
-
 
4480
 
4445
  def __repr__(self):
4481
  def __repr__(self):
4446
    L = ['%s=%r' % (key, value)
4482
    L = ['%s=%r' % (key, value)
4447
      for key, value in self.__dict__.iteritems()]
4483
      for key, value in self.__dict__.iteritems()]
4448
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
4484
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
4449
 
4485
 
Line 4498... Line 4534...
4498
  def write(self, oprot):
4534
  def write(self, oprot):
4499
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
4535
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
4500
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
4536
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
4501
      return
4537
      return
4502
    oprot.writeStructBegin('createUser_result')
4538
    oprot.writeStructBegin('createUser_result')
4503
    if self.success != None:
4539
    if self.success is not None:
4504
      oprot.writeFieldBegin('success', TType.STRUCT, 0)
4540
      oprot.writeFieldBegin('success', TType.STRUCT, 0)
4505
      self.success.write(oprot)
4541
      self.success.write(oprot)
4506
      oprot.writeFieldEnd()
4542
      oprot.writeFieldEnd()
4507
    if self.ucex != None:
4543
    if self.ucex is not None:
4508
      oprot.writeFieldBegin('ucex', TType.STRUCT, 1)
4544
      oprot.writeFieldBegin('ucex', TType.STRUCT, 1)
4509
      self.ucex.write(oprot)
4545
      self.ucex.write(oprot)
4510
      oprot.writeFieldEnd()
4546
      oprot.writeFieldEnd()
4511
    oprot.writeFieldStop()
4547
    oprot.writeFieldStop()
4512
    oprot.writeStructEnd()
4548
    oprot.writeStructEnd()
4513
 
4549
 
-
 
4550
  def validate(self):
-
 
4551
    return
-
 
4552
 
-
 
4553
 
4514
  def __repr__(self):
4554
  def __repr__(self):
4515
    L = ['%s=%r' % (key, value)
4555
    L = ['%s=%r' % (key, value)
4516
      for key, value in self.__dict__.iteritems()]
4556
      for key, value in self.__dict__.iteritems()]
4517
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
4557
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
4518
 
4558
 
Line 4559... Line 4599...
4559
  def write(self, oprot):
4599
  def write(self, oprot):
4560
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
4600
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
4561
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
4601
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
4562
      return
4602
      return
4563
    oprot.writeStructBegin('updateUser_args')
4603
    oprot.writeStructBegin('updateUser_args')
4564
    if self.user != None:
4604
    if self.user is not None:
4565
      oprot.writeFieldBegin('user', TType.STRUCT, 1)
4605
      oprot.writeFieldBegin('user', TType.STRUCT, 1)
4566
      self.user.write(oprot)
4606
      self.user.write(oprot)
4567
      oprot.writeFieldEnd()
4607
      oprot.writeFieldEnd()
4568
    oprot.writeFieldStop()
4608
    oprot.writeFieldStop()
4569
    oprot.writeStructEnd()
4609
    oprot.writeStructEnd()
4570
 
4610
 
-
 
4611
  def validate(self):
-
 
4612
    return
-
 
4613
 
-
 
4614
 
4571
  def __repr__(self):
4615
  def __repr__(self):
4572
    L = ['%s=%r' % (key, value)
4616
    L = ['%s=%r' % (key, value)
4573
      for key, value in self.__dict__.iteritems()]
4617
      for key, value in self.__dict__.iteritems()]
4574
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
4618
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
4575
 
4619
 
Line 4624... Line 4668...
4624
  def write(self, oprot):
4668
  def write(self, oprot):
4625
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
4669
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
4626
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
4670
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
4627
      return
4671
      return
4628
    oprot.writeStructBegin('updateUser_result')
4672
    oprot.writeStructBegin('updateUser_result')
4629
    if self.success != None:
4673
    if self.success is not None:
4630
      oprot.writeFieldBegin('success', TType.STRUCT, 0)
4674
      oprot.writeFieldBegin('success', TType.STRUCT, 0)
4631
      self.success.write(oprot)
4675
      self.success.write(oprot)
4632
      oprot.writeFieldEnd()
4676
      oprot.writeFieldEnd()
4633
    if self.ucex != None:
4677
    if self.ucex is not None:
4634
      oprot.writeFieldBegin('ucex', TType.STRUCT, 1)
4678
      oprot.writeFieldBegin('ucex', TType.STRUCT, 1)
4635
      self.ucex.write(oprot)
4679
      self.ucex.write(oprot)
4636
      oprot.writeFieldEnd()
4680
      oprot.writeFieldEnd()
4637
    oprot.writeFieldStop()
4681
    oprot.writeFieldStop()
4638
    oprot.writeStructEnd()
4682
    oprot.writeStructEnd()
4639
 
4683
 
-
 
4684
  def validate(self):
-
 
4685
    return
-
 
4686
 
-
 
4687
 
4640
  def __repr__(self):
4688
  def __repr__(self):
4641
    L = ['%s=%r' % (key, value)
4689
    L = ['%s=%r' % (key, value)
4642
      for key, value in self.__dict__.iteritems()]
4690
      for key, value in self.__dict__.iteritems()]
4643
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
4691
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
4644
 
4692
 
Line 4684... Line 4732...
4684
  def write(self, oprot):
4732
  def write(self, oprot):
4685
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
4733
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
4686
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
4734
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
4687
      return
4735
      return
4688
    oprot.writeStructBegin('deleteUser_args')
4736
    oprot.writeStructBegin('deleteUser_args')
4689
    if self.userId != None:
4737
    if self.userId is not None:
4690
      oprot.writeFieldBegin('userId', TType.I64, 1)
4738
      oprot.writeFieldBegin('userId', TType.I64, 1)
4691
      oprot.writeI64(self.userId)
4739
      oprot.writeI64(self.userId)
4692
      oprot.writeFieldEnd()
4740
      oprot.writeFieldEnd()
4693
    oprot.writeFieldStop()
4741
    oprot.writeFieldStop()
4694
    oprot.writeStructEnd()
4742
    oprot.writeStructEnd()
4695
 
4743
 
-
 
4744
  def validate(self):
-
 
4745
    return
-
 
4746
 
-
 
4747
 
4696
  def __repr__(self):
4748
  def __repr__(self):
4697
    L = ['%s=%r' % (key, value)
4749
    L = ['%s=%r' % (key, value)
4698
      for key, value in self.__dict__.iteritems()]
4750
      for key, value in self.__dict__.iteritems()]
4699
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
4751
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
4700
 
4752
 
Line 4748... Line 4800...
4748
  def write(self, oprot):
4800
  def write(self, oprot):
4749
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
4801
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
4750
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
4802
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
4751
      return
4803
      return
4752
    oprot.writeStructBegin('deleteUser_result')
4804
    oprot.writeStructBegin('deleteUser_result')
4753
    if self.success != None:
4805
    if self.success is not None:
4754
      oprot.writeFieldBegin('success', TType.BOOL, 0)
4806
      oprot.writeFieldBegin('success', TType.BOOL, 0)
4755
      oprot.writeBool(self.success)
4807
      oprot.writeBool(self.success)
4756
      oprot.writeFieldEnd()
4808
      oprot.writeFieldEnd()
4757
    if self.ucex != None:
4809
    if self.ucex is not None:
4758
      oprot.writeFieldBegin('ucex', TType.STRUCT, 1)
4810
      oprot.writeFieldBegin('ucex', TType.STRUCT, 1)
4759
      self.ucex.write(oprot)
4811
      self.ucex.write(oprot)
4760
      oprot.writeFieldEnd()
4812
      oprot.writeFieldEnd()
4761
    oprot.writeFieldStop()
4813
    oprot.writeFieldStop()
4762
    oprot.writeStructEnd()
4814
    oprot.writeStructEnd()
4763
 
4815
 
-
 
4816
  def validate(self):
-
 
4817
    return
-
 
4818
 
-
 
4819
 
4764
  def __repr__(self):
4820
  def __repr__(self):
4765
    L = ['%s=%r' % (key, value)
4821
    L = ['%s=%r' % (key, value)
4766
      for key, value in self.__dict__.iteritems()]
4822
      for key, value in self.__dict__.iteritems()]
4767
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
4823
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
4768
 
4824
 
Line 4808... Line 4864...
4808
  def write(self, oprot):
4864
  def write(self, oprot):
4809
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
4865
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
4810
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
4866
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
4811
      return
4867
      return
4812
    oprot.writeStructBegin('getUserState_args')
4868
    oprot.writeStructBegin('getUserState_args')
4813
    if self.userId != None:
4869
    if self.userId is not None:
4814
      oprot.writeFieldBegin('userId', TType.I64, 1)
4870
      oprot.writeFieldBegin('userId', TType.I64, 1)
4815
      oprot.writeI64(self.userId)
4871
      oprot.writeI64(self.userId)
4816
      oprot.writeFieldEnd()
4872
      oprot.writeFieldEnd()
4817
    oprot.writeFieldStop()
4873
    oprot.writeFieldStop()
4818
    oprot.writeStructEnd()
4874
    oprot.writeStructEnd()
4819
 
4875
 
-
 
4876
  def validate(self):
-
 
4877
    return
-
 
4878
 
-
 
4879
 
4820
  def __repr__(self):
4880
  def __repr__(self):
4821
    L = ['%s=%r' % (key, value)
4881
    L = ['%s=%r' % (key, value)
4822
      for key, value in self.__dict__.iteritems()]
4882
      for key, value in self.__dict__.iteritems()]
4823
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
4883
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
4824
 
4884
 
Line 4873... Line 4933...
4873
  def write(self, oprot):
4933
  def write(self, oprot):
4874
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
4934
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
4875
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
4935
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
4876
      return
4936
      return
4877
    oprot.writeStructBegin('getUserState_result')
4937
    oprot.writeStructBegin('getUserState_result')
4878
    if self.success != None:
4938
    if self.success is not None:
4879
      oprot.writeFieldBegin('success', TType.STRUCT, 0)
4939
      oprot.writeFieldBegin('success', TType.STRUCT, 0)
4880
      self.success.write(oprot)
4940
      self.success.write(oprot)
4881
      oprot.writeFieldEnd()
4941
      oprot.writeFieldEnd()
4882
    if self.ucex != None:
4942
    if self.ucex is not None:
4883
      oprot.writeFieldBegin('ucex', TType.STRUCT, 1)
4943
      oprot.writeFieldBegin('ucex', TType.STRUCT, 1)
4884
      self.ucex.write(oprot)
4944
      self.ucex.write(oprot)
4885
      oprot.writeFieldEnd()
4945
      oprot.writeFieldEnd()
4886
    oprot.writeFieldStop()
4946
    oprot.writeFieldStop()
4887
    oprot.writeStructEnd()
4947
    oprot.writeStructEnd()
4888
 
4948
 
-
 
4949
  def validate(self):
-
 
4950
    return
-
 
4951
 
-
 
4952
 
4889
  def __repr__(self):
4953
  def __repr__(self):
4890
    L = ['%s=%r' % (key, value)
4954
    L = ['%s=%r' % (key, value)
4891
      for key, value in self.__dict__.iteritems()]
4955
      for key, value in self.__dict__.iteritems()]
4892
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
4956
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
4893
 
4957
 
Line 4941... Line 5005...
4941
  def write(self, oprot):
5005
  def write(self, oprot):
4942
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
5006
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
4943
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
5007
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
4944
      return
5008
      return
4945
    oprot.writeStructBegin('authenticateUser_args')
5009
    oprot.writeStructBegin('authenticateUser_args')
4946
    if self.email != None:
5010
    if self.email is not None:
4947
      oprot.writeFieldBegin('email', TType.STRING, 1)
5011
      oprot.writeFieldBegin('email', TType.STRING, 1)
4948
      oprot.writeString(self.email)
5012
      oprot.writeString(self.email)
4949
      oprot.writeFieldEnd()
5013
      oprot.writeFieldEnd()
4950
    if self.password != None:
5014
    if self.password is not None:
4951
      oprot.writeFieldBegin('password', TType.STRING, 2)
5015
      oprot.writeFieldBegin('password', TType.STRING, 2)
4952
      oprot.writeString(self.password)
5016
      oprot.writeString(self.password)
4953
      oprot.writeFieldEnd()
5017
      oprot.writeFieldEnd()
4954
    oprot.writeFieldStop()
5018
    oprot.writeFieldStop()
4955
    oprot.writeStructEnd()
5019
    oprot.writeStructEnd()
4956
 
5020
 
-
 
5021
  def validate(self):
-
 
5022
    return
-
 
5023
 
-
 
5024
 
4957
  def __repr__(self):
5025
  def __repr__(self):
4958
    L = ['%s=%r' % (key, value)
5026
    L = ['%s=%r' % (key, value)
4959
      for key, value in self.__dict__.iteritems()]
5027
      for key, value in self.__dict__.iteritems()]
4960
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
5028
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
4961
 
5029
 
Line 5010... Line 5078...
5010
  def write(self, oprot):
5078
  def write(self, oprot):
5011
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
5079
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
5012
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
5080
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
5013
      return
5081
      return
5014
    oprot.writeStructBegin('authenticateUser_result')
5082
    oprot.writeStructBegin('authenticateUser_result')
5015
    if self.success != None:
5083
    if self.success is not None:
5016
      oprot.writeFieldBegin('success', TType.STRUCT, 0)
5084
      oprot.writeFieldBegin('success', TType.STRUCT, 0)
5017
      self.success.write(oprot)
5085
      self.success.write(oprot)
5018
      oprot.writeFieldEnd()
5086
      oprot.writeFieldEnd()
5019
    if self.auex != None:
5087
    if self.auex is not None:
5020
      oprot.writeFieldBegin('auex', TType.STRUCT, 1)
5088
      oprot.writeFieldBegin('auex', TType.STRUCT, 1)
5021
      self.auex.write(oprot)
5089
      self.auex.write(oprot)
5022
      oprot.writeFieldEnd()
5090
      oprot.writeFieldEnd()
5023
    oprot.writeFieldStop()
5091
    oprot.writeFieldStop()
5024
    oprot.writeStructEnd()
5092
    oprot.writeStructEnd()
5025
 
5093
 
-
 
5094
  def validate(self):
-
 
5095
    return
-
 
5096
 
-
 
5097
 
5026
  def __repr__(self):
5098
  def __repr__(self):
5027
    L = ['%s=%r' % (key, value)
5099
    L = ['%s=%r' % (key, value)
5028
      for key, value in self.__dict__.iteritems()]
5100
      for key, value in self.__dict__.iteritems()]
5029
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
5101
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
5030
 
5102
 
Line 5070... Line 5142...
5070
  def write(self, oprot):
5142
  def write(self, oprot):
5071
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
5143
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
5072
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
5144
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
5073
      return
5145
      return
5074
    oprot.writeStructBegin('userExists_args')
5146
    oprot.writeStructBegin('userExists_args')
5075
    if self.email != None:
5147
    if self.email is not None:
5076
      oprot.writeFieldBegin('email', TType.STRING, 1)
5148
      oprot.writeFieldBegin('email', TType.STRING, 1)
5077
      oprot.writeString(self.email)
5149
      oprot.writeString(self.email)
5078
      oprot.writeFieldEnd()
5150
      oprot.writeFieldEnd()
5079
    oprot.writeFieldStop()
5151
    oprot.writeFieldStop()
5080
    oprot.writeStructEnd()
5152
    oprot.writeStructEnd()
5081
 
5153
 
-
 
5154
  def validate(self):
-
 
5155
    return
-
 
5156
 
-
 
5157
 
5082
  def __repr__(self):
5158
  def __repr__(self):
5083
    L = ['%s=%r' % (key, value)
5159
    L = ['%s=%r' % (key, value)
5084
      for key, value in self.__dict__.iteritems()]
5160
      for key, value in self.__dict__.iteritems()]
5085
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
5161
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
5086
 
5162
 
Line 5134... Line 5210...
5134
  def write(self, oprot):
5210
  def write(self, oprot):
5135
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
5211
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
5136
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
5212
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
5137
      return
5213
      return
5138
    oprot.writeStructBegin('userExists_result')
5214
    oprot.writeStructBegin('userExists_result')
5139
    if self.success != None:
5215
    if self.success is not None:
5140
      oprot.writeFieldBegin('success', TType.BOOL, 0)
5216
      oprot.writeFieldBegin('success', TType.BOOL, 0)
5141
      oprot.writeBool(self.success)
5217
      oprot.writeBool(self.success)
5142
      oprot.writeFieldEnd()
5218
      oprot.writeFieldEnd()
5143
    if self.ucx != None:
5219
    if self.ucx is not None:
5144
      oprot.writeFieldBegin('ucx', TType.STRUCT, 1)
5220
      oprot.writeFieldBegin('ucx', TType.STRUCT, 1)
5145
      self.ucx.write(oprot)
5221
      self.ucx.write(oprot)
5146
      oprot.writeFieldEnd()
5222
      oprot.writeFieldEnd()
5147
    oprot.writeFieldStop()
5223
    oprot.writeFieldStop()
5148
    oprot.writeStructEnd()
5224
    oprot.writeStructEnd()
5149
 
5225
 
-
 
5226
  def validate(self):
-
 
5227
    return
-
 
5228
 
-
 
5229
 
5150
  def __repr__(self):
5230
  def __repr__(self):
5151
    L = ['%s=%r' % (key, value)
5231
    L = ['%s=%r' % (key, value)
5152
      for key, value in self.__dict__.iteritems()]
5232
      for key, value in self.__dict__.iteritems()]
5153
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
5233
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
5154
 
5234
 
Line 5211... Line 5291...
5211
  def write(self, oprot):
5291
  def write(self, oprot):
5212
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
5292
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
5213
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
5293
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
5214
      return
5294
      return
5215
    oprot.writeStructBegin('addAddressForUser_args')
5295
    oprot.writeStructBegin('addAddressForUser_args')
5216
    if self.userId != None:
5296
    if self.userId is not None:
5217
      oprot.writeFieldBegin('userId', TType.I64, 1)
5297
      oprot.writeFieldBegin('userId', TType.I64, 1)
5218
      oprot.writeI64(self.userId)
5298
      oprot.writeI64(self.userId)
5219
      oprot.writeFieldEnd()
5299
      oprot.writeFieldEnd()
5220
    if self.address != None:
5300
    if self.address is not None:
5221
      oprot.writeFieldBegin('address', TType.STRUCT, 2)
5301
      oprot.writeFieldBegin('address', TType.STRUCT, 2)
5222
      self.address.write(oprot)
5302
      self.address.write(oprot)
5223
      oprot.writeFieldEnd()
5303
      oprot.writeFieldEnd()
5224
    if self.setDefault != None:
5304
    if self.setDefault is not None:
5225
      oprot.writeFieldBegin('setDefault', TType.BOOL, 3)
5305
      oprot.writeFieldBegin('setDefault', TType.BOOL, 3)
5226
      oprot.writeBool(self.setDefault)
5306
      oprot.writeBool(self.setDefault)
5227
      oprot.writeFieldEnd()
5307
      oprot.writeFieldEnd()
5228
    oprot.writeFieldStop()
5308
    oprot.writeFieldStop()
5229
    oprot.writeStructEnd()
5309
    oprot.writeStructEnd()
5230
 
5310
 
-
 
5311
  def validate(self):
-
 
5312
    return
-
 
5313
 
-
 
5314
 
5231
  def __repr__(self):
5315
  def __repr__(self):
5232
    L = ['%s=%r' % (key, value)
5316
    L = ['%s=%r' % (key, value)
5233
      for key, value in self.__dict__.iteritems()]
5317
      for key, value in self.__dict__.iteritems()]
5234
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
5318
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
5235
 
5319
 
Line 5283... Line 5367...
5283
  def write(self, oprot):
5367
  def write(self, oprot):
5284
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
5368
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
5285
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
5369
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
5286
      return
5370
      return
5287
    oprot.writeStructBegin('addAddressForUser_result')
5371
    oprot.writeStructBegin('addAddressForUser_result')
5288
    if self.success != None:
5372
    if self.success is not None:
5289
      oprot.writeFieldBegin('success', TType.I64, 0)
5373
      oprot.writeFieldBegin('success', TType.I64, 0)
5290
      oprot.writeI64(self.success)
5374
      oprot.writeI64(self.success)
5291
      oprot.writeFieldEnd()
5375
      oprot.writeFieldEnd()
5292
    if self.ucx != None:
5376
    if self.ucx is not None:
5293
      oprot.writeFieldBegin('ucx', TType.STRUCT, 1)
5377
      oprot.writeFieldBegin('ucx', TType.STRUCT, 1)
5294
      self.ucx.write(oprot)
5378
      self.ucx.write(oprot)
5295
      oprot.writeFieldEnd()
5379
      oprot.writeFieldEnd()
5296
    oprot.writeFieldStop()
5380
    oprot.writeFieldStop()
5297
    oprot.writeStructEnd()
5381
    oprot.writeStructEnd()
5298
 
5382
 
-
 
5383
  def validate(self):
-
 
5384
    return
-
 
5385
 
-
 
5386
 
5299
  def __repr__(self):
5387
  def __repr__(self):
5300
    L = ['%s=%r' % (key, value)
5388
    L = ['%s=%r' % (key, value)
5301
      for key, value in self.__dict__.iteritems()]
5389
      for key, value in self.__dict__.iteritems()]
5302
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
5390
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
5303
 
5391
 
Line 5351... Line 5439...
5351
  def write(self, oprot):
5439
  def write(self, oprot):
5352
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
5440
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
5353
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
5441
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
5354
      return
5442
      return
5355
    oprot.writeStructBegin('removeAddressForUser_args')
5443
    oprot.writeStructBegin('removeAddressForUser_args')
5356
    if self.userid != None:
5444
    if self.userid is not None:
5357
      oprot.writeFieldBegin('userid', TType.I64, 1)
5445
      oprot.writeFieldBegin('userid', TType.I64, 1)
5358
      oprot.writeI64(self.userid)
5446
      oprot.writeI64(self.userid)
5359
      oprot.writeFieldEnd()
5447
      oprot.writeFieldEnd()
5360
    if self.addressId != None:
5448
    if self.addressId is not None:
5361
      oprot.writeFieldBegin('addressId', TType.I64, 2)
5449
      oprot.writeFieldBegin('addressId', TType.I64, 2)
5362
      oprot.writeI64(self.addressId)
5450
      oprot.writeI64(self.addressId)
5363
      oprot.writeFieldEnd()
5451
      oprot.writeFieldEnd()
5364
    oprot.writeFieldStop()
5452
    oprot.writeFieldStop()
5365
    oprot.writeStructEnd()
5453
    oprot.writeStructEnd()
5366
 
5454
 
-
 
5455
  def validate(self):
-
 
5456
    return
-
 
5457
 
-
 
5458
 
5367
  def __repr__(self):
5459
  def __repr__(self):
5368
    L = ['%s=%r' % (key, value)
5460
    L = ['%s=%r' % (key, value)
5369
      for key, value in self.__dict__.iteritems()]
5461
      for key, value in self.__dict__.iteritems()]
5370
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
5462
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
5371
 
5463
 
Line 5419... Line 5511...
5419
  def write(self, oprot):
5511
  def write(self, oprot):
5420
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
5512
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
5421
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
5513
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
5422
      return
5514
      return
5423
    oprot.writeStructBegin('removeAddressForUser_result')
5515
    oprot.writeStructBegin('removeAddressForUser_result')
5424
    if self.success != None:
5516
    if self.success is not None:
5425
      oprot.writeFieldBegin('success', TType.BOOL, 0)
5517
      oprot.writeFieldBegin('success', TType.BOOL, 0)
5426
      oprot.writeBool(self.success)
5518
      oprot.writeBool(self.success)
5427
      oprot.writeFieldEnd()
5519
      oprot.writeFieldEnd()
5428
    if self.ucx != None:
5520
    if self.ucx is not None:
5429
      oprot.writeFieldBegin('ucx', TType.STRUCT, 1)
5521
      oprot.writeFieldBegin('ucx', TType.STRUCT, 1)
5430
      self.ucx.write(oprot)
5522
      self.ucx.write(oprot)
5431
      oprot.writeFieldEnd()
5523
      oprot.writeFieldEnd()
5432
    oprot.writeFieldStop()
5524
    oprot.writeFieldStop()
5433
    oprot.writeStructEnd()
5525
    oprot.writeStructEnd()
5434
 
5526
 
-
 
5527
  def validate(self):
-
 
5528
    return
-
 
5529
 
-
 
5530
 
5435
  def __repr__(self):
5531
  def __repr__(self):
5436
    L = ['%s=%r' % (key, value)
5532
    L = ['%s=%r' % (key, value)
5437
      for key, value in self.__dict__.iteritems()]
5533
      for key, value in self.__dict__.iteritems()]
5438
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
5534
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
5439
 
5535
 
Line 5487... Line 5583...
5487
  def write(self, oprot):
5583
  def write(self, oprot):
5488
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
5584
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
5489
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
5585
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
5490
      return
5586
      return
5491
    oprot.writeStructBegin('setUserAsLoggedIn_args')
5587
    oprot.writeStructBegin('setUserAsLoggedIn_args')
5492
    if self.userId != None:
5588
    if self.userId is not None:
5493
      oprot.writeFieldBegin('userId', TType.I64, 1)
5589
      oprot.writeFieldBegin('userId', TType.I64, 1)
5494
      oprot.writeI64(self.userId)
5590
      oprot.writeI64(self.userId)
5495
      oprot.writeFieldEnd()
5591
      oprot.writeFieldEnd()
5496
    if self.timestamp != None:
5592
    if self.timestamp is not None:
5497
      oprot.writeFieldBegin('timestamp', TType.I64, 2)
5593
      oprot.writeFieldBegin('timestamp', TType.I64, 2)
5498
      oprot.writeI64(self.timestamp)
5594
      oprot.writeI64(self.timestamp)
5499
      oprot.writeFieldEnd()
5595
      oprot.writeFieldEnd()
5500
    oprot.writeFieldStop()
5596
    oprot.writeFieldStop()
5501
    oprot.writeStructEnd()
5597
    oprot.writeStructEnd()
5502
 
5598
 
-
 
5599
  def validate(self):
-
 
5600
    return
-
 
5601
 
-
 
5602
 
5503
  def __repr__(self):
5603
  def __repr__(self):
5504
    L = ['%s=%r' % (key, value)
5604
    L = ['%s=%r' % (key, value)
5505
      for key, value in self.__dict__.iteritems()]
5605
      for key, value in self.__dict__.iteritems()]
5506
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
5606
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
5507
 
5607
 
Line 5555... Line 5655...
5555
  def write(self, oprot):
5655
  def write(self, oprot):
5556
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
5656
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
5557
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
5657
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
5558
      return
5658
      return
5559
    oprot.writeStructBegin('setUserAsLoggedIn_result')
5659
    oprot.writeStructBegin('setUserAsLoggedIn_result')
5560
    if self.success != None:
5660
    if self.success is not None:
5561
      oprot.writeFieldBegin('success', TType.BOOL, 0)
5661
      oprot.writeFieldBegin('success', TType.BOOL, 0)
5562
      oprot.writeBool(self.success)
5662
      oprot.writeBool(self.success)
5563
      oprot.writeFieldEnd()
5663
      oprot.writeFieldEnd()
5564
    if self.ucx != None:
5664
    if self.ucx is not None:
5565
      oprot.writeFieldBegin('ucx', TType.STRUCT, 1)
5665
      oprot.writeFieldBegin('ucx', TType.STRUCT, 1)
5566
      self.ucx.write(oprot)
5666
      self.ucx.write(oprot)
5567
      oprot.writeFieldEnd()
5667
      oprot.writeFieldEnd()
5568
    oprot.writeFieldStop()
5668
    oprot.writeFieldStop()
5569
    oprot.writeStructEnd()
5669
    oprot.writeStructEnd()
5570
 
5670
 
-
 
5671
  def validate(self):
-
 
5672
    return
-
 
5673
 
-
 
5674
 
5571
  def __repr__(self):
5675
  def __repr__(self):
5572
    L = ['%s=%r' % (key, value)
5676
    L = ['%s=%r' % (key, value)
5573
      for key, value in self.__dict__.iteritems()]
5677
      for key, value in self.__dict__.iteritems()]
5574
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
5678
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
5575
 
5679
 
Line 5623... Line 5727...
5623
  def write(self, oprot):
5727
  def write(self, oprot):
5624
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
5728
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
5625
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
5729
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
5626
      return
5730
      return
5627
    oprot.writeStructBegin('setUserAsLoggedOut_args')
5731
    oprot.writeStructBegin('setUserAsLoggedOut_args')
5628
    if self.userid != None:
5732
    if self.userid is not None:
5629
      oprot.writeFieldBegin('userid', TType.I64, 1)
5733
      oprot.writeFieldBegin('userid', TType.I64, 1)
5630
      oprot.writeI64(self.userid)
5734
      oprot.writeI64(self.userid)
5631
      oprot.writeFieldEnd()
5735
      oprot.writeFieldEnd()
5632
    if self.timestamp != None:
5736
    if self.timestamp is not None:
5633
      oprot.writeFieldBegin('timestamp', TType.I64, 2)
5737
      oprot.writeFieldBegin('timestamp', TType.I64, 2)
5634
      oprot.writeI64(self.timestamp)
5738
      oprot.writeI64(self.timestamp)
5635
      oprot.writeFieldEnd()
5739
      oprot.writeFieldEnd()
5636
    oprot.writeFieldStop()
5740
    oprot.writeFieldStop()
5637
    oprot.writeStructEnd()
5741
    oprot.writeStructEnd()
5638
 
5742
 
-
 
5743
  def validate(self):
-
 
5744
    return
-
 
5745
 
-
 
5746
 
5639
  def __repr__(self):
5747
  def __repr__(self):
5640
    L = ['%s=%r' % (key, value)
5748
    L = ['%s=%r' % (key, value)
5641
      for key, value in self.__dict__.iteritems()]
5749
      for key, value in self.__dict__.iteritems()]
5642
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
5750
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
5643
 
5751
 
Line 5691... Line 5799...
5691
  def write(self, oprot):
5799
  def write(self, oprot):
5692
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
5800
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
5693
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
5801
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
5694
      return
5802
      return
5695
    oprot.writeStructBegin('setUserAsLoggedOut_result')
5803
    oprot.writeStructBegin('setUserAsLoggedOut_result')
5696
    if self.success != None:
5804
    if self.success is not None:
5697
      oprot.writeFieldBegin('success', TType.BOOL, 0)
5805
      oprot.writeFieldBegin('success', TType.BOOL, 0)
5698
      oprot.writeBool(self.success)
5806
      oprot.writeBool(self.success)
5699
      oprot.writeFieldEnd()
5807
      oprot.writeFieldEnd()
5700
    if self.ucx != None:
5808
    if self.ucx is not None:
5701
      oprot.writeFieldBegin('ucx', TType.STRUCT, 1)
5809
      oprot.writeFieldBegin('ucx', TType.STRUCT, 1)
5702
      self.ucx.write(oprot)
5810
      self.ucx.write(oprot)
5703
      oprot.writeFieldEnd()
5811
      oprot.writeFieldEnd()
5704
    oprot.writeFieldStop()
5812
    oprot.writeFieldStop()
5705
    oprot.writeStructEnd()
5813
    oprot.writeStructEnd()
5706
 
5814
 
-
 
5815
  def validate(self):
-
 
5816
    return
-
 
5817
 
-
 
5818
 
5707
  def __repr__(self):
5819
  def __repr__(self):
5708
    L = ['%s=%r' % (key, value)
5820
    L = ['%s=%r' % (key, value)
5709
      for key, value in self.__dict__.iteritems()]
5821
      for key, value in self.__dict__.iteritems()]
5710
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
5822
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
5711
 
5823
 
Line 5759... Line 5871...
5759
  def write(self, oprot):
5871
  def write(self, oprot):
5760
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
5872
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
5761
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
5873
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
5762
      return
5874
      return
5763
    oprot.writeStructBegin('setDefaultAddress_args')
5875
    oprot.writeStructBegin('setDefaultAddress_args')
5764
    if self.userid != None:
5876
    if self.userid is not None:
5765
      oprot.writeFieldBegin('userid', TType.I64, 1)
5877
      oprot.writeFieldBegin('userid', TType.I64, 1)
5766
      oprot.writeI64(self.userid)
5878
      oprot.writeI64(self.userid)
5767
      oprot.writeFieldEnd()
5879
      oprot.writeFieldEnd()
5768
    if self.addressId != None:
5880
    if self.addressId is not None:
5769
      oprot.writeFieldBegin('addressId', TType.I64, 2)
5881
      oprot.writeFieldBegin('addressId', TType.I64, 2)
5770
      oprot.writeI64(self.addressId)
5882
      oprot.writeI64(self.addressId)
5771
      oprot.writeFieldEnd()
5883
      oprot.writeFieldEnd()
5772
    oprot.writeFieldStop()
5884
    oprot.writeFieldStop()
5773
    oprot.writeStructEnd()
5885
    oprot.writeStructEnd()
5774
 
5886
 
-
 
5887
  def validate(self):
-
 
5888
    return
-
 
5889
 
-
 
5890
 
5775
  def __repr__(self):
5891
  def __repr__(self):
5776
    L = ['%s=%r' % (key, value)
5892
    L = ['%s=%r' % (key, value)
5777
      for key, value in self.__dict__.iteritems()]
5893
      for key, value in self.__dict__.iteritems()]
5778
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
5894
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
5779
 
5895
 
Line 5827... Line 5943...
5827
  def write(self, oprot):
5943
  def write(self, oprot):
5828
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
5944
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
5829
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
5945
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
5830
      return
5946
      return
5831
    oprot.writeStructBegin('setDefaultAddress_result')
5947
    oprot.writeStructBegin('setDefaultAddress_result')
5832
    if self.success != None:
5948
    if self.success is not None:
5833
      oprot.writeFieldBegin('success', TType.BOOL, 0)
5949
      oprot.writeFieldBegin('success', TType.BOOL, 0)
5834
      oprot.writeBool(self.success)
5950
      oprot.writeBool(self.success)
5835
      oprot.writeFieldEnd()
5951
      oprot.writeFieldEnd()
5836
    if self.ucx != None:
5952
    if self.ucx is not None:
5837
      oprot.writeFieldBegin('ucx', TType.STRUCT, 1)
5953
      oprot.writeFieldBegin('ucx', TType.STRUCT, 1)
5838
      self.ucx.write(oprot)
5954
      self.ucx.write(oprot)
5839
      oprot.writeFieldEnd()
5955
      oprot.writeFieldEnd()
5840
    oprot.writeFieldStop()
5956
    oprot.writeFieldStop()
5841
    oprot.writeStructEnd()
5957
    oprot.writeStructEnd()
5842
 
5958
 
-
 
5959
  def validate(self):
-
 
5960
    return
-
 
5961
 
-
 
5962
 
5843
  def __repr__(self):
5963
  def __repr__(self):
5844
    L = ['%s=%r' % (key, value)
5964
    L = ['%s=%r' % (key, value)
5845
      for key, value in self.__dict__.iteritems()]
5965
      for key, value in self.__dict__.iteritems()]
5846
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
5966
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
5847
 
5967
 
Line 5903... Line 6023...
5903
  def write(self, oprot):
6023
  def write(self, oprot):
5904
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
6024
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
5905
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
6025
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
5906
      return
6026
      return
5907
    oprot.writeStructBegin('updatePassword_args')
6027
    oprot.writeStructBegin('updatePassword_args')
5908
    if self.userid != None:
6028
    if self.userid is not None:
5909
      oprot.writeFieldBegin('userid', TType.I64, 1)
6029
      oprot.writeFieldBegin('userid', TType.I64, 1)
5910
      oprot.writeI64(self.userid)
6030
      oprot.writeI64(self.userid)
5911
      oprot.writeFieldEnd()
6031
      oprot.writeFieldEnd()
5912
    if self.oldPassword != None:
6032
    if self.oldPassword is not None:
5913
      oprot.writeFieldBegin('oldPassword', TType.STRING, 2)
6033
      oprot.writeFieldBegin('oldPassword', TType.STRING, 2)
5914
      oprot.writeString(self.oldPassword)
6034
      oprot.writeString(self.oldPassword)
5915
      oprot.writeFieldEnd()
6035
      oprot.writeFieldEnd()
5916
    if self.newPassword != None:
6036
    if self.newPassword is not None:
5917
      oprot.writeFieldBegin('newPassword', TType.STRING, 3)
6037
      oprot.writeFieldBegin('newPassword', TType.STRING, 3)
5918
      oprot.writeString(self.newPassword)
6038
      oprot.writeString(self.newPassword)
5919
      oprot.writeFieldEnd()
6039
      oprot.writeFieldEnd()
5920
    oprot.writeFieldStop()
6040
    oprot.writeFieldStop()
5921
    oprot.writeStructEnd()
6041
    oprot.writeStructEnd()
5922
 
6042
 
-
 
6043
  def validate(self):
-
 
6044
    return
-
 
6045
 
-
 
6046
 
5923
  def __repr__(self):
6047
  def __repr__(self):
5924
    L = ['%s=%r' % (key, value)
6048
    L = ['%s=%r' % (key, value)
5925
      for key, value in self.__dict__.iteritems()]
6049
      for key, value in self.__dict__.iteritems()]
5926
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
6050
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
5927
 
6051
 
Line 5975... Line 6099...
5975
  def write(self, oprot):
6099
  def write(self, oprot):
5976
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
6100
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
5977
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
6101
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
5978
      return
6102
      return
5979
    oprot.writeStructBegin('updatePassword_result')
6103
    oprot.writeStructBegin('updatePassword_result')
5980
    if self.success != None:
6104
    if self.success is not None:
5981
      oprot.writeFieldBegin('success', TType.BOOL, 0)
6105
      oprot.writeFieldBegin('success', TType.BOOL, 0)
5982
      oprot.writeBool(self.success)
6106
      oprot.writeBool(self.success)
5983
      oprot.writeFieldEnd()
6107
      oprot.writeFieldEnd()
5984
    if self.ucx != None:
6108
    if self.ucx is not None:
5985
      oprot.writeFieldBegin('ucx', TType.STRUCT, 1)
6109
      oprot.writeFieldBegin('ucx', TType.STRUCT, 1)
5986
      self.ucx.write(oprot)
6110
      self.ucx.write(oprot)
5987
      oprot.writeFieldEnd()
6111
      oprot.writeFieldEnd()
5988
    oprot.writeFieldStop()
6112
    oprot.writeFieldStop()
5989
    oprot.writeStructEnd()
6113
    oprot.writeStructEnd()
5990
 
6114
 
-
 
6115
  def validate(self):
-
 
6116
    return
-
 
6117
 
-
 
6118
 
5991
  def __repr__(self):
6119
  def __repr__(self):
5992
    L = ['%s=%r' % (key, value)
6120
    L = ['%s=%r' % (key, value)
5993
      for key, value in self.__dict__.iteritems()]
6121
      for key, value in self.__dict__.iteritems()]
5994
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
6122
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
5995
 
6123
 
Line 6043... Line 6171...
6043
  def write(self, oprot):
6171
  def write(self, oprot):
6044
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
6172
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
6045
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
6173
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
6046
      return
6174
      return
6047
    oprot.writeStructBegin('forgotPassword_args')
6175
    oprot.writeStructBegin('forgotPassword_args')
6048
    if self.email != None:
6176
    if self.email is not None:
6049
      oprot.writeFieldBegin('email', TType.STRING, 1)
6177
      oprot.writeFieldBegin('email', TType.STRING, 1)
6050
      oprot.writeString(self.email)
6178
      oprot.writeString(self.email)
6051
      oprot.writeFieldEnd()
6179
      oprot.writeFieldEnd()
6052
    if self.newPassword != None:
6180
    if self.newPassword is not None:
6053
      oprot.writeFieldBegin('newPassword', TType.STRING, 2)
6181
      oprot.writeFieldBegin('newPassword', TType.STRING, 2)
6054
      oprot.writeString(self.newPassword)
6182
      oprot.writeString(self.newPassword)
6055
      oprot.writeFieldEnd()
6183
      oprot.writeFieldEnd()
6056
    oprot.writeFieldStop()
6184
    oprot.writeFieldStop()
6057
    oprot.writeStructEnd()
6185
    oprot.writeStructEnd()
6058
 
6186
 
-
 
6187
  def validate(self):
-
 
6188
    return
-
 
6189
 
-
 
6190
 
6059
  def __repr__(self):
6191
  def __repr__(self):
6060
    L = ['%s=%r' % (key, value)
6192
    L = ['%s=%r' % (key, value)
6061
      for key, value in self.__dict__.iteritems()]
6193
      for key, value in self.__dict__.iteritems()]
6062
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
6194
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
6063
 
6195
 
Line 6111... Line 6243...
6111
  def write(self, oprot):
6243
  def write(self, oprot):
6112
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
6244
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
6113
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
6245
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
6114
      return
6246
      return
6115
    oprot.writeStructBegin('forgotPassword_result')
6247
    oprot.writeStructBegin('forgotPassword_result')
6116
    if self.success != None:
6248
    if self.success is not None:
6117
      oprot.writeFieldBegin('success', TType.BOOL, 0)
6249
      oprot.writeFieldBegin('success', TType.BOOL, 0)
6118
      oprot.writeBool(self.success)
6250
      oprot.writeBool(self.success)
6119
      oprot.writeFieldEnd()
6251
      oprot.writeFieldEnd()
6120
    if self.ucx != None:
6252
    if self.ucx is not None:
6121
      oprot.writeFieldBegin('ucx', TType.STRUCT, 1)
6253
      oprot.writeFieldBegin('ucx', TType.STRUCT, 1)
6122
      self.ucx.write(oprot)
6254
      self.ucx.write(oprot)
6123
      oprot.writeFieldEnd()
6255
      oprot.writeFieldEnd()
6124
    oprot.writeFieldStop()
6256
    oprot.writeFieldStop()
6125
    oprot.writeStructEnd()
6257
    oprot.writeStructEnd()
6126
 
6258
 
-
 
6259
  def validate(self):
-
 
6260
    return
-
 
6261
 
-
 
6262
 
6127
  def __repr__(self):
6263
  def __repr__(self):
6128
    L = ['%s=%r' % (key, value)
6264
    L = ['%s=%r' % (key, value)
6129
      for key, value in self.__dict__.iteritems()]
6265
      for key, value in self.__dict__.iteritems()]
6130
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
6266
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
6131
 
6267
 
Line 6171... Line 6307...
6171
  def write(self, oprot):
6307
  def write(self, oprot):
6172
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
6308
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
6173
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
6309
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
6174
      return
6310
      return
6175
    oprot.writeStructBegin('getAllAddressesForUser_args')
6311
    oprot.writeStructBegin('getAllAddressesForUser_args')
6176
    if self.userId != None:
6312
    if self.userId is not None:
6177
      oprot.writeFieldBegin('userId', TType.I64, 1)
6313
      oprot.writeFieldBegin('userId', TType.I64, 1)
6178
      oprot.writeI64(self.userId)
6314
      oprot.writeI64(self.userId)
6179
      oprot.writeFieldEnd()
6315
      oprot.writeFieldEnd()
6180
    oprot.writeFieldStop()
6316
    oprot.writeFieldStop()
6181
    oprot.writeStructEnd()
6317
    oprot.writeStructEnd()
6182
 
6318
 
-
 
6319
  def validate(self):
-
 
6320
    return
-
 
6321
 
-
 
6322
 
6183
  def __repr__(self):
6323
  def __repr__(self):
6184
    L = ['%s=%r' % (key, value)
6324
    L = ['%s=%r' % (key, value)
6185
      for key, value in self.__dict__.iteritems()]
6325
      for key, value in self.__dict__.iteritems()]
6186
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
6326
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
6187
 
6327
 
Line 6241... Line 6381...
6241
  def write(self, oprot):
6381
  def write(self, oprot):
6242
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
6382
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
6243
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
6383
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
6244
      return
6384
      return
6245
    oprot.writeStructBegin('getAllAddressesForUser_result')
6385
    oprot.writeStructBegin('getAllAddressesForUser_result')
6246
    if self.success != None:
6386
    if self.success is not None:
6247
      oprot.writeFieldBegin('success', TType.LIST, 0)
6387
      oprot.writeFieldBegin('success', TType.LIST, 0)
6248
      oprot.writeListBegin(TType.STRUCT, len(self.success))
6388
      oprot.writeListBegin(TType.STRUCT, len(self.success))
6249
      for iter41 in self.success:
6389
      for iter41 in self.success:
6250
        iter41.write(oprot)
6390
        iter41.write(oprot)
6251
      oprot.writeListEnd()
6391
      oprot.writeListEnd()
6252
      oprot.writeFieldEnd()
6392
      oprot.writeFieldEnd()
6253
    if self.ucx != None:
6393
    if self.ucx is not None:
6254
      oprot.writeFieldBegin('ucx', TType.STRUCT, 1)
6394
      oprot.writeFieldBegin('ucx', TType.STRUCT, 1)
6255
      self.ucx.write(oprot)
6395
      self.ucx.write(oprot)
6256
      oprot.writeFieldEnd()
6396
      oprot.writeFieldEnd()
6257
    oprot.writeFieldStop()
6397
    oprot.writeFieldStop()
6258
    oprot.writeStructEnd()
6398
    oprot.writeStructEnd()
6259
 
6399
 
-
 
6400
  def validate(self):
-
 
6401
    return
-
 
6402
 
-
 
6403
 
6260
  def __repr__(self):
6404
  def __repr__(self):
6261
    L = ['%s=%r' % (key, value)
6405
    L = ['%s=%r' % (key, value)
6262
      for key, value in self.__dict__.iteritems()]
6406
      for key, value in self.__dict__.iteritems()]
6263
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
6407
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
6264
 
6408
 
Line 6304... Line 6448...
6304
  def write(self, oprot):
6448
  def write(self, oprot):
6305
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
6449
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
6306
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
6450
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
6307
      return
6451
      return
6308
    oprot.writeStructBegin('getAddressById_args')
6452
    oprot.writeStructBegin('getAddressById_args')
6309
    if self.addressId != None:
6453
    if self.addressId is not None:
6310
      oprot.writeFieldBegin('addressId', TType.I64, 1)
6454
      oprot.writeFieldBegin('addressId', TType.I64, 1)
6311
      oprot.writeI64(self.addressId)
6455
      oprot.writeI64(self.addressId)
6312
      oprot.writeFieldEnd()
6456
      oprot.writeFieldEnd()
6313
    oprot.writeFieldStop()
6457
    oprot.writeFieldStop()
6314
    oprot.writeStructEnd()
6458
    oprot.writeStructEnd()
6315
 
6459
 
-
 
6460
  def validate(self):
-
 
6461
    return
-
 
6462
 
-
 
6463
 
6316
  def __repr__(self):
6464
  def __repr__(self):
6317
    L = ['%s=%r' % (key, value)
6465
    L = ['%s=%r' % (key, value)
6318
      for key, value in self.__dict__.iteritems()]
6466
      for key, value in self.__dict__.iteritems()]
6319
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
6467
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
6320
 
6468
 
Line 6369... Line 6517...
6369
  def write(self, oprot):
6517
  def write(self, oprot):
6370
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
6518
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
6371
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
6519
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
6372
      return
6520
      return
6373
    oprot.writeStructBegin('getAddressById_result')
6521
    oprot.writeStructBegin('getAddressById_result')
6374
    if self.success != None:
6522
    if self.success is not None:
6375
      oprot.writeFieldBegin('success', TType.STRUCT, 0)
6523
      oprot.writeFieldBegin('success', TType.STRUCT, 0)
6376
      self.success.write(oprot)
6524
      self.success.write(oprot)
6377
      oprot.writeFieldEnd()
6525
      oprot.writeFieldEnd()
6378
    if self.ucx != None:
6526
    if self.ucx is not None:
6379
      oprot.writeFieldBegin('ucx', TType.STRUCT, 1)
6527
      oprot.writeFieldBegin('ucx', TType.STRUCT, 1)
6380
      self.ucx.write(oprot)
6528
      self.ucx.write(oprot)
6381
      oprot.writeFieldEnd()
6529
      oprot.writeFieldEnd()
6382
    oprot.writeFieldStop()
6530
    oprot.writeFieldStop()
6383
    oprot.writeStructEnd()
6531
    oprot.writeStructEnd()
6384
 
6532
 
-
 
6533
  def validate(self):
-
 
6534
    return
-
 
6535
 
-
 
6536
 
6385
  def __repr__(self):
6537
  def __repr__(self):
6386
    L = ['%s=%r' % (key, value)
6538
    L = ['%s=%r' % (key, value)
6387
      for key, value in self.__dict__.iteritems()]
6539
      for key, value in self.__dict__.iteritems()]
6388
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
6540
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
6389
 
6541
 
Line 6429... Line 6581...
6429
  def write(self, oprot):
6581
  def write(self, oprot):
6430
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
6582
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
6431
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
6583
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
6432
      return
6584
      return
6433
    oprot.writeStructBegin('getDefaultAddressId_args')
6585
    oprot.writeStructBegin('getDefaultAddressId_args')
6434
    if self.userId != None:
6586
    if self.userId is not None:
6435
      oprot.writeFieldBegin('userId', TType.I64, 1)
6587
      oprot.writeFieldBegin('userId', TType.I64, 1)
6436
      oprot.writeI64(self.userId)
6588
      oprot.writeI64(self.userId)
6437
      oprot.writeFieldEnd()
6589
      oprot.writeFieldEnd()
6438
    oprot.writeFieldStop()
6590
    oprot.writeFieldStop()
6439
    oprot.writeStructEnd()
6591
    oprot.writeStructEnd()
6440
 
6592
 
-
 
6593
  def validate(self):
-
 
6594
    return
-
 
6595
 
-
 
6596
 
6441
  def __repr__(self):
6597
  def __repr__(self):
6442
    L = ['%s=%r' % (key, value)
6598
    L = ['%s=%r' % (key, value)
6443
      for key, value in self.__dict__.iteritems()]
6599
      for key, value in self.__dict__.iteritems()]
6444
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
6600
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
6445
 
6601
 
Line 6493... Line 6649...
6493
  def write(self, oprot):
6649
  def write(self, oprot):
6494
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
6650
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
6495
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
6651
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
6496
      return
6652
      return
6497
    oprot.writeStructBegin('getDefaultAddressId_result')
6653
    oprot.writeStructBegin('getDefaultAddressId_result')
6498
    if self.success != None:
6654
    if self.success is not None:
6499
      oprot.writeFieldBegin('success', TType.I64, 0)
6655
      oprot.writeFieldBegin('success', TType.I64, 0)
6500
      oprot.writeI64(self.success)
6656
      oprot.writeI64(self.success)
6501
      oprot.writeFieldEnd()
6657
      oprot.writeFieldEnd()
6502
    if self.ucx != None:
6658
    if self.ucx is not None:
6503
      oprot.writeFieldBegin('ucx', TType.STRUCT, 1)
6659
      oprot.writeFieldBegin('ucx', TType.STRUCT, 1)
6504
      self.ucx.write(oprot)
6660
      self.ucx.write(oprot)
6505
      oprot.writeFieldEnd()
6661
      oprot.writeFieldEnd()
6506
    oprot.writeFieldStop()
6662
    oprot.writeFieldStop()
6507
    oprot.writeStructEnd()
6663
    oprot.writeStructEnd()
6508
 
6664
 
-
 
6665
  def validate(self):
-
 
6666
    return
-
 
6667
 
-
 
6668
 
6509
  def __repr__(self):
6669
  def __repr__(self):
6510
    L = ['%s=%r' % (key, value)
6670
    L = ['%s=%r' % (key, value)
6511
      for key, value in self.__dict__.iteritems()]
6671
      for key, value in self.__dict__.iteritems()]
6512
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
6672
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
6513
 
6673
 
Line 6553... Line 6713...
6553
  def write(self, oprot):
6713
  def write(self, oprot):
6554
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
6714
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
6555
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
6715
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
6556
      return
6716
      return
6557
    oprot.writeStructBegin('getDefaultPincode_args')
6717
    oprot.writeStructBegin('getDefaultPincode_args')
6558
    if self.userId != None:
6718
    if self.userId is not None:
6559
      oprot.writeFieldBegin('userId', TType.I64, 1)
6719
      oprot.writeFieldBegin('userId', TType.I64, 1)
6560
      oprot.writeI64(self.userId)
6720
      oprot.writeI64(self.userId)
6561
      oprot.writeFieldEnd()
6721
      oprot.writeFieldEnd()
6562
    oprot.writeFieldStop()
6722
    oprot.writeFieldStop()
6563
    oprot.writeStructEnd()
6723
    oprot.writeStructEnd()
6564
 
6724
 
-
 
6725
  def validate(self):
-
 
6726
    return
-
 
6727
 
-
 
6728
 
6565
  def __repr__(self):
6729
  def __repr__(self):
6566
    L = ['%s=%r' % (key, value)
6730
    L = ['%s=%r' % (key, value)
6567
      for key, value in self.__dict__.iteritems()]
6731
      for key, value in self.__dict__.iteritems()]
6568
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
6732
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
6569
 
6733
 
Line 6617... Line 6781...
6617
  def write(self, oprot):
6781
  def write(self, oprot):
6618
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
6782
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
6619
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
6783
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
6620
      return
6784
      return
6621
    oprot.writeStructBegin('getDefaultPincode_result')
6785
    oprot.writeStructBegin('getDefaultPincode_result')
6622
    if self.success != None:
6786
    if self.success is not None:
6623
      oprot.writeFieldBegin('success', TType.STRING, 0)
6787
      oprot.writeFieldBegin('success', TType.STRING, 0)
6624
      oprot.writeString(self.success)
6788
      oprot.writeString(self.success)
6625
      oprot.writeFieldEnd()
6789
      oprot.writeFieldEnd()
6626
    if self.ucx != None:
6790
    if self.ucx is not None:
6627
      oprot.writeFieldBegin('ucx', TType.STRUCT, 1)
6791
      oprot.writeFieldBegin('ucx', TType.STRUCT, 1)
6628
      self.ucx.write(oprot)
6792
      self.ucx.write(oprot)
6629
      oprot.writeFieldEnd()
6793
      oprot.writeFieldEnd()
6630
    oprot.writeFieldStop()
6794
    oprot.writeFieldStop()
6631
    oprot.writeStructEnd()
6795
    oprot.writeStructEnd()
6632
 
6796
 
-
 
6797
  def validate(self):
-
 
6798
    return
-
 
6799
 
-
 
6800
 
6633
  def __repr__(self):
6801
  def __repr__(self):
6634
    L = ['%s=%r' % (key, value)
6802
    L = ['%s=%r' % (key, value)
6635
      for key, value in self.__dict__.iteritems()]
6803
      for key, value in self.__dict__.iteritems()]
6636
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
6804
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
6637
 
6805
 
Line 6733... Line 6901...
6733
  def write(self, oprot):
6901
  def write(self, oprot):
6734
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
6902
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
6735
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
6903
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
6736
      return
6904
      return
6737
    oprot.writeStructBegin('saveUserCommunication_args')
6905
    oprot.writeStructBegin('saveUserCommunication_args')
6738
    if self.userId != None:
6906
    if self.userId is not None:
6739
      oprot.writeFieldBegin('userId', TType.I64, 1)
6907
      oprot.writeFieldBegin('userId', TType.I64, 1)
6740
      oprot.writeI64(self.userId)
6908
      oprot.writeI64(self.userId)
6741
      oprot.writeFieldEnd()
6909
      oprot.writeFieldEnd()
6742
    if self.replyTo != None:
6910
    if self.replyTo is not None:
6743
      oprot.writeFieldBegin('replyTo', TType.STRING, 2)
6911
      oprot.writeFieldBegin('replyTo', TType.STRING, 2)
6744
      oprot.writeString(self.replyTo)
6912
      oprot.writeString(self.replyTo)
6745
      oprot.writeFieldEnd()
6913
      oprot.writeFieldEnd()
6746
    if self.communicationType != None:
6914
    if self.communicationType is not None:
6747
      oprot.writeFieldBegin('communicationType', TType.I64, 3)
6915
      oprot.writeFieldBegin('communicationType', TType.I64, 3)
6748
      oprot.writeI64(self.communicationType)
6916
      oprot.writeI64(self.communicationType)
6749
      oprot.writeFieldEnd()
6917
      oprot.writeFieldEnd()
6750
    if self.orderId != None:
6918
    if self.orderId is not None:
6751
      oprot.writeFieldBegin('orderId', TType.I64, 4)
6919
      oprot.writeFieldBegin('orderId', TType.I64, 4)
6752
      oprot.writeI64(self.orderId)
6920
      oprot.writeI64(self.orderId)
6753
      oprot.writeFieldEnd()
6921
      oprot.writeFieldEnd()
6754
    if self.airwaybillNo != None:
6922
    if self.airwaybillNo is not None:
6755
      oprot.writeFieldBegin('airwaybillNo', TType.STRING, 5)
6923
      oprot.writeFieldBegin('airwaybillNo', TType.STRING, 5)
6756
      oprot.writeString(self.airwaybillNo)
6924
      oprot.writeString(self.airwaybillNo)
6757
      oprot.writeFieldEnd()
6925
      oprot.writeFieldEnd()
6758
    if self.productName != None:
6926
    if self.productName is not None:
6759
      oprot.writeFieldBegin('productName', TType.STRING, 6)
6927
      oprot.writeFieldBegin('productName', TType.STRING, 6)
6760
      oprot.writeString(self.productName)
6928
      oprot.writeString(self.productName)
6761
      oprot.writeFieldEnd()
6929
      oprot.writeFieldEnd()
6762
    if self.subject != None:
6930
    if self.subject is not None:
6763
      oprot.writeFieldBegin('subject', TType.STRING, 7)
6931
      oprot.writeFieldBegin('subject', TType.STRING, 7)
6764
      oprot.writeString(self.subject)
6932
      oprot.writeString(self.subject)
6765
      oprot.writeFieldEnd()
6933
      oprot.writeFieldEnd()
6766
    if self.message != None:
6934
    if self.message is not None:
6767
      oprot.writeFieldBegin('message', TType.STRING, 8)
6935
      oprot.writeFieldBegin('message', TType.STRING, 8)
6768
      oprot.writeString(self.message)
6936
      oprot.writeString(self.message)
6769
      oprot.writeFieldEnd()
6937
      oprot.writeFieldEnd()
6770
    oprot.writeFieldStop()
6938
    oprot.writeFieldStop()
6771
    oprot.writeStructEnd()
6939
    oprot.writeStructEnd()
6772
 
6940
 
-
 
6941
  def validate(self):
-
 
6942
    return
-
 
6943
 
-
 
6944
 
6773
  def __repr__(self):
6945
  def __repr__(self):
6774
    L = ['%s=%r' % (key, value)
6946
    L = ['%s=%r' % (key, value)
6775
      for key, value in self.__dict__.iteritems()]
6947
      for key, value in self.__dict__.iteritems()]
6776
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
6948
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
6777
 
6949
 
Line 6825... Line 6997...
6825
  def write(self, oprot):
6997
  def write(self, oprot):
6826
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
6998
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
6827
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
6999
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
6828
      return
7000
      return
6829
    oprot.writeStructBegin('saveUserCommunication_result')
7001
    oprot.writeStructBegin('saveUserCommunication_result')
6830
    if self.success != None:
7002
    if self.success is not None:
6831
      oprot.writeFieldBegin('success', TType.BOOL, 0)
7003
      oprot.writeFieldBegin('success', TType.BOOL, 0)
6832
      oprot.writeBool(self.success)
7004
      oprot.writeBool(self.success)
6833
      oprot.writeFieldEnd()
7005
      oprot.writeFieldEnd()
6834
    if self.ucx != None:
7006
    if self.ucx is not None:
6835
      oprot.writeFieldBegin('ucx', TType.STRUCT, 1)
7007
      oprot.writeFieldBegin('ucx', TType.STRUCT, 1)
6836
      self.ucx.write(oprot)
7008
      self.ucx.write(oprot)
6837
      oprot.writeFieldEnd()
7009
      oprot.writeFieldEnd()
6838
    oprot.writeFieldStop()
7010
    oprot.writeFieldStop()
6839
    oprot.writeStructEnd()
7011
    oprot.writeStructEnd()
6840
 
7012
 
-
 
7013
  def validate(self):
-
 
7014
    return
-
 
7015
 
-
 
7016
 
6841
  def __repr__(self):
7017
  def __repr__(self):
6842
    L = ['%s=%r' % (key, value)
7018
    L = ['%s=%r' % (key, value)
6843
      for key, value in self.__dict__.iteritems()]
7019
      for key, value in self.__dict__.iteritems()]
6844
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
7020
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
6845
 
7021
 
Line 6885... Line 7061...
6885
  def write(self, oprot):
7061
  def write(self, oprot):
6886
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
7062
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
6887
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
7063
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
6888
      return
7064
      return
6889
    oprot.writeStructBegin('getUserCommunicationById_args')
7065
    oprot.writeStructBegin('getUserCommunicationById_args')
6890
    if self.id != None:
7066
    if self.id is not None:
6891
      oprot.writeFieldBegin('id', TType.I64, 1)
7067
      oprot.writeFieldBegin('id', TType.I64, 1)
6892
      oprot.writeI64(self.id)
7068
      oprot.writeI64(self.id)
6893
      oprot.writeFieldEnd()
7069
      oprot.writeFieldEnd()
6894
    oprot.writeFieldStop()
7070
    oprot.writeFieldStop()
6895
    oprot.writeStructEnd()
7071
    oprot.writeStructEnd()
6896
 
7072
 
-
 
7073
  def validate(self):
-
 
7074
    return
-
 
7075
 
-
 
7076
 
6897
  def __repr__(self):
7077
  def __repr__(self):
6898
    L = ['%s=%r' % (key, value)
7078
    L = ['%s=%r' % (key, value)
6899
      for key, value in self.__dict__.iteritems()]
7079
      for key, value in self.__dict__.iteritems()]
6900
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
7080
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
6901
 
7081
 
Line 6950... Line 7130...
6950
  def write(self, oprot):
7130
  def write(self, oprot):
6951
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
7131
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
6952
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
7132
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
6953
      return
7133
      return
6954
    oprot.writeStructBegin('getUserCommunicationById_result')
7134
    oprot.writeStructBegin('getUserCommunicationById_result')
6955
    if self.success != None:
7135
    if self.success is not None:
6956
      oprot.writeFieldBegin('success', TType.STRUCT, 0)
7136
      oprot.writeFieldBegin('success', TType.STRUCT, 0)
6957
      self.success.write(oprot)
7137
      self.success.write(oprot)
6958
      oprot.writeFieldEnd()
7138
      oprot.writeFieldEnd()
6959
    if self.ucx != None:
7139
    if self.ucx is not None:
6960
      oprot.writeFieldBegin('ucx', TType.STRUCT, 1)
7140
      oprot.writeFieldBegin('ucx', TType.STRUCT, 1)
6961
      self.ucx.write(oprot)
7141
      self.ucx.write(oprot)
6962
      oprot.writeFieldEnd()
7142
      oprot.writeFieldEnd()
6963
    oprot.writeFieldStop()
7143
    oprot.writeFieldStop()
6964
    oprot.writeStructEnd()
7144
    oprot.writeStructEnd()
6965
 
7145
 
-
 
7146
  def validate(self):
-
 
7147
    return
-
 
7148
 
-
 
7149
 
6966
  def __repr__(self):
7150
  def __repr__(self):
6967
    L = ['%s=%r' % (key, value)
7151
    L = ['%s=%r' % (key, value)
6968
      for key, value in self.__dict__.iteritems()]
7152
      for key, value in self.__dict__.iteritems()]
6969
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
7153
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
6970
 
7154
 
Line 7010... Line 7194...
7010
  def write(self, oprot):
7194
  def write(self, oprot):
7011
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
7195
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
7012
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
7196
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
7013
      return
7197
      return
7014
    oprot.writeStructBegin('getUserCommunicationByUser_args')
7198
    oprot.writeStructBegin('getUserCommunicationByUser_args')
7015
    if self.userId != None:
7199
    if self.userId is not None:
7016
      oprot.writeFieldBegin('userId', TType.I64, 1)
7200
      oprot.writeFieldBegin('userId', TType.I64, 1)
7017
      oprot.writeI64(self.userId)
7201
      oprot.writeI64(self.userId)
7018
      oprot.writeFieldEnd()
7202
      oprot.writeFieldEnd()
7019
    oprot.writeFieldStop()
7203
    oprot.writeFieldStop()
7020
    oprot.writeStructEnd()
7204
    oprot.writeStructEnd()
7021
 
7205
 
-
 
7206
  def validate(self):
-
 
7207
    return
-
 
7208
 
-
 
7209
 
7022
  def __repr__(self):
7210
  def __repr__(self):
7023
    L = ['%s=%r' % (key, value)
7211
    L = ['%s=%r' % (key, value)
7024
      for key, value in self.__dict__.iteritems()]
7212
      for key, value in self.__dict__.iteritems()]
7025
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
7213
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
7026
 
7214
 
Line 7080... Line 7268...
7080
  def write(self, oprot):
7268
  def write(self, oprot):
7081
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
7269
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
7082
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
7270
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
7083
      return
7271
      return
7084
    oprot.writeStructBegin('getUserCommunicationByUser_result')
7272
    oprot.writeStructBegin('getUserCommunicationByUser_result')
7085
    if self.success != None:
7273
    if self.success is not None:
7086
      oprot.writeFieldBegin('success', TType.LIST, 0)
7274
      oprot.writeFieldBegin('success', TType.LIST, 0)
7087
      oprot.writeListBegin(TType.STRUCT, len(self.success))
7275
      oprot.writeListBegin(TType.STRUCT, len(self.success))
7088
      for iter48 in self.success:
7276
      for iter48 in self.success:
7089
        iter48.write(oprot)
7277
        iter48.write(oprot)
7090
      oprot.writeListEnd()
7278
      oprot.writeListEnd()
7091
      oprot.writeFieldEnd()
7279
      oprot.writeFieldEnd()
7092
    if self.ucx != None:
7280
    if self.ucx is not None:
7093
      oprot.writeFieldBegin('ucx', TType.STRUCT, 1)
7281
      oprot.writeFieldBegin('ucx', TType.STRUCT, 1)
7094
      self.ucx.write(oprot)
7282
      self.ucx.write(oprot)
7095
      oprot.writeFieldEnd()
7283
      oprot.writeFieldEnd()
7096
    oprot.writeFieldStop()
7284
    oprot.writeFieldStop()
7097
    oprot.writeStructEnd()
7285
    oprot.writeStructEnd()
7098
 
7286
 
-
 
7287
  def validate(self):
-
 
7288
    return
-
 
7289
 
-
 
7290
 
7099
  def __repr__(self):
7291
  def __repr__(self):
7100
    L = ['%s=%r' % (key, value)
7292
    L = ['%s=%r' % (key, value)
7101
      for key, value in self.__dict__.iteritems()]
7293
      for key, value in self.__dict__.iteritems()]
7102
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
7294
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
7103
 
7295
 
Line 7132... Line 7324...
7132
      return
7324
      return
7133
    oprot.writeStructBegin('getAllUserCommunications_args')
7325
    oprot.writeStructBegin('getAllUserCommunications_args')
7134
    oprot.writeFieldStop()
7326
    oprot.writeFieldStop()
7135
    oprot.writeStructEnd()
7327
    oprot.writeStructEnd()
7136
 
7328
 
-
 
7329
  def validate(self):
-
 
7330
    return
-
 
7331
 
-
 
7332
 
7137
  def __repr__(self):
7333
  def __repr__(self):
7138
    L = ['%s=%r' % (key, value)
7334
    L = ['%s=%r' % (key, value)
7139
      for key, value in self.__dict__.iteritems()]
7335
      for key, value in self.__dict__.iteritems()]
7140
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
7336
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
7141
 
7337
 
Line 7195... Line 7391...
7195
  def write(self, oprot):
7391
  def write(self, oprot):
7196
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
7392
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
7197
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
7393
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
7198
      return
7394
      return
7199
    oprot.writeStructBegin('getAllUserCommunications_result')
7395
    oprot.writeStructBegin('getAllUserCommunications_result')
7200
    if self.success != None:
7396
    if self.success is not None:
7201
      oprot.writeFieldBegin('success', TType.LIST, 0)
7397
      oprot.writeFieldBegin('success', TType.LIST, 0)
7202
      oprot.writeListBegin(TType.STRUCT, len(self.success))
7398
      oprot.writeListBegin(TType.STRUCT, len(self.success))
7203
      for iter55 in self.success:
7399
      for iter55 in self.success:
7204
        iter55.write(oprot)
7400
        iter55.write(oprot)
7205
      oprot.writeListEnd()
7401
      oprot.writeListEnd()
7206
      oprot.writeFieldEnd()
7402
      oprot.writeFieldEnd()
7207
    if self.ucx != None:
7403
    if self.ucx is not None:
7208
      oprot.writeFieldBegin('ucx', TType.STRUCT, 1)
7404
      oprot.writeFieldBegin('ucx', TType.STRUCT, 1)
7209
      self.ucx.write(oprot)
7405
      self.ucx.write(oprot)
7210
      oprot.writeFieldEnd()
7406
      oprot.writeFieldEnd()
7211
    oprot.writeFieldStop()
7407
    oprot.writeFieldStop()
7212
    oprot.writeStructEnd()
7408
    oprot.writeStructEnd()
7213
 
7409
 
-
 
7410
  def validate(self):
-
 
7411
    return
-
 
7412
 
-
 
7413
 
7214
  def __repr__(self):
7414
  def __repr__(self):
7215
    L = ['%s=%r' % (key, value)
7415
    L = ['%s=%r' % (key, value)
7216
      for key, value in self.__dict__.iteritems()]
7416
      for key, value in self.__dict__.iteritems()]
7217
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
7417
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
7218
 
7418
 
Line 7266... Line 7466...
7266
  def write(self, oprot):
7466
  def write(self, oprot):
7267
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
7467
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
7268
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
7468
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
7269
      return
7469
      return
7270
    oprot.writeStructBegin('createMasterAffiliate_args')
7470
    oprot.writeStructBegin('createMasterAffiliate_args')
7271
    if self.name != None:
7471
    if self.name is not None:
7272
      oprot.writeFieldBegin('name', TType.STRING, 1)
7472
      oprot.writeFieldBegin('name', TType.STRING, 1)
7273
      oprot.writeString(self.name)
7473
      oprot.writeString(self.name)
7274
      oprot.writeFieldEnd()
7474
      oprot.writeFieldEnd()
7275
    if self.addedOn != None:
7475
    if self.addedOn is not None:
7276
      oprot.writeFieldBegin('addedOn', TType.I64, 2)
7476
      oprot.writeFieldBegin('addedOn', TType.I64, 2)
7277
      oprot.writeI64(self.addedOn)
7477
      oprot.writeI64(self.addedOn)
7278
      oprot.writeFieldEnd()
7478
      oprot.writeFieldEnd()
7279
    oprot.writeFieldStop()
7479
    oprot.writeFieldStop()
7280
    oprot.writeStructEnd()
7480
    oprot.writeStructEnd()
7281
 
7481
 
-
 
7482
  def validate(self):
-
 
7483
    return
-
 
7484
 
-
 
7485
 
7282
  def __repr__(self):
7486
  def __repr__(self):
7283
    L = ['%s=%r' % (key, value)
7487
    L = ['%s=%r' % (key, value)
7284
      for key, value in self.__dict__.iteritems()]
7488
      for key, value in self.__dict__.iteritems()]
7285
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
7489
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
7286
 
7490
 
Line 7335... Line 7539...
7335
  def write(self, oprot):
7539
  def write(self, oprot):
7336
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
7540
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
7337
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
7541
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
7338
      return
7542
      return
7339
    oprot.writeStructBegin('createMasterAffiliate_result')
7543
    oprot.writeStructBegin('createMasterAffiliate_result')
7340
    if self.success != None:
7544
    if self.success is not None:
7341
      oprot.writeFieldBegin('success', TType.STRUCT, 0)
7545
      oprot.writeFieldBegin('success', TType.STRUCT, 0)
7342
      self.success.write(oprot)
7546
      self.success.write(oprot)
7343
      oprot.writeFieldEnd()
7547
      oprot.writeFieldEnd()
7344
    if self.utx != None:
7548
    if self.utx is not None:
7345
      oprot.writeFieldBegin('utx', TType.STRUCT, 1)
7549
      oprot.writeFieldBegin('utx', TType.STRUCT, 1)
7346
      self.utx.write(oprot)
7550
      self.utx.write(oprot)
7347
      oprot.writeFieldEnd()
7551
      oprot.writeFieldEnd()
7348
    oprot.writeFieldStop()
7552
    oprot.writeFieldStop()
7349
    oprot.writeStructEnd()
7553
    oprot.writeStructEnd()
7350
 
7554
 
-
 
7555
  def validate(self):
-
 
7556
    return
-
 
7557
 
-
 
7558
 
7351
  def __repr__(self):
7559
  def __repr__(self):
7352
    L = ['%s=%r' % (key, value)
7560
    L = ['%s=%r' % (key, value)
7353
      for key, value in self.__dict__.iteritems()]
7561
      for key, value in self.__dict__.iteritems()]
7354
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
7562
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
7355
 
7563
 
Line 7384... Line 7592...
7384
      return
7592
      return
7385
    oprot.writeStructBegin('getAllMasterAffiliates_args')
7593
    oprot.writeStructBegin('getAllMasterAffiliates_args')
7386
    oprot.writeFieldStop()
7594
    oprot.writeFieldStop()
7387
    oprot.writeStructEnd()
7595
    oprot.writeStructEnd()
7388
 
7596
 
-
 
7597
  def validate(self):
-
 
7598
    return
-
 
7599
 
-
 
7600
 
7389
  def __repr__(self):
7601
  def __repr__(self):
7390
    L = ['%s=%r' % (key, value)
7602
    L = ['%s=%r' % (key, value)
7391
      for key, value in self.__dict__.iteritems()]
7603
      for key, value in self.__dict__.iteritems()]
7392
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
7604
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
7393
 
7605
 
Line 7447... Line 7659...
7447
  def write(self, oprot):
7659
  def write(self, oprot):
7448
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
7660
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
7449
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
7661
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
7450
      return
7662
      return
7451
    oprot.writeStructBegin('getAllMasterAffiliates_result')
7663
    oprot.writeStructBegin('getAllMasterAffiliates_result')
7452
    if self.success != None:
7664
    if self.success is not None:
7453
      oprot.writeFieldBegin('success', TType.LIST, 0)
7665
      oprot.writeFieldBegin('success', TType.LIST, 0)
7454
      oprot.writeListBegin(TType.STRUCT, len(self.success))
7666
      oprot.writeListBegin(TType.STRUCT, len(self.success))
7455
      for iter62 in self.success:
7667
      for iter62 in self.success:
7456
        iter62.write(oprot)
7668
        iter62.write(oprot)
7457
      oprot.writeListEnd()
7669
      oprot.writeListEnd()
7458
      oprot.writeFieldEnd()
7670
      oprot.writeFieldEnd()
7459
    if self.utx != None:
7671
    if self.utx is not None:
7460
      oprot.writeFieldBegin('utx', TType.STRUCT, 1)
7672
      oprot.writeFieldBegin('utx', TType.STRUCT, 1)
7461
      self.utx.write(oprot)
7673
      self.utx.write(oprot)
7462
      oprot.writeFieldEnd()
7674
      oprot.writeFieldEnd()
7463
    oprot.writeFieldStop()
7675
    oprot.writeFieldStop()
7464
    oprot.writeStructEnd()
7676
    oprot.writeStructEnd()
7465
 
7677
 
-
 
7678
  def validate(self):
-
 
7679
    return
-
 
7680
 
-
 
7681
 
7466
  def __repr__(self):
7682
  def __repr__(self):
7467
    L = ['%s=%r' % (key, value)
7683
    L = ['%s=%r' % (key, value)
7468
      for key, value in self.__dict__.iteritems()]
7684
      for key, value in self.__dict__.iteritems()]
7469
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
7685
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
7470
 
7686
 
Line 7510... Line 7726...
7510
  def write(self, oprot):
7726
  def write(self, oprot):
7511
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
7727
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
7512
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
7728
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
7513
      return
7729
      return
7514
    oprot.writeStructBegin('getMasterAffiliateById_args')
7730
    oprot.writeStructBegin('getMasterAffiliateById_args')
7515
    if self.id != None:
7731
    if self.id is not None:
7516
      oprot.writeFieldBegin('id', TType.I64, 1)
7732
      oprot.writeFieldBegin('id', TType.I64, 1)
7517
      oprot.writeI64(self.id)
7733
      oprot.writeI64(self.id)
7518
      oprot.writeFieldEnd()
7734
      oprot.writeFieldEnd()
7519
    oprot.writeFieldStop()
7735
    oprot.writeFieldStop()
7520
    oprot.writeStructEnd()
7736
    oprot.writeStructEnd()
7521
 
7737
 
-
 
7738
  def validate(self):
-
 
7739
    return
-
 
7740
 
-
 
7741
 
7522
  def __repr__(self):
7742
  def __repr__(self):
7523
    L = ['%s=%r' % (key, value)
7743
    L = ['%s=%r' % (key, value)
7524
      for key, value in self.__dict__.iteritems()]
7744
      for key, value in self.__dict__.iteritems()]
7525
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
7745
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
7526
 
7746
 
Line 7575... Line 7795...
7575
  def write(self, oprot):
7795
  def write(self, oprot):
7576
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
7796
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
7577
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
7797
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
7578
      return
7798
      return
7579
    oprot.writeStructBegin('getMasterAffiliateById_result')
7799
    oprot.writeStructBegin('getMasterAffiliateById_result')
7580
    if self.success != None:
7800
    if self.success is not None:
7581
      oprot.writeFieldBegin('success', TType.STRUCT, 0)
7801
      oprot.writeFieldBegin('success', TType.STRUCT, 0)
7582
      self.success.write(oprot)
7802
      self.success.write(oprot)
7583
      oprot.writeFieldEnd()
7803
      oprot.writeFieldEnd()
7584
    if self.utx != None:
7804
    if self.utx is not None:
7585
      oprot.writeFieldBegin('utx', TType.STRUCT, 1)
7805
      oprot.writeFieldBegin('utx', TType.STRUCT, 1)
7586
      self.utx.write(oprot)
7806
      self.utx.write(oprot)
7587
      oprot.writeFieldEnd()
7807
      oprot.writeFieldEnd()
7588
    oprot.writeFieldStop()
7808
    oprot.writeFieldStop()
7589
    oprot.writeStructEnd()
7809
    oprot.writeStructEnd()
7590
 
7810
 
-
 
7811
  def validate(self):
-
 
7812
    return
-
 
7813
 
-
 
7814
 
7591
  def __repr__(self):
7815
  def __repr__(self):
7592
    L = ['%s=%r' % (key, value)
7816
    L = ['%s=%r' % (key, value)
7593
      for key, value in self.__dict__.iteritems()]
7817
      for key, value in self.__dict__.iteritems()]
7594
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
7818
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
7595
 
7819
 
Line 7635... Line 7859...
7635
  def write(self, oprot):
7859
  def write(self, oprot):
7636
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
7860
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
7637
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
7861
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
7638
      return
7862
      return
7639
    oprot.writeStructBegin('getMasterAffiliateByName_args')
7863
    oprot.writeStructBegin('getMasterAffiliateByName_args')
7640
    if self.name != None:
7864
    if self.name is not None:
7641
      oprot.writeFieldBegin('name', TType.STRING, 1)
7865
      oprot.writeFieldBegin('name', TType.STRING, 1)
7642
      oprot.writeString(self.name)
7866
      oprot.writeString(self.name)
7643
      oprot.writeFieldEnd()
7867
      oprot.writeFieldEnd()
7644
    oprot.writeFieldStop()
7868
    oprot.writeFieldStop()
7645
    oprot.writeStructEnd()
7869
    oprot.writeStructEnd()
7646
 
7870
 
-
 
7871
  def validate(self):
-
 
7872
    return
-
 
7873
 
-
 
7874
 
7647
  def __repr__(self):
7875
  def __repr__(self):
7648
    L = ['%s=%r' % (key, value)
7876
    L = ['%s=%r' % (key, value)
7649
      for key, value in self.__dict__.iteritems()]
7877
      for key, value in self.__dict__.iteritems()]
7650
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
7878
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
7651
 
7879
 
Line 7700... Line 7928...
7700
  def write(self, oprot):
7928
  def write(self, oprot):
7701
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
7929
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
7702
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
7930
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
7703
      return
7931
      return
7704
    oprot.writeStructBegin('getMasterAffiliateByName_result')
7932
    oprot.writeStructBegin('getMasterAffiliateByName_result')
7705
    if self.success != None:
7933
    if self.success is not None:
7706
      oprot.writeFieldBegin('success', TType.STRUCT, 0)
7934
      oprot.writeFieldBegin('success', TType.STRUCT, 0)
7707
      self.success.write(oprot)
7935
      self.success.write(oprot)
7708
      oprot.writeFieldEnd()
7936
      oprot.writeFieldEnd()
7709
    if self.utx != None:
7937
    if self.utx is not None:
7710
      oprot.writeFieldBegin('utx', TType.STRUCT, 1)
7938
      oprot.writeFieldBegin('utx', TType.STRUCT, 1)
7711
      self.utx.write(oprot)
7939
      self.utx.write(oprot)
7712
      oprot.writeFieldEnd()
7940
      oprot.writeFieldEnd()
7713
    oprot.writeFieldStop()
7941
    oprot.writeFieldStop()
7714
    oprot.writeStructEnd()
7942
    oprot.writeStructEnd()
7715
 
7943
 
-
 
7944
  def validate(self):
-
 
7945
    return
-
 
7946
 
-
 
7947
 
7716
  def __repr__(self):
7948
  def __repr__(self):
7717
    L = ['%s=%r' % (key, value)
7949
    L = ['%s=%r' % (key, value)
7718
      for key, value in self.__dict__.iteritems()]
7950
      for key, value in self.__dict__.iteritems()]
7719
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
7951
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
7720
 
7952
 
Line 7784... Line 8016...
7784
  def write(self, oprot):
8016
  def write(self, oprot):
7785
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
8017
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
7786
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
8018
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
7787
      return
8019
      return
7788
    oprot.writeStructBegin('createAffiliate_args')
8020
    oprot.writeStructBegin('createAffiliate_args')
7789
    if self.name != None:
8021
    if self.name is not None:
7790
      oprot.writeFieldBegin('name', TType.STRING, 1)
8022
      oprot.writeFieldBegin('name', TType.STRING, 1)
7791
      oprot.writeString(self.name)
8023
      oprot.writeString(self.name)
7792
      oprot.writeFieldEnd()
8024
      oprot.writeFieldEnd()
7793
    if self.url != None:
8025
    if self.url is not None:
7794
      oprot.writeFieldBegin('url', TType.STRING, 2)
8026
      oprot.writeFieldBegin('url', TType.STRING, 2)
7795
      oprot.writeString(self.url)
8027
      oprot.writeString(self.url)
7796
      oprot.writeFieldEnd()
8028
      oprot.writeFieldEnd()
7797
    if self.masterAffiliateId != None:
8029
    if self.masterAffiliateId is not None:
7798
      oprot.writeFieldBegin('masterAffiliateId', TType.I64, 3)
8030
      oprot.writeFieldBegin('masterAffiliateId', TType.I64, 3)
7799
      oprot.writeI64(self.masterAffiliateId)
8031
      oprot.writeI64(self.masterAffiliateId)
7800
      oprot.writeFieldEnd()
8032
      oprot.writeFieldEnd()
7801
    if self.addedOn != None:
8033
    if self.addedOn is not None:
7802
      oprot.writeFieldBegin('addedOn', TType.I64, 4)
8034
      oprot.writeFieldBegin('addedOn', TType.I64, 4)
7803
      oprot.writeI64(self.addedOn)
8035
      oprot.writeI64(self.addedOn)
7804
      oprot.writeFieldEnd()
8036
      oprot.writeFieldEnd()
7805
    oprot.writeFieldStop()
8037
    oprot.writeFieldStop()
7806
    oprot.writeStructEnd()
8038
    oprot.writeStructEnd()
7807
 
8039
 
-
 
8040
  def validate(self):
-
 
8041
    return
-
 
8042
 
-
 
8043
 
7808
  def __repr__(self):
8044
  def __repr__(self):
7809
    L = ['%s=%r' % (key, value)
8045
    L = ['%s=%r' % (key, value)
7810
      for key, value in self.__dict__.iteritems()]
8046
      for key, value in self.__dict__.iteritems()]
7811
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
8047
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
7812
 
8048
 
Line 7861... Line 8097...
7861
  def write(self, oprot):
8097
  def write(self, oprot):
7862
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
8098
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
7863
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
8099
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
7864
      return
8100
      return
7865
    oprot.writeStructBegin('createAffiliate_result')
8101
    oprot.writeStructBegin('createAffiliate_result')
7866
    if self.success != None:
8102
    if self.success is not None:
7867
      oprot.writeFieldBegin('success', TType.STRUCT, 0)
8103
      oprot.writeFieldBegin('success', TType.STRUCT, 0)
7868
      self.success.write(oprot)
8104
      self.success.write(oprot)
7869
      oprot.writeFieldEnd()
8105
      oprot.writeFieldEnd()
7870
    if self.utx != None:
8106
    if self.utx is not None:
7871
      oprot.writeFieldBegin('utx', TType.STRUCT, 1)
8107
      oprot.writeFieldBegin('utx', TType.STRUCT, 1)
7872
      self.utx.write(oprot)
8108
      self.utx.write(oprot)
7873
      oprot.writeFieldEnd()
8109
      oprot.writeFieldEnd()
7874
    oprot.writeFieldStop()
8110
    oprot.writeFieldStop()
7875
    oprot.writeStructEnd()
8111
    oprot.writeStructEnd()
7876
 
8112
 
-
 
8113
  def validate(self):
-
 
8114
    return
-
 
8115
 
-
 
8116
 
7877
  def __repr__(self):
8117
  def __repr__(self):
7878
    L = ['%s=%r' % (key, value)
8118
    L = ['%s=%r' % (key, value)
7879
      for key, value in self.__dict__.iteritems()]
8119
      for key, value in self.__dict__.iteritems()]
7880
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
8120
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
7881
 
8121
 
Line 7921... Line 8161...
7921
  def write(self, oprot):
8161
  def write(self, oprot):
7922
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
8162
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
7923
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
8163
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
7924
      return
8164
      return
7925
    oprot.writeStructBegin('getAffiliateById_args')
8165
    oprot.writeStructBegin('getAffiliateById_args')
7926
    if self.id != None:
8166
    if self.id is not None:
7927
      oprot.writeFieldBegin('id', TType.I64, 1)
8167
      oprot.writeFieldBegin('id', TType.I64, 1)
7928
      oprot.writeI64(self.id)
8168
      oprot.writeI64(self.id)
7929
      oprot.writeFieldEnd()
8169
      oprot.writeFieldEnd()
7930
    oprot.writeFieldStop()
8170
    oprot.writeFieldStop()
7931
    oprot.writeStructEnd()
8171
    oprot.writeStructEnd()
7932
 
8172
 
-
 
8173
  def validate(self):
-
 
8174
    return
-
 
8175
 
-
 
8176
 
7933
  def __repr__(self):
8177
  def __repr__(self):
7934
    L = ['%s=%r' % (key, value)
8178
    L = ['%s=%r' % (key, value)
7935
      for key, value in self.__dict__.iteritems()]
8179
      for key, value in self.__dict__.iteritems()]
7936
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
8180
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
7937
 
8181
 
Line 7986... Line 8230...
7986
  def write(self, oprot):
8230
  def write(self, oprot):
7987
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
8231
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
7988
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
8232
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
7989
      return
8233
      return
7990
    oprot.writeStructBegin('getAffiliateById_result')
8234
    oprot.writeStructBegin('getAffiliateById_result')
7991
    if self.success != None:
8235
    if self.success is not None:
7992
      oprot.writeFieldBegin('success', TType.STRUCT, 0)
8236
      oprot.writeFieldBegin('success', TType.STRUCT, 0)
7993
      self.success.write(oprot)
8237
      self.success.write(oprot)
7994
      oprot.writeFieldEnd()
8238
      oprot.writeFieldEnd()
7995
    if self.utx != None:
8239
    if self.utx is not None:
7996
      oprot.writeFieldBegin('utx', TType.STRUCT, 1)
8240
      oprot.writeFieldBegin('utx', TType.STRUCT, 1)
7997
      self.utx.write(oprot)
8241
      self.utx.write(oprot)
7998
      oprot.writeFieldEnd()
8242
      oprot.writeFieldEnd()
7999
    oprot.writeFieldStop()
8243
    oprot.writeFieldStop()
8000
    oprot.writeStructEnd()
8244
    oprot.writeStructEnd()
8001
 
8245
 
-
 
8246
  def validate(self):
-
 
8247
    return
-
 
8248
 
-
 
8249
 
8002
  def __repr__(self):
8250
  def __repr__(self):
8003
    L = ['%s=%r' % (key, value)
8251
    L = ['%s=%r' % (key, value)
8004
      for key, value in self.__dict__.iteritems()]
8252
      for key, value in self.__dict__.iteritems()]
8005
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
8253
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
8006
 
8254
 
Line 8046... Line 8294...
8046
  def write(self, oprot):
8294
  def write(self, oprot):
8047
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
8295
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
8048
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
8296
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
8049
      return
8297
      return
8050
    oprot.writeStructBegin('getAffiliateByName_args')
8298
    oprot.writeStructBegin('getAffiliateByName_args')
8051
    if self.name != None:
8299
    if self.name is not None:
8052
      oprot.writeFieldBegin('name', TType.STRING, 1)
8300
      oprot.writeFieldBegin('name', TType.STRING, 1)
8053
      oprot.writeString(self.name)
8301
      oprot.writeString(self.name)
8054
      oprot.writeFieldEnd()
8302
      oprot.writeFieldEnd()
8055
    oprot.writeFieldStop()
8303
    oprot.writeFieldStop()
8056
    oprot.writeStructEnd()
8304
    oprot.writeStructEnd()
8057
 
8305
 
-
 
8306
  def validate(self):
-
 
8307
    return
-
 
8308
 
-
 
8309
 
8058
  def __repr__(self):
8310
  def __repr__(self):
8059
    L = ['%s=%r' % (key, value)
8311
    L = ['%s=%r' % (key, value)
8060
      for key, value in self.__dict__.iteritems()]
8312
      for key, value in self.__dict__.iteritems()]
8061
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
8313
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
8062
 
8314
 
Line 8111... Line 8363...
8111
  def write(self, oprot):
8363
  def write(self, oprot):
8112
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
8364
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
8113
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
8365
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
8114
      return
8366
      return
8115
    oprot.writeStructBegin('getAffiliateByName_result')
8367
    oprot.writeStructBegin('getAffiliateByName_result')
8116
    if self.success != None:
8368
    if self.success is not None:
8117
      oprot.writeFieldBegin('success', TType.STRUCT, 0)
8369
      oprot.writeFieldBegin('success', TType.STRUCT, 0)
8118
      self.success.write(oprot)
8370
      self.success.write(oprot)
8119
      oprot.writeFieldEnd()
8371
      oprot.writeFieldEnd()
8120
    if self.utx != None:
8372
    if self.utx is not None:
8121
      oprot.writeFieldBegin('utx', TType.STRUCT, 1)
8373
      oprot.writeFieldBegin('utx', TType.STRUCT, 1)
8122
      self.utx.write(oprot)
8374
      self.utx.write(oprot)
8123
      oprot.writeFieldEnd()
8375
      oprot.writeFieldEnd()
8124
    oprot.writeFieldStop()
8376
    oprot.writeFieldStop()
8125
    oprot.writeStructEnd()
8377
    oprot.writeStructEnd()
8126
 
8378
 
-
 
8379
  def validate(self):
-
 
8380
    return
-
 
8381
 
-
 
8382
 
8127
  def __repr__(self):
8383
  def __repr__(self):
8128
    L = ['%s=%r' % (key, value)
8384
    L = ['%s=%r' % (key, value)
8129
      for key, value in self.__dict__.iteritems()]
8385
      for key, value in self.__dict__.iteritems()]
8130
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
8386
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
8131
 
8387
 
Line 8171... Line 8427...
8171
  def write(self, oprot):
8427
  def write(self, oprot):
8172
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
8428
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
8173
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
8429
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
8174
      return
8430
      return
8175
    oprot.writeStructBegin('getTrackerById_args')
8431
    oprot.writeStructBegin('getTrackerById_args')
8176
    if self.id != None:
8432
    if self.id is not None:
8177
      oprot.writeFieldBegin('id', TType.I64, 1)
8433
      oprot.writeFieldBegin('id', TType.I64, 1)
8178
      oprot.writeI64(self.id)
8434
      oprot.writeI64(self.id)
8179
      oprot.writeFieldEnd()
8435
      oprot.writeFieldEnd()
8180
    oprot.writeFieldStop()
8436
    oprot.writeFieldStop()
8181
    oprot.writeStructEnd()
8437
    oprot.writeStructEnd()
8182
 
8438
 
-
 
8439
  def validate(self):
-
 
8440
    return
-
 
8441
 
-
 
8442
 
8183
  def __repr__(self):
8443
  def __repr__(self):
8184
    L = ['%s=%r' % (key, value)
8444
    L = ['%s=%r' % (key, value)
8185
      for key, value in self.__dict__.iteritems()]
8445
      for key, value in self.__dict__.iteritems()]
8186
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
8446
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
8187
 
8447
 
Line 8236... Line 8496...
8236
  def write(self, oprot):
8496
  def write(self, oprot):
8237
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
8497
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
8238
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
8498
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
8239
      return
8499
      return
8240
    oprot.writeStructBegin('getTrackerById_result')
8500
    oprot.writeStructBegin('getTrackerById_result')
8241
    if self.success != None:
8501
    if self.success is not None:
8242
      oprot.writeFieldBegin('success', TType.STRUCT, 0)
8502
      oprot.writeFieldBegin('success', TType.STRUCT, 0)
8243
      self.success.write(oprot)
8503
      self.success.write(oprot)
8244
      oprot.writeFieldEnd()
8504
      oprot.writeFieldEnd()
8245
    if self.utx != None:
8505
    if self.utx is not None:
8246
      oprot.writeFieldBegin('utx', TType.STRUCT, 1)
8506
      oprot.writeFieldBegin('utx', TType.STRUCT, 1)
8247
      self.utx.write(oprot)
8507
      self.utx.write(oprot)
8248
      oprot.writeFieldEnd()
8508
      oprot.writeFieldEnd()
8249
    oprot.writeFieldStop()
8509
    oprot.writeFieldStop()
8250
    oprot.writeStructEnd()
8510
    oprot.writeStructEnd()
8251
 
8511
 
-
 
8512
  def validate(self):
-
 
8513
    return
-
 
8514
 
-
 
8515
 
8252
  def __repr__(self):
8516
  def __repr__(self):
8253
    L = ['%s=%r' % (key, value)
8517
    L = ['%s=%r' % (key, value)
8254
      for key, value in self.__dict__.iteritems()]
8518
      for key, value in self.__dict__.iteritems()]
8255
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
8519
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
8256
 
8520
 
Line 8296... Line 8560...
8296
  def write(self, oprot):
8560
  def write(self, oprot):
8297
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
8561
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
8298
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
8562
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
8299
      return
8563
      return
8300
    oprot.writeStructBegin('getAffiliatesByMasterAffiliate_args')
8564
    oprot.writeStructBegin('getAffiliatesByMasterAffiliate_args')
8301
    if self.id != None:
8565
    if self.id is not None:
8302
      oprot.writeFieldBegin('id', TType.I64, 1)
8566
      oprot.writeFieldBegin('id', TType.I64, 1)
8303
      oprot.writeI64(self.id)
8567
      oprot.writeI64(self.id)
8304
      oprot.writeFieldEnd()
8568
      oprot.writeFieldEnd()
8305
    oprot.writeFieldStop()
8569
    oprot.writeFieldStop()
8306
    oprot.writeStructEnd()
8570
    oprot.writeStructEnd()
8307
 
8571
 
-
 
8572
  def validate(self):
-
 
8573
    return
-
 
8574
 
-
 
8575
 
8308
  def __repr__(self):
8576
  def __repr__(self):
8309
    L = ['%s=%r' % (key, value)
8577
    L = ['%s=%r' % (key, value)
8310
      for key, value in self.__dict__.iteritems()]
8578
      for key, value in self.__dict__.iteritems()]
8311
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
8579
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
8312
 
8580
 
Line 8366... Line 8634...
8366
  def write(self, oprot):
8634
  def write(self, oprot):
8367
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
8635
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
8368
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
8636
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
8369
      return
8637
      return
8370
    oprot.writeStructBegin('getAffiliatesByMasterAffiliate_result')
8638
    oprot.writeStructBegin('getAffiliatesByMasterAffiliate_result')
8371
    if self.success != None:
8639
    if self.success is not None:
8372
      oprot.writeFieldBegin('success', TType.LIST, 0)
8640
      oprot.writeFieldBegin('success', TType.LIST, 0)
8373
      oprot.writeListBegin(TType.STRUCT, len(self.success))
8641
      oprot.writeListBegin(TType.STRUCT, len(self.success))
8374
      for iter69 in self.success:
8642
      for iter69 in self.success:
8375
        iter69.write(oprot)
8643
        iter69.write(oprot)
8376
      oprot.writeListEnd()
8644
      oprot.writeListEnd()
8377
      oprot.writeFieldEnd()
8645
      oprot.writeFieldEnd()
8378
    if self.utx != None:
8646
    if self.utx is not None:
8379
      oprot.writeFieldBegin('utx', TType.STRUCT, 1)
8647
      oprot.writeFieldBegin('utx', TType.STRUCT, 1)
8380
      self.utx.write(oprot)
8648
      self.utx.write(oprot)
8381
      oprot.writeFieldEnd()
8649
      oprot.writeFieldEnd()
8382
    oprot.writeFieldStop()
8650
    oprot.writeFieldStop()
8383
    oprot.writeStructEnd()
8651
    oprot.writeStructEnd()
8384
 
8652
 
-
 
8653
  def validate(self):
-
 
8654
    return
-
 
8655
 
-
 
8656
 
8385
  def __repr__(self):
8657
  def __repr__(self):
8386
    L = ['%s=%r' % (key, value)
8658
    L = ['%s=%r' % (key, value)
8387
      for key, value in self.__dict__.iteritems()]
8659
      for key, value in self.__dict__.iteritems()]
8388
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
8660
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
8389
 
8661
 
Line 8469... Line 8741...
8469
  def write(self, oprot):
8741
  def write(self, oprot):
8470
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
8742
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
8471
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
8743
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
8472
      return
8744
      return
8473
    oprot.writeStructBegin('addTrackLog_args')
8745
    oprot.writeStructBegin('addTrackLog_args')
8474
    if self.affiliateId != None:
8746
    if self.affiliateId is not None:
8475
      oprot.writeFieldBegin('affiliateId', TType.I64, 1)
8747
      oprot.writeFieldBegin('affiliateId', TType.I64, 1)
8476
      oprot.writeI64(self.affiliateId)
8748
      oprot.writeI64(self.affiliateId)
8477
      oprot.writeFieldEnd()
8749
      oprot.writeFieldEnd()
8478
    if self.userId != None:
8750
    if self.userId is not None:
8479
      oprot.writeFieldBegin('userId', TType.I64, 2)
8751
      oprot.writeFieldBegin('userId', TType.I64, 2)
8480
      oprot.writeI64(self.userId)
8752
      oprot.writeI64(self.userId)
8481
      oprot.writeFieldEnd()
8753
      oprot.writeFieldEnd()
8482
    if self.event != None:
8754
    if self.event is not None:
8483
      oprot.writeFieldBegin('event', TType.I32, 3)
8755
      oprot.writeFieldBegin('event', TType.I32, 3)
8484
      oprot.writeI32(self.event)
8756
      oprot.writeI32(self.event)
8485
      oprot.writeFieldEnd()
8757
      oprot.writeFieldEnd()
8486
    if self.url != None:
8758
    if self.url is not None:
8487
      oprot.writeFieldBegin('url', TType.STRING, 4)
8759
      oprot.writeFieldBegin('url', TType.STRING, 4)
8488
      oprot.writeString(self.url)
8760
      oprot.writeString(self.url)
8489
      oprot.writeFieldEnd()
8761
      oprot.writeFieldEnd()
8490
    if self.data != None:
8762
    if self.data is not None:
8491
      oprot.writeFieldBegin('data', TType.STRING, 5)
8763
      oprot.writeFieldBegin('data', TType.STRING, 5)
8492
      oprot.writeString(self.data)
8764
      oprot.writeString(self.data)
8493
      oprot.writeFieldEnd()
8765
      oprot.writeFieldEnd()
8494
    if self.addedOn != None:
8766
    if self.addedOn is not None:
8495
      oprot.writeFieldBegin('addedOn', TType.I64, 6)
8767
      oprot.writeFieldBegin('addedOn', TType.I64, 6)
8496
      oprot.writeI64(self.addedOn)
8768
      oprot.writeI64(self.addedOn)
8497
      oprot.writeFieldEnd()
8769
      oprot.writeFieldEnd()
8498
    oprot.writeFieldStop()
8770
    oprot.writeFieldStop()
8499
    oprot.writeStructEnd()
8771
    oprot.writeStructEnd()
8500
 
8772
 
-
 
8773
  def validate(self):
-
 
8774
    return
-
 
8775
 
-
 
8776
 
8501
  def __repr__(self):
8777
  def __repr__(self):
8502
    L = ['%s=%r' % (key, value)
8778
    L = ['%s=%r' % (key, value)
8503
      for key, value in self.__dict__.iteritems()]
8779
      for key, value in self.__dict__.iteritems()]
8504
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
8780
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
8505
 
8781
 
Line 8553... Line 8829...
8553
  def write(self, oprot):
8829
  def write(self, oprot):
8554
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
8830
    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)))
8831
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
8556
      return
8832
      return
8557
    oprot.writeStructBegin('addTrackLog_result')
8833
    oprot.writeStructBegin('addTrackLog_result')
8558
    if self.success != None:
8834
    if self.success is not None:
8559
      oprot.writeFieldBegin('success', TType.I64, 0)
8835
      oprot.writeFieldBegin('success', TType.I64, 0)
8560
      oprot.writeI64(self.success)
8836
      oprot.writeI64(self.success)
8561
      oprot.writeFieldEnd()
8837
      oprot.writeFieldEnd()
8562
    if self.utx != None:
8838
    if self.utx is not None:
8563
      oprot.writeFieldBegin('utx', TType.STRUCT, 1)
8839
      oprot.writeFieldBegin('utx', TType.STRUCT, 1)
8564
      self.utx.write(oprot)
8840
      self.utx.write(oprot)
8565
      oprot.writeFieldEnd()
8841
      oprot.writeFieldEnd()
8566
    oprot.writeFieldStop()
8842
    oprot.writeFieldStop()
8567
    oprot.writeStructEnd()
8843
    oprot.writeStructEnd()
8568
 
8844
 
-
 
8845
  def validate(self):
-
 
8846
    return
-
 
8847
 
-
 
8848
 
8569
  def __repr__(self):
8849
  def __repr__(self):
8570
    L = ['%s=%r' % (key, value)
8850
    L = ['%s=%r' % (key, value)
8571
      for key, value in self.__dict__.iteritems()]
8851
      for key, value in self.__dict__.iteritems()]
8572
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
8852
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
8573
 
8853
 
Line 8613... Line 8893...
8613
  def write(self, oprot):
8893
  def write(self, oprot):
8614
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
8894
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
8615
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
8895
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
8616
      return
8896
      return
8617
    oprot.writeStructBegin('getTrackLogById_args')
8897
    oprot.writeStructBegin('getTrackLogById_args')
8618
    if self.id != None:
8898
    if self.id is not None:
8619
      oprot.writeFieldBegin('id', TType.I64, 1)
8899
      oprot.writeFieldBegin('id', TType.I64, 1)
8620
      oprot.writeI64(self.id)
8900
      oprot.writeI64(self.id)
8621
      oprot.writeFieldEnd()
8901
      oprot.writeFieldEnd()
8622
    oprot.writeFieldStop()
8902
    oprot.writeFieldStop()
8623
    oprot.writeStructEnd()
8903
    oprot.writeStructEnd()
8624
 
8904
 
-
 
8905
  def validate(self):
-
 
8906
    return
-
 
8907
 
-
 
8908
 
8625
  def __repr__(self):
8909
  def __repr__(self):
8626
    L = ['%s=%r' % (key, value)
8910
    L = ['%s=%r' % (key, value)
8627
      for key, value in self.__dict__.iteritems()]
8911
      for key, value in self.__dict__.iteritems()]
8628
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
8912
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
8629
 
8913
 
Line 8678... Line 8962...
8678
  def write(self, oprot):
8962
  def write(self, oprot):
8679
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
8963
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
8680
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
8964
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
8681
      return
8965
      return
8682
    oprot.writeStructBegin('getTrackLogById_result')
8966
    oprot.writeStructBegin('getTrackLogById_result')
8683
    if self.success != None:
8967
    if self.success is not None:
8684
      oprot.writeFieldBegin('success', TType.STRUCT, 0)
8968
      oprot.writeFieldBegin('success', TType.STRUCT, 0)
8685
      self.success.write(oprot)
8969
      self.success.write(oprot)
8686
      oprot.writeFieldEnd()
8970
      oprot.writeFieldEnd()
8687
    if self.utx != None:
8971
    if self.utx is not None:
8688
      oprot.writeFieldBegin('utx', TType.STRUCT, 1)
8972
      oprot.writeFieldBegin('utx', TType.STRUCT, 1)
8689
      self.utx.write(oprot)
8973
      self.utx.write(oprot)
8690
      oprot.writeFieldEnd()
8974
      oprot.writeFieldEnd()
8691
    oprot.writeFieldStop()
8975
    oprot.writeFieldStop()
8692
    oprot.writeStructEnd()
8976
    oprot.writeStructEnd()
8693
 
8977
 
-
 
8978
  def validate(self):
-
 
8979
    return
-
 
8980
 
-
 
8981
 
8694
  def __repr__(self):
8982
  def __repr__(self):
8695
    L = ['%s=%r' % (key, value)
8983
    L = ['%s=%r' % (key, value)
8696
      for key, value in self.__dict__.iteritems()]
8984
      for key, value in self.__dict__.iteritems()]
8697
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
8985
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
8698
 
8986
 
Line 8754... Line 9042...
8754
  def write(self, oprot):
9042
  def write(self, oprot):
8755
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
9043
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
8756
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
9044
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
8757
      return
9045
      return
8758
    oprot.writeStructBegin('getTrackLogsByAffiliate_args')
9046
    oprot.writeStructBegin('getTrackLogsByAffiliate_args')
8759
    if self.affiliateId != None:
9047
    if self.affiliateId is not None:
8760
      oprot.writeFieldBegin('affiliateId', TType.I64, 1)
9048
      oprot.writeFieldBegin('affiliateId', TType.I64, 1)
8761
      oprot.writeI64(self.affiliateId)
9049
      oprot.writeI64(self.affiliateId)
8762
      oprot.writeFieldEnd()
9050
      oprot.writeFieldEnd()
8763
    if self.startDate != None:
9051
    if self.startDate is not None:
8764
      oprot.writeFieldBegin('startDate', TType.I64, 2)
9052
      oprot.writeFieldBegin('startDate', TType.I64, 2)
8765
      oprot.writeI64(self.startDate)
9053
      oprot.writeI64(self.startDate)
8766
      oprot.writeFieldEnd()
9054
      oprot.writeFieldEnd()
8767
    if self.endDate != None:
9055
    if self.endDate is not None:
8768
      oprot.writeFieldBegin('endDate', TType.I64, 3)
9056
      oprot.writeFieldBegin('endDate', TType.I64, 3)
8769
      oprot.writeI64(self.endDate)
9057
      oprot.writeI64(self.endDate)
8770
      oprot.writeFieldEnd()
9058
      oprot.writeFieldEnd()
8771
    oprot.writeFieldStop()
9059
    oprot.writeFieldStop()
8772
    oprot.writeStructEnd()
9060
    oprot.writeStructEnd()
8773
 
9061
 
-
 
9062
  def validate(self):
-
 
9063
    return
-
 
9064
 
-
 
9065
 
8774
  def __repr__(self):
9066
  def __repr__(self):
8775
    L = ['%s=%r' % (key, value)
9067
    L = ['%s=%r' % (key, value)
8776
      for key, value in self.__dict__.iteritems()]
9068
      for key, value in self.__dict__.iteritems()]
8777
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
9069
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
8778
 
9070
 
Line 8832... Line 9124...
8832
  def write(self, oprot):
9124
  def write(self, oprot):
8833
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
9125
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
8834
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
9126
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
8835
      return
9127
      return
8836
    oprot.writeStructBegin('getTrackLogsByAffiliate_result')
9128
    oprot.writeStructBegin('getTrackLogsByAffiliate_result')
8837
    if self.success != None:
9129
    if self.success is not None:
8838
      oprot.writeFieldBegin('success', TType.LIST, 0)
9130
      oprot.writeFieldBegin('success', TType.LIST, 0)
8839
      oprot.writeListBegin(TType.STRUCT, len(self.success))
9131
      oprot.writeListBegin(TType.STRUCT, len(self.success))
8840
      for iter76 in self.success:
9132
      for iter76 in self.success:
8841
        iter76.write(oprot)
9133
        iter76.write(oprot)
8842
      oprot.writeListEnd()
9134
      oprot.writeListEnd()
8843
      oprot.writeFieldEnd()
9135
      oprot.writeFieldEnd()
8844
    if self.utx != None:
9136
    if self.utx is not None:
8845
      oprot.writeFieldBegin('utx', TType.STRUCT, 1)
9137
      oprot.writeFieldBegin('utx', TType.STRUCT, 1)
8846
      self.utx.write(oprot)
9138
      self.utx.write(oprot)
8847
      oprot.writeFieldEnd()
9139
      oprot.writeFieldEnd()
8848
    oprot.writeFieldStop()
9140
    oprot.writeFieldStop()
8849
    oprot.writeStructEnd()
9141
    oprot.writeStructEnd()
8850
 
9142
 
-
 
9143
  def validate(self):
-
 
9144
    return
-
 
9145
 
-
 
9146
 
8851
  def __repr__(self):
9147
  def __repr__(self):
8852
    L = ['%s=%r' % (key, value)
9148
    L = ['%s=%r' % (key, value)
8853
      for key, value in self.__dict__.iteritems()]
9149
      for key, value in self.__dict__.iteritems()]
8854
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
9150
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
8855
 
9151
 
Line 8895... Line 9191...
8895
  def write(self, oprot):
9191
  def write(self, oprot):
8896
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
9192
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
8897
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
9193
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
8898
      return
9194
      return
8899
    oprot.writeStructBegin('getTrackLogsByUser_args')
9195
    oprot.writeStructBegin('getTrackLogsByUser_args')
8900
    if self.userId != None:
9196
    if self.userId is not None:
8901
      oprot.writeFieldBegin('userId', TType.I64, 1)
9197
      oprot.writeFieldBegin('userId', TType.I64, 1)
8902
      oprot.writeI64(self.userId)
9198
      oprot.writeI64(self.userId)
8903
      oprot.writeFieldEnd()
9199
      oprot.writeFieldEnd()
8904
    oprot.writeFieldStop()
9200
    oprot.writeFieldStop()
8905
    oprot.writeStructEnd()
9201
    oprot.writeStructEnd()
8906
 
9202
 
-
 
9203
  def validate(self):
-
 
9204
    return
-
 
9205
 
-
 
9206
 
8907
  def __repr__(self):
9207
  def __repr__(self):
8908
    L = ['%s=%r' % (key, value)
9208
    L = ['%s=%r' % (key, value)
8909
      for key, value in self.__dict__.iteritems()]
9209
      for key, value in self.__dict__.iteritems()]
8910
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
9210
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
8911
 
9211
 
Line 8965... Line 9265...
8965
  def write(self, oprot):
9265
  def write(self, oprot):
8966
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
9266
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
8967
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
9267
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
8968
      return
9268
      return
8969
    oprot.writeStructBegin('getTrackLogsByUser_result')
9269
    oprot.writeStructBegin('getTrackLogsByUser_result')
8970
    if self.success != None:
9270
    if self.success is not None:
8971
      oprot.writeFieldBegin('success', TType.LIST, 0)
9271
      oprot.writeFieldBegin('success', TType.LIST, 0)
8972
      oprot.writeListBegin(TType.STRUCT, len(self.success))
9272
      oprot.writeListBegin(TType.STRUCT, len(self.success))
8973
      for iter83 in self.success:
9273
      for iter83 in self.success:
8974
        iter83.write(oprot)
9274
        iter83.write(oprot)
8975
      oprot.writeListEnd()
9275
      oprot.writeListEnd()
8976
      oprot.writeFieldEnd()
9276
      oprot.writeFieldEnd()
8977
    if self.utx != None:
9277
    if self.utx is not None:
8978
      oprot.writeFieldBegin('utx', TType.STRUCT, 1)
9278
      oprot.writeFieldBegin('utx', TType.STRUCT, 1)
8979
      self.utx.write(oprot)
9279
      self.utx.write(oprot)
8980
      oprot.writeFieldEnd()
9280
      oprot.writeFieldEnd()
8981
    oprot.writeFieldStop()
9281
    oprot.writeFieldStop()
8982
    oprot.writeStructEnd()
9282
    oprot.writeStructEnd()
8983
 
9283
 
-
 
9284
  def validate(self):
-
 
9285
    return
-
 
9286
 
-
 
9287
 
8984
  def __repr__(self):
9288
  def __repr__(self):
8985
    L = ['%s=%r' % (key, value)
9289
    L = ['%s=%r' % (key, value)
8986
      for key, value in self.__dict__.iteritems()]
9290
      for key, value in self.__dict__.iteritems()]
8987
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
9291
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
8988
 
9292
 
Line 9044... Line 9348...
9044
  def write(self, oprot):
9348
  def write(self, oprot):
9045
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
9349
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
9046
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
9350
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
9047
      return
9351
      return
9048
    oprot.writeStructBegin('getTrackLogs_args')
9352
    oprot.writeStructBegin('getTrackLogs_args')
9049
    if self.userId != None:
9353
    if self.userId is not None:
9050
      oprot.writeFieldBegin('userId', TType.I64, 1)
9354
      oprot.writeFieldBegin('userId', TType.I64, 1)
9051
      oprot.writeI64(self.userId)
9355
      oprot.writeI64(self.userId)
9052
      oprot.writeFieldEnd()
9356
      oprot.writeFieldEnd()
9053
    if self.event != None:
9357
    if self.event is not None:
9054
      oprot.writeFieldBegin('event', TType.STRING, 2)
9358
      oprot.writeFieldBegin('event', TType.STRING, 2)
9055
      oprot.writeString(self.event)
9359
      oprot.writeString(self.event)
9056
      oprot.writeFieldEnd()
9360
      oprot.writeFieldEnd()
9057
    if self.url != None:
9361
    if self.url is not None:
9058
      oprot.writeFieldBegin('url', TType.STRING, 3)
9362
      oprot.writeFieldBegin('url', TType.STRING, 3)
9059
      oprot.writeString(self.url)
9363
      oprot.writeString(self.url)
9060
      oprot.writeFieldEnd()
9364
      oprot.writeFieldEnd()
9061
    oprot.writeFieldStop()
9365
    oprot.writeFieldStop()
9062
    oprot.writeStructEnd()
9366
    oprot.writeStructEnd()
9063
 
9367
 
-
 
9368
  def validate(self):
-
 
9369
    return
-
 
9370
 
-
 
9371
 
9064
  def __repr__(self):
9372
  def __repr__(self):
9065
    L = ['%s=%r' % (key, value)
9373
    L = ['%s=%r' % (key, value)
9066
      for key, value in self.__dict__.iteritems()]
9374
      for key, value in self.__dict__.iteritems()]
9067
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
9375
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
9068
 
9376
 
Line 9122... Line 9430...
9122
  def write(self, oprot):
9430
  def write(self, oprot):
9123
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
9431
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
9124
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
9432
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
9125
      return
9433
      return
9126
    oprot.writeStructBegin('getTrackLogs_result')
9434
    oprot.writeStructBegin('getTrackLogs_result')
9127
    if self.success != None:
9435
    if self.success is not None:
9128
      oprot.writeFieldBegin('success', TType.LIST, 0)
9436
      oprot.writeFieldBegin('success', TType.LIST, 0)
9129
      oprot.writeListBegin(TType.STRUCT, len(self.success))
9437
      oprot.writeListBegin(TType.STRUCT, len(self.success))
9130
      for iter90 in self.success:
9438
      for iter90 in self.success:
9131
        iter90.write(oprot)
9439
        iter90.write(oprot)
9132
      oprot.writeListEnd()
9440
      oprot.writeListEnd()
9133
      oprot.writeFieldEnd()
9441
      oprot.writeFieldEnd()
9134
    if self.utx != None:
9442
    if self.utx is not None:
9135
      oprot.writeFieldBegin('utx', TType.STRUCT, 1)
9443
      oprot.writeFieldBegin('utx', TType.STRUCT, 1)
9136
      self.utx.write(oprot)
9444
      self.utx.write(oprot)
9137
      oprot.writeFieldEnd()
9445
      oprot.writeFieldEnd()
9138
    oprot.writeFieldStop()
9446
    oprot.writeFieldStop()
9139
    oprot.writeStructEnd()
9447
    oprot.writeStructEnd()
9140
 
9448
 
-
 
9449
  def validate(self):
-
 
9450
    return
-
 
9451
 
-
 
9452
 
9141
  def __repr__(self):
9453
  def __repr__(self):
9142
    L = ['%s=%r' % (key, value)
9454
    L = ['%s=%r' % (key, value)
9143
      for key, value in self.__dict__.iteritems()]
9455
      for key, value in self.__dict__.iteritems()]
9144
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
9456
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
9145
 
9457
 
Line 9185... Line 9497...
9185
  def write(self, oprot):
9497
  def write(self, oprot):
9186
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
9498
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
9187
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
9499
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
9188
      return
9500
      return
9189
    oprot.writeStructBegin('createCart_args')
9501
    oprot.writeStructBegin('createCart_args')
9190
    if self.userId != None:
9502
    if self.userId is not None:
9191
      oprot.writeFieldBegin('userId', TType.I64, 1)
9503
      oprot.writeFieldBegin('userId', TType.I64, 1)
9192
      oprot.writeI64(self.userId)
9504
      oprot.writeI64(self.userId)
9193
      oprot.writeFieldEnd()
9505
      oprot.writeFieldEnd()
9194
    oprot.writeFieldStop()
9506
    oprot.writeFieldStop()
9195
    oprot.writeStructEnd()
9507
    oprot.writeStructEnd()
9196
 
9508
 
-
 
9509
  def validate(self):
-
 
9510
    return
-
 
9511
 
-
 
9512
 
9197
  def __repr__(self):
9513
  def __repr__(self):
9198
    L = ['%s=%r' % (key, value)
9514
    L = ['%s=%r' % (key, value)
9199
      for key, value in self.__dict__.iteritems()]
9515
      for key, value in self.__dict__.iteritems()]
9200
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
9516
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
9201
 
9517
 
Line 9249... Line 9565...
9249
  def write(self, oprot):
9565
  def write(self, oprot):
9250
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
9566
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
9251
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
9567
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
9252
      return
9568
      return
9253
    oprot.writeStructBegin('createCart_result')
9569
    oprot.writeStructBegin('createCart_result')
9254
    if self.success != None:
9570
    if self.success is not None:
9255
      oprot.writeFieldBegin('success', TType.I64, 0)
9571
      oprot.writeFieldBegin('success', TType.I64, 0)
9256
      oprot.writeI64(self.success)
9572
      oprot.writeI64(self.success)
9257
      oprot.writeFieldEnd()
9573
      oprot.writeFieldEnd()
9258
    if self.scx != None:
9574
    if self.scx is not None:
9259
      oprot.writeFieldBegin('scx', TType.STRUCT, 1)
9575
      oprot.writeFieldBegin('scx', TType.STRUCT, 1)
9260
      self.scx.write(oprot)
9576
      self.scx.write(oprot)
9261
      oprot.writeFieldEnd()
9577
      oprot.writeFieldEnd()
9262
    oprot.writeFieldStop()
9578
    oprot.writeFieldStop()
9263
    oprot.writeStructEnd()
9579
    oprot.writeStructEnd()
9264
 
9580
 
-
 
9581
  def validate(self):
-
 
9582
    return
-
 
9583
 
-
 
9584
 
9265
  def __repr__(self):
9585
  def __repr__(self):
9266
    L = ['%s=%r' % (key, value)
9586
    L = ['%s=%r' % (key, value)
9267
      for key, value in self.__dict__.iteritems()]
9587
      for key, value in self.__dict__.iteritems()]
9268
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
9588
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
9269
 
9589
 
Line 9309... Line 9629...
9309
  def write(self, oprot):
9629
  def write(self, oprot):
9310
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
9630
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
9311
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
9631
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
9312
      return
9632
      return
9313
    oprot.writeStructBegin('getCurrentCart_args')
9633
    oprot.writeStructBegin('getCurrentCart_args')
9314
    if self.userId != None:
9634
    if self.userId is not None:
9315
      oprot.writeFieldBegin('userId', TType.I64, 1)
9635
      oprot.writeFieldBegin('userId', TType.I64, 1)
9316
      oprot.writeI64(self.userId)
9636
      oprot.writeI64(self.userId)
9317
      oprot.writeFieldEnd()
9637
      oprot.writeFieldEnd()
9318
    oprot.writeFieldStop()
9638
    oprot.writeFieldStop()
9319
    oprot.writeStructEnd()
9639
    oprot.writeStructEnd()
9320
 
9640
 
-
 
9641
  def validate(self):
-
 
9642
    return
-
 
9643
 
-
 
9644
 
9321
  def __repr__(self):
9645
  def __repr__(self):
9322
    L = ['%s=%r' % (key, value)
9646
    L = ['%s=%r' % (key, value)
9323
      for key, value in self.__dict__.iteritems()]
9647
      for key, value in self.__dict__.iteritems()]
9324
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
9648
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
9325
 
9649
 
Line 9374... Line 9698...
9374
  def write(self, oprot):
9698
  def write(self, oprot):
9375
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
9699
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
9376
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
9700
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
9377
      return
9701
      return
9378
    oprot.writeStructBegin('getCurrentCart_result')
9702
    oprot.writeStructBegin('getCurrentCart_result')
9379
    if self.success != None:
9703
    if self.success is not None:
9380
      oprot.writeFieldBegin('success', TType.STRUCT, 0)
9704
      oprot.writeFieldBegin('success', TType.STRUCT, 0)
9381
      self.success.write(oprot)
9705
      self.success.write(oprot)
9382
      oprot.writeFieldEnd()
9706
      oprot.writeFieldEnd()
9383
    if self.scx != None:
9707
    if self.scx is not None:
9384
      oprot.writeFieldBegin('scx', TType.STRUCT, 1)
9708
      oprot.writeFieldBegin('scx', TType.STRUCT, 1)
9385
      self.scx.write(oprot)
9709
      self.scx.write(oprot)
9386
      oprot.writeFieldEnd()
9710
      oprot.writeFieldEnd()
9387
    oprot.writeFieldStop()
9711
    oprot.writeFieldStop()
9388
    oprot.writeStructEnd()
9712
    oprot.writeStructEnd()
9389
 
9713
 
-
 
9714
  def validate(self):
-
 
9715
    return
-
 
9716
 
-
 
9717
 
9390
  def __repr__(self):
9718
  def __repr__(self):
9391
    L = ['%s=%r' % (key, value)
9719
    L = ['%s=%r' % (key, value)
9392
      for key, value in self.__dict__.iteritems()]
9720
      for key, value in self.__dict__.iteritems()]
9393
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
9721
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
9394
 
9722
 
Line 9434... Line 9762...
9434
  def write(self, oprot):
9762
  def write(self, oprot):
9435
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
9763
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
9436
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
9764
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
9437
      return
9765
      return
9438
    oprot.writeStructBegin('getCart_args')
9766
    oprot.writeStructBegin('getCart_args')
9439
    if self.cartId != None:
9767
    if self.cartId is not None:
9440
      oprot.writeFieldBegin('cartId', TType.I64, 1)
9768
      oprot.writeFieldBegin('cartId', TType.I64, 1)
9441
      oprot.writeI64(self.cartId)
9769
      oprot.writeI64(self.cartId)
9442
      oprot.writeFieldEnd()
9770
      oprot.writeFieldEnd()
9443
    oprot.writeFieldStop()
9771
    oprot.writeFieldStop()
9444
    oprot.writeStructEnd()
9772
    oprot.writeStructEnd()
9445
 
9773
 
-
 
9774
  def validate(self):
-
 
9775
    return
-
 
9776
 
-
 
9777
 
9446
  def __repr__(self):
9778
  def __repr__(self):
9447
    L = ['%s=%r' % (key, value)
9779
    L = ['%s=%r' % (key, value)
9448
      for key, value in self.__dict__.iteritems()]
9780
      for key, value in self.__dict__.iteritems()]
9449
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
9781
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
9450
 
9782
 
Line 9499... Line 9831...
9499
  def write(self, oprot):
9831
  def write(self, oprot):
9500
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
9832
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
9501
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
9833
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
9502
      return
9834
      return
9503
    oprot.writeStructBegin('getCart_result')
9835
    oprot.writeStructBegin('getCart_result')
9504
    if self.success != None:
9836
    if self.success is not None:
9505
      oprot.writeFieldBegin('success', TType.STRUCT, 0)
9837
      oprot.writeFieldBegin('success', TType.STRUCT, 0)
9506
      self.success.write(oprot)
9838
      self.success.write(oprot)
9507
      oprot.writeFieldEnd()
9839
      oprot.writeFieldEnd()
9508
    if self.scx != None:
9840
    if self.scx is not None:
9509
      oprot.writeFieldBegin('scx', TType.STRUCT, 1)
9841
      oprot.writeFieldBegin('scx', TType.STRUCT, 1)
9510
      self.scx.write(oprot)
9842
      self.scx.write(oprot)
9511
      oprot.writeFieldEnd()
9843
      oprot.writeFieldEnd()
9512
    oprot.writeFieldStop()
9844
    oprot.writeFieldStop()
9513
    oprot.writeStructEnd()
9845
    oprot.writeStructEnd()
9514
 
9846
 
-
 
9847
  def validate(self):
-
 
9848
    return
-
 
9849
 
-
 
9850
 
9515
  def __repr__(self):
9851
  def __repr__(self):
9516
    L = ['%s=%r' % (key, value)
9852
    L = ['%s=%r' % (key, value)
9517
      for key, value in self.__dict__.iteritems()]
9853
      for key, value in self.__dict__.iteritems()]
9518
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
9854
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
9519
 
9855
 
Line 9567... Line 9903...
9567
  def write(self, oprot):
9903
  def write(self, oprot):
9568
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
9904
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
9569
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
9905
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
9570
      return
9906
      return
9571
    oprot.writeStructBegin('getCartsForUser_args')
9907
    oprot.writeStructBegin('getCartsForUser_args')
9572
    if self.userId != None:
9908
    if self.userId is not None:
9573
      oprot.writeFieldBegin('userId', TType.I64, 1)
9909
      oprot.writeFieldBegin('userId', TType.I64, 1)
9574
      oprot.writeI64(self.userId)
9910
      oprot.writeI64(self.userId)
9575
      oprot.writeFieldEnd()
9911
      oprot.writeFieldEnd()
9576
    if self.status != None:
9912
    if self.status is not None:
9577
      oprot.writeFieldBegin('status', TType.I32, 2)
9913
      oprot.writeFieldBegin('status', TType.I32, 2)
9578
      oprot.writeI32(self.status)
9914
      oprot.writeI32(self.status)
9579
      oprot.writeFieldEnd()
9915
      oprot.writeFieldEnd()
9580
    oprot.writeFieldStop()
9916
    oprot.writeFieldStop()
9581
    oprot.writeStructEnd()
9917
    oprot.writeStructEnd()
9582
 
9918
 
-
 
9919
  def validate(self):
-
 
9920
    return
-
 
9921
 
-
 
9922
 
9583
  def __repr__(self):
9923
  def __repr__(self):
9584
    L = ['%s=%r' % (key, value)
9924
    L = ['%s=%r' % (key, value)
9585
      for key, value in self.__dict__.iteritems()]
9925
      for key, value in self.__dict__.iteritems()]
9586
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
9926
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
9587
 
9927
 
Line 9641... Line 9981...
9641
  def write(self, oprot):
9981
  def write(self, oprot):
9642
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
9982
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
9643
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
9983
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
9644
      return
9984
      return
9645
    oprot.writeStructBegin('getCartsForUser_result')
9985
    oprot.writeStructBegin('getCartsForUser_result')
9646
    if self.success != None:
9986
    if self.success is not None:
9647
      oprot.writeFieldBegin('success', TType.LIST, 0)
9987
      oprot.writeFieldBegin('success', TType.LIST, 0)
9648
      oprot.writeListBegin(TType.STRUCT, len(self.success))
9988
      oprot.writeListBegin(TType.STRUCT, len(self.success))
9649
      for iter97 in self.success:
9989
      for iter97 in self.success:
9650
        iter97.write(oprot)
9990
        iter97.write(oprot)
9651
      oprot.writeListEnd()
9991
      oprot.writeListEnd()
9652
      oprot.writeFieldEnd()
9992
      oprot.writeFieldEnd()
9653
    if self.scx != None:
9993
    if self.scx is not None:
9654
      oprot.writeFieldBegin('scx', TType.STRUCT, 1)
9994
      oprot.writeFieldBegin('scx', TType.STRUCT, 1)
9655
      self.scx.write(oprot)
9995
      self.scx.write(oprot)
9656
      oprot.writeFieldEnd()
9996
      oprot.writeFieldEnd()
9657
    oprot.writeFieldStop()
9997
    oprot.writeFieldStop()
9658
    oprot.writeStructEnd()
9998
    oprot.writeStructEnd()
9659
 
9999
 
-
 
10000
  def validate(self):
-
 
10001
    return
-
 
10002
 
-
 
10003
 
9660
  def __repr__(self):
10004
  def __repr__(self):
9661
    L = ['%s=%r' % (key, value)
10005
    L = ['%s=%r' % (key, value)
9662
      for key, value in self.__dict__.iteritems()]
10006
      for key, value in self.__dict__.iteritems()]
9663
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
10007
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
9664
 
10008
 
Line 9704... Line 10048...
9704
  def write(self, oprot):
10048
  def write(self, oprot):
9705
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
10049
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
9706
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
10050
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
9707
      return
10051
      return
9708
    oprot.writeStructBegin('getCartsByStatus_args')
10052
    oprot.writeStructBegin('getCartsByStatus_args')
9709
    if self.status != None:
10053
    if self.status is not None:
9710
      oprot.writeFieldBegin('status', TType.I32, 1)
10054
      oprot.writeFieldBegin('status', TType.I32, 1)
9711
      oprot.writeI32(self.status)
10055
      oprot.writeI32(self.status)
9712
      oprot.writeFieldEnd()
10056
      oprot.writeFieldEnd()
9713
    oprot.writeFieldStop()
10057
    oprot.writeFieldStop()
9714
    oprot.writeStructEnd()
10058
    oprot.writeStructEnd()
9715
 
10059
 
-
 
10060
  def validate(self):
-
 
10061
    return
-
 
10062
 
-
 
10063
 
9716
  def __repr__(self):
10064
  def __repr__(self):
9717
    L = ['%s=%r' % (key, value)
10065
    L = ['%s=%r' % (key, value)
9718
      for key, value in self.__dict__.iteritems()]
10066
      for key, value in self.__dict__.iteritems()]
9719
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
10067
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
9720
 
10068
 
Line 9774... Line 10122...
9774
  def write(self, oprot):
10122
  def write(self, oprot):
9775
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
10123
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
9776
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
10124
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
9777
      return
10125
      return
9778
    oprot.writeStructBegin('getCartsByStatus_result')
10126
    oprot.writeStructBegin('getCartsByStatus_result')
9779
    if self.success != None:
10127
    if self.success is not None:
9780
      oprot.writeFieldBegin('success', TType.LIST, 0)
10128
      oprot.writeFieldBegin('success', TType.LIST, 0)
9781
      oprot.writeListBegin(TType.STRUCT, len(self.success))
10129
      oprot.writeListBegin(TType.STRUCT, len(self.success))
9782
      for iter104 in self.success:
10130
      for iter104 in self.success:
9783
        iter104.write(oprot)
10131
        iter104.write(oprot)
9784
      oprot.writeListEnd()
10132
      oprot.writeListEnd()
9785
      oprot.writeFieldEnd()
10133
      oprot.writeFieldEnd()
9786
    if self.scx != None:
10134
    if self.scx is not None:
9787
      oprot.writeFieldBegin('scx', TType.STRUCT, 1)
10135
      oprot.writeFieldBegin('scx', TType.STRUCT, 1)
9788
      self.scx.write(oprot)
10136
      self.scx.write(oprot)
9789
      oprot.writeFieldEnd()
10137
      oprot.writeFieldEnd()
9790
    oprot.writeFieldStop()
10138
    oprot.writeFieldStop()
9791
    oprot.writeStructEnd()
10139
    oprot.writeStructEnd()
9792
 
10140
 
-
 
10141
  def validate(self):
-
 
10142
    return
-
 
10143
 
-
 
10144
 
9793
  def __repr__(self):
10145
  def __repr__(self):
9794
    L = ['%s=%r' % (key, value)
10146
    L = ['%s=%r' % (key, value)
9795
      for key, value in self.__dict__.iteritems()]
10147
      for key, value in self.__dict__.iteritems()]
9796
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
10148
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
9797
 
10149
 
Line 9853... Line 10205...
9853
  def write(self, oprot):
10205
  def write(self, oprot):
9854
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
10206
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
9855
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
10207
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
9856
      return
10208
      return
9857
    oprot.writeStructBegin('getCartsByTime_args')
10209
    oprot.writeStructBegin('getCartsByTime_args')
9858
    if self.from_time != None:
10210
    if self.from_time is not None:
9859
      oprot.writeFieldBegin('from_time', TType.I64, 1)
10211
      oprot.writeFieldBegin('from_time', TType.I64, 1)
9860
      oprot.writeI64(self.from_time)
10212
      oprot.writeI64(self.from_time)
9861
      oprot.writeFieldEnd()
10213
      oprot.writeFieldEnd()
9862
    if self.to_time != None:
10214
    if self.to_time is not None:
9863
      oprot.writeFieldBegin('to_time', TType.I64, 2)
10215
      oprot.writeFieldBegin('to_time', TType.I64, 2)
9864
      oprot.writeI64(self.to_time)
10216
      oprot.writeI64(self.to_time)
9865
      oprot.writeFieldEnd()
10217
      oprot.writeFieldEnd()
9866
    if self.status != None:
10218
    if self.status is not None:
9867
      oprot.writeFieldBegin('status', TType.I32, 3)
10219
      oprot.writeFieldBegin('status', TType.I32, 3)
9868
      oprot.writeI32(self.status)
10220
      oprot.writeI32(self.status)
9869
      oprot.writeFieldEnd()
10221
      oprot.writeFieldEnd()
9870
    oprot.writeFieldStop()
10222
    oprot.writeFieldStop()
9871
    oprot.writeStructEnd()
10223
    oprot.writeStructEnd()
9872
 
10224
 
-
 
10225
  def validate(self):
-
 
10226
    return
-
 
10227
 
-
 
10228
 
9873
  def __repr__(self):
10229
  def __repr__(self):
9874
    L = ['%s=%r' % (key, value)
10230
    L = ['%s=%r' % (key, value)
9875
      for key, value in self.__dict__.iteritems()]
10231
      for key, value in self.__dict__.iteritems()]
9876
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
10232
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
9877
 
10233
 
Line 9931... Line 10287...
9931
  def write(self, oprot):
10287
  def write(self, oprot):
9932
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
10288
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
9933
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
10289
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
9934
      return
10290
      return
9935
    oprot.writeStructBegin('getCartsByTime_result')
10291
    oprot.writeStructBegin('getCartsByTime_result')
9936
    if self.success != None:
10292
    if self.success is not None:
9937
      oprot.writeFieldBegin('success', TType.LIST, 0)
10293
      oprot.writeFieldBegin('success', TType.LIST, 0)
9938
      oprot.writeListBegin(TType.STRUCT, len(self.success))
10294
      oprot.writeListBegin(TType.STRUCT, len(self.success))
9939
      for iter111 in self.success:
10295
      for iter111 in self.success:
9940
        iter111.write(oprot)
10296
        iter111.write(oprot)
9941
      oprot.writeListEnd()
10297
      oprot.writeListEnd()
9942
      oprot.writeFieldEnd()
10298
      oprot.writeFieldEnd()
9943
    if self.scx != None:
10299
    if self.scx is not None:
9944
      oprot.writeFieldBegin('scx', TType.STRUCT, 1)
10300
      oprot.writeFieldBegin('scx', TType.STRUCT, 1)
9945
      self.scx.write(oprot)
10301
      self.scx.write(oprot)
9946
      oprot.writeFieldEnd()
10302
      oprot.writeFieldEnd()
9947
    oprot.writeFieldStop()
10303
    oprot.writeFieldStop()
9948
    oprot.writeStructEnd()
10304
    oprot.writeStructEnd()
9949
 
10305
 
-
 
10306
  def validate(self):
-
 
10307
    return
-
 
10308
 
-
 
10309
 
9950
  def __repr__(self):
10310
  def __repr__(self):
9951
    L = ['%s=%r' % (key, value)
10311
    L = ['%s=%r' % (key, value)
9952
      for key, value in self.__dict__.iteritems()]
10312
      for key, value in self.__dict__.iteritems()]
9953
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
10313
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
9954
 
10314
 
Line 10002... Line 10362...
10002
  def write(self, oprot):
10362
  def write(self, oprot):
10003
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
10363
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
10004
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
10364
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
10005
      return
10365
      return
10006
    oprot.writeStructBegin('changeCartStatus_args')
10366
    oprot.writeStructBegin('changeCartStatus_args')
10007
    if self.cartId != None:
10367
    if self.cartId is not None:
10008
      oprot.writeFieldBegin('cartId', TType.I64, 1)
10368
      oprot.writeFieldBegin('cartId', TType.I64, 1)
10009
      oprot.writeI64(self.cartId)
10369
      oprot.writeI64(self.cartId)
10010
      oprot.writeFieldEnd()
10370
      oprot.writeFieldEnd()
10011
    if self.status != None:
10371
    if self.status is not None:
10012
      oprot.writeFieldBegin('status', TType.I32, 2)
10372
      oprot.writeFieldBegin('status', TType.I32, 2)
10013
      oprot.writeI32(self.status)
10373
      oprot.writeI32(self.status)
10014
      oprot.writeFieldEnd()
10374
      oprot.writeFieldEnd()
10015
    oprot.writeFieldStop()
10375
    oprot.writeFieldStop()
10016
    oprot.writeStructEnd()
10376
    oprot.writeStructEnd()
10017
 
10377
 
-
 
10378
  def validate(self):
-
 
10379
    return
-
 
10380
 
-
 
10381
 
10018
  def __repr__(self):
10382
  def __repr__(self):
10019
    L = ['%s=%r' % (key, value)
10383
    L = ['%s=%r' % (key, value)
10020
      for key, value in self.__dict__.iteritems()]
10384
      for key, value in self.__dict__.iteritems()]
10021
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
10385
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
10022
 
10386
 
Line 10063... Line 10427...
10063
  def write(self, oprot):
10427
  def write(self, oprot):
10064
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
10428
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
10065
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
10429
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
10066
      return
10430
      return
10067
    oprot.writeStructBegin('changeCartStatus_result')
10431
    oprot.writeStructBegin('changeCartStatus_result')
10068
    if self.scx != None:
10432
    if self.scx is not None:
10069
      oprot.writeFieldBegin('scx', TType.STRUCT, 1)
10433
      oprot.writeFieldBegin('scx', TType.STRUCT, 1)
10070
      self.scx.write(oprot)
10434
      self.scx.write(oprot)
10071
      oprot.writeFieldEnd()
10435
      oprot.writeFieldEnd()
10072
    oprot.writeFieldStop()
10436
    oprot.writeFieldStop()
10073
    oprot.writeStructEnd()
10437
    oprot.writeStructEnd()
10074
 
10438
 
-
 
10439
  def validate(self):
-
 
10440
    return
-
 
10441
 
-
 
10442
 
10075
  def __repr__(self):
10443
  def __repr__(self):
10076
    L = ['%s=%r' % (key, value)
10444
    L = ['%s=%r' % (key, value)
10077
      for key, value in self.__dict__.iteritems()]
10445
      for key, value in self.__dict__.iteritems()]
10078
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
10446
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
10079
 
10447
 
Line 10135... Line 10503...
10135
  def write(self, oprot):
10503
  def write(self, oprot):
10136
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
10504
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
10137
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
10505
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
10138
      return
10506
      return
10139
    oprot.writeStructBegin('addItemToCart_args')
10507
    oprot.writeStructBegin('addItemToCart_args')
10140
    if self.cartId != None:
10508
    if self.cartId is not None:
10141
      oprot.writeFieldBegin('cartId', TType.I64, 1)
10509
      oprot.writeFieldBegin('cartId', TType.I64, 1)
10142
      oprot.writeI64(self.cartId)
10510
      oprot.writeI64(self.cartId)
10143
      oprot.writeFieldEnd()
10511
      oprot.writeFieldEnd()
10144
    if self.itemId != None:
10512
    if self.itemId is not None:
10145
      oprot.writeFieldBegin('itemId', TType.I64, 2)
10513
      oprot.writeFieldBegin('itemId', TType.I64, 2)
10146
      oprot.writeI64(self.itemId)
10514
      oprot.writeI64(self.itemId)
10147
      oprot.writeFieldEnd()
10515
      oprot.writeFieldEnd()
10148
    if self.quantity != None:
10516
    if self.quantity is not None:
10149
      oprot.writeFieldBegin('quantity', TType.I64, 3)
10517
      oprot.writeFieldBegin('quantity', TType.I64, 3)
10150
      oprot.writeI64(self.quantity)
10518
      oprot.writeI64(self.quantity)
10151
      oprot.writeFieldEnd()
10519
      oprot.writeFieldEnd()
10152
    oprot.writeFieldStop()
10520
    oprot.writeFieldStop()
10153
    oprot.writeStructEnd()
10521
    oprot.writeStructEnd()
10154
 
10522
 
-
 
10523
  def validate(self):
-
 
10524
    return
-
 
10525
 
-
 
10526
 
10155
  def __repr__(self):
10527
  def __repr__(self):
10156
    L = ['%s=%r' % (key, value)
10528
    L = ['%s=%r' % (key, value)
10157
      for key, value in self.__dict__.iteritems()]
10529
      for key, value in self.__dict__.iteritems()]
10158
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
10530
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
10159
 
10531
 
Line 10207... Line 10579...
10207
  def write(self, oprot):
10579
  def write(self, oprot):
10208
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
10580
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
10209
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
10581
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
10210
      return
10582
      return
10211
    oprot.writeStructBegin('addItemToCart_result')
10583
    oprot.writeStructBegin('addItemToCart_result')
10212
    if self.success != None:
10584
    if self.success is not None:
10213
      oprot.writeFieldBegin('success', TType.STRING, 0)
10585
      oprot.writeFieldBegin('success', TType.STRING, 0)
10214
      oprot.writeString(self.success)
10586
      oprot.writeString(self.success)
10215
      oprot.writeFieldEnd()
10587
      oprot.writeFieldEnd()
10216
    if self.scx != None:
10588
    if self.scx is not None:
10217
      oprot.writeFieldBegin('scx', TType.STRUCT, 1)
10589
      oprot.writeFieldBegin('scx', TType.STRUCT, 1)
10218
      self.scx.write(oprot)
10590
      self.scx.write(oprot)
10219
      oprot.writeFieldEnd()
10591
      oprot.writeFieldEnd()
10220
    oprot.writeFieldStop()
10592
    oprot.writeFieldStop()
10221
    oprot.writeStructEnd()
10593
    oprot.writeStructEnd()
10222
 
10594
 
-
 
10595
  def validate(self):
-
 
10596
    return
-
 
10597
 
-
 
10598
 
10223
  def __repr__(self):
10599
  def __repr__(self):
10224
    L = ['%s=%r' % (key, value)
10600
    L = ['%s=%r' % (key, value)
10225
      for key, value in self.__dict__.iteritems()]
10601
      for key, value in self.__dict__.iteritems()]
10226
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
10602
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
10227
 
10603
 
Line 10275... Line 10651...
10275
  def write(self, oprot):
10651
  def write(self, oprot):
10276
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
10652
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
10277
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
10653
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
10278
      return
10654
      return
10279
    oprot.writeStructBegin('deleteItemFromCart_args')
10655
    oprot.writeStructBegin('deleteItemFromCart_args')
10280
    if self.cartId != None:
10656
    if self.cartId is not None:
10281
      oprot.writeFieldBegin('cartId', TType.I64, 1)
10657
      oprot.writeFieldBegin('cartId', TType.I64, 1)
10282
      oprot.writeI64(self.cartId)
10658
      oprot.writeI64(self.cartId)
10283
      oprot.writeFieldEnd()
10659
      oprot.writeFieldEnd()
10284
    if self.itemId != None:
10660
    if self.itemId is not None:
10285
      oprot.writeFieldBegin('itemId', TType.I64, 2)
10661
      oprot.writeFieldBegin('itemId', TType.I64, 2)
10286
      oprot.writeI64(self.itemId)
10662
      oprot.writeI64(self.itemId)
10287
      oprot.writeFieldEnd()
10663
      oprot.writeFieldEnd()
10288
    oprot.writeFieldStop()
10664
    oprot.writeFieldStop()
10289
    oprot.writeStructEnd()
10665
    oprot.writeStructEnd()
10290
 
10666
 
-
 
10667
  def validate(self):
-
 
10668
    return
-
 
10669
 
-
 
10670
 
10291
  def __repr__(self):
10671
  def __repr__(self):
10292
    L = ['%s=%r' % (key, value)
10672
    L = ['%s=%r' % (key, value)
10293
      for key, value in self.__dict__.iteritems()]
10673
      for key, value in self.__dict__.iteritems()]
10294
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
10674
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
10295
 
10675
 
Line 10336... Line 10716...
10336
  def write(self, oprot):
10716
  def write(self, oprot):
10337
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
10717
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
10338
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
10718
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
10339
      return
10719
      return
10340
    oprot.writeStructBegin('deleteItemFromCart_result')
10720
    oprot.writeStructBegin('deleteItemFromCart_result')
10341
    if self.scx != None:
10721
    if self.scx is not None:
10342
      oprot.writeFieldBegin('scx', TType.STRUCT, 1)
10722
      oprot.writeFieldBegin('scx', TType.STRUCT, 1)
10343
      self.scx.write(oprot)
10723
      self.scx.write(oprot)
10344
      oprot.writeFieldEnd()
10724
      oprot.writeFieldEnd()
10345
    oprot.writeFieldStop()
10725
    oprot.writeFieldStop()
10346
    oprot.writeStructEnd()
10726
    oprot.writeStructEnd()
10347
 
10727
 
-
 
10728
  def validate(self):
-
 
10729
    return
-
 
10730
 
-
 
10731
 
10348
  def __repr__(self):
10732
  def __repr__(self):
10349
    L = ['%s=%r' % (key, value)
10733
    L = ['%s=%r' % (key, value)
10350
      for key, value in self.__dict__.iteritems()]
10734
      for key, value in self.__dict__.iteritems()]
10351
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
10735
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
10352
 
10736
 
Line 10408... Line 10792...
10408
  def write(self, oprot):
10792
  def write(self, oprot):
10409
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
10793
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
10410
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
10794
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
10411
      return
10795
      return
10412
    oprot.writeStructBegin('changeQuantity_args')
10796
    oprot.writeStructBegin('changeQuantity_args')
10413
    if self.cartId != None:
10797
    if self.cartId is not None:
10414
      oprot.writeFieldBegin('cartId', TType.I64, 1)
10798
      oprot.writeFieldBegin('cartId', TType.I64, 1)
10415
      oprot.writeI64(self.cartId)
10799
      oprot.writeI64(self.cartId)
10416
      oprot.writeFieldEnd()
10800
      oprot.writeFieldEnd()
10417
    if self.itemId != None:
10801
    if self.itemId is not None:
10418
      oprot.writeFieldBegin('itemId', TType.I64, 2)
10802
      oprot.writeFieldBegin('itemId', TType.I64, 2)
10419
      oprot.writeI64(self.itemId)
10803
      oprot.writeI64(self.itemId)
10420
      oprot.writeFieldEnd()
10804
      oprot.writeFieldEnd()
10421
    if self.quantity != None:
10805
    if self.quantity is not None:
10422
      oprot.writeFieldBegin('quantity', TType.I64, 3)
10806
      oprot.writeFieldBegin('quantity', TType.I64, 3)
10423
      oprot.writeI64(self.quantity)
10807
      oprot.writeI64(self.quantity)
10424
      oprot.writeFieldEnd()
10808
      oprot.writeFieldEnd()
10425
    oprot.writeFieldStop()
10809
    oprot.writeFieldStop()
10426
    oprot.writeStructEnd()
10810
    oprot.writeStructEnd()
10427
 
10811
 
-
 
10812
  def validate(self):
-
 
10813
    return
-
 
10814
 
-
 
10815
 
10428
  def __repr__(self):
10816
  def __repr__(self):
10429
    L = ['%s=%r' % (key, value)
10817
    L = ['%s=%r' % (key, value)
10430
      for key, value in self.__dict__.iteritems()]
10818
      for key, value in self.__dict__.iteritems()]
10431
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
10819
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
10432
 
10820
 
Line 10473... Line 10861...
10473
  def write(self, oprot):
10861
  def write(self, oprot):
10474
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
10862
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
10475
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
10863
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
10476
      return
10864
      return
10477
    oprot.writeStructBegin('changeQuantity_result')
10865
    oprot.writeStructBegin('changeQuantity_result')
10478
    if self.scx != None:
10866
    if self.scx is not None:
10479
      oprot.writeFieldBegin('scx', TType.STRUCT, 1)
10867
      oprot.writeFieldBegin('scx', TType.STRUCT, 1)
10480
      self.scx.write(oprot)
10868
      self.scx.write(oprot)
10481
      oprot.writeFieldEnd()
10869
      oprot.writeFieldEnd()
10482
    oprot.writeFieldStop()
10870
    oprot.writeFieldStop()
10483
    oprot.writeStructEnd()
10871
    oprot.writeStructEnd()
10484
 
10872
 
-
 
10873
  def validate(self):
-
 
10874
    return
-
 
10875
 
-
 
10876
 
10485
  def __repr__(self):
10877
  def __repr__(self):
10486
    L = ['%s=%r' % (key, value)
10878
    L = ['%s=%r' % (key, value)
10487
      for key, value in self.__dict__.iteritems()]
10879
      for key, value in self.__dict__.iteritems()]
10488
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
10880
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
10489
 
10881
 
Line 10545... Line 10937...
10545
  def write(self, oprot):
10937
  def write(self, oprot):
10546
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
10938
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
10547
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
10939
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
10548
      return
10940
      return
10549
    oprot.writeStructBegin('changeItemStatus_args')
10941
    oprot.writeStructBegin('changeItemStatus_args')
10550
    if self.cartId != None:
10942
    if self.cartId is not None:
10551
      oprot.writeFieldBegin('cartId', TType.I64, 1)
10943
      oprot.writeFieldBegin('cartId', TType.I64, 1)
10552
      oprot.writeI64(self.cartId)
10944
      oprot.writeI64(self.cartId)
10553
      oprot.writeFieldEnd()
10945
      oprot.writeFieldEnd()
10554
    if self.itemId != None:
10946
    if self.itemId is not None:
10555
      oprot.writeFieldBegin('itemId', TType.I64, 2)
10947
      oprot.writeFieldBegin('itemId', TType.I64, 2)
10556
      oprot.writeI64(self.itemId)
10948
      oprot.writeI64(self.itemId)
10557
      oprot.writeFieldEnd()
10949
      oprot.writeFieldEnd()
10558
    if self.status != None:
10950
    if self.status is not None:
10559
      oprot.writeFieldBegin('status', TType.I32, 3)
10951
      oprot.writeFieldBegin('status', TType.I32, 3)
10560
      oprot.writeI32(self.status)
10952
      oprot.writeI32(self.status)
10561
      oprot.writeFieldEnd()
10953
      oprot.writeFieldEnd()
10562
    oprot.writeFieldStop()
10954
    oprot.writeFieldStop()
10563
    oprot.writeStructEnd()
10955
    oprot.writeStructEnd()
10564
 
10956
 
-
 
10957
  def validate(self):
-
 
10958
    return
-
 
10959
 
-
 
10960
 
10565
  def __repr__(self):
10961
  def __repr__(self):
10566
    L = ['%s=%r' % (key, value)
10962
    L = ['%s=%r' % (key, value)
10567
      for key, value in self.__dict__.iteritems()]
10963
      for key, value in self.__dict__.iteritems()]
10568
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
10964
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
10569
 
10965
 
Line 10610... Line 11006...
10610
  def write(self, oprot):
11006
  def write(self, oprot):
10611
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
11007
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
10612
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
11008
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
10613
      return
11009
      return
10614
    oprot.writeStructBegin('changeItemStatus_result')
11010
    oprot.writeStructBegin('changeItemStatus_result')
10615
    if self.scx != None:
11011
    if self.scx is not None:
10616
      oprot.writeFieldBegin('scx', TType.STRUCT, 1)
11012
      oprot.writeFieldBegin('scx', TType.STRUCT, 1)
10617
      self.scx.write(oprot)
11013
      self.scx.write(oprot)
10618
      oprot.writeFieldEnd()
11014
      oprot.writeFieldEnd()
10619
    oprot.writeFieldStop()
11015
    oprot.writeFieldStop()
10620
    oprot.writeStructEnd()
11016
    oprot.writeStructEnd()
10621
 
11017
 
-
 
11018
  def validate(self):
-
 
11019
    return
-
 
11020
 
-
 
11021
 
10622
  def __repr__(self):
11022
  def __repr__(self):
10623
    L = ['%s=%r' % (key, value)
11023
    L = ['%s=%r' % (key, value)
10624
      for key, value in self.__dict__.iteritems()]
11024
      for key, value in self.__dict__.iteritems()]
10625
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
11025
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
10626
 
11026
 
Line 10674... Line 11074...
10674
  def write(self, oprot):
11074
  def write(self, oprot):
10675
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
11075
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
10676
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
11076
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
10677
      return
11077
      return
10678
    oprot.writeStructBegin('addAddressToCart_args')
11078
    oprot.writeStructBegin('addAddressToCart_args')
10679
    if self.cartId != None:
11079
    if self.cartId is not None:
10680
      oprot.writeFieldBegin('cartId', TType.I64, 1)
11080
      oprot.writeFieldBegin('cartId', TType.I64, 1)
10681
      oprot.writeI64(self.cartId)
11081
      oprot.writeI64(self.cartId)
10682
      oprot.writeFieldEnd()
11082
      oprot.writeFieldEnd()
10683
    if self.addressId != None:
11083
    if self.addressId is not None:
10684
      oprot.writeFieldBegin('addressId', TType.I64, 2)
11084
      oprot.writeFieldBegin('addressId', TType.I64, 2)
10685
      oprot.writeI64(self.addressId)
11085
      oprot.writeI64(self.addressId)
10686
      oprot.writeFieldEnd()
11086
      oprot.writeFieldEnd()
10687
    oprot.writeFieldStop()
11087
    oprot.writeFieldStop()
10688
    oprot.writeStructEnd()
11088
    oprot.writeStructEnd()
10689
 
11089
 
-
 
11090
  def validate(self):
-
 
11091
    return
-
 
11092
 
-
 
11093
 
10690
  def __repr__(self):
11094
  def __repr__(self):
10691
    L = ['%s=%r' % (key, value)
11095
    L = ['%s=%r' % (key, value)
10692
      for key, value in self.__dict__.iteritems()]
11096
      for key, value in self.__dict__.iteritems()]
10693
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
11097
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
10694
 
11098
 
Line 10735... Line 11139...
10735
  def write(self, oprot):
11139
  def write(self, oprot):
10736
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
11140
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
10737
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
11141
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
10738
      return
11142
      return
10739
    oprot.writeStructBegin('addAddressToCart_result')
11143
    oprot.writeStructBegin('addAddressToCart_result')
10740
    if self.scx != None:
11144
    if self.scx is not None:
10741
      oprot.writeFieldBegin('scx', TType.STRUCT, 1)
11145
      oprot.writeFieldBegin('scx', TType.STRUCT, 1)
10742
      self.scx.write(oprot)
11146
      self.scx.write(oprot)
10743
      oprot.writeFieldEnd()
11147
      oprot.writeFieldEnd()
10744
    oprot.writeFieldStop()
11148
    oprot.writeFieldStop()
10745
    oprot.writeStructEnd()
11149
    oprot.writeStructEnd()
10746
 
11150
 
-
 
11151
  def validate(self):
-
 
11152
    return
-
 
11153
 
-
 
11154
 
10747
  def __repr__(self):
11155
  def __repr__(self):
10748
    L = ['%s=%r' % (key, value)
11156
    L = ['%s=%r' % (key, value)
10749
      for key, value in self.__dict__.iteritems()]
11157
      for key, value in self.__dict__.iteritems()]
10750
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
11158
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
10751
 
11159
 
Line 10815... Line 11223...
10815
  def write(self, oprot):
11223
  def write(self, oprot):
10816
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
11224
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
10817
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
11225
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
10818
      return
11226
      return
10819
    oprot.writeStructBegin('applyCouponToCart_args')
11227
    oprot.writeStructBegin('applyCouponToCart_args')
10820
    if self.cartId != None:
11228
    if self.cartId is not None:
10821
      oprot.writeFieldBegin('cartId', TType.I64, 1)
11229
      oprot.writeFieldBegin('cartId', TType.I64, 1)
10822
      oprot.writeI64(self.cartId)
11230
      oprot.writeI64(self.cartId)
10823
      oprot.writeFieldEnd()
11231
      oprot.writeFieldEnd()
10824
    if self.couponCode != None:
11232
    if self.couponCode is not None:
10825
      oprot.writeFieldBegin('couponCode', TType.STRING, 2)
11233
      oprot.writeFieldBegin('couponCode', TType.STRING, 2)
10826
      oprot.writeString(self.couponCode)
11234
      oprot.writeString(self.couponCode)
10827
      oprot.writeFieldEnd()
11235
      oprot.writeFieldEnd()
10828
    if self.totalPrice != None:
11236
    if self.totalPrice is not None:
10829
      oprot.writeFieldBegin('totalPrice', TType.DOUBLE, 3)
11237
      oprot.writeFieldBegin('totalPrice', TType.DOUBLE, 3)
10830
      oprot.writeDouble(self.totalPrice)
11238
      oprot.writeDouble(self.totalPrice)
10831
      oprot.writeFieldEnd()
11239
      oprot.writeFieldEnd()
10832
    if self.discountedPrice != None:
11240
    if self.discountedPrice is not None:
10833
      oprot.writeFieldBegin('discountedPrice', TType.DOUBLE, 4)
11241
      oprot.writeFieldBegin('discountedPrice', TType.DOUBLE, 4)
10834
      oprot.writeDouble(self.discountedPrice)
11242
      oprot.writeDouble(self.discountedPrice)
10835
      oprot.writeFieldEnd()
11243
      oprot.writeFieldEnd()
10836
    oprot.writeFieldStop()
11244
    oprot.writeFieldStop()
10837
    oprot.writeStructEnd()
11245
    oprot.writeStructEnd()
10838
 
11246
 
-
 
11247
  def validate(self):
-
 
11248
    return
-
 
11249
 
-
 
11250
 
10839
  def __repr__(self):
11251
  def __repr__(self):
10840
    L = ['%s=%r' % (key, value)
11252
    L = ['%s=%r' % (key, value)
10841
      for key, value in self.__dict__.iteritems()]
11253
      for key, value in self.__dict__.iteritems()]
10842
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
11254
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
10843
 
11255
 
Line 10884... Line 11296...
10884
  def write(self, oprot):
11296
  def write(self, oprot):
10885
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
11297
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
10886
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
11298
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
10887
      return
11299
      return
10888
    oprot.writeStructBegin('applyCouponToCart_result')
11300
    oprot.writeStructBegin('applyCouponToCart_result')
10889
    if self.scx != None:
11301
    if self.scx is not None:
10890
      oprot.writeFieldBegin('scx', TType.STRUCT, 1)
11302
      oprot.writeFieldBegin('scx', TType.STRUCT, 1)
10891
      self.scx.write(oprot)
11303
      self.scx.write(oprot)
10892
      oprot.writeFieldEnd()
11304
      oprot.writeFieldEnd()
10893
    oprot.writeFieldStop()
11305
    oprot.writeFieldStop()
10894
    oprot.writeStructEnd()
11306
    oprot.writeStructEnd()
10895
 
11307
 
-
 
11308
  def validate(self):
-
 
11309
    return
-
 
11310
 
-
 
11311
 
10896
  def __repr__(self):
11312
  def __repr__(self):
10897
    L = ['%s=%r' % (key, value)
11313
    L = ['%s=%r' % (key, value)
10898
      for key, value in self.__dict__.iteritems()]
11314
      for key, value in self.__dict__.iteritems()]
10899
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
11315
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
10900
 
11316
 
Line 10940... Line 11356...
10940
  def write(self, oprot):
11356
  def write(self, oprot):
10941
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
11357
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
10942
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
11358
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
10943
      return
11359
      return
10944
    oprot.writeStructBegin('removeCoupon_args')
11360
    oprot.writeStructBegin('removeCoupon_args')
10945
    if self.cartId != None:
11361
    if self.cartId is not None:
10946
      oprot.writeFieldBegin('cartId', TType.I64, 1)
11362
      oprot.writeFieldBegin('cartId', TType.I64, 1)
10947
      oprot.writeI64(self.cartId)
11363
      oprot.writeI64(self.cartId)
10948
      oprot.writeFieldEnd()
11364
      oprot.writeFieldEnd()
10949
    oprot.writeFieldStop()
11365
    oprot.writeFieldStop()
10950
    oprot.writeStructEnd()
11366
    oprot.writeStructEnd()
10951
 
11367
 
-
 
11368
  def validate(self):
-
 
11369
    return
-
 
11370
 
-
 
11371
 
10952
  def __repr__(self):
11372
  def __repr__(self):
10953
    L = ['%s=%r' % (key, value)
11373
    L = ['%s=%r' % (key, value)
10954
      for key, value in self.__dict__.iteritems()]
11374
      for key, value in self.__dict__.iteritems()]
10955
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
11375
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
10956
 
11376
 
Line 10997... Line 11417...
10997
  def write(self, oprot):
11417
  def write(self, oprot):
10998
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
11418
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
10999
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
11419
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
11000
      return
11420
      return
11001
    oprot.writeStructBegin('removeCoupon_result')
11421
    oprot.writeStructBegin('removeCoupon_result')
11002
    if self.scx != None:
11422
    if self.scx is not None:
11003
      oprot.writeFieldBegin('scx', TType.STRUCT, 1)
11423
      oprot.writeFieldBegin('scx', TType.STRUCT, 1)
11004
      self.scx.write(oprot)
11424
      self.scx.write(oprot)
11005
      oprot.writeFieldEnd()
11425
      oprot.writeFieldEnd()
11006
    oprot.writeFieldStop()
11426
    oprot.writeFieldStop()
11007
    oprot.writeStructEnd()
11427
    oprot.writeStructEnd()
11008
 
11428
 
-
 
11429
  def validate(self):
-
 
11430
    return
-
 
11431
 
-
 
11432
 
11009
  def __repr__(self):
11433
  def __repr__(self):
11010
    L = ['%s=%r' % (key, value)
11434
    L = ['%s=%r' % (key, value)
11011
      for key, value in self.__dict__.iteritems()]
11435
      for key, value in self.__dict__.iteritems()]
11012
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
11436
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
11013
 
11437
 
Line 11069... Line 11493...
11069
  def write(self, oprot):
11493
  def write(self, oprot):
11070
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
11494
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
11071
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
11495
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
11072
      return
11496
      return
11073
    oprot.writeStructBegin('createOrders_args')
11497
    oprot.writeStructBegin('createOrders_args')
11074
    if self.cartId != None:
11498
    if self.cartId is not None:
11075
      oprot.writeFieldBegin('cartId', TType.I64, 1)
11499
      oprot.writeFieldBegin('cartId', TType.I64, 1)
11076
      oprot.writeI64(self.cartId)
11500
      oprot.writeI64(self.cartId)
11077
      oprot.writeFieldEnd()
11501
      oprot.writeFieldEnd()
11078
    if self.sessionSource != None:
11502
    if self.sessionSource is not None:
11079
      oprot.writeFieldBegin('sessionSource', TType.STRING, 2)
11503
      oprot.writeFieldBegin('sessionSource', TType.STRING, 2)
11080
      oprot.writeString(self.sessionSource)
11504
      oprot.writeString(self.sessionSource)
11081
      oprot.writeFieldEnd()
11505
      oprot.writeFieldEnd()
11082
    if self.sessionStartTime != None:
11506
    if self.sessionStartTime is not None:
11083
      oprot.writeFieldBegin('sessionStartTime', TType.I64, 3)
11507
      oprot.writeFieldBegin('sessionStartTime', TType.I64, 3)
11084
      oprot.writeI64(self.sessionStartTime)
11508
      oprot.writeI64(self.sessionStartTime)
11085
      oprot.writeFieldEnd()
11509
      oprot.writeFieldEnd()
11086
    oprot.writeFieldStop()
11510
    oprot.writeFieldStop()
11087
    oprot.writeStructEnd()
11511
    oprot.writeStructEnd()
11088
 
11512
 
-
 
11513
  def validate(self):
-
 
11514
    return
-
 
11515
 
-
 
11516
 
11089
  def __repr__(self):
11517
  def __repr__(self):
11090
    L = ['%s=%r' % (key, value)
11518
    L = ['%s=%r' % (key, value)
11091
      for key, value in self.__dict__.iteritems()]
11519
      for key, value in self.__dict__.iteritems()]
11092
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
11520
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
11093
 
11521
 
Line 11141... Line 11569...
11141
  def write(self, oprot):
11569
  def write(self, oprot):
11142
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
11570
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
11143
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
11571
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
11144
      return
11572
      return
11145
    oprot.writeStructBegin('createOrders_result')
11573
    oprot.writeStructBegin('createOrders_result')
11146
    if self.success != None:
11574
    if self.success is not None:
11147
      oprot.writeFieldBegin('success', TType.I64, 0)
11575
      oprot.writeFieldBegin('success', TType.I64, 0)
11148
      oprot.writeI64(self.success)
11576
      oprot.writeI64(self.success)
11149
      oprot.writeFieldEnd()
11577
      oprot.writeFieldEnd()
11150
    if self.scx != None:
11578
    if self.scx is not None:
11151
      oprot.writeFieldBegin('scx', TType.STRUCT, 1)
11579
      oprot.writeFieldBegin('scx', TType.STRUCT, 1)
11152
      self.scx.write(oprot)
11580
      self.scx.write(oprot)
11153
      oprot.writeFieldEnd()
11581
      oprot.writeFieldEnd()
11154
    oprot.writeFieldStop()
11582
    oprot.writeFieldStop()
11155
    oprot.writeStructEnd()
11583
    oprot.writeStructEnd()
11156
 
11584
 
-
 
11585
  def validate(self):
-
 
11586
    return
-
 
11587
 
-
 
11588
 
11157
  def __repr__(self):
11589
  def __repr__(self):
11158
    L = ['%s=%r' % (key, value)
11590
    L = ['%s=%r' % (key, value)
11159
      for key, value in self.__dict__.iteritems()]
11591
      for key, value in self.__dict__.iteritems()]
11160
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
11592
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
11161
 
11593
 
Line 11201... Line 11633...
11201
  def write(self, oprot):
11633
  def write(self, oprot):
11202
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
11634
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
11203
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
11635
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
11204
      return
11636
      return
11205
    oprot.writeStructBegin('validateCart_args')
11637
    oprot.writeStructBegin('validateCart_args')
11206
    if self.cartId != None:
11638
    if self.cartId is not None:
11207
      oprot.writeFieldBegin('cartId', TType.I64, 1)
11639
      oprot.writeFieldBegin('cartId', TType.I64, 1)
11208
      oprot.writeI64(self.cartId)
11640
      oprot.writeI64(self.cartId)
11209
      oprot.writeFieldEnd()
11641
      oprot.writeFieldEnd()
11210
    oprot.writeFieldStop()
11642
    oprot.writeFieldStop()
11211
    oprot.writeStructEnd()
11643
    oprot.writeStructEnd()
11212
 
11644
 
-
 
11645
  def validate(self):
-
 
11646
    return
-
 
11647
 
-
 
11648
 
11213
  def __repr__(self):
11649
  def __repr__(self):
11214
    L = ['%s=%r' % (key, value)
11650
    L = ['%s=%r' % (key, value)
11215
      for key, value in self.__dict__.iteritems()]
11651
      for key, value in self.__dict__.iteritems()]
11216
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
11652
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
11217
 
11653
 
Line 11265... Line 11701...
11265
  def write(self, oprot):
11701
  def write(self, oprot):
11266
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
11702
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
11267
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
11703
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
11268
      return
11704
      return
11269
    oprot.writeStructBegin('validateCart_result')
11705
    oprot.writeStructBegin('validateCart_result')
11270
    if self.success != None:
11706
    if self.success is not None:
11271
      oprot.writeFieldBegin('success', TType.STRING, 0)
11707
      oprot.writeFieldBegin('success', TType.STRING, 0)
11272
      oprot.writeString(self.success)
11708
      oprot.writeString(self.success)
11273
      oprot.writeFieldEnd()
11709
      oprot.writeFieldEnd()
11274
    if self.scex != None:
11710
    if self.scex is not None:
11275
      oprot.writeFieldBegin('scex', TType.STRUCT, 1)
11711
      oprot.writeFieldBegin('scex', TType.STRUCT, 1)
11276
      self.scex.write(oprot)
11712
      self.scex.write(oprot)
11277
      oprot.writeFieldEnd()
11713
      oprot.writeFieldEnd()
11278
    oprot.writeFieldStop()
11714
    oprot.writeFieldStop()
11279
    oprot.writeStructEnd()
11715
    oprot.writeStructEnd()
11280
 
11716
 
-
 
11717
  def validate(self):
-
 
11718
    return
-
 
11719
 
-
 
11720
 
11281
  def __repr__(self):
11721
  def __repr__(self):
11282
    L = ['%s=%r' % (key, value)
11722
    L = ['%s=%r' % (key, value)
11283
      for key, value in self.__dict__.iteritems()]
11723
      for key, value in self.__dict__.iteritems()]
11284
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
11724
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
11285
 
11725
 
Line 11333... Line 11773...
11333
  def write(self, oprot):
11773
  def write(self, oprot):
11334
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
11774
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
11335
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
11775
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
11336
      return
11776
      return
11337
    oprot.writeStructBegin('mergeCart_args')
11777
    oprot.writeStructBegin('mergeCart_args')
11338
    if self.fromCartId != None:
11778
    if self.fromCartId is not None:
11339
      oprot.writeFieldBegin('fromCartId', TType.I64, 1)
11779
      oprot.writeFieldBegin('fromCartId', TType.I64, 1)
11340
      oprot.writeI64(self.fromCartId)
11780
      oprot.writeI64(self.fromCartId)
11341
      oprot.writeFieldEnd()
11781
      oprot.writeFieldEnd()
11342
    if self.toCartId != None:
11782
    if self.toCartId is not None:
11343
      oprot.writeFieldBegin('toCartId', TType.I64, 2)
11783
      oprot.writeFieldBegin('toCartId', TType.I64, 2)
11344
      oprot.writeI64(self.toCartId)
11784
      oprot.writeI64(self.toCartId)
11345
      oprot.writeFieldEnd()
11785
      oprot.writeFieldEnd()
11346
    oprot.writeFieldStop()
11786
    oprot.writeFieldStop()
11347
    oprot.writeStructEnd()
11787
    oprot.writeStructEnd()
11348
 
11788
 
-
 
11789
  def validate(self):
-
 
11790
    return
-
 
11791
 
-
 
11792
 
11349
  def __repr__(self):
11793
  def __repr__(self):
11350
    L = ['%s=%r' % (key, value)
11794
    L = ['%s=%r' % (key, value)
11351
      for key, value in self.__dict__.iteritems()]
11795
      for key, value in self.__dict__.iteritems()]
11352
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
11796
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
11353
 
11797
 
Line 11382... Line 11826...
11382
      return
11826
      return
11383
    oprot.writeStructBegin('mergeCart_result')
11827
    oprot.writeStructBegin('mergeCart_result')
11384
    oprot.writeFieldStop()
11828
    oprot.writeFieldStop()
11385
    oprot.writeStructEnd()
11829
    oprot.writeStructEnd()
11386
 
11830
 
-
 
11831
  def validate(self):
-
 
11832
    return
-
 
11833
 
-
 
11834
 
11387
  def __repr__(self):
11835
  def __repr__(self):
11388
    L = ['%s=%r' % (key, value)
11836
    L = ['%s=%r' % (key, value)
11389
      for key, value in self.__dict__.iteritems()]
11837
      for key, value in self.__dict__.iteritems()]
11390
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
11838
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
11391
 
11839
 
Line 11431... Line 11879...
11431
  def write(self, oprot):
11879
  def write(self, oprot):
11432
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
11880
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
11433
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
11881
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
11434
      return
11882
      return
11435
    oprot.writeStructBegin('checkOut_args')
11883
    oprot.writeStructBegin('checkOut_args')
11436
    if self.cartId != None:
11884
    if self.cartId is not None:
11437
      oprot.writeFieldBegin('cartId', TType.I64, 1)
11885
      oprot.writeFieldBegin('cartId', TType.I64, 1)
11438
      oprot.writeI64(self.cartId)
11886
      oprot.writeI64(self.cartId)
11439
      oprot.writeFieldEnd()
11887
      oprot.writeFieldEnd()
11440
    oprot.writeFieldStop()
11888
    oprot.writeFieldStop()
11441
    oprot.writeStructEnd()
11889
    oprot.writeStructEnd()
11442
 
11890
 
-
 
11891
  def validate(self):
-
 
11892
    return
-
 
11893
 
-
 
11894
 
11443
  def __repr__(self):
11895
  def __repr__(self):
11444
    L = ['%s=%r' % (key, value)
11896
    L = ['%s=%r' % (key, value)
11445
      for key, value in self.__dict__.iteritems()]
11897
      for key, value in self.__dict__.iteritems()]
11446
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
11898
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
11447
 
11899
 
Line 11495... Line 11947...
11495
  def write(self, oprot):
11947
  def write(self, oprot):
11496
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
11948
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
11497
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
11949
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
11498
      return
11950
      return
11499
    oprot.writeStructBegin('checkOut_result')
11951
    oprot.writeStructBegin('checkOut_result')
11500
    if self.success != None:
11952
    if self.success is not None:
11501
      oprot.writeFieldBegin('success', TType.BOOL, 0)
11953
      oprot.writeFieldBegin('success', TType.BOOL, 0)
11502
      oprot.writeBool(self.success)
11954
      oprot.writeBool(self.success)
11503
      oprot.writeFieldEnd()
11955
      oprot.writeFieldEnd()
11504
    if self.scex != None:
11956
    if self.scex is not None:
11505
      oprot.writeFieldBegin('scex', TType.STRUCT, 1)
11957
      oprot.writeFieldBegin('scex', TType.STRUCT, 1)
11506
      self.scex.write(oprot)
11958
      self.scex.write(oprot)
11507
      oprot.writeFieldEnd()
11959
      oprot.writeFieldEnd()
11508
    oprot.writeFieldStop()
11960
    oprot.writeFieldStop()
11509
    oprot.writeStructEnd()
11961
    oprot.writeStructEnd()
11510
 
11962
 
-
 
11963
  def validate(self):
-
 
11964
    return
-
 
11965
 
-
 
11966
 
11511
  def __repr__(self):
11967
  def __repr__(self):
11512
    L = ['%s=%r' % (key, value)
11968
    L = ['%s=%r' % (key, value)
11513
      for key, value in self.__dict__.iteritems()]
11969
      for key, value in self.__dict__.iteritems()]
11514
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
11970
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
11515
 
11971
 
Line 11569... Line 12025...
11569
  def write(self, oprot):
12025
  def write(self, oprot):
11570
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
12026
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
11571
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
12027
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
11572
      return
12028
      return
11573
    oprot.writeStructBegin('resetCart_args')
12029
    oprot.writeStructBegin('resetCart_args')
11574
    if self.cartId != None:
12030
    if self.cartId is not None:
11575
      oprot.writeFieldBegin('cartId', TType.I64, 1)
12031
      oprot.writeFieldBegin('cartId', TType.I64, 1)
11576
      oprot.writeI64(self.cartId)
12032
      oprot.writeI64(self.cartId)
11577
      oprot.writeFieldEnd()
12033
      oprot.writeFieldEnd()
11578
    if self.items != None:
12034
    if self.items is not None:
11579
      oprot.writeFieldBegin('items', TType.MAP, 2)
12035
      oprot.writeFieldBegin('items', TType.MAP, 2)
11580
      oprot.writeMapBegin(TType.I64, TType.DOUBLE, len(self.items))
12036
      oprot.writeMapBegin(TType.I64, TType.DOUBLE, len(self.items))
11581
      for kiter119,viter120 in self.items.items():
12037
      for kiter119,viter120 in self.items.items():
11582
        oprot.writeI64(kiter119)
12038
        oprot.writeI64(kiter119)
11583
        oprot.writeDouble(viter120)
12039
        oprot.writeDouble(viter120)
11584
      oprot.writeMapEnd()
12040
      oprot.writeMapEnd()
11585
      oprot.writeFieldEnd()
12041
      oprot.writeFieldEnd()
11586
    oprot.writeFieldStop()
12042
    oprot.writeFieldStop()
11587
    oprot.writeStructEnd()
12043
    oprot.writeStructEnd()
11588
 
12044
 
-
 
12045
  def validate(self):
-
 
12046
    return
-
 
12047
 
-
 
12048
 
11589
  def __repr__(self):
12049
  def __repr__(self):
11590
    L = ['%s=%r' % (key, value)
12050
    L = ['%s=%r' % (key, value)
11591
      for key, value in self.__dict__.iteritems()]
12051
      for key, value in self.__dict__.iteritems()]
11592
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
12052
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
11593
 
12053
 
Line 11641... Line 12101...
11641
  def write(self, oprot):
12101
  def write(self, oprot):
11642
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
12102
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
11643
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
12103
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
11644
      return
12104
      return
11645
    oprot.writeStructBegin('resetCart_result')
12105
    oprot.writeStructBegin('resetCart_result')
11646
    if self.success != None:
12106
    if self.success is not None:
11647
      oprot.writeFieldBegin('success', TType.BOOL, 0)
12107
      oprot.writeFieldBegin('success', TType.BOOL, 0)
11648
      oprot.writeBool(self.success)
12108
      oprot.writeBool(self.success)
11649
      oprot.writeFieldEnd()
12109
      oprot.writeFieldEnd()
11650
    if self.scex != None:
12110
    if self.scex is not None:
11651
      oprot.writeFieldBegin('scex', TType.STRUCT, 1)
12111
      oprot.writeFieldBegin('scex', TType.STRUCT, 1)
11652
      self.scex.write(oprot)
12112
      self.scex.write(oprot)
11653
      oprot.writeFieldEnd()
12113
      oprot.writeFieldEnd()
11654
    oprot.writeFieldStop()
12114
    oprot.writeFieldStop()
11655
    oprot.writeStructEnd()
12115
    oprot.writeStructEnd()
11656
 
12116
 
-
 
12117
  def validate(self):
-
 
12118
    return
-
 
12119
 
-
 
12120
 
11657
  def __repr__(self):
12121
  def __repr__(self):
11658
    L = ['%s=%r' % (key, value)
12122
    L = ['%s=%r' % (key, value)
11659
      for key, value in self.__dict__.iteritems()]
12123
      for key, value in self.__dict__.iteritems()]
11660
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
12124
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
11661
 
12125
 
Line 11701... Line 12165...
11701
  def write(self, oprot):
12165
  def write(self, oprot):
11702
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
12166
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
11703
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
12167
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
11704
      return
12168
      return
11705
    oprot.writeStructBegin('getUserCount_args')
12169
    oprot.writeStructBegin('getUserCount_args')
11706
    if self.userType != None:
12170
    if self.userType is not None:
11707
      oprot.writeFieldBegin('userType', TType.I32, 1)
12171
      oprot.writeFieldBegin('userType', TType.I32, 1)
11708
      oprot.writeI32(self.userType)
12172
      oprot.writeI32(self.userType)
11709
      oprot.writeFieldEnd()
12173
      oprot.writeFieldEnd()
11710
    oprot.writeFieldStop()
12174
    oprot.writeFieldStop()
11711
    oprot.writeStructEnd()
12175
    oprot.writeStructEnd()
11712
 
12176
 
-
 
12177
  def validate(self):
-
 
12178
    return
-
 
12179
 
-
 
12180
 
11713
  def __repr__(self):
12181
  def __repr__(self):
11714
    L = ['%s=%r' % (key, value)
12182
    L = ['%s=%r' % (key, value)
11715
      for key, value in self.__dict__.iteritems()]
12183
      for key, value in self.__dict__.iteritems()]
11716
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
12184
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
11717
 
12185
 
Line 11756... Line 12224...
11756
  def write(self, oprot):
12224
  def write(self, oprot):
11757
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
12225
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
11758
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
12226
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
11759
      return
12227
      return
11760
    oprot.writeStructBegin('getUserCount_result')
12228
    oprot.writeStructBegin('getUserCount_result')
11761
    if self.success != None:
12229
    if self.success is not None:
11762
      oprot.writeFieldBegin('success', TType.I64, 0)
12230
      oprot.writeFieldBegin('success', TType.I64, 0)
11763
      oprot.writeI64(self.success)
12231
      oprot.writeI64(self.success)
11764
      oprot.writeFieldEnd()
12232
      oprot.writeFieldEnd()
11765
    oprot.writeFieldStop()
12233
    oprot.writeFieldStop()
11766
    oprot.writeStructEnd()
12234
    oprot.writeStructEnd()
11767
 
12235
 
-
 
12236
  def validate(self):
-
 
12237
    return
-
 
12238
 
-
 
12239
 
11768
  def __repr__(self):
12240
  def __repr__(self):
11769
    L = ['%s=%r' % (key, value)
12241
    L = ['%s=%r' % (key, value)
11770
      for key, value in self.__dict__.iteritems()]
12242
      for key, value in self.__dict__.iteritems()]
11771
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
12243
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
11772
 
12244
 
Line 11828... Line 12300...
11828
  def write(self, oprot):
12300
  def write(self, oprot):
11829
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
12301
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
11830
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
12302
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
11831
      return
12303
      return
11832
    oprot.writeStructBegin('getAllUsers_args')
12304
    oprot.writeStructBegin('getAllUsers_args')
11833
    if self.userType != None:
12305
    if self.userType is not None:
11834
      oprot.writeFieldBegin('userType', TType.I32, 1)
12306
      oprot.writeFieldBegin('userType', TType.I32, 1)
11835
      oprot.writeI32(self.userType)
12307
      oprot.writeI32(self.userType)
11836
      oprot.writeFieldEnd()
12308
      oprot.writeFieldEnd()
11837
    if self.startDate != None:
12309
    if self.startDate is not None:
11838
      oprot.writeFieldBegin('startDate', TType.I64, 2)
12310
      oprot.writeFieldBegin('startDate', TType.I64, 2)
11839
      oprot.writeI64(self.startDate)
12311
      oprot.writeI64(self.startDate)
11840
      oprot.writeFieldEnd()
12312
      oprot.writeFieldEnd()
11841
    if self.endDate != None:
12313
    if self.endDate is not None:
11842
      oprot.writeFieldBegin('endDate', TType.I64, 3)
12314
      oprot.writeFieldBegin('endDate', TType.I64, 3)
11843
      oprot.writeI64(self.endDate)
12315
      oprot.writeI64(self.endDate)
11844
      oprot.writeFieldEnd()
12316
      oprot.writeFieldEnd()
11845
    oprot.writeFieldStop()
12317
    oprot.writeFieldStop()
11846
    oprot.writeStructEnd()
12318
    oprot.writeStructEnd()
11847
 
12319
 
-
 
12320
  def validate(self):
-
 
12321
    return
-
 
12322
 
-
 
12323
 
11848
  def __repr__(self):
12324
  def __repr__(self):
11849
    L = ['%s=%r' % (key, value)
12325
    L = ['%s=%r' % (key, value)
11850
      for key, value in self.__dict__.iteritems()]
12326
      for key, value in self.__dict__.iteritems()]
11851
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
12327
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
11852
 
12328
 
Line 11897... Line 12373...
11897
  def write(self, oprot):
12373
  def write(self, oprot):
11898
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
12374
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
11899
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
12375
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
11900
      return
12376
      return
11901
    oprot.writeStructBegin('getAllUsers_result')
12377
    oprot.writeStructBegin('getAllUsers_result')
11902
    if self.success != None:
12378
    if self.success is not None:
11903
      oprot.writeFieldBegin('success', TType.LIST, 0)
12379
      oprot.writeFieldBegin('success', TType.LIST, 0)
11904
      oprot.writeListBegin(TType.STRUCT, len(self.success))
12380
      oprot.writeListBegin(TType.STRUCT, len(self.success))
11905
      for iter127 in self.success:
12381
      for iter127 in self.success:
11906
        iter127.write(oprot)
12382
        iter127.write(oprot)
11907
      oprot.writeListEnd()
12383
      oprot.writeListEnd()
11908
      oprot.writeFieldEnd()
12384
      oprot.writeFieldEnd()
11909
    oprot.writeFieldStop()
12385
    oprot.writeFieldStop()
11910
    oprot.writeStructEnd()
12386
    oprot.writeStructEnd()
11911
 
12387
 
-
 
12388
  def validate(self):
-
 
12389
    return
-
 
12390
 
-
 
12391
 
11912
  def __repr__(self):
12392
  def __repr__(self):
11913
    L = ['%s=%r' % (key, value)
12393
    L = ['%s=%r' % (key, value)
11914
      for key, value in self.__dict__.iteritems()]
12394
      for key, value in self.__dict__.iteritems()]
11915
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
12395
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
11916
 
12396
 
Line 11980... Line 12460...
11980
  def write(self, oprot):
12460
  def write(self, oprot):
11981
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
12461
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
11982
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
12462
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
11983
      return
12463
      return
11984
    oprot.writeStructBegin('putUserNote_args')
12464
    oprot.writeStructBegin('putUserNote_args')
11985
    if self.user_id != None:
12465
    if self.user_id is not None:
11986
      oprot.writeFieldBegin('user_id', TType.I64, 1)
12466
      oprot.writeFieldBegin('user_id', TType.I64, 1)
11987
      oprot.writeI64(self.user_id)
12467
      oprot.writeI64(self.user_id)
11988
      oprot.writeFieldEnd()
12468
      oprot.writeFieldEnd()
11989
    if self.entity_id != None:
12469
    if self.entity_id is not None:
11990
      oprot.writeFieldBegin('entity_id', TType.I64, 2)
12470
      oprot.writeFieldBegin('entity_id', TType.I64, 2)
11991
      oprot.writeI64(self.entity_id)
12471
      oprot.writeI64(self.entity_id)
11992
      oprot.writeFieldEnd()
12472
      oprot.writeFieldEnd()
11993
    if self.slide != None:
12473
    if self.slide is not None:
11994
      oprot.writeFieldBegin('slide', TType.STRING, 3)
12474
      oprot.writeFieldBegin('slide', TType.STRING, 3)
11995
      oprot.writeString(self.slide)
12475
      oprot.writeString(self.slide)
11996
      oprot.writeFieldEnd()
12476
      oprot.writeFieldEnd()
11997
    if self.note != None:
12477
    if self.note is not None:
11998
      oprot.writeFieldBegin('note', TType.STRING, 4)
12478
      oprot.writeFieldBegin('note', TType.STRING, 4)
11999
      oprot.writeString(self.note)
12479
      oprot.writeString(self.note)
12000
      oprot.writeFieldEnd()
12480
      oprot.writeFieldEnd()
12001
    oprot.writeFieldStop()
12481
    oprot.writeFieldStop()
12002
    oprot.writeStructEnd()
12482
    oprot.writeStructEnd()
12003
 
12483
 
-
 
12484
  def validate(self):
-
 
12485
    return
-
 
12486
 
-
 
12487
 
12004
  def __repr__(self):
12488
  def __repr__(self):
12005
    L = ['%s=%r' % (key, value)
12489
    L = ['%s=%r' % (key, value)
12006
      for key, value in self.__dict__.iteritems()]
12490
      for key, value in self.__dict__.iteritems()]
12007
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
12491
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
12008
 
12492
 
Line 12037... Line 12521...
12037
      return
12521
      return
12038
    oprot.writeStructBegin('putUserNote_result')
12522
    oprot.writeStructBegin('putUserNote_result')
12039
    oprot.writeFieldStop()
12523
    oprot.writeFieldStop()
12040
    oprot.writeStructEnd()
12524
    oprot.writeStructEnd()
12041
 
12525
 
-
 
12526
  def validate(self):
-
 
12527
    return
-
 
12528
 
-
 
12529
 
12042
  def __repr__(self):
12530
  def __repr__(self):
12043
    L = ['%s=%r' % (key, value)
12531
    L = ['%s=%r' % (key, value)
12044
      for key, value in self.__dict__.iteritems()]
12532
      for key, value in self.__dict__.iteritems()]
12045
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
12533
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
12046
 
12534
 
Line 12094... Line 12582...
12094
  def write(self, oprot):
12582
  def write(self, oprot):
12095
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
12583
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
12096
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
12584
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
12097
      return
12585
      return
12098
    oprot.writeStructBegin('getUserNotes_args')
12586
    oprot.writeStructBegin('getUserNotes_args')
12099
    if self.user_id != None:
12587
    if self.user_id is not None:
12100
      oprot.writeFieldBegin('user_id', TType.I64, 1)
12588
      oprot.writeFieldBegin('user_id', TType.I64, 1)
12101
      oprot.writeI64(self.user_id)
12589
      oprot.writeI64(self.user_id)
12102
      oprot.writeFieldEnd()
12590
      oprot.writeFieldEnd()
12103
    if self.entity_id != None:
12591
    if self.entity_id is not None:
12104
      oprot.writeFieldBegin('entity_id', TType.I64, 2)
12592
      oprot.writeFieldBegin('entity_id', TType.I64, 2)
12105
      oprot.writeI64(self.entity_id)
12593
      oprot.writeI64(self.entity_id)
12106
      oprot.writeFieldEnd()
12594
      oprot.writeFieldEnd()
12107
    oprot.writeFieldStop()
12595
    oprot.writeFieldStop()
12108
    oprot.writeStructEnd()
12596
    oprot.writeStructEnd()
12109
 
12597
 
-
 
12598
  def validate(self):
-
 
12599
    return
-
 
12600
 
-
 
12601
 
12110
  def __repr__(self):
12602
  def __repr__(self):
12111
    L = ['%s=%r' % (key, value)
12603
    L = ['%s=%r' % (key, value)
12112
      for key, value in self.__dict__.iteritems()]
12604
      for key, value in self.__dict__.iteritems()]
12113
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
12605
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
12114
 
12606
 
Line 12159... Line 12651...
12159
  def write(self, oprot):
12651
  def write(self, oprot):
12160
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
12652
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
12161
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
12653
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
12162
      return
12654
      return
12163
    oprot.writeStructBegin('getUserNotes_result')
12655
    oprot.writeStructBegin('getUserNotes_result')
12164
    if self.success != None:
12656
    if self.success is not None:
12165
      oprot.writeFieldBegin('success', TType.LIST, 0)
12657
      oprot.writeFieldBegin('success', TType.LIST, 0)
12166
      oprot.writeListBegin(TType.STRUCT, len(self.success))
12658
      oprot.writeListBegin(TType.STRUCT, len(self.success))
12167
      for iter134 in self.success:
12659
      for iter134 in self.success:
12168
        iter134.write(oprot)
12660
        iter134.write(oprot)
12169
      oprot.writeListEnd()
12661
      oprot.writeListEnd()
12170
      oprot.writeFieldEnd()
12662
      oprot.writeFieldEnd()
12171
    oprot.writeFieldStop()
12663
    oprot.writeFieldStop()
12172
    oprot.writeStructEnd()
12664
    oprot.writeStructEnd()
12173
 
12665
 
-
 
12666
  def validate(self):
-
 
12667
    return
-
 
12668
 
-
 
12669
 
12174
  def __repr__(self):
12670
  def __repr__(self):
12175
    L = ['%s=%r' % (key, value)
12671
    L = ['%s=%r' % (key, value)
12176
      for key, value in self.__dict__.iteritems()]
12672
      for key, value in self.__dict__.iteritems()]
12177
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
12673
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
12178
 
12674
 
Line 12218... Line 12714...
12218
  def write(self, oprot):
12714
  def write(self, oprot):
12219
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
12715
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
12220
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
12716
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
12221
      return
12717
      return
12222
    oprot.writeStructBegin('getMyResearchItems_args')
12718
    oprot.writeStructBegin('getMyResearchItems_args')
12223
    if self.userId != None:
12719
    if self.userId is not None:
12224
      oprot.writeFieldBegin('userId', TType.I64, 1)
12720
      oprot.writeFieldBegin('userId', TType.I64, 1)
12225
      oprot.writeI64(self.userId)
12721
      oprot.writeI64(self.userId)
12226
      oprot.writeFieldEnd()
12722
      oprot.writeFieldEnd()
12227
    oprot.writeFieldStop()
12723
    oprot.writeFieldStop()
12228
    oprot.writeStructEnd()
12724
    oprot.writeStructEnd()
12229
 
12725
 
-
 
12726
  def validate(self):
-
 
12727
    return
-
 
12728
 
-
 
12729
 
12230
  def __repr__(self):
12730
  def __repr__(self):
12231
    L = ['%s=%r' % (key, value)
12731
    L = ['%s=%r' % (key, value)
12232
      for key, value in self.__dict__.iteritems()]
12732
      for key, value in self.__dict__.iteritems()]
12233
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
12733
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
12234
 
12734
 
Line 12287... Line 12787...
12287
  def write(self, oprot):
12787
  def write(self, oprot):
12288
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
12788
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
12289
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
12789
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
12290
      return
12790
      return
12291
    oprot.writeStructBegin('getMyResearchItems_result')
12791
    oprot.writeStructBegin('getMyResearchItems_result')
12292
    if self.success != None:
12792
    if self.success is not None:
12293
      oprot.writeFieldBegin('success', TType.LIST, 0)
12793
      oprot.writeFieldBegin('success', TType.LIST, 0)
12294
      oprot.writeListBegin(TType.I64, len(self.success))
12794
      oprot.writeListBegin(TType.I64, len(self.success))
12295
      for iter141 in self.success:
12795
      for iter141 in self.success:
12296
        oprot.writeI64(iter141)
12796
        oprot.writeI64(iter141)
12297
      oprot.writeListEnd()
12797
      oprot.writeListEnd()
12298
      oprot.writeFieldEnd()
12798
      oprot.writeFieldEnd()
12299
    if self.scx != None:
12799
    if self.scx is not None:
12300
      oprot.writeFieldBegin('scx', TType.STRUCT, 1)
12800
      oprot.writeFieldBegin('scx', TType.STRUCT, 1)
12301
      self.scx.write(oprot)
12801
      self.scx.write(oprot)
12302
      oprot.writeFieldEnd()
12802
      oprot.writeFieldEnd()
12303
    oprot.writeFieldStop()
12803
    oprot.writeFieldStop()
12304
    oprot.writeStructEnd()
12804
    oprot.writeStructEnd()
12305
 
12805
 
-
 
12806
  def validate(self):
-
 
12807
    return
-
 
12808
 
-
 
12809
 
12306
  def __repr__(self):
12810
  def __repr__(self):
12307
    L = ['%s=%r' % (key, value)
12811
    L = ['%s=%r' % (key, value)
12308
      for key, value in self.__dict__.iteritems()]
12812
      for key, value in self.__dict__.iteritems()]
12309
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
12813
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
12310
 
12814
 
Line 12358... Line 12862...
12358
  def write(self, oprot):
12862
  def write(self, oprot):
12359
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
12863
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
12360
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
12864
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
12361
      return
12865
      return
12362
    oprot.writeStructBegin('updateMyResearch_args')
12866
    oprot.writeStructBegin('updateMyResearch_args')
12363
    if self.userId != None:
12867
    if self.userId is not None:
12364
      oprot.writeFieldBegin('userId', TType.I64, 1)
12868
      oprot.writeFieldBegin('userId', TType.I64, 1)
12365
      oprot.writeI64(self.userId)
12869
      oprot.writeI64(self.userId)
12366
      oprot.writeFieldEnd()
12870
      oprot.writeFieldEnd()
12367
    if self.itemId != None:
12871
    if self.itemId is not None:
12368
      oprot.writeFieldBegin('itemId', TType.I64, 2)
12872
      oprot.writeFieldBegin('itemId', TType.I64, 2)
12369
      oprot.writeI64(self.itemId)
12873
      oprot.writeI64(self.itemId)
12370
      oprot.writeFieldEnd()
12874
      oprot.writeFieldEnd()
12371
    oprot.writeFieldStop()
12875
    oprot.writeFieldStop()
12372
    oprot.writeStructEnd()
12876
    oprot.writeStructEnd()
12373
 
12877
 
-
 
12878
  def validate(self):
-
 
12879
    return
-
 
12880
 
-
 
12881
 
12374
  def __repr__(self):
12882
  def __repr__(self):
12375
    L = ['%s=%r' % (key, value)
12883
    L = ['%s=%r' % (key, value)
12376
      for key, value in self.__dict__.iteritems()]
12884
      for key, value in self.__dict__.iteritems()]
12377
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
12885
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
12378
 
12886
 
Line 12426... Line 12934...
12426
  def write(self, oprot):
12934
  def write(self, oprot):
12427
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
12935
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
12428
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
12936
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
12429
      return
12937
      return
12430
    oprot.writeStructBegin('updateMyResearch_result')
12938
    oprot.writeStructBegin('updateMyResearch_result')
12431
    if self.success != None:
12939
    if self.success is not None:
12432
      oprot.writeFieldBegin('success', TType.BOOL, 0)
12940
      oprot.writeFieldBegin('success', TType.BOOL, 0)
12433
      oprot.writeBool(self.success)
12941
      oprot.writeBool(self.success)
12434
      oprot.writeFieldEnd()
12942
      oprot.writeFieldEnd()
12435
    if self.scx != None:
12943
    if self.scx is not None:
12436
      oprot.writeFieldBegin('scx', TType.STRUCT, 1)
12944
      oprot.writeFieldBegin('scx', TType.STRUCT, 1)
12437
      self.scx.write(oprot)
12945
      self.scx.write(oprot)
12438
      oprot.writeFieldEnd()
12946
      oprot.writeFieldEnd()
12439
    oprot.writeFieldStop()
12947
    oprot.writeFieldStop()
12440
    oprot.writeStructEnd()
12948
    oprot.writeStructEnd()
12441
 
12949
 
-
 
12950
  def validate(self):
-
 
12951
    return
-
 
12952
 
-
 
12953
 
12442
  def __repr__(self):
12954
  def __repr__(self):
12443
    L = ['%s=%r' % (key, value)
12955
    L = ['%s=%r' % (key, value)
12444
      for key, value in self.__dict__.iteritems()]
12956
      for key, value in self.__dict__.iteritems()]
12445
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
12957
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
12446
 
12958
 
Line 12494... Line 13006...
12494
  def write(self, oprot):
13006
  def write(self, oprot):
12495
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
13007
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
12496
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
13008
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
12497
      return
13009
      return
12498
    oprot.writeStructBegin('deleteItemFromMyResearch_args')
13010
    oprot.writeStructBegin('deleteItemFromMyResearch_args')
12499
    if self.userId != None:
13011
    if self.userId is not None:
12500
      oprot.writeFieldBegin('userId', TType.I64, 1)
13012
      oprot.writeFieldBegin('userId', TType.I64, 1)
12501
      oprot.writeI64(self.userId)
13013
      oprot.writeI64(self.userId)
12502
      oprot.writeFieldEnd()
13014
      oprot.writeFieldEnd()
12503
    if self.itemId != None:
13015
    if self.itemId is not None:
12504
      oprot.writeFieldBegin('itemId', TType.I64, 2)
13016
      oprot.writeFieldBegin('itemId', TType.I64, 2)
12505
      oprot.writeI64(self.itemId)
13017
      oprot.writeI64(self.itemId)
12506
      oprot.writeFieldEnd()
13018
      oprot.writeFieldEnd()
12507
    oprot.writeFieldStop()
13019
    oprot.writeFieldStop()
12508
    oprot.writeStructEnd()
13020
    oprot.writeStructEnd()
12509
 
13021
 
-
 
13022
  def validate(self):
-
 
13023
    return
-
 
13024
 
-
 
13025
 
12510
  def __repr__(self):
13026
  def __repr__(self):
12511
    L = ['%s=%r' % (key, value)
13027
    L = ['%s=%r' % (key, value)
12512
      for key, value in self.__dict__.iteritems()]
13028
      for key, value in self.__dict__.iteritems()]
12513
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
13029
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
12514
 
13030
 
Line 12555... Line 13071...
12555
  def write(self, oprot):
13071
  def write(self, oprot):
12556
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
13072
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
12557
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
13073
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
12558
      return
13074
      return
12559
    oprot.writeStructBegin('deleteItemFromMyResearch_result')
13075
    oprot.writeStructBegin('deleteItemFromMyResearch_result')
12560
    if self.scx != None:
13076
    if self.scx is not None:
12561
      oprot.writeFieldBegin('scx', TType.STRUCT, 1)
13077
      oprot.writeFieldBegin('scx', TType.STRUCT, 1)
12562
      self.scx.write(oprot)
13078
      self.scx.write(oprot)
12563
      oprot.writeFieldEnd()
13079
      oprot.writeFieldEnd()
12564
    oprot.writeFieldStop()
13080
    oprot.writeFieldStop()
12565
    oprot.writeStructEnd()
13081
    oprot.writeStructEnd()
12566
 
13082
 
-
 
13083
  def validate(self):
-
 
13084
    return
-
 
13085
 
-
 
13086
 
12567
  def __repr__(self):
13087
  def __repr__(self):
12568
    L = ['%s=%r' % (key, value)
13088
    L = ['%s=%r' % (key, value)
12569
      for key, value in self.__dict__.iteritems()]
13089
      for key, value in self.__dict__.iteritems()]
12570
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
13090
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
12571
 
13091
 
Line 12611... Line 13131...
12611
  def write(self, oprot):
13131
  def write(self, oprot):
12612
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
13132
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
12613
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
13133
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
12614
      return
13134
      return
12615
    oprot.writeStructBegin('getBrowseHistoryItems_args')
13135
    oprot.writeStructBegin('getBrowseHistoryItems_args')
12616
    if self.userId != None:
13136
    if self.userId is not None:
12617
      oprot.writeFieldBegin('userId', TType.I64, 1)
13137
      oprot.writeFieldBegin('userId', TType.I64, 1)
12618
      oprot.writeI64(self.userId)
13138
      oprot.writeI64(self.userId)
12619
      oprot.writeFieldEnd()
13139
      oprot.writeFieldEnd()
12620
    oprot.writeFieldStop()
13140
    oprot.writeFieldStop()
12621
    oprot.writeStructEnd()
13141
    oprot.writeStructEnd()
12622
 
13142
 
-
 
13143
  def validate(self):
-
 
13144
    return
-
 
13145
 
-
 
13146
 
12623
  def __repr__(self):
13147
  def __repr__(self):
12624
    L = ['%s=%r' % (key, value)
13148
    L = ['%s=%r' % (key, value)
12625
      for key, value in self.__dict__.iteritems()]
13149
      for key, value in self.__dict__.iteritems()]
12626
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
13150
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
12627
 
13151
 
Line 12680... Line 13204...
12680
  def write(self, oprot):
13204
  def write(self, oprot):
12681
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
13205
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
12682
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
13206
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
12683
      return
13207
      return
12684
    oprot.writeStructBegin('getBrowseHistoryItems_result')
13208
    oprot.writeStructBegin('getBrowseHistoryItems_result')
12685
    if self.success != None:
13209
    if self.success is not None:
12686
      oprot.writeFieldBegin('success', TType.LIST, 0)
13210
      oprot.writeFieldBegin('success', TType.LIST, 0)
12687
      oprot.writeListBegin(TType.I64, len(self.success))
13211
      oprot.writeListBegin(TType.I64, len(self.success))
12688
      for iter148 in self.success:
13212
      for iter148 in self.success:
12689
        oprot.writeI64(iter148)
13213
        oprot.writeI64(iter148)
12690
      oprot.writeListEnd()
13214
      oprot.writeListEnd()
12691
      oprot.writeFieldEnd()
13215
      oprot.writeFieldEnd()
12692
    if self.scx != None:
13216
    if self.scx is not None:
12693
      oprot.writeFieldBegin('scx', TType.STRUCT, 1)
13217
      oprot.writeFieldBegin('scx', TType.STRUCT, 1)
12694
      self.scx.write(oprot)
13218
      self.scx.write(oprot)
12695
      oprot.writeFieldEnd()
13219
      oprot.writeFieldEnd()
12696
    oprot.writeFieldStop()
13220
    oprot.writeFieldStop()
12697
    oprot.writeStructEnd()
13221
    oprot.writeStructEnd()
12698
 
13222
 
-
 
13223
  def validate(self):
-
 
13224
    return
-
 
13225
 
-
 
13226
 
12699
  def __repr__(self):
13227
  def __repr__(self):
12700
    L = ['%s=%r' % (key, value)
13228
    L = ['%s=%r' % (key, value)
12701
      for key, value in self.__dict__.iteritems()]
13229
      for key, value in self.__dict__.iteritems()]
12702
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
13230
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
12703
 
13231
 
Line 12751... Line 13279...
12751
  def write(self, oprot):
13279
  def write(self, oprot):
12752
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
13280
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
12753
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
13281
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
12754
      return
13282
      return
12755
    oprot.writeStructBegin('updateBrowseHistory_args')
13283
    oprot.writeStructBegin('updateBrowseHistory_args')
12756
    if self.userId != None:
13284
    if self.userId is not None:
12757
      oprot.writeFieldBegin('userId', TType.I64, 1)
13285
      oprot.writeFieldBegin('userId', TType.I64, 1)
12758
      oprot.writeI64(self.userId)
13286
      oprot.writeI64(self.userId)
12759
      oprot.writeFieldEnd()
13287
      oprot.writeFieldEnd()
12760
    if self.itemId != None:
13288
    if self.itemId is not None:
12761
      oprot.writeFieldBegin('itemId', TType.I64, 2)
13289
      oprot.writeFieldBegin('itemId', TType.I64, 2)
12762
      oprot.writeI64(self.itemId)
13290
      oprot.writeI64(self.itemId)
12763
      oprot.writeFieldEnd()
13291
      oprot.writeFieldEnd()
12764
    oprot.writeFieldStop()
13292
    oprot.writeFieldStop()
12765
    oprot.writeStructEnd()
13293
    oprot.writeStructEnd()
12766
 
13294
 
-
 
13295
  def validate(self):
-
 
13296
    return
-
 
13297
 
-
 
13298
 
12767
  def __repr__(self):
13299
  def __repr__(self):
12768
    L = ['%s=%r' % (key, value)
13300
    L = ['%s=%r' % (key, value)
12769
      for key, value in self.__dict__.iteritems()]
13301
      for key, value in self.__dict__.iteritems()]
12770
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
13302
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
12771
 
13303
 
Line 12800... Line 13332...
12800
      return
13332
      return
12801
    oprot.writeStructBegin('updateBrowseHistory_result')
13333
    oprot.writeStructBegin('updateBrowseHistory_result')
12802
    oprot.writeFieldStop()
13334
    oprot.writeFieldStop()
12803
    oprot.writeStructEnd()
13335
    oprot.writeStructEnd()
12804
 
13336
 
-
 
13337
  def validate(self):
-
 
13338
    return
-
 
13339
 
-
 
13340
 
12805
  def __repr__(self):
13341
  def __repr__(self):
12806
    L = ['%s=%r' % (key, value)
13342
    L = ['%s=%r' % (key, value)
12807
      for key, value in self.__dict__.iteritems()]
13343
      for key, value in self.__dict__.iteritems()]
12808
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
13344
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
12809
 
13345
 
Line 12849... Line 13385...
12849
  def write(self, oprot):
13385
  def write(self, oprot):
12850
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
13386
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
12851
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
13387
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
12852
      return
13388
      return
12853
    oprot.writeStructBegin('getCartsWithCouponCount_args')
13389
    oprot.writeStructBegin('getCartsWithCouponCount_args')
12854
    if self.couponCode != None:
13390
    if self.couponCode is not None:
12855
      oprot.writeFieldBegin('couponCode', TType.STRING, 1)
13391
      oprot.writeFieldBegin('couponCode', TType.STRING, 1)
12856
      oprot.writeString(self.couponCode)
13392
      oprot.writeString(self.couponCode)
12857
      oprot.writeFieldEnd()
13393
      oprot.writeFieldEnd()
12858
    oprot.writeFieldStop()
13394
    oprot.writeFieldStop()
12859
    oprot.writeStructEnd()
13395
    oprot.writeStructEnd()
12860
 
13396
 
-
 
13397
  def validate(self):
-
 
13398
    return
-
 
13399
 
-
 
13400
 
12861
  def __repr__(self):
13401
  def __repr__(self):
12862
    L = ['%s=%r' % (key, value)
13402
    L = ['%s=%r' % (key, value)
12863
      for key, value in self.__dict__.iteritems()]
13403
      for key, value in self.__dict__.iteritems()]
12864
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
13404
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
12865
 
13405
 
Line 12904... Line 13444...
12904
  def write(self, oprot):
13444
  def write(self, oprot):
12905
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
13445
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
12906
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
13446
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
12907
      return
13447
      return
12908
    oprot.writeStructBegin('getCartsWithCouponCount_result')
13448
    oprot.writeStructBegin('getCartsWithCouponCount_result')
12909
    if self.success != None:
13449
    if self.success is not None:
12910
      oprot.writeFieldBegin('success', TType.I64, 0)
13450
      oprot.writeFieldBegin('success', TType.I64, 0)
12911
      oprot.writeI64(self.success)
13451
      oprot.writeI64(self.success)
12912
      oprot.writeFieldEnd()
13452
      oprot.writeFieldEnd()
12913
    oprot.writeFieldStop()
13453
    oprot.writeFieldStop()
12914
    oprot.writeStructEnd()
13454
    oprot.writeStructEnd()
12915
 
13455
 
-
 
13456
  def validate(self):
-
 
13457
    return
-
 
13458
 
-
 
13459
 
12916
  def __repr__(self):
13460
  def __repr__(self):
12917
    L = ['%s=%r' % (key, value)
13461
    L = ['%s=%r' % (key, value)
12918
      for key, value in self.__dict__.iteritems()]
13462
      for key, value in self.__dict__.iteritems()]
12919
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
13463
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
12920
 
13464
 
12921
  def __eq__(self, other):
13465
  def __eq__(self, other):
12922
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
13466
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
12923
 
13467
 
12924
  def __ne__(self, other):
13468
  def __ne__(self, other):
12925
    return not (self == other)
13469
    return not (self == other)
12926
 
-
 
12927
 
-