1234567891011121314151617181920212223242526272829303132333435 |
- #!/usr/bin/env python
- # -*- coding: utf-8 -*-
- import json
- from alipay.aop.api.response.AlipayResponse import AlipayResponse
- class AlipayDataDataserviceAdPlanCreateormodifyResponse(AlipayResponse):
- def __init__(self):
- super(AlipayDataDataserviceAdPlanCreateormodifyResponse, self).__init__()
- self._plan_id = None
- self._plan_outer_id = None
- @property
- def plan_id(self):
- return self._plan_id
- @plan_id.setter
- def plan_id(self, value):
- self._plan_id = value
- @property
- def plan_outer_id(self):
- return self._plan_outer_id
- @plan_outer_id.setter
- def plan_outer_id(self, value):
- self._plan_outer_id = value
- def parse_response_content(self, response_content):
- response = super(AlipayDataDataserviceAdPlanCreateormodifyResponse, self).parse_response_content(response_content)
- if 'plan_id' in response:
- self.plan_id = response['plan_id']
- if 'plan_outer_id' in response:
- self.plan_outer_id = response['plan_outer_id']
|