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