AlipayZdatafrontCommonQueryResponse.py 1023 B

1234567891011121314151617181920212223242526272829303132333435
  1. #!/usr/bin/env python
  2. # -*- coding: utf-8 -*-
  3. import json
  4. from alipay.aop.api.response.AlipayResponse import AlipayResponse
  5. class AlipayZdatafrontCommonQueryResponse(AlipayResponse):
  6. def __init__(self):
  7. super(AlipayZdatafrontCommonQueryResponse, self).__init__()
  8. self._cache_timestamp = None
  9. self._values = None
  10. @property
  11. def cache_timestamp(self):
  12. return self._cache_timestamp
  13. @cache_timestamp.setter
  14. def cache_timestamp(self, value):
  15. self._cache_timestamp = value
  16. @property
  17. def values(self):
  18. return self._values
  19. @values.setter
  20. def values(self, value):
  21. self._values = value
  22. def parse_response_content(self, response_content):
  23. response = super(AlipayZdatafrontCommonQueryResponse, self).parse_response_content(response_content)
  24. if 'cache_timestamp' in response:
  25. self.cache_timestamp = response['cache_timestamp']
  26. if 'values' in response:
  27. self.values = response['values']