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