AntfortuneContentCommunityOpenSecuaiQueryResponse.py 1.1 KB

1234567891011121314151617181920212223242526272829303132333435
  1. #!/usr/bin/env python
  2. # -*- coding: utf-8 -*-
  3. import json
  4. from alipay.aop.api.response.AlipayResponse import AlipayResponse
  5. class AntfortuneContentCommunityOpenSecuaiQueryResponse(AlipayResponse):
  6. def __init__(self):
  7. super(AntfortuneContentCommunityOpenSecuaiQueryResponse, self).__init__()
  8. self._secuai_open_result = None
  9. self._trace_id = None
  10. @property
  11. def secuai_open_result(self):
  12. return self._secuai_open_result
  13. @secuai_open_result.setter
  14. def secuai_open_result(self, value):
  15. self._secuai_open_result = value
  16. @property
  17. def trace_id(self):
  18. return self._trace_id
  19. @trace_id.setter
  20. def trace_id(self, value):
  21. self._trace_id = value
  22. def parse_response_content(self, response_content):
  23. response = super(AntfortuneContentCommunityOpenSecuaiQueryResponse, self).parse_response_content(response_content)
  24. if 'secuai_open_result' in response:
  25. self.secuai_open_result = response['secuai_open_result']
  26. if 'trace_id' in response:
  27. self.trace_id = response['trace_id']