#!/usr/bin/env python
# -*- coding: utf-8 -*-
import json

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


class AlipayOpenMiniInnerExperienceQueryResponse(AlipayResponse):

    def __init__(self):
        super(AlipayOpenMiniInnerExperienceQueryResponse, self).__init__()
        self._code = None
        self._exp_qr_code_url = None
        self._exp_schema_url = None
        self._msg = None
        self._status = None

    @property
    def code(self):
        return self._code

    @code.setter
    def code(self, value):
        self._code = value
    @property
    def exp_qr_code_url(self):
        return self._exp_qr_code_url

    @exp_qr_code_url.setter
    def exp_qr_code_url(self, value):
        self._exp_qr_code_url = value
    @property
    def exp_schema_url(self):
        return self._exp_schema_url

    @exp_schema_url.setter
    def exp_schema_url(self, value):
        self._exp_schema_url = value
    @property
    def msg(self):
        return self._msg

    @msg.setter
    def msg(self, value):
        self._msg = value
    @property
    def status(self):
        return self._status

    @status.setter
    def status(self, value):
        self._status = value

    def parse_response_content(self, response_content):
        response = super(AlipayOpenMiniInnerExperienceQueryResponse, self).parse_response_content(response_content)
        if 'code' in response:
            self.code = response['code']
        if 'exp_qr_code_url' in response:
            self.exp_qr_code_url = response['exp_qr_code_url']
        if 'exp_schema_url' in response:
            self.exp_schema_url = response['exp_schema_url']
        if 'msg' in response:
            self.msg = response['msg']
        if 'status' in response:
            self.status = response['status']
