Subversion Repositories SmartDukaan

Rev

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

Rev 21044 Rev 21090
Line 2718... Line 2718...
2718
     - userId
2718
     - userId
2719
     - activation_code
2719
     - activation_code
2720
    """
2720
    """
2721
    pass
2721
    pass
2722
 
2722
 
-
 
2723
  def addSalesAssociate(self, pmsa, referrerEmail, l1_userEmail):
-
 
2724
    """
-
 
2725
    Parameters:
-
 
2726
     - pmsa
-
 
2727
     - referrerEmail
-
 
2728
     - l1_userEmail
-
 
2729
    """
-
 
2730
    pass
-
 
2731
 
-
 
2732
  def searchPmsa(self, pmsaSearchFilter, associateEmail):
-
 
2733
    """
-
 
2734
    Parameters:
-
 
2735
     - pmsaSearchFilter
-
 
2736
     - associateEmail
-
 
2737
    """
-
 
2738
    pass
-
 
2739
 
-
 
2740
  def getPmsaUser(self, id, associateEmail):
-
 
2741
    """
-
 
2742
    Parameters:
-
 
2743
     - id
-
 
2744
     - associateEmail
-
 
2745
    """
-
 
2746
    pass
-
 
2747
 
-
 
2748
  def updatePmsaUser(self, pmsa, associateEmail):
-
 
2749
    """
-
 
2750
    Parameters:
-
 
2751
     - pmsa
-
 
2752
     - associateEmail
-
 
2753
    """
-
 
2754
    pass
-
 
2755
 
-
 
2756
  def getPmsaUsers(self, associateEmail):
-
 
2757
    """
-
 
2758
    Parameters:
-
 
2759
     - associateEmail
-
 
2760
    """
-
 
2761
    pass
-
 
2762
 
-
 
2763
  def getPendingAssociates(self, associateEmail):
-
 
2764
    """
-
 
2765
    Parameters:
-
 
2766
     - associateEmail
-
 
2767
    """
-
 
2768
    pass
-
 
2769
 
-
 
2770
  def getStatsForAssociates(self, associateEmail):
-
 
2771
    """
-
 
2772
    Parameters:
-
 
2773
     - associateEmail
-
 
2774
    """
-
 
2775
    pass
-
 
2776
 
2723
 
2777
 
2724
class Client(shop2020.thriftpy.generic.GenericService.Client, Iface):
2778
class Client(shop2020.thriftpy.generic.GenericService.Client, Iface):
2725
  def __init__(self, iprot, oprot=None):
2779
  def __init__(self, iprot, oprot=None):
2726
    shop2020.thriftpy.generic.GenericService.Client.__init__(self, iprot, oprot)
2780
    shop2020.thriftpy.generic.GenericService.Client.__init__(self, iprot, oprot)
2727
 
2781
 
Line 13037... Line 13091...
13037
    self._iprot.readMessageEnd()
13091
    self._iprot.readMessageEnd()
13038
    if result.success is not None:
13092
    if result.success is not None:
13039
      return result.success
13093
      return result.success
13040
    raise TApplicationException(TApplicationException.MISSING_RESULT, "registerRsa failed: unknown result");
13094
    raise TApplicationException(TApplicationException.MISSING_RESULT, "registerRsa failed: unknown result");
13041
 
13095
 
-
 
13096
  def addSalesAssociate(self, pmsa, referrerEmail, l1_userEmail):
-
 
13097
    """
-
 
13098
    Parameters:
-
 
13099
     - pmsa
-
 
13100
     - referrerEmail
-
 
13101
     - l1_userEmail
-
 
13102
    """
-
 
13103
    self.send_addSalesAssociate(pmsa, referrerEmail, l1_userEmail)
-
 
13104
    return self.recv_addSalesAssociate()
-
 
13105
 
-
 
13106
  def send_addSalesAssociate(self, pmsa, referrerEmail, l1_userEmail):
-
 
13107
    self._oprot.writeMessageBegin('addSalesAssociate', TMessageType.CALL, self._seqid)
-
 
13108
    args = addSalesAssociate_args()
-
 
13109
    args.pmsa = pmsa
-
 
13110
    args.referrerEmail = referrerEmail
-
 
13111
    args.l1_userEmail = l1_userEmail
-
 
13112
    args.write(self._oprot)
-
 
13113
    self._oprot.writeMessageEnd()
-
 
13114
    self._oprot.trans.flush()
-
 
13115
 
-
 
13116
  def recv_addSalesAssociate(self, ):
-
 
13117
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
-
 
13118
    if mtype == TMessageType.EXCEPTION:
-
 
13119
      x = TApplicationException()
-
 
13120
      x.read(self._iprot)
-
 
13121
      self._iprot.readMessageEnd()
-
 
13122
      raise x
-
 
13123
    result = addSalesAssociate_result()
-
 
13124
    result.read(self._iprot)
-
 
13125
    self._iprot.readMessageEnd()
-
 
13126
    if result.success is not None:
-
 
13127
      return result.success
-
 
13128
    raise TApplicationException(TApplicationException.MISSING_RESULT, "addSalesAssociate failed: unknown result");
-
 
13129
 
-
 
13130
  def searchPmsa(self, pmsaSearchFilter, associateEmail):
-
 
13131
    """
-
 
13132
    Parameters:
-
 
13133
     - pmsaSearchFilter
-
 
13134
     - associateEmail
-
 
13135
    """
-
 
13136
    self.send_searchPmsa(pmsaSearchFilter, associateEmail)
-
 
13137
    return self.recv_searchPmsa()
-
 
13138
 
-
 
13139
  def send_searchPmsa(self, pmsaSearchFilter, associateEmail):
-
 
13140
    self._oprot.writeMessageBegin('searchPmsa', TMessageType.CALL, self._seqid)
-
 
13141
    args = searchPmsa_args()
-
 
13142
    args.pmsaSearchFilter = pmsaSearchFilter
-
 
13143
    args.associateEmail = associateEmail
-
 
13144
    args.write(self._oprot)
-
 
13145
    self._oprot.writeMessageEnd()
-
 
13146
    self._oprot.trans.flush()
-
 
13147
 
-
 
13148
  def recv_searchPmsa(self, ):
-
 
13149
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
-
 
13150
    if mtype == TMessageType.EXCEPTION:
-
 
13151
      x = TApplicationException()
-
 
13152
      x.read(self._iprot)
-
 
13153
      self._iprot.readMessageEnd()
-
 
13154
      raise x
-
 
13155
    result = searchPmsa_result()
-
 
13156
    result.read(self._iprot)
-
 
13157
    self._iprot.readMessageEnd()
-
 
13158
    if result.success is not None:
-
 
13159
      return result.success
-
 
13160
    raise TApplicationException(TApplicationException.MISSING_RESULT, "searchPmsa failed: unknown result");
-
 
13161
 
-
 
13162
  def getPmsaUser(self, id, associateEmail):
-
 
13163
    """
-
 
13164
    Parameters:
-
 
13165
     - id
-
 
13166
     - associateEmail
-
 
13167
    """
-
 
13168
    self.send_getPmsaUser(id, associateEmail)
-
 
13169
    return self.recv_getPmsaUser()
-
 
13170
 
-
 
13171
  def send_getPmsaUser(self, id, associateEmail):
-
 
13172
    self._oprot.writeMessageBegin('getPmsaUser', TMessageType.CALL, self._seqid)
-
 
13173
    args = getPmsaUser_args()
-
 
13174
    args.id = id
-
 
13175
    args.associateEmail = associateEmail
-
 
13176
    args.write(self._oprot)
-
 
13177
    self._oprot.writeMessageEnd()
-
 
13178
    self._oprot.trans.flush()
-
 
13179
 
-
 
13180
  def recv_getPmsaUser(self, ):
-
 
13181
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
-
 
13182
    if mtype == TMessageType.EXCEPTION:
