def info_results(self, value): if isinstance(value, list): self._info_results = list() for i in value: if isinstance(i, AssetResult): self._info_results.append(i) else: self._info_results.append(AssetResult.from_alipay_dict(i))
def result(self, value): if isinstance(value, AssetResult): self._result = value else: self._result = AssetResult.from_alipay_dict(value)