def total_promote_data(self, value):
     if isinstance(value, PromoteDataModel):
         self._total_promote_data = value
     else:
         self._total_promote_data = PromoteDataModel.from_alipay_dict(value)
示例#2
0
 def kb_platform_promote_data(self, value):
     if isinstance(value, PromoteDataModel):
         self._kb_platform_promote_data = value
     else:
         self._kb_platform_promote_data = PromoteDataModel.from_alipay_dict(
             value)