AlipaySecurityRiskVerifyidentityApplyResponse.py 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. #!/usr/bin/env python
  2. # -*- coding: utf-8 -*-
  3. import json
  4. from alipay.aop.api.response.AlipayResponse import AlipayResponse
  5. class AlipaySecurityRiskVerifyidentityApplyResponse(AlipayResponse):
  6. def __init__(self):
  7. super(AlipaySecurityRiskVerifyidentityApplyResponse, self).__init__()
  8. self._err_code = None
  9. self._err_message = None
  10. self._is_success = None
  11. self._unusable_product_list = None
  12. self._usable_product_group = None
  13. @property
  14. def err_code(self):
  15. return self._err_code
  16. @err_code.setter
  17. def err_code(self, value):
  18. self._err_code = value
  19. @property
  20. def err_message(self):
  21. return self._err_message
  22. @err_message.setter
  23. def err_message(self, value):
  24. self._err_message = value
  25. @property
  26. def is_success(self):
  27. return self._is_success
  28. @is_success.setter
  29. def is_success(self, value):
  30. self._is_success = value
  31. @property
  32. def unusable_product_list(self):
  33. return self._unusable_product_list
  34. @unusable_product_list.setter
  35. def unusable_product_list(self, value):
  36. self._unusable_product_list = value
  37. @property
  38. def usable_product_group(self):
  39. return self._usable_product_group
  40. @usable_product_group.setter
  41. def usable_product_group(self, value):
  42. self._usable_product_group = value
  43. def parse_response_content(self, response_content):
  44. response = super(AlipaySecurityRiskVerifyidentityApplyResponse, self).parse_response_content(response_content)
  45. if 'err_code' in response:
  46. self.err_code = response['err_code']
  47. if 'err_message' in response:
  48. self.err_message = response['err_message']
  49. if 'is_success' in response:
  50. self.is_success = response['is_success']
  51. if 'unusable_product_list' in response:
  52. self.unusable_product_list = response['unusable_product_list']
  53. if 'usable_product_group' in response:
  54. self.usable_product_group = response['usable_product_group']