AlipayInsSceneClaimAttachmentConfirmResponse.py 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. #!/usr/bin/env python
  2. # -*- coding: utf-8 -*-
  3. import json
  4. from alipay.aop.api.response.AlipayResponse import AlipayResponse
  5. class AlipayInsSceneClaimAttachmentConfirmResponse(AlipayResponse):
  6. def __init__(self):
  7. super(AlipayInsSceneClaimAttachmentConfirmResponse, self).__init__()
  8. self._lost_files = None
  9. self._status = None
  10. @property
  11. def lost_files(self):
  12. return self._lost_files
  13. @lost_files.setter
  14. def lost_files(self, value):
  15. if isinstance(value, list):
  16. self._lost_files = list()
  17. for i in value:
  18. self._lost_files.append(i)
  19. @property
  20. def status(self):
  21. return self._status
  22. @status.setter
  23. def status(self, value):
  24. self._status = value
  25. def parse_response_content(self, response_content):
  26. response = super(AlipayInsSceneClaimAttachmentConfirmResponse, self).parse_response_content(response_content)
  27. if 'lost_files' in response:
  28. self.lost_files = response['lost_files']
  29. if 'status' in response:
  30. self.status = response['status']