AlipayOpenServicemarketYcstestQueryResponse.py 948 B

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