1234567891011121314151617181920212223242526272829 |
- #!/usr/bin/env python
- # -*- coding: utf-8 -*-
- import json
- from alipay.aop.api.response.AlipayResponse import AlipayResponse
- from alipay.aop.api.domain.InterTradeConsultOpenApiResult import InterTradeConsultOpenApiResult
- class AlipayBossContractManagementIdentifyResponse(AlipayResponse):
- def __init__(self):
- super(AlipayBossContractManagementIdentifyResponse, self).__init__()
- self._result_set = None
- @property
- def result_set(self):
- return self._result_set
- @result_set.setter
- def result_set(self, value):
- if isinstance(value, InterTradeConsultOpenApiResult):
- self._result_set = value
- else:
- self._result_set = InterTradeConsultOpenApiResult.from_alipay_dict(value)
- def parse_response_content(self, response_content):
- response = super(AlipayBossContractManagementIdentifyResponse, self).parse_response_content(response_content)
- if 'result_set' in response:
- self.result_set = response['result_set']
|