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 / AlipaySecurityProdDesQueryResponse.py
Size: Mime:
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import json

from alipay.aop.api.response.AlipayResponse import AlipayResponse
from alipay.aop.api.domain.GavintestNewLeveaOne import GavintestNewLeveaOne


class AlipaySecurityProdDesQueryResponse(AlipayResponse):

    def __init__(self):
        super(AlipaySecurityProdDesQueryResponse, self).__init__()
        self._dee = None
        self._string = None

    @property
    def dee(self):
        return self._dee

    @dee.setter
    def dee(self, value):
        if isinstance(value, GavintestNewLeveaOne):
            self._dee = value
        else:
            self._dee = GavintestNewLeveaOne.from_alipay_dict(value)
    @property
    def string(self):
        return self._string

    @string.setter
    def string(self, value):
        self._string = value

    def parse_response_content(self, response_content):
        response = super(AlipaySecurityProdDesQueryResponse, self).parse_response_content(response_content)
        if 'dee' in response:
            self.dee = response['dee']
        if 'string' in response:
            self.string = response['string']