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