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