AlipayInsAutoUserMsgSendResponse.py 712 B

12345678910111213141516171819202122232425
  1. #!/usr/bin/env python
  2. # -*- coding: utf-8 -*-
  3. import json
  4. from alipay.aop.api.response.AlipayResponse import AlipayResponse
  5. class AlipayInsAutoUserMsgSendResponse(AlipayResponse):
  6. def __init__(self):
  7. super(AlipayInsAutoUserMsgSendResponse, self).__init__()
  8. self._can_retry = None
  9. @property
  10. def can_retry(self):
  11. return self._can_retry
  12. @can_retry.setter
  13. def can_retry(self, value):
  14. self._can_retry = value
  15. def parse_response_content(self, response_content):
  16. response = super(AlipayInsAutoUserMsgSendResponse, self).parse_response_content(response_content)
  17. if 'can_retry' in response:
  18. self.can_retry = response['can_retry']