KoubeiMarketingAdvertisingModifyResponse.py 700 B

12345678910111213141516171819202122232425
  1. #!/usr/bin/env python
  2. # -*- coding: utf-8 -*-
  3. import json
  4. from alipay.aop.api.response.AlipayResponse import AlipayResponse
  5. class KoubeiMarketingAdvertisingModifyResponse(AlipayResponse):
  6. def __init__(self):
  7. super(KoubeiMarketingAdvertisingModifyResponse, self).__init__()
  8. self._ad_id = None
  9. @property
  10. def ad_id(self):
  11. return self._ad_id
  12. @ad_id.setter
  13. def ad_id(self, value):
  14. self._ad_id = value
  15. def parse_response_content(self, response_content):
  16. response = super(KoubeiMarketingAdvertisingModifyResponse, self).parse_response_content(response_content)
  17. if 'ad_id' in response:
  18. self.ad_id = response['ad_id']