-
 
13183
      x = TApplicationException()
-
 
13184
      x.read(self._iprot)
-
 
13185
      self._iprot.readMessageEnd()
-
 
13186
      raise x
-
 
13187
    result = getPmsaUser_result()
-
 
13188
    result.read(self._iprot)
-
 
13189
    self._iprot.readMessageEnd()
-
 
13190
    if result.success is not None:
-
 
13191
      return result.success
-
 
13192
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getPmsaUser failed: unknown result");
-
 
13193
 
-
 
13194
  def updatePmsaUser(self, pmsa, associateEmail):
-
 
13195
    """
-
 
13196
    Parameters:
-
 
13197
     - pmsa
-
 
13198
     - associateEmail
-
 
13199
    """
-
 
13200
    self.send_updatePmsaUser(pmsa, associateEmail)
-
 
13201
    return self.recv_updatePmsaUser()
-
 
13202
 
-
 
13203
  def send_updatePmsaUser(self, pmsa, associateEmail):
-
 
13204
    self._oprot.writeMessageBegin('updatePmsaUser', TMessageType.CALL, self._seqid)
-
 
13205
    args = updatePmsaUser_args()
-
 
13206
    args.pmsa = pmsa
-
 
13207
    args.associateEmail = associateEmail
-
 
13208
    args.write(self._oprot)
-
 
13209
    self._oprot.writeMessageEnd()
-
 
13210
    self._oprot.trans.flush()
-
 
13211
 
-
 
13212
  def recv_updatePmsaUser(self, ):
-
 
13213
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
-
 
13214
    if mtype == TMessageType.EXCEPTION:
-
 
13215
      x = TApplicationException()
-
 
13216
      x.read(self._iprot)
-
 
13217
      self._iprot.readMessageEnd()
-
 
13218
      raise x
-
 
13219
    result = updatePmsaUser_result()
-
 
13220
    result.read(self._iprot)
-
 
13221
    self._iprot.readMessageEnd()
-
 
13222
    if result.success is not None:
-
 
13223
      return result.success
-
 
13224
    raise TApplicationException(TApplicationException.MISSING_RESULT, "updatePmsaUser failed: unknown result");
-
 
13225
 
-
 
13226
  def getPmsaUsers(self, associateEmail):
-
 
13227
    """
-
 
13228
    Parameters:
-
 
13229
     - associateEmail
-
 
13230
    """
-
 
13231
    self.send_getPmsaUsers(associateEmail)
-
 
13232
    return self.recv_getPmsaUsers()
-
 
13233
 
-
 
13234
  def send_getPmsaUsers(self, associateEmail):
-
 
13235
    self._oprot.writeMessageBegin('getPmsaUsers', TMessageType.CALL, self._seqid)
-
 
13236
    args = getPmsaUsers_args()
-
 
13237
    args.associateEmail = associateEmail
-
 
13238
    args.write(self._oprot)
-
 
13239
    self._oprot.writeMessageEnd()
-
 
13240
    self._oprot.trans.flush()
-
 
13241
 
-
 
13242
  def recv_getPmsaUsers(self, ):
-
 
13243
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
-
 
13244
    if mtype == TMessageType.EXCEPTION:
-
 
13245
      x = TApplicationException()
-
 
13246
      x.read(self._iprot)
-
 
13247
      self._iprot.readMessageEnd()
-
 
13248
      raise x
-
 
13249
    result = getPmsaUsers_result()
-
 
13250
    result.read(self._iprot)
-
 
13251
    self._iprot.readMessageEnd()
-
 
13252
    if result.success is not None:
-
 
13253
      return result.success
-
 
13254
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getPmsaUsers failed: unknown result");
-
 
13255
 
-
 
13256
  def getPendingAssociates(self, associateEmail):
-
 
13257
    """
-
 
13258
    Parameters:
-
 
13259
     - associateEmail
-
 
13260
    """
-
 
13261
    self.send_getPendingAssociates(associateEmail)
-
 
13262
    return self.recv_getPendingAssociates()
-
 
13263
 
-
 
13264
  def send_getPendingAssociates(self, associateEmail):
-
 
13265
    self._oprot.writeMessageBegin('getPendingAssociates', TMessageType.CALL, self._seqid)
-
 
13266
    args = getPendingAssociates_args()
-
 
13267
    args.associateEmail = associateEmail
-
 
13268
    args.write(self._oprot)
-
 
13269
    self._oprot.writeMessageEnd()
-
 
13270
    self._oprot.trans.flush()
-
 
13271
 
-
 
13272
  def recv_getPendingAssociates(self, ):
-
 
13273
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
-
 
13274
    if mtype == TMessageType.EXCEPTION:
-
 
13275
      x = TApplicationException()
-
 
13276
      x.read(self._iprot)
-
 
13277
      self._iprot.readMessageEnd()
-
 
13278
      raise x
-
 
13279
    result = getPendingAssociates_result()
-
 
13280
    result.read(self._iprot)
-
 
13281
    self._iprot.readMessageEnd()
-
 
13282
    if result.success is not None:
-
 
13283
      return result.success
-
 
13284
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getPendingAssociates failed: unknown result");
-
 
13285
 
-
 
13286
  def getStatsForAssociates(self, associateEmail):
-
 
13287
    """
-
 
13288
    Parameters:
-
 
13289
     - associateEmail
-
 
13290
    """
-
 
13291
    self.send_getStatsForAssociates(associateEmail)
-
 
13292
    return self.recv_getStatsForAssociates()
-
 
13293
 
-
 
13294
  def send_getStatsForAssociates(self, associateEmail):
-
 
13295
    self._oprot.writeMessageBegin('getStatsForAssociates', TMessageType.CALL, self._seqid)
-
 
13296
    args = getStatsForAssociates_args()
-
 
13297
    args.associateEmail = associateEmail
-
 
13298
    args.write(self._oprot)
-
 
13299
    self._oprot.writeMessageEnd()
-
 
13300
    self._oprot.trans.flush()
-
 
13301
 
-
 
13302
  def recv_getStatsForAssociates(self, ):
-
 
13303
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
-
 
13304
    if mtype == TMessageType.EXCEPTION:
-
 
13305
      x = TApplicationException()
-
 
13306
      x.read(self._iprot)
-
 
13307
      self._iprot.readMessageEnd()
-
 
13308
      raise x
-
 
13309
    result = getStatsForAssociates_result()
-
 
13310
    result.read(self._iprot)
-
 
13311
    self._iprot.readMessageEnd()
-
 
13312
    if result.success is not None:
-
 
13313
      return result.success
-
 
13314
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getStatsForAssociates failed: unknown result");
-
 
13315
 
13042
 
13316
 
13043
class Processor(shop2020.thriftpy.generic.GenericService.Processor, Iface, TProcessor):
13317
class Processor(shop2020.thriftpy.generic.GenericService.Processor, Iface, TProcessor):
13044
  def __init__(self, handler):
13318
  def __init__(self, handler):
13045
    shop2020.thriftpy.generic.GenericService.Processor.__init__(self, handler)
13319
    shop2020.thriftpy.generic.GenericService.Processor.__init__(self, handler)
13046
    self._processMap["createTransaction"] = Processor.process_createTransaction
13320
    self._processMap["createTransaction"] = Processor.process_createTransaction
Line 13352... Line 13626...
13352
    self._processMap["addShipmentLogisticDetail"] = Processor.process_addShipmentLogisticDetail
13626
    self._processMap["addShipmentLogisticDetail"] = Processor.process_addShipmentLogisticDetail
13353
    self._processMap["createPayment"] = Processor.process_createPayment
13627
    self._processMap["createPayment"] = Processor.process_createPayment
13354
    self._processMap["calculatePaymentAmount"] = Processor.process_calculatePaymentAmount
13628
    self._processMap["calculatePaymentAmount"] = Processor.process_calculatePaymentAmount
