1234567891011121314151617181920212223242526272829303132333435 |
- #!/usr/bin/env python
- # -*- coding: utf-8 -*-
- import json
- from alipay.aop.api.response.AlipayResponse import AlipayResponse
- class AlipayUserAntpaasTokenidentityCreateResponse(AlipayResponse):
- def __init__(self):
- super(AlipayUserAntpaasTokenidentityCreateResponse, self).__init__()
- self._ant_id = None
- self._user_id = None
- @property
- def ant_id(self):
- return self._ant_id
- @ant_id.setter
- def ant_id(self, value):
- self._ant_id = value
- @property
- def user_id(self):
- return self._user_id
- @user_id.setter
- def user_id(self, value):
- self._user_id = value
- def parse_response_content(self, response_content):
- response = super(AlipayUserAntpaasTokenidentityCreateResponse, self).parse_response_content(response_content)
- if 'ant_id' in response:
- self.ant_id = response['ant_id']
- if 'user_id' in response:
- self.user_id = response['user_id']
|