AlipaySecurityProdIfaaDevicepubkeyQueryResponse.py 811 B

12345678910111213141516171819202122232425
  1. #!/usr/bin/env python
  2. # -*- coding: utf-8 -*-
  3. import json
  4. from alipay.aop.api.response.AlipayResponse import AlipayResponse
  5. class AlipaySecurityProdIfaaDevicepubkeyQueryResponse(AlipayResponse):
  6. def __init__(self):
  7. super(AlipaySecurityProdIfaaDevicepubkeyQueryResponse, self).__init__()
  8. self._device_key_info = None
  9. @property
  10. def device_key_info(self):
  11. return self._device_key_info
  12. @device_key_info.setter
  13. def device_key_info(self, value):
  14. self._device_key_info = value
  15. def parse_response_content(self, response_content):
  16. response = super(AlipaySecurityProdIfaaDevicepubkeyQueryResponse, self).parse_response_content(response_content)
  17. if 'device_key_info' in response:
  18. self.device_key_info = response['device_key_info']