AlipaySecurityRiskVerifyidentityConfirmResponse.py 1.6 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 AlipaySecurityRiskVerifyidentityConfirmResponse(AlipayResponse):
  6. def __init__(self):
  7. super(AlipaySecurityRiskVerifyidentityConfirmResponse, self).__init__()
  8. self._biz_data = None
  9. self._error_code = None
  10. self._error_msg = None
  11. self._verify_result = None
  12. @property
  13. def biz_data(self):
  14. return self._biz_data
  15. @biz_data.setter
  16. def biz_data(self, value):
  17. self._biz_data = value
  18. @property
  19. def error_code(self):
  20. return self._error_code
  21. @error_code.setter
  22. def error_code(self, value):
  23. self._error_code = value
  24. @property
  25. def error_msg(self):
  26. return self._error_msg
  27. @error_msg.setter
  28. def error_msg(self, value):
  29. self._error_msg = value
  30. @property
  31. def verify_result(self):
  32. return self._verify_result
  33. @verify_result.setter
  34. def verify_result(self, value):
  35. self._verify_result = value
  36. def parse_response_content(self, response_content):
  37. response = super(AlipaySecurityRiskVerifyidentityConfirmResponse, self).parse_response_content(response_content)
  38. if 'biz_data' in response:
  39. self.biz_data = response['biz_data']
  40. if 'error_code' in response:
  41. self.error_code = response['error_code']
  42. if 'error_msg' in response:
  43. self.error_msg = response['error_msg']
  44. if 'verify_result' in response:
  45. self.verify_result = response['verify_result']