AlipayDataIotdataBaiCargocountQueryResponse.py 1.1 KB

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