13355
    self._processMap["getBilledOrdersForManifestGen"] = Processor.process_getBilledOrdersForManifestGen
13629
    self._processMap["getBilledOrdersForManifestGen"] = Processor.process_getBilledOrdersForManifestGen
13356
    self._processMap["registerRsa"] = Processor.process_registerRsa
13630
    self._processMap["registerRsa"] = Processor.process_registerRsa
-
 
13631
    self._processMap["addSalesAssociate"] = Processor.process_addSalesAssociate
-
 
13632
    self._processMap["searchPmsa"] = Processor.process_searchPmsa
-
 
13633
    self._processMap["getPmsaUser"] = Processor.process_getPmsaUser
-
 
13634
    self._processMap["updatePmsaUser"] = Processor.process_updatePmsaUser
-
 
13635
    self._processMap["getPmsaUsers"] = Processor.process_getPmsaUsers
-
 
13636
    self._processMap["getPendingAssociates"] = Processor.process_getPendingAssociates
-
 
13637
    self._processMap["getStatsForAssociates"] = Processor.process_getStatsForAssociates
13357
 
13638
 
13358
  def process(self, iprot, oprot):
13639
  def process(self, iprot, oprot):
13359
    (name, type, seqid) = iprot.readMessageBegin()
13640
    (name, type, seqid) = iprot.readMessageBegin()
13360
    if name not in self._processMap:
13641
    if name not in self._processMap:
13361
      iprot.skip(TType.STRUCT)
13642
      iprot.skip(TType.STRUCT)
Line 17206... Line 17487...
17206
    oprot.writeMessageBegin("registerRsa", TMessageType.REPLY, seqid)
17487
    oprot.writeMessageBegin("registerRsa", TMessageType.REPLY, seqid)
17207
    result.write(oprot)
17488
    result.write(oprot)
17208
    oprot.writeMessageEnd()
17489
    oprot.writeMessageEnd()
17209
    oprot.trans.flush()
17490
    oprot.trans.flush()
17210
 
17491
 
-
 
17492
  def process_addSalesAssociate(self, seqid, iprot, oprot):
-
 
17493
    args = addSalesAssociate_args()
-
 
17494
    args.read(iprot)
-
 
17495
    iprot.readMessageEnd()
-
 
17496
    result = addSalesAssociate_result()
-
 
17497
    result.success = self._handler.addSalesAssociate(args.pmsa, args.referrerEmail, args.l1_userEmail)
-
 
17498
    oprot.writeMessageBegin("addSalesAssociate", TMessageType.REPLY, seqid)
-
 
17499
    result.write(oprot)
-
 
17500
    oprot.writeMessageEnd()
-
 
17501
    oprot.trans.flush()
-
 
17502
 
-
 
17503
  def process_searchPmsa(self, seqid, iprot, oprot):
-
 
17504
    args = searchPmsa_args()
-
 
17505
    args.read(iprot)
-
 
17506
    iprot.readMessageEnd()
-
 
17507
    result = searchPmsa_result()
-
 
17508
    result.success = self._handler.searchPmsa(args.pmsaSearchFilter, args.associateEmail)
-
 
17509
    oprot.writeMessageBegin("searchPmsa", TMessageType.REPLY, seqid)
-
 
17510
    result.write(oprot)
-
 
17511
    oprot.writeMessageEnd()
-
 
17512
    oprot.trans.flush()
-
 
17513
 
-
 
17514
  def process_getPmsaUser(self, seqid, iprot, oprot):
-
 
17515
    args = getPmsaUser_args()
-
 
17516
    args.read(iprot)
-
 
17517
    iprot.readMessageEnd()
-
 
17518
    result = getPmsaUser_result()
-
 
17519
    result.success = self._handler.getPmsaUser(args.id, args.associateEmail)
-
 
17520
    oprot.writeMessageBegin("getPmsaUser", TMessageType.REPLY, seqid)
-
 
17521
    result.write(oprot)
-
 
17522
    oprot.writeMessageEnd()
-
 
17523
    oprot.trans.flush()
-
 
17524
 
-
 
17525
  def process_updatePmsaUser(self, seqid, iprot, oprot):
-
 
17526
    args = updatePmsaUser_args()
-
 
17527
    args.read(iprot)
-
 
17528
    iprot.readMessageEnd()
-
 
17529
    result = updatePmsaUser_result()
-
 
17530
    result.success = self._handler.updatePmsaUser(args.pmsa, args.associateEmail)
-
 
17531
    oprot.writeMessageBegin("updatePmsaUser", TMessageType.REPLY, seqid)
-
 
17532
    result.write(oprot)
-
 
17533
    oprot.writeMessageEnd()
-
 
17534
    oprot.trans.flush()
-
 
17535
 
-
 
17536
  def process_getPmsaUsers(self, seqid, iprot, oprot):
-
 
17537
    args = getPmsaUsers_args()
-
 
17538
    args.read(iprot)
-
 
17539
    iprot.readMessageEnd()
-
 
17540
    result = getPmsaUsers_result()
-
 
17541
    result.success = self._handler.getPmsaUsers(args.associateEmail)
-
 
17542
    oprot.writeMessageBegin("getPmsaUsers", TMessageType.REPLY, seqid)
-
 
17543
    result.write(oprot)
-
 
17544
    oprot.writeMessageEnd()
-
 
17545
    oprot.trans.flush()
-
 
17546
 
-
 
17547
  def process_getPendingAssociates(self, seqid, iprot, oprot):
-
 
17548
    args = getPendingAssociates_args()
-
 
17549
    args.read(iprot)
-
 
17550
    iprot.readMessageEnd()
-
 
17551
    result = getPendingAssociates_result()
-
 
17552
    result.success = self._handler.getPendingAssociates(args.associateEmail)
-
 
17553
    oprot.writeMessageBegin("getPendingAssociates", TMessageType.REPLY, seqid)
-
 
17554
    result.write(oprot)
-
 
17555
    oprot.writeMessageEnd()
-
 
17556
    oprot.trans.flush()
-
 
17557
 
-
 
17558
  def process_getStatsForAssociates(self, seqid, iprot, oprot):
-
 
17559
    args = getStatsForAssociates_args()
-
 
17560
    args.read(iprot)
-
 
17561
    iprot.readMessageEnd()
-
 
17562
    result = getStatsForAssociates_result()
-
 
17563
    result.success = self._handler.getStatsForAssociates(args.associateEmail)
-
 
17564
    oprot.writeMessageBegin("getStatsForAssociates", TMessageType.REPLY, seqid)
-
 
17565
    result.write(oprot)
-
 
17566
    oprot.writeMessageEnd()
-
 
17567
    oprot.trans.flush()
-
 
17568
 
17211
 
17569
 
17212
# HELPER FUNCTIONS AND STRUCTURES
17570
# HELPER FUNCTIONS AND STRUCTURES
17213
 
17571
 
17214
class createTransaction_args:
17572
class createTransaction_args:
17215
  """
17573
  """
Line 60364... Line 60722...
60364
      oprot.writeFieldEnd()
60722
      oprot.writeFieldEnd()
60365
    oprot.writeFieldStop()
60723
    oprot.writeFieldStop()
60366
    oprot.writeStructEnd()
60724
    oprot.writeStructEnd()
60367
 
60725
 
60368
  def validate(self):
60726
  def validate(self):
-
 
60727
    return
-
 
60728
 
-
 
60729
 
-
 
60730
  def __repr__(self):
-
 
60731
    L = ['%s=%r' % (key, value)
-
 
60732
      for key, value in self.__dict__.iteritems()]
-
 
60733
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
-
 
60734
 
-
 
60735
  def __eq__(self, other):
-
 
60736
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
-
 
60737
 
-
 
60738
  def __ne__(self, other):
-
 
60739
    return not (self == other)
-
 
60740
 
-
 
