#!/usr/bin/env python # -*- coding: utf-8 -*- import json from alipay.aop.api.response.AlipayResponse import AlipayResponse class AlipayMobileStdPublicExpressUserQueryResponse(AlipayResponse): def __init__(self): super(AlipayMobileStdPublicExpressUserQueryResponse, self).__init__() self._cert_no = None self._cert_type = None @property def cert_no(self): return self._cert_no @cert_no.setter def cert_no(self, value): self._cert_no = value @property def cert_type(self): return self._cert_type @cert_type.setter def cert_type(self, value): self._cert_type = value def parse_response_content(self, response_content): response = super(AlipayMobileStdPublicExpressUserQueryResponse, self).parse_response_content(response_content) if 'cert_no' in response: self.cert_no = response['cert_no'] if 'cert_type' in response: self.cert_type = response['cert_type']