AlipaySocialBaseChatGmsgSendResponse.py 724 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 AlipaySocialBaseChatGmsgSendResponse(AlipayResponse):
  6. def __init__(self):
  7. super(AlipaySocialBaseChatGmsgSendResponse, self).__init__()
  8. self._msg_index = None
  9. @property
  10. def msg_index(self):
  11. return self._msg_index
  12. @msg_index.setter
  13. def msg_index(self, value):
  14. self._msg_index = value
  15. def parse_response_content(self, response_content):
  16. response = super(AlipaySocialBaseChatGmsgSendResponse, self).parse_response_content(response_content)
  17. if 'msg_index' in response:
  18. self.msg_index = response['msg_index']