60741
class addSalesAssociate_args:
-
 
60742
  """
-
 
60743
  Attributes:
-
 
60744
   - pmsa
-
 
60745
   - referrerEmail
-
 
60746
   - l1_userEmail
-
 
60747
  """
-
 
60748
 
-
 
60749
  thrift_spec = (
-
 
60750
    None, # 0
-
 
60751
    (1, TType.STRUCT, 'pmsa', (Pmsa, Pmsa.thrift_spec), None, ), # 1
-
 
60752
    (2, TType.STRING, 'referrerEmail', None, None, ), # 2
-
 
60753
    (3, TType.STRING, 'l1_userEmail', None, None, ), # 3
-
 
60754
  )
-
 
60755
 
-
 
60756
  def __init__(self, pmsa=None, referrerEmail=None, l1_userEmail=None,):
-
 
60757
    self.pmsa = pmsa
-
 
60758
    self.referrerEmail = referrerEmail
-
 
60759
    self.l1_userEmail = l1_userEmail
-
 
60760
 
-
 
60761
  def read(self, iprot):
-
 
60762
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
-
 
60763
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
-
 
60764
      return
-
 
60765
    iprot.readStructBegin()
-
 
60766
    while True:
-
 
60767
      (fname, ftype, fid) = iprot.readFieldBegin()
-
 
60768
      if ftype == TType.STOP:
-
 
60769
        break
-
 
60770
      if fid == 1:
-
 
60771
        if ftype == TType.STRUCT:
-
 
60772
          self.pmsa = Pmsa()
-
 
60773
          self.pmsa.read(iprot)
-
 
60774
        else:
-
 
60775
          iprot.skip(ftype)
-
 
60776
      elif fid == 2:
-
 
60777
        if ftype == TType.STRING:
-
 
60778
          self.referrerEmail = iprot.readString();
-
 
60779
        else:
-
 
60780
          iprot.skip(ftype)
-
 
60781
      elif fid == 3:
-
 
60782
        if ftype == TType.STRING:
-
 
60783
          self.l1_userEmail = iprot.readString();
-
 
60784
        else:
-
 
60785
          iprot.skip(ftype)
-
 
60786
      else:
-
 
60787
        iprot.skip(ftype)
-
 
60788
      iprot.readFieldEnd()
-
 
60789
    iprot.readStructEnd()
-
 
60790
 
-
 
60791
  def write(self, oprot):
-
 
60792
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
-
 
60793
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
-
 
60794
      return
-
 
60795
    oprot.writeStructBegin('addSalesAssociate_args')
-
 
60796
    if self.pmsa is not None:
-
 
60797
      oprot.writeFieldBegin('pmsa', TType.STRUCT, 1)
-
 
60798
      self.pmsa.write(oprot)
-
 
60799
      oprot.writeFieldEnd()
-
 
60800
    if self.referrerEmail is not None:
-
 
60801
      oprot.writeFieldBegin('referrerEmail', TType.STRING, 2)
-
 
60802
      oprot.writeString(self.referrerEmail)
-
 
60803
      oprot.writeFieldEnd()
-
 
60804
    if self.l1_userEmail is not None:
-
 
60805
      oprot.writeFieldBegin('l1_userEmail', TType.STRING, 3)
-
 
60806
      oprot.writeString(self.l1_userEmail)
-
 
60807
      oprot.writeFieldEnd()
-
 
60808
    oprot.writeFieldStop()
-
 
60809
    oprot.writeStructEnd()
-
 
60810
 
-
 
60811
  def validate(self):
-
 
60812
    return
-
 
60813
 
-
 
60814
 
-
 
60815
  def __repr__(self):
-
 
60816
    L = ['%s=%r' % (key, value)
-
 
60817
      for key, value in self.__dict__.iteritems()]
-
 
60818
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
-
 
60819
 
-
 
60820
  def __eq__(self, other):
-
 
60821
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
-
 
60822
 
-
 
60823
  def __ne__(self, other):
-
 
60824
    return not (self == other)
-
 
60825
 
-
 
60826
class addSalesAssociate_result:
-
 
60827
  """
-
 
60828
  Attributes:
-
 
60829
   - success
-
 
60830
  """
-
 
60831
 
-
 
60832
  thrift_spec = (
-
 
60833
    (0, TType.STRING, 'success', None, None, ), # 0
-
 
60834
  )
-
 
60835
 
-
 
60836
  def __init__(self, success=None,):
-
 
60837
    self.success = success
-
 
60838
 
-
 
60839
  def read(self, iprot):
-
 
60840
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
-
 
60841
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
-
 
60842
      return
-
 
60843
    iprot.readStructBegin()
-
 
60844
    while True:
-
 
60845
      (fname, ftype, fid) = iprot.readFieldBegin()
-
 
60846
      if ftype == TType.STOP:
-
 
60847
        break
-
 
60848
      if fid == 0:
-
 
60849
        if ftype == TType.STRING:
-
 
60850
          self.success = iprot.readString();
-
 
60851
        else:
-
 
60852
          iprot.skip(ftype)
-
 
60853
      else:
-
 
60854
        iprot.skip(ftype)
-
 
60855
      iprot.readFieldEnd()
-
 
60856
    iprot.readStructEnd()
-
 
60857
 
-
 
60858
  def write(self, oprot):
-
 
60859
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
-
 
60860
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
-
 
60861
      return
-
 
60862
    oprot.writeStructBegin('addSalesAssociate_result')
-
 
60863
    if self.success is not None:
-
 
60864
      oprot.writeFieldBegin('success', TType.STRING, 0)
-
 
60865
      oprot.writeString(self.success)
-
 
60866
      oprot.writeFieldEnd()
-
 
60867
    oprot.writeFieldStop()
-
 
60868
    oprot.writeStructEnd()
-
 
60869
 
-
 
60870
  def validate(self):
-
 
60871
    return
-
 
60872
 
-
 
60873
 
-
 
60874
  def __repr__(self):
-
 
60875
    L = ['%s=%r' % (key, value)
-
 
60876
      for key, value in self.__dict__.iteritems()]
-
 
60877
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
-
 
60878
 
-
 
60879
  def __eq__(self, other):
-
 
60880
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
-
 
60881
 
-
 
60882
  def __ne__(self, other):
-
 
60883
    return not (self == other)
-
 
60884
 
-
 
60885
class searchPmsa_args:
-
 
60886
  """
-
 
60887
  Attributes:
-
 
60888
   - pmsaSearchFilter
-
 
60889
   - associateEmail
-
 
60890
  """
-
 
60891
 
-
 
60892
  thrift_spec = (
-
 
60893
    None, # 0
-
 
60894
    (1, TType.STRUCT, 'pmsaSearchFilter', (PmsaSearchFilter, PmsaSearchFilter.thrift_spec), None, ), # 1
-
 
60895
    (2, TType.STRING, 'associateEmail', None, None, ), # 2
-
 
60896
  )
-
 
60897
 
-
 
60898
  def __init__(self, pmsaSearchFilter=None, associateEmail=None,):
-
 
60899
    self.pmsaSearchFilter = pmsaSearchFilter
-
 
60900
    self.associateEmail = associateEmail
-
 
60901
 
-
 
60902
  def read(self, iprot):
-
 
60903
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
-
 
60904
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
-
 
60905
      return
-
 
60906
    iprot.readStructBegin()
-
 
60907
    while True:
-
 
60908
      (fname, ftype, fid) = iprot.readFieldBegin()
-
 
60909
      if ftype == TType.STOP:
-
 
60910
        break
-
 
60911
      if fid == 1:
-
 
60912
        if ftype == TType.STRUCT:
-
 
60913
          self.pmsaSearchFilter = PmsaSearchFilter()
-
 
60914
          self.pmsaSearchFilter.read(iprot)
-
 
60915
        else:
-
 
60916
          iprot.skip(ftype)
-
 
