AlipayEcoCplifeCommunityModifyResponse.py 996 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 AlipayEcoCplifeCommunityModifyResponse(AlipayResponse):
  6. def __init__(self):
  7. super(AlipayEcoCplifeCommunityModifyResponse, self).__init__()
  8. self._next_action = None
  9. self._status = None
  10. @property
  11. def next_action(self):
  12. return self._next_action
  13. @next_action.setter
  14. def next_action(self, value):
  15. self._next_action = value
  16. @property
  17. def status(self):
  18. return self._status
  19. @status.setter
  20. def status(self, value):
  21. self._status = value
  22. def parse_response_content(self, response_content):
  23. response = super(AlipayEcoCplifeCommunityModifyResponse, self).parse_response_content(response_content)
  24. if 'next_action' in response:
  25. self.next_action = response['next_action']
  26. if 'status' in response:
  27. self.status = response['status']