Repository URL to install this package:
|
Version:
3.3.202-c2ee258 ▾
|
alipay-sdk-python
/
alipay
/
aop
/
api
/
response
/
KoubeiMarketingCampaignIntelligentPromoModifyResponse.py
|
|---|
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import json
from alipay.aop.api.response.AlipayResponse import AlipayResponse
from alipay.aop.api.domain.IntelligentPromo import IntelligentPromo
class KoubeiMarketingCampaignIntelligentPromoModifyResponse(AlipayResponse):
def __init__(self):
super(KoubeiMarketingCampaignIntelligentPromoModifyResponse, self).__init__()
self._promo = None
@property
def promo(self):
return self._promo
@promo.setter
def promo(self, value):
if isinstance(value, IntelligentPromo):
self._promo = value
else:
self._promo = IntelligentPromo.from_alipay_dict(value)
def parse_response_content(self, response_content):
response = super(KoubeiMarketingCampaignIntelligentPromoModifyResponse, self).parse_response_content(response_content)
if 'promo' in response:
self.promo = response['promo']