# Path: InstagramAPI/src/http/Response/Response.py
# class Response(object):
#     STATUS_OK = "ok"
#     STATUS_FAIL = "fail"
# 
#     status = None
#     message = None
#     fullResponse = None
# 
#     def setStatus(self, status):
#         self.status = status
# 
#     def getStatus(self):
#         return self.status
# 
#     def setMessage(self, message):
#         self.message = message
# 
#     def getMessage(self):
#         return self.message
# 
#     def setFullResponse(self, response):
#         self.fullResponse = response
# 
#     def getFullResponse(self):
#         return self.fullResponse
# 
#     def isOk(self):
#         return self.getStatus() == Response.STATUS_OK


from .Response import Response
            self.username = response['logged_in_user']['username']
            self.has_anonymous_profile_picture = response['logged_in_user']['has_anonymous_profile_picture']
            self.profile_pic_url = response['logged_in_user']['profile_pic_url']
            self.full_name = response['logged_in_user']['full_name']
            self.pk = response['logged_in_user']['pk']
            self.is_private = response['logged_in_user']['is_private']
        else:
            self.setMessage(response['message'])

        self.setStatus(response['status'])

    def getUsername(self):
        return self.username

    def getHasAnonymousProfilePicture(self):
        return self.has_anonymous_profile_picture

    def getProfilePicUrl(self):
        return self.profile_pic_url

    def getProfilePicId(self):
        return self.profile_pic_id

    def getFullName(self):
        return self.full_name

    def getUsernameId(self):
        return str(self.pk)

    def getIsPrivate(self):

# Path: InstagramAPI/src/http/Response/Response.py
# class Response(object):
#     STATUS_OK = "ok"
#     STATUS_FAIL = "fail"
# 
#     status = None
#     message = None
#     fullResponse = None
# 
#     def setStatus(self, status):
#         self.status = status
# 
#     def getStatus(self):
#         return self.status
# 
#     def setMessage(self, message):
#         self.message = message
# 
#     def getMessage(self):
#         return self.message
# 
#     def setFullResponse(self, response):
#         self.fullResponse = response
# 
#     def getFullResponse(self):
#         return self.fullResponse
# 
#     def isOk(self):
#         return self.getStatus() == Response.STATUS_OK


# Path: InstagramAPI/src/http/Response/LoginResponse.py
from .Response import Response

            self.username = response['logged_in_user']['username']
            self.has_anonymous_profile_picture = response['logged_in_user']['has_anonymous_profile_picture']
            self.profile_pic_url = response['logged_in_user']['profile_pic_url']
            self.full_name = response['logged_in_user']['full_name']
            self.pk = response['logged_in_user']['pk']
            self.is_private = response['logged_in_user']['is_private']
        else:
            self.setMessage(response['message'])

        self.setStatus(response['status'])

    def getUsername(self):
        return self.username

    def getHasAnonymousProfilePicture(self):
        return self.has_anonymous_profile_picture

    def getProfilePicUrl(self):
        return self.profile_pic_url

    def getProfilePicId(self):
        return self.profile_pic_id

    def getFullName(self):
        return self.full_name

    def getUsernameId(self):
        return str(self.pk)

    def getIsPrivate(self):

        return self.is_private