ZolozIdentificationCustomerCertifyQueryResponse.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 ZolozIdentificationCustomerCertifyQueryResponse(AlipayResponse):
  6. def __init__(self):
  7. super(ZolozIdentificationCustomerCertifyQueryResponse, self).__init__()
  8. self._attack = None
  9. self._biz_id = None
  10. self._img_str = None
  11. self._result = None
  12. @property
  13. def attack(self):
  14. return self._attack
  15. @attack.setter
  16. def attack(self, value):
  17. self._attack = value
  18. @property
  19. def biz_id(self):
  20. return self._biz_id
  21. @biz_id.setter
  22. def biz_id(self, value):
  23. self._biz_id = value
  24. @property
  25. def img_str(self):
  26. return self._img_str
  27. @img_str.setter
  28. def img_str(self, value):
  29. self._img_str = value
  30. @property
  31. def result(self):
  32. return self._result
  33. @result.setter
  34. def result(self, value):
  35. self._result = value
  36. def parse_response_content(self, response_content):
  37. response = super(ZolozIdentificationCustomerCertifyQueryResponse, self).parse_response_content(response_content)
  38. if 'attack' in response:
  39. self.attack = response['attack']
  40. if 'biz_id' in response:
  41. self.biz_id = response['biz_id']
  42. if 'img_str' in response:
  43. self.img_str = response['img_str']
  44. if 'result' in response:
  45. self.result = response['result']