# Path: pykintone/result.py
# class Result(object):
# 
#     def __init__(self, response):
#         self.ok = response.ok
#         self.message = ""
#         self.error = None
#         if not self.ok:
#             _e = response.json()
#             self.error = Error(_e["message"], _e["id"], _e["code"])
#             self.detail = {}
#             if "errors" in _e:
#                 self.detail = _e["errors"]


from collections import namedtuple
from pykintone.result import Result
                from pykintone.application_settings.administrator import ApplicationInformation
                from pykintone.application_settings.administrator import ApplicationInformation
                from pykintone.application_settings.general_settings import GeneralSettings
                from pykintone.application_settings.form import FormAPI
                from pykintone.application_settings.form_layout import Layout
                from pykintone.application_settings.view import View


class GetApplicationInformationResult(Result):

    def __init__(self, response):
        super(GetApplicationInformationResult, self).__init__(response)
        self.raw = {}
        self.info = None
        if self.ok:
            serialized = response.json()
            if "appId" in serialized:
                self.raw = serialized
                self.info = ApplicationInformation.deserialize(self.raw)



# Path: pykintone/result.py
# class Result(object):
# 
#     def __init__(self, response):
#         self.ok = response.ok
#         self.message = ""
#         self.error = None
#         if not self.ok:
#             _e = response.json()
#             self.error = Error(_e["message"], _e["id"], _e["code"])
#             self.detail = {}
#             if "errors" in _e:
#                 self.detail = _e["errors"]


# Path: pykintone/application_settings/setting_result.py
from collections import namedtuple
from pykintone.result import Result
                from pykintone.application_settings.administrator import ApplicationInformation
                from pykintone.application_settings.administrator import ApplicationInformation
                from pykintone.application_settings.general_settings import GeneralSettings
                from pykintone.application_settings.form import FormAPI
                from pykintone.application_settings.form_layout import Layout
                from pykintone.application_settings.view import View



class GetApplicationInformationResult(Result):

    def __init__(self, response):
        super(GetApplicationInformationResult, self).__init__(response)
        self.raw = {}
        self.info = None
        if self.ok:
            serialized = response.json()
            if "appId" in serialized:
                self.raw = serialized
                self.info = ApplicationInformation.deserialize(self.raw)



class GetApplicationInformationsResult(Result):