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