KoubeiMarketingCampaignRetailDmCreateResponse.py 1.0 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 KoubeiMarketingCampaignRetailDmCreateResponse(AlipayResponse):
  6. def __init__(self):
  7. super(KoubeiMarketingCampaignRetailDmCreateResponse, self).__init__()
  8. self._content_id = None
  9. self._ext_info = 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 ext_info(self):
  18. return self._ext_info
  19. @ext_info.setter
  20. def ext_info(self, value):
  21. self._ext_info = value
  22. def parse_response_content(self, response_content):
  23. response = super(KoubeiMarketingCampaignRetailDmCreateResponse, self).parse_response_content(response_content)
  24. if 'content_id' in response:
  25. self.content_id = response['content_id']
  26. if 'ext_info' in response:
  27. self.ext_info = response['ext_info']