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