60917
      elif fid == 2:
-
 
60918
        if ftype == TType.STRING:
-
 
60919
          self.associateEmail = iprot.readString();
-
 
60920
        else:
-
 
60921
          iprot.skip(ftype)
-
 
60922
      else:
-
 
60923
        iprot.skip(ftype)
-
 
60924
      iprot.readFieldEnd()
-
 
60925
    iprot.readStructEnd()
-
 
60926
 
-
 
60927
  def write(self, oprot):
-
 
60928
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
-
 
60929
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
-
 
60930
      return
-
 
60931
    oprot.writeStructBegin('searchPmsa_args')
-
 
60932
    if self.pmsaSearchFilter is not None:
-
 
60933
      oprot.writeFieldBegin('pmsaSearchFilter', TType.STRUCT, 1)
-
 
60934
      self.pmsaSearchFilter.write(oprot)
-
 
60935
      oprot.writeFieldEnd()
-
 
60936
    if self.associateEmail is not None:
-
 
60937
      oprot.writeFieldBegin('associateEmail', TType.STRING, 2)
-
 
60938
      oprot.writeString(self.associateEmail)
-
 
60939
      oprot.writeFieldEnd()
-
 
60940
    oprot.writeFieldStop()
-
 
60941
    oprot.writeStructEnd()
-
 
60942
 
-
 
60943
  def validate(self):
-
 
60944
    return
-
 
60945
 
-
 
60946
 
-
 
60947
  def __repr__(self):
-
 
60948
    L = ['%s=%r' % (key, value)
-
 
60949
      for key, value in self.__dict__.iteritems()]
-
 
60950
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
-
 
60951
 
-
 
60952
  def __eq__(self, other):
-
 
60953
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
-
 
60954
 
-
 
60955
  def __ne__(self, other):
-
 
60956
    return not (self == other)
-
 
60957
 
-
 
60958
class searchPmsa_result:
-
 
60959
  """
-
 
60960
  Attributes:
-
 
60961
   - success
-
 
60962
  """
-
 
60963
 
-
 
60964
  thrift_spec = (
-
 
60965
    (0, TType.LIST, 'success', (TType.STRUCT,(Pmsa, Pmsa.thrift_spec)), None, ), # 0
-
 
60966
  )
-
 
60967
 
-
 
60968
  def __init__(self, success=None,):
-
 
60969
    self.success = success
-
 
60970
 
-
 
60971
  def read(self, iprot):
-
 
60972
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
-
 
60973
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
-
 
60974
      return
-
 
60975
    iprot.readStructBegin()
-
 
60976
    while True:
-
 
60977
      (fname, ftype, fid) = iprot.readFieldBegin()
-
 
60978
      if ftype == TType.STOP:
-
 
60979
        break
-
 
60980
      if fid == 0:
-
 
60981
        if ftype == TType.LIST:
-
 
60982
          self.success = []
-
 
60983
          (_etype1514, _size1511) = iprot.readListBegin()
-
 
60984
          for _i1515 in xrange(_size1511):
-
 
60985
            _elem1516 = Pmsa()
-
 
60986
            _elem1516.read(iprot)
-
 
60987
            self.success.append(_elem1516)
-
 
60988
          iprot.readListEnd()
-
 
60989
        else:
-
 
60990
          iprot.skip(ftype)
-
 
60991
      else:
-
 
60992
        iprot.skip(ftype)
-
 
60993
      iprot.readFieldEnd()
-
 
60994
    iprot.readStructEnd()
-
 
60995
 
-
 
60996
  def write(self, oprot):
-
 
60997
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
-
 
60998
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
-
 
60999
      return
-
 
61000
    oprot.writeStructBegin('searchPmsa_result')
-
 
61001
    if self.success is not None:
-
 
61002
      oprot.writeFieldBegin('success', TType.LIST, 0)
-
 
61003
      oprot.writeListBegin(TType.STRUCT, len(self.success))
-
 
61004
      for iter1517 in self.success:
-
 
61005
        iter1517.write(oprot)
-
 
61006
      oprot.writeListEnd()
-
 
61007
      oprot.writeFieldEnd()
-
 
61008
    oprot.writeFieldStop()
-
 
61009
    oprot.writeStructEnd()
-
 
61010
 
-
 
61011
  def validate(self):
-
 
61012
    return
-
 
61013
 
-
 
61014
 
-
 
61015
  def __repr__(self):
-
 
61016
    L = ['%s=%r' % (key, value)
-
 
61017
      for key, value in self.__dict__.iteritems()]
-
 
61018
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
-
 
61019
 
-
 
61020
  def __eq__(self, other):
-
 
61021
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
-
 
61022
 
-
 
61023
  def __ne__(self, other):
-
 
61024
    return not (self == other)
-
 
61025
 
-
 
61026
class getPmsaUser_args:
-
 
61027
  """
-
 
61028
  Attributes:
-
 
61029
   - id
-
 
61030
   - associateEmail
-
 
61031
  """
-
 
61032
 
-
 
61033
  thrift_spec = (
-
 
61034
    None, # 0
-
 
61035
    (1, TType.I64, 'id', None, None, ), # 1
-
 
61036
    (2, TType.STRING, 'associateEmail', None, None, ), # 2
-
 
61037
  )
-
 
61038
 
-
 
61039
  def __init__(self, id=None, associateEmail=None,):
-
 
61040
    self.id = id
-
 
61041
    self.associateEmail = associateEmail
-
 
61042
 
-
 
61043
  def read(self, iprot):
-
 
61044
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
-
 
61045
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
-
 
61046
      return
-
 
61047
    iprot.readStructBegin()
-
 
61048
    while True:
-
 
61049
      (fname, ftype, fid) = iprot.readFieldBegin()
-
 
61050
      if ftype == TType.STOP:
-
 
61051
        break
-
 
61052
      if fid == 1:
-
 
61053
        if ftype == TType.I64:
-
 
61054
          self.id = iprot.readI64();
-
 
61055
        else:
-
 
61056
          iprot.skip(ftype)
-
 
61057
      elif fid == 2:
-
 
61058
        if ftype == TType.STRING:
-
 
61059
          self.associateEmail = iprot.readString();
-
 
61060
        else:
-
 
61061
          iprot.skip(ftype)
-
 
61062
      else:
-
 
61063
        iprot.skip(ftype)
-
 
61064
      iprot.readFieldEnd()
-
 
61065
    iprot.readStructEnd()
-
 
61066
 
-
 
61067
  def write(self, oprot):
-
 
61068
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
-
 
61069
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
-
 
61070
      return
-
 
61071
    oprot.writeStructBegin('getPmsaUser_args')
-
 
61072
    if self.id is not None:
-
 
61073
      oprot.writeFieldBegin('id', TType.I64, 1)
-
 
61074
      oprot.writeI64(self.id)
-
 
61075
      oprot.writeFieldEnd()
-
 
61076
    if self.associateEmail is not None:
-
 
61077
      oprot.writeFieldBegin('associateEmail', TType.STRING, 2)
-
 
61078
      oprot.writeString(self.associateEmail)
-
 
61079
      oprot.writeFieldEnd()
-
 
61080
    oprot.writeFieldStop()
-
 
61081
    oprot.writeStructEnd()
-
 
61082
 
-
 
61083
  def validate(self):
-
 
61084
    return
-
 
61085
 
-
 
61086
 
-
 
61087
  def __repr__(self):
-
 
61088
    L = ['%s=%r' % (key, value)
-
 
61089
      for key, value in self.__dict__.iteritems()]
-
 
61090
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
-
 
61091
 
-
 
61092
  def __eq__(self, other):
-
 
61093
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
-
 
61094
 
-
 
61095
  def __ne__(self, other):
-
 
61096
    return not (self == other)
-
 
61097
 
-
 
61098
class getPmsaUser_result:
-
 
