AlipaySecurityRiskReconfirmRiskidentifyCertifyResponse.py 1.3 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 AlipaySecurityRiskReconfirmRiskidentifyCertifyResponse(AlipayResponse):
  6. def __init__(self):
  7. super(AlipaySecurityRiskReconfirmRiskidentifyCertifyResponse, self).__init__()
  8. self._extend_info = None
  9. self._has_risk = None
  10. self._identify_id = None
  11. @property
  12. def extend_info(self):
  13. return self._extend_info
  14. @extend_info.setter
  15. def extend_info(self, value):
  16. self._extend_info = value
  17. @property
  18. def has_risk(self):
  19. return self._has_risk
  20. @has_risk.setter
  21. def has_risk(self, value):
  22. self._has_risk = value
  23. @property
  24. def identify_id(self):
  25. return self._identify_id
  26. @identify_id.setter
  27. def identify_id(self, value):
  28. self._identify_id = value
  29. def parse_response_content(self, response_content):
  30. response = super(AlipaySecurityRiskReconfirmRiskidentifyCertifyResponse, self).parse_response_content(response_content)
  31. if 'extend_info' in response:
  32. self.extend_info = response['extend_info']
  33. if 'has_risk' in response:
  34. self.has_risk = response['has_risk']
  35. if 'identify_id' in response:
  36. self.identify_id = response['identify_id']