AlipayMobilePublicAccountlistGetResponse.py 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. #!/usr/bin/env python
  2. # -*- coding: utf-8 -*-
  3. import json
  4. from alipay.aop.api.response.AlipayResponse import AlipayResponse
  5. class AlipayMobilePublicAccountlistGetResponse(AlipayResponse):
  6. def __init__(self):
  7. super(AlipayMobilePublicAccountlistGetResponse, self).__init__()
  8. self._account_list = None
  9. self._code = None
  10. self._count = None
  11. self._msg = None
  12. @property
  13. def account_list(self):
  14. return self._account_list
  15. @account_list.setter
  16. def account_list(self, value):
  17. self._account_list = value
  18. @property
  19. def code(self):
  20. return self._code
  21. @code.setter
  22. def code(self, value):
  23. self._code = value
  24. @property
  25. def count(self):
  26. return self._count
  27. @count.setter
  28. def count(self, value):
  29. self._count = value
  30. @property
  31. def msg(self):
  32. return self._msg
  33. @msg.setter
  34. def msg(self, value):
  35. self._msg = value
  36. def parse_response_content(self, response_content):
  37. response = super(AlipayMobilePublicAccountlistGetResponse, self).parse_response_content(response_content)
  38. if 'account_list' in response:
  39. self.account_list = response['account_list']
  40. if 'code' in response:
  41. self.code = response['code']
  42. if 'count' in response:
  43. self.count = response['count']
  44. if 'msg' in response:
  45. self.msg = response['msg']