61099
  """
-
 
61100
  Attributes:
-
 
61101
   - success
-
 
61102
  """
-
 
61103
 
-
 
61104
  thrift_spec = (
-
 
61105
    (0, TType.STRUCT, 'success', (Pmsa, Pmsa.thrift_spec), None, ), # 0
-
 
61106
  )
-
 
61107
 
-
 
61108
  def __init__(self, success=None,):
-
 
61109
    self.success = success
-
 
61110
 
-
 
61111
  def read(self, iprot):
-
 
61112
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
-
 
61113
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
-
 
61114
      return
-
 
61115
    iprot.readStructBegin()
-
 
61116
    while True:
-
 
61117
      (fname, ftype, fid) = iprot.readFieldBegin()
-
 
61118
      if ftype == TType.STOP:
-
 
61119
        break
-
 
61120
      if fid == 0:
-
 
61121
        if ftype == TType.STRUCT:
-
 
61122
          self.success = Pmsa()
-
 
61123
          self.success.read(iprot)
-
 
61124
        else:
-
 
61125
          iprot.skip(ftype)
-
 
61126
      else:
-
 
61127
        iprot.skip(ftype)
-
 
61128
      iprot.readFieldEnd()
-
 
61129
    iprot.readStructEnd()
-
 
61130
 
-
 
61131
  def write(self, oprot):
-
 
61132
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
-
 
61133
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
-
 
61134
      return
-
 
61135
    oprot.writeStructBegin('getPmsaUser_result')
-
 
61136
    if self.success is not None:
-
 
61137
      oprot.writeFieldBegin('success', TType.STRUCT, 0)
-
 
61138
      self.success.write(oprot)
-
 
61139
      oprot.writeFieldEnd()
-
 
61140
    oprot.writeFieldStop()
-
 
61141
    oprot.writeStructEnd()
-
 
61142
 
-
 
61143
  def validate(self):
-
 
61144
    return
-
 
61145
 
-
 
61146
 
-
 
61147
  def __repr__(self):
-
 
61148
    L = ['%s=%r' % (key, value)
-
 
61149
      for key, value in self.__dict__.iteritems()]
-
 
61150
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
-
 
61151
 
-
 
61152
  def __eq__(self, other):
-
 
61153
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
-
 
61154
 
-
 
61155
  def __ne__(self, other):
-
 
61156
    return not (self == other)
-
 
61157
 
-
 
61158
class updatePmsaUser_args:
-
 
61159
  """
-
 
61160
  Attributes:
-
 
61161
   - pmsa
-
 
61162
   - associateEmail
-
 
61163
  """
-
 
61164
 
-
 
61165
  thrift_spec = (
-
 
61166
    None, # 0
-
 
61167
    (1, TType.STRUCT, 'pmsa', (Pmsa, Pmsa.thrift_spec), None, ), # 1
-
 
61168
    (2, TType.STRING, 'associateEmail', None, None, ), # 2
-
 
61169
  )
-
 
61170
 
-
 
61171
  def __init__(self, pmsa=None, associateEmail=None,):
-
 
61172
    self.pmsa = pmsa
-
 
61173
    self.associateEmail = associateEmail
-
 
61174
 
-
 
61175
  def read(self, iprot):
-
 
61176
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
-
 
61177
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
-
 
61178
      return
-
 
61179
    iprot.readStructBegin()
-
 
61180
    while True:
-
 
61181
      (fname, ftype, fid) = iprot.readFieldBegin()
-
 
61182
      if ftype == TType.STOP:
-
 
61183
        break
-
 
61184
      if fid == 1:
-
 
61185
        if ftype == TType.STRUCT:
-
 
61186
          self.pmsa = Pmsa()
-
 
61187
          self.pmsa.read(iprot)
-
 
61188
        else:
-
 
61189
          iprot.skip(ftype)
-
 
61190
      elif fid == 2:
-
 
61191
        if ftype == TType.STRING:
-
 
61192
          self.associateEmail = iprot.readString();
-
 
61193
        else:
-
 
61194
          iprot.skip(ftype)
-
 
61195
      else:
-
 
61196
        iprot.skip(ftype)
-
 
61197
      iprot.readFieldEnd()
-
 
61198
    iprot.readStructEnd()
-
 
61199
 
-
 
61200
  def write(self, oprot):
-
 
61201
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
-
 
61202
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
-
 
61203
      return
-
 
61204
    oprot.writeStructBegin('updatePmsaUser_args')
-
 
61205
    if self.pmsa is not None:
-
 
61206
      oprot.writeFieldBegin('pmsa', TType.STRUCT, 1)
-
 
61207
      self.pmsa.write(oprot)
-
 
61208
      oprot.writeFieldEnd()
-
 
61209
    if self.associateEmail is not None:
-
 
61210
      oprot.writeFieldBegin('associateEmail', TType.STRING, 2)
-
 
61211
      oprot.writeString(self.associateEmail)
-
 
61212
      oprot.writeFieldEnd()
-
 
61213
    oprot.writeFieldStop()
-
 
61214
    oprot.writeStructEnd()
-
 
61215
 
-
 
61216
  def validate(self):
-
 
61217
    return
-
 
61218
 
-
 
61219
 
-
 
61220
  def __repr__(self):
-
 
61221
    L = ['%s=%r' % (key, value)
-
 
61222
      for key, value in self.__dict__.iteritems()]
-
 
61223
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
-
 
61224
 
-
 
61225
  def __eq__(self, other):
-
 
61226
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
-
 
61227
 
-
 
61228
  def __ne__(self, other):
-
 
61229
    return not (self == other)
-
 
61230
 
-
 
61231
class updatePmsaUser_result:
-
 
61232
  """
-
 
61233
  Attributes:
-
 
61234
   - success
-
 
61235
  """
-
 
61236
 
-
 
61237
  thrift_spec = (
-
 
61238
    (0, TType.STRING, 'success', None, None, ), # 0
-
 
61239
  )
-
 
61240
 
-
 
61241
  def __init__(self, success=None,):
-
 
61242
    self.success = success
-
 
61243
 
-
 
61244
  def read(self, iprot):
-
 
61245
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
-
 
61246
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
-
 
61247
      return
-
 
61248
    iprot.readStructBegin()
-
 
61249
    while True:
-
 
61250
      (fname, ftype, fid) = iprot.readFieldBegin()
-
 
61251
      if ftype == TType.STOP:
-
 
61252
        break
-
 
61253
      if fid == 0:
-
 
61254
        if ftype == TType.STRING:
-
 
61255
          self.success = iprot.readString();
-
 
61256
        else:
-
 
61257
          iprot.skip(ftype)
-
 
61258
      else:
-
 
61259
        iprot.skip(ftype)
-
 
61260
      iprot.readFieldEnd()
-
 
61261
    iprot.readStructEnd()
-
 
61262
 
-
 
61263
  def write(self, oprot):
-
 
61264
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
-
 
61265
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
-
 
61266
      return
-
 
61267
    oprot.writeStructBegin('updatePmsaUser_result')
-
 
61268
    if self.success is not None:
-
 
61269
      oprot.writeFieldBegin('success', TType.STRING, 0)
-
 
61270
      oprot.writeString(self.success)
-
 
61271
      oprot.writeFieldEnd()
-
 
61272
    oprot.writeFieldStop()
-
 
61273
    oprot.writeStructEnd()
-
 
61274
 
-
 
61275
  def validate(self):
-
 
61276
    return
-
 
61277
 
-
 
61278
 
-
 
61279
  def __repr__(self):
-
 
61280
    L = ['%s=%r' % (key, value)
-
 
61281
      for key, value in self.__dict__.iteritems()]
-
 
61282
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
-
 
61283
 
-
 
61284
  def __eq__(self, other):
-
 
61285
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
-
 
61286
 
-
 
61287
  def __ne__(self, other):
-
 
61288
    return not (self == other)
-
 
61289
 
