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