ZhimaCustomerAuthMutualviewApplyResponse.py 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. #!/usr/bin/env python
  2. # -*- coding: utf-8 -*-
  3. import json
  4. from alipay.aop.api.response.AlipayResponse import AlipayResponse
  5. class ZhimaCustomerAuthMutualviewApplyResponse(AlipayResponse):
  6. def __init__(self):
  7. super(ZhimaCustomerAuthMutualviewApplyResponse, self).__init__()
  8. self._auth_id = None
  9. self._cancel_result = None
  10. self._describe = None
  11. self._error_code = None
  12. self._error_message = None
  13. self._outer_sign = None
  14. @property
  15. def auth_id(self):
  16. return self._auth_id
  17. @auth_id.setter
  18. def auth_id(self, value):
  19. self._auth_id = value
  20. @property
  21. def cancel_result(self):
  22. return self._cancel_result
  23. @cancel_result.setter
  24. def cancel_result(self, value):
  25. self._cancel_result = value
  26. @property
  27. def describe(self):
  28. return self._describe
  29. @describe.setter
  30. def describe(self, value):
  31. self._describe = value
  32. @property
  33. def error_code(self):
  34. return self._error_code
  35. @error_code.setter
  36. def error_code(self, value):
  37. self._error_code = value
  38. @property
  39. def error_message(self):
  40. return self._error_message
  41. @error_message.setter
  42. def error_message(self, value):
  43. self._error_message = value
  44. @property
  45. def outer_sign(self):
  46. return self._outer_sign
  47. @outer_sign.setter
  48. def outer_sign(self, value):
  49. self._outer_sign = value
  50. def parse_response_content(self, response_content):
  51. response = super(ZhimaCustomerAuthMutualviewApplyResponse, self).parse_response_content(response_content)
  52. if 'auth_id' in response:
  53. self.auth_id = response['auth_id']
  54. if 'cancel_result' in response:
  55. self.cancel_result = response['cancel_result']
  56. if 'describe' in response:
  57. self.describe = response['describe']
  58. if 'error_code' in response:
  59. self.error_code = response['error_code']
  60. if 'error_message' in response:
  61. self.error_message = response['error_message']
  62. if 'outer_sign' in response:
  63. self.outer_sign = response['outer_sign']