-
 
61290
class getPmsaUsers_args:
-
 
61291
  """
-
 
61292
  Attributes:
-
 
61293
   - associateEmail
-
 
61294
  """
-
 
61295
 
-
 
61296
  thrift_spec = (
-
 
61297
    None, # 0
-
 
61298
    (1, TType.STRING, 'associateEmail', None, None, ), # 1
-
 
61299
  )
-
 
61300
 
-
 
61301
  def __init__(self, associateEmail=None,):
-
 
61302
    self.associateEmail = associateEmail
-
 
61303
 
-
 
61304
  def read(self, iprot):
-
 
61305
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
-
 
61306
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
-
 
61307
      return
-
 
61308
    iprot.readStructBegin()
-
 
61309
    while True:
-
 
61310
      (fname, ftype, fid) = iprot.readFieldBegin()
-
 
61311
      if ftype == TType.STOP:
-
 
61312
        break
-
 
61313
      if fid == 1:
-
 
61314
        if ftype == TType.STRING:
-
 
61315
          self.associateEmail = iprot.readString();
-
 
61316
        else:
-
 
61317
          iprot.skip(ftype)
-
 
61318
      else:
-
 
61319
        iprot.skip(ftype)
-
 
61320
      iprot.readFieldEnd()
-
 
61321
    iprot.readStructEnd()
-
 
61322
 
-
 
61323
  def write(self, oprot):
-
 
61324
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
-
 
61325
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
-
 
61326
      return
-
 
61327
    oprot.writeStructBegin('getPmsaUsers_args')
-
 
61328
    if self.associateEmail is not None:
-
 
61329
      oprot.writeFieldBegin('associateEmail', TType.STRING, 1)
-
 
61330
      oprot.writeString(self.associateEmail)
-
 
61331
      oprot.writeFieldEnd()
-
 
61332
    oprot.writeFieldStop()
-
 
61333
    oprot.writeStructEnd()
-
 
61334
 
-
 
61335
  def validate(self):
-
 
61336
    return
-
 
61337
 
-
 
61338
 
-
 
61339
  def __repr__(self):
-
 
61340
    L = ['%s=%r' % (key, value)
-
 
61341
      for key, value in self.__dict__.iteritems()]
-
 
61342
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
-
 
61343
 
-
 
61344
  def __eq__(self, other):
-
 
61345
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
-
 
61346
 
-
 
61347
  def __ne__(self, other):
-
 
61348
    return not (self == other)
-
 
61349
 
-
 
61350
class getPmsaUsers_result:
-
 
61351
  """
-
 
61352
  Attributes:
-
 
61353
   - success
-
 
61354
  """
-
 
61355
 
-
 
61356
  thrift_spec = (
-
 
61357
    (0, TType.LIST, 'success', (TType.STRUCT,(Pmsa, Pmsa.thrift_spec)), None, ), # 0
-
 
61358
  )
-
 
61359
 
-
 
61360
  def __init__(self, success=None,):
-
 
61361
    self.success = success
-
 
61362
 
-
 
61363
  def read(self, iprot):
-
 
61364
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
-
 
61365
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
-
 
61366
      return
-
 
61367
    iprot.readStructBegin()
-
 
61368
    while True:
-
 
61369
      (fname, ftype, fid) = iprot.readFieldBegin()
-
 
61370
      if ftype == TType.STOP:
-
 
61371
        break
-
 
61372
      if fid == 0:
-
 
61373
        if ftype == TType.LIST:
-
 
61374
          self.success = []
-
 
61375
          (_etype1521, _size1518) = iprot.readListBegin()
-
 
61376
          for _i1522 in xrange(_size1518):
-
 
61377
            _elem1523 = Pmsa()
-
 
61378
            _elem1523.read(iprot)
-
 
61379
            self.success.append(_elem1523)
-
 
61380
          iprot.readListEnd()
-
 
61381
        else:
-
 
61382
          iprot.skip(ftype)
-
 
61383
      else:
-
 
61384
        iprot.skip(ftype)
-
 
61385
      iprot.readFieldEnd()
-
 
61386
    iprot.readStructEnd()
-
 
61387
 
-
 
61388
  def write(self, oprot):
-
 
61389
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
-
 
61390
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
-
 
61391
      return
-
 
61392
    oprot.writeStructBegin('getPmsaUsers_result')
-
 
61393
    if self.success is not None:
-
 
61394
      oprot.writeFieldBegin('success', TType.LIST, 0)
-
 
61395
      oprot.writeListBegin(TType.STRUCT, len(self.success))
-
 
61396
      for iter1524 in self.success:
-
 
61397
        iter1524.write(oprot)
-
 
61398
      oprot.writeListEnd()
-
 
61399
      oprot.writeFieldEnd()
-
 
61400
    oprot.writeFieldStop()
-
 
61401
    oprot.writeStructEnd()
-
 
61402
 
-
 
61403
  def validate(self):
-
 
61404
    return
-
 
61405
 
-
 
61406
 
-
 
61407
  def __repr__(self):
-
 
61408
    L = ['%s=%r' % (key, value)
-
 
61409
      for key, value in self.__dict__.iteritems()]
-
 
61410
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
-
 
61411
 
-
 
61412
  def __eq__(self, other):
-
 
61413
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
-
 
61414
 
-
 
61415
  def __ne__(self, other):
-
 
61416
    return not (self == other)
-
 
61417
 
-
 
61418
class getPendingAssociates_args:
-
 
61419
  """
-
 
61420
  Attributes:
-
 
61421
   - associateEmail
-
 
61422
  """
-
 
61423
 
-
 
61424
  thrift_spec = (
-
 
61425
    None, # 0
-
 
61426
    (1, TType.STRING, 'associateEmail', None, None, ), # 1
-
 
61427
  )
-
 
61428
 
-
 
61429
  def __init__(self, associateEmail=None,):
-
 
61430
    self.associateEmail = associateEmail
-
 
61431
 
-
 
61432
  def read(self, iprot):
-
 
61433
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
-
 
61434
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
-
 
61435
      return
-
 
61436
    iprot.readStructBegin()
-
 
61437
    while True:
-
 
61438
      (fname, ftype, fid) = iprot.readFieldBegin()
-
 
61439
      if ftype == TType.STOP:
-
 
61440
        break
-
 
61441
      if fid == 1:
-
 
61442
        if ftype == TType.STRING:
-
 
61443
          self.associateEmail = iprot.readString();
-
 
61444
        else:
-
 
61445
          iprot.skip(ftype)
-
 
61446
      else:
-
 
61447
        iprot.skip(ftype)
-
 
61448
      iprot.readFieldEnd()
-
 
61449
    iprot.readStructEnd()
-
 
61450
 
-
 
61451
  def write(self, oprot):
-
 
61452
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
-
 
61453
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
-
 
61454
      return
-
 
61455
    oprot.writeStructBegin('getPendingAssociates_args')
-
 
61456
    if self.associateEmail is not None:
-
 
61457
      oprot.writeFieldBegin('associateEmail', TType.STRING, 1)
-
 
61458
      oprot.writeString(self.associateEmail)
-
 
61459
      oprot.writeFieldEnd()
-
 
61460
    oprot.writeFieldStop()
-
 
61461
    oprot.writeStructEnd()
-
 
61462
 
-
 
61463
  def validate(self):
-
 
61464
    return
-
 
61465
 
-
 
61466
 
-
 
61467
  def __repr__(self):
-
 
61468
    L = ['%s=%r' % (key, value)
-
 
61469
      for key, value in self.__dict__.iteritems()]
-
 
61470
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
-
 
61471
 
-
 
61472
  def __eq__(self, other):
-
 
61473
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
-
 
61474
 
-
 
61475
  def __ne__(self, other):
-
 
61476
    return not (self == other)
-
 
61477
 
-
 
61478
class getPendingAssociates_result:
-
 
