#!/usr/bin/env python # -*- coding: utf-8 -*- import json from alipay.aop.api.response.AlipayResponse import AlipayResponse class ZhimaCustomerCertificationMaterialCertifyResponse(AlipayResponse): def __init__(self): super(ZhimaCustomerCertificationMaterialCertifyResponse, self).__init__() self._biz_no = None self._failed_reason = None self._passed = None @property def biz_no(self): return self._biz_no @biz_no.setter def biz_no(self, value): self._biz_no = value @property def failed_reason(self): return self._failed_reason @failed_reason.setter def failed_reason(self, value): self._failed_reason = value @property def passed(self): return self._passed @passed.setter def passed(self, value): self._passed = value def parse_response_content(self, response_content): response = super(ZhimaCustomerCertificationMaterialCertifyResponse, self).parse_response_content(response_content) if 'biz_no' in response: self.biz_no = response['biz_no'] if 'failed_reason' in response: self.failed_reason = response['failed_reason'] if 'passed' in response: self.passed = response['passed']