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
class AlipayMobilePublicAccountResetResponse(AlipayResponse):
def __init__(self):
super(AlipayMobilePublicAccountResetResponse, self).__init__()
self._agreement_id = None
self._code = None
self._msg = None
@property
def agreement_id(self):
return self._agreement_id
@agreement_id.setter
def agreement_id(self, value):
self._agreement_id = value
@property
def code(self):
return self._code
@code.setter
def code(self, value):
self._code = value
@property
def msg(self):
return self._msg
@msg.setter
def msg(self, value):
self._msg = value
def parse_response_content(self, response_content):
response = super(AlipayMobilePublicAccountResetResponse, self).parse_response_content(response_content)
if 'agreement_id' in response:
self.agreement_id = response['agreement_id']
if 'code' in response:
self.code = response['code']
if 'msg' in response:
self.msg = response['msg']