AlipayBossContractManagementIdentifyResponse.py 1019 B

1234567891011121314151617181920212223242526272829
  1. #!/usr/bin/env python
  2. # -*- coding: utf-8 -*-
  3. import json
  4. from alipay.aop.api.response.AlipayResponse import AlipayResponse
  5. from alipay.aop.api.domain.InterTradeConsultOpenApiResult import InterTradeConsultOpenApiResult
  6. class AlipayBossContractManagementIdentifyResponse(AlipayResponse):
  7. def __init__(self):
  8. super(AlipayBossContractManagementIdentifyResponse, self).__init__()
  9. self._result_set = None
  10. @property
  11. def result_set(self):
  12. return self._result_set
  13. @result_set.setter
  14. def result_set(self, value):
  15. if isinstance(value, InterTradeConsultOpenApiResult):
  16. self._result_set = value
  17. else:
  18. self._result_set = InterTradeConsultOpenApiResult.from_alipay_dict(value)
  19. def parse_response_content(self, response_content):
  20. response = super(AlipayBossContractManagementIdentifyResponse, self).parse_response_content(response_content)
  21. if 'result_set' in response:
  22. self.result_set = response['result_set']