# Path: InstagramAPI/src/http/Response/Objects/HdProfilePicUrlInfo.py
# class HdProfilePicUrlInfo(object):
#     def __init__(self, response):
#         self.url = None
#         self.width = None
#         self.height = None
# 
#         self.url = response['url']
#         self.width = response['width']
#         self.height = response['height']
# 
#     def getUrl(self):
#         return self.url
# 
#     def getWidth(self):
#         return self.width
# 
#     def getHeight(self):
#         return self.height
# 
# 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 InstagramAPI.src.http.Response.Objects.HdProfilePicUrlInfo import HdProfilePicUrlInfo
from .Response import Response
            self.hd_profile_pic_url_info = HdProfilePicUrlInfo(self.hd_profile_pic_url_info)
            if self.hd_profile_pic_versions:
                profile_pics_vers = []
                for profile_pic in self.hd_profile_pic_versions:
                    profile_pics_vers.append(HdProfilePicUrlInfo(profile_pic))
                self.hd_profile_pic_versions = profile_pics_vers
        else:
            self.setMessage(response['message'])

        self.setStatus(response['status'])

    def getUsername(self):
        return self.username

    def getPhoneNumber(self):
        return self.phone_number

    def hasAnonymousProfilePicture(self):
        return self.has_anonymous_profile_picture

    def getHdProfilePicVersions(self):
        return self.hd_profile_pic_versions

    def getGender(self):
        return self.gender

    def getBirthday(self):
        return self.birthday

    def needsEmailConfirm(self):

# Path: InstagramAPI/src/http/Response/Objects/HdProfilePicUrlInfo.py
# class HdProfilePicUrlInfo(object):
#     def __init__(self, response):
#         self.url = None
#         self.width = None
#         self.height = None
# 
#         self.url = response['url']
#         self.width = response['width']
#         self.height = response['height']
# 
#     def getUrl(self):
#         return self.url
# 
#     def getWidth(self):
#         return self.width
# 
#     def getHeight(self):
#         return self.height
# 
# 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/ProfileResponse.py
from InstagramAPI.src.http.Response.Objects.HdProfilePicUrlInfo import HdProfilePicUrlInfo
from .Response import Response

            self.hd_profile_pic_url_info = HdProfilePicUrlInfo(self.hd_profile_pic_url_info)
            if self.hd_profile_pic_versions:
                profile_pics_vers = []
                for profile_pic in self.hd_profile_pic_versions:
                    profile_pics_vers.append(HdProfilePicUrlInfo(profile_pic))
                self.hd_profile_pic_versions = profile_pics_vers
        else:
            self.setMessage(response['message'])

        self.setStatus(response['status'])

    def getUsername(self):
        return self.username

    def getPhoneNumber(self):
        return self.phone_number

    def hasAnonymousProfilePicture(self):
        return self.has_anonymous_profile_picture

    def getHdProfilePicVersions(self):
        return self.hd_profile_pic_versions

    def getGender(self):
        return self.gender

    def getBirthday(self):
        return self.birthday

    def needsEmailConfirm(self):

        return self.needs_email_confirm