# 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 pykintone.result import Result
                from pykintone.user_api.user import User
                from pykintone.user_api.organization import Organization
                from pykintone.user_api.title import Title
                from collections import namedtuple
                from pykintone.user_api.group import Group


class GetUsersResult(Result):

    def __init__(self, response):
        super(GetUsersResult, self).__init__(response)
        self.raw = []
        self.users = []
        if self.ok:
            serialized = response.json()

# 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/user_api/user_api_result.py
from pykintone.result import Result
                from pykintone.user_api.user import User
                from pykintone.user_api.organization import Organization
                from pykintone.user_api.title import Title
                from collections import namedtuple
                from pykintone.user_api.group import Group



class GetUsersResult(Result):

    def __init__(self, response):
        super(GetUsersResult, self).__init__(response)
        self.raw = []
        self.users = []
        if self.ok:
            serialized = response.json()

            if "users" in serialized: