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