KoubeiContentContentcountSetResponse.py 999 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 KoubeiContentContentcountSetResponse(AlipayResponse):
  6. def __init__(self):
  7. super(KoubeiContentContentcountSetResponse, self).__init__()
  8. self._content_id = None
  9. self._trace_id = None
  10. @property
  11. def content_id(self):
  12. return self._content_id
  13. @content_id.setter
  14. def content_id(self, value):
  15. self._content_id = value
  16. @property
  17. def trace_id(self):
  18. return self._trace_id
  19. @trace_id.setter
  20. def trace_id(self, value):
  21. self._trace_id = value
  22. def parse_response_content(self, response_content):
  23. response = super(KoubeiContentContentcountSetResponse, self).parse_response_content(response_content)
  24. if 'content_id' in response:
  25. self.content_id = response['content_id']
  26. if 'trace_id' in response:
  27. self.trace_id = response['trace_id']