Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
alipay-sdk-python / alipay / aop / api / response / AlipayUserAntpaasTokenidentityCreateResponse.py
Size: Mime:
#!/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']