KoubeiMarketingCampaignDetailInfoQueryResponse.py 772 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 KoubeiMarketingCampaignDetailInfoQueryResponse(AlipayResponse):
  6. def __init__(self):
  7. super(KoubeiMarketingCampaignDetailInfoQueryResponse, self).__init__()
  8. self._limit_shops = None
  9. @property
  10. def limit_shops(self):
  11. return self._limit_shops
  12. @limit_shops.setter
  13. def limit_shops(self, value):
  14. self._limit_shops = value
  15. def parse_response_content(self, response_content):
  16. response = super(KoubeiMarketingCampaignDetailInfoQueryResponse, self).parse_response_content(response_content)
  17. if 'limit_shops' in response:
  18. self.limit_shops = response['limit_shops']