ZolozIdentificationCustomerEnrollcertifyQueryResponse.py 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. #!/usr/bin/env python
  2. # -*- coding: utf-8 -*-
  3. import json
  4. from alipay.aop.api.response.AlipayResponse import AlipayResponse
  5. class ZolozIdentificationCustomerEnrollcertifyQueryResponse(AlipayResponse):
  6. def __init__(self):
  7. super(ZolozIdentificationCustomerEnrollcertifyQueryResponse, self).__init__()
  8. self._attack = None
  9. self._biz_id = None
  10. self._img_str = None
  11. @property
  12. def attack(self):
  13. return self._attack
  14. @attack.setter
  15. def attack(self, value):
  16. self._attack = value
  17. @property
  18. def biz_id(self):
  19. return self._biz_id
  20. @biz_id.setter
  21. def biz_id(self, value):
  22. self._biz_id = value
  23. @property
  24. def img_str(self):
  25. return self._img_str
  26. @img_str.setter
  27. def img_str(self, value):
  28. self._img_str = value
  29. def parse_response_content(self, response_content):
  30. response = super(ZolozIdentificationCustomerEnrollcertifyQueryResponse, self).parse_response_content(response_content)
  31. if 'attack' in response:
  32. self.attack = response['attack']
  33. if 'biz_id' in response:
  34. self.biz_id = response['biz_id']
  35. if 'img_str' in response:
  36. self.img_str = response['img_str']