61479
  """
-
 
61480
  Attributes:
-
 
61481
   - success
-
 
61482
  """
-
 
61483
 
-
 
61484
  thrift_spec = (
-
 
61485
    (0, TType.LIST, 'success', (TType.STRUCT,(Pmsa, Pmsa.thrift_spec)), None, ), # 0
-
 
61486
  )
-
 
61487
 
-
 
61488
  def __init__(self, success=None,):
-
 
61489
    self.success = success
-
 
61490
 
-
 
61491
  def read(self, iprot):
-
 
61492
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
-
 
61493
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
-
 
61494
      return
-
 
61495
    iprot.readStructBegin()
-
 
61496
    while True:
-
 
61497
      (fname, ftype, fid) = iprot.readFieldBegin()
-
 
61498
      if ftype == TType.STOP:
-
 
61499
        break
-
 
61500
      if fid == 0:
-
 
61501
        if ftype == TType.LIST:
-
 
61502
          self.success = []
-
 
61503
          (_etype1528, _size1525) = iprot.readListBegin()
-
 
61504
          for _i1529 in xrange(_size1525):
-
 
61505
            _elem1530 = Pmsa()
-
 
61506
            _elem1530.read(iprot)
-
 
61507
            self.success.append(_elem1530)
-
 
61508
          iprot.readListEnd()
-
 
61509
        else:
-
 
61510
          iprot.skip(ftype)
-
 
61511
      else:
-
 
61512
        iprot.skip(ftype)
-
 
61513
      iprot.readFieldEnd()
-
 
61514
    iprot.readStructEnd()
-
 
61515
 
-
 
61516
  def write(self, oprot):
-
 
61517
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
-
 
61518
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
-
 
61519
      return
-
 
61520
    oprot.writeStructBegin('getPendingAssociates_result')
-
 
61521
    if self.success is not None:
-
 
61522
      oprot.writeFieldBegin('success', TType.LIST, 0)
-
 
61523
      oprot.writeListBegin(TType.STRUCT, len(self.success))
-
 
61524
      for iter1531 in self.success:
-
 
61525
        iter1531.write(oprot)
-
 
61526
      oprot.writeListEnd()
-
 
61527
      oprot.writeFieldEnd()
-
 
61528
    oprot.writeFieldStop()
-
 
61529
    oprot.writeStructEnd()
-
 
61530
 
-
 
61531
  def validate(self):
-
 
61532
    return
-
 
61533
 
-
 
61534
 
-
 
61535
  def __repr__(self):
-
 
61536
    L = ['%s=%r' % (key, value)
-
 
61537
      for key, value in self.__dict__.iteritems()]
-
 
61538
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
-
 
61539
 
-
 
61540
  def __eq__(self, other):
-
 
61541
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
-
 
61542
 
-
 
61543
  def __ne__(self, other):
-
 
61544
    return not (self == other)
-
 
61545
 
-
 
61546
class getStatsForAssociates_args:
-
 
61547
  """
-
 
61548
  Attributes:
-
 
61549
   - associateEmail
-
 
61550
  """
-
 
61551
 
-
 
61552
  thrift_spec = (
-
 
61553
    None, # 0
-
 
61554
    (1, TType.STRING, 'associateEmail', None, None, ), # 1
-
 
61555
  )
-
 
61556
 
-
 
61557
  def __init__(self, associateEmail=None,):
-
 
61558
    self.associateEmail = associateEmail
-
 
61559
 
-
 
61560
  def read(self, iprot):
-
 
61561
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
-
 
61562
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
-
 
61563
      return
-
 
61564
    iprot.readStructBegin()
-
 
61565
    while True:
-
 
61566
      (fname, ftype, fid) = iprot.readFieldBegin()
-
 
61567
      if ftype == TType.STOP:
-
 
61568
        break
-
 
61569
      if fid == 1:
-
 
61570
        if ftype == TType.STRING:
-
 
61571
          self.associateEmail = iprot.readString();
-
 
61572
        else:
-
 
61573
          iprot.skip(ftype)
-
 
61574
      else:
-
 
61575
        iprot.skip(ftype)
-
 
61576
      iprot.readFieldEnd()
-
 
61577
    iprot.readStructEnd()
-
 
61578
 
-
 
61579
  def write(self, oprot):
-
 
61580
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
-
 
61581
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
-
 
61582
      return
-
 
61583
    oprot.writeStructBegin('getStatsForAssociates_args')
-
 
61584
    if self.associateEmail is not None:
-
 
61585
      oprot.writeFieldBegin('associateEmail', TType.STRING, 1)
-
 
61586
      oprot.writeString(self.associateEmail)
-
 
61587
      oprot.writeFieldEnd()
-
 
61588
    oprot.writeFieldStop()
-
 
61589
    oprot.writeStructEnd()
-
 
61590
 
-
 
61591
  def validate(self):
-
 
61592
    return
-
 
61593
 
-
 
61594
 
-
 
61595
  def __repr__(self):
-
 
61596
    L = ['%s=%r' % (key, value)
-
 
61597
      for key, value in self.__dict__.iteritems()]
-
 
61598
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
-
 
61599
 
-
 
61600
  def __eq__(self, other):
-
 
61601
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
-
 
61602
 
-
 
61603
  def __ne__(self, other):
-
 
61604
    return not (self == other)
-
 
61605
 
-
 
61606
class getStatsForAssociates_result:
-
 
61607
  """
-
 
61608
  Attributes:
-
 
61609
   - success
-
 
61610
  """
-
 
61611
 
-
 
61612
  thrift_spec = (
-
 
61613
    (0, TType.LIST, 'success', (TType.I64,None), None, ), # 0
-
 
61614
  )
-
 
61615
 
-
 
61616
  def __init__(self, success=None,):
-
 
61617
    self.success = success
-
 
61618
 
-
 
61619
  def read(self, iprot):
-
 
61620
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
-
 
61621
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
-
 
61622
      return
-
 
61623
    iprot.readStructBegin()
-
 
61624
    while True:
-
 
61625
      (fname, ftype, fid) = iprot.readFieldBegin()
-
 
61626
      if ftype == TType.STOP:
-
 
61627
        break
-
 
61628
      if fid == 0:
-
 
61629
        if ftype == TType.LIST:
-
 
61630
          self.success = []
-
 
61631
          (_etype1535, _size1532) = iprot.readListBegin()
-
 
61632
          for _i1536 in xrange(_size1532):
-
 
61633
            _elem1537 = iprot.readI64();
-
 
61634
            self.success.append(_elem1537)
-
 
61635
          iprot.readListEnd()
-
 
61636
        else:
-
 
61637
          iprot.skip(ftype)
-
 
61638
      else:
-
 
61639
        iprot.skip(ftype)
-
 
61640
      iprot.readFieldEnd()
-
 
61641
    iprot.readStructEnd()
-
 
61642
 
-
 
61643
  def write(self, oprot):
-
 
61644
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
-
 
61645
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
-
 
61646
      return
-
 
61647
    oprot.writeStructBegin('getStatsForAssociates_result')
-
 
61648
    if self.success is not None:
-
 
61649
      oprot.writeFieldBegin('success', TType.LIST, 0)
-
 
61650
      oprot.writeListBegin(TType.I64, len(self.success))
-
 
61651
      for iter1538 in self.success:
-
 
61652
        oprot.writeI64(iter1538)
-
 
61653
      oprot.writeListEnd()
-
 
61654
      oprot.writeFieldEnd()
-
 
61655
    oprot.writeFieldStop()
-
 
61656
    oprot.writeStructEnd()
-
 
61657
 
-
 
61658
  def validate(self):
60369
    return
61659
    return
60370
 
61660
 
60371
 
61661
 
60372
  def __repr__(self):
61662
  def __repr__(self):
60373
    L = ['%s=%r' % (key, value)
61663
    L = ['%s=%r' % (key, value)