# Path: messagebird/base.py
# class Base:
#     def load(self, data):
#         if data is not None:
#             for name, value in list(data.items()):
#                 if hasattr(self, name) and not callable(getattr(self, name)):
#                     setattr(self, name, value)
# 
#         return self
# 
#     @staticmethod
#     def value_to_time(value, format='%Y-%m-%dT%H:%M:%S+00:00'):
#         if value is not None:
#             return dateutil.parser.parse(value).replace(microsecond=0)
# 
# Path: messagebird/formats.py
# class Formats(Base):
#     def __init__(self):
#         self.e164 = None
#         self.international = None
#         self.national = None
#         self.rfc3966 = None
# 
# Path: messagebird/hlr.py
# class HLR(Base):
#     def __init__(self):
#         self.id = None
#         self.href = None
#         self.msisdn = None
#         self.network = None
#         self.reference = None
#         self.status = None
#         self.details = None
#         self._createdDatetime = None
#         self._statusDatetime = None
# 
#     @property
#     def createdDatetime(self):
#         return self._createdDatetime
# 
#     @createdDatetime.setter
#     def createdDatetime(self, value):
#         self._createdDatetime = self.value_to_time(value)
# 
#     @property
#     def statusDatetime(self):
#         return self._statusDatetime
# 
#     @statusDatetime.setter
#     def statusDatetime(self, value):
#         self._statusDatetime = self.value_to_time(value)


from messagebird.base import Base
from messagebird.formats import Formats
from messagebird.hlr import HLR


class Lookup(Base):
    def __init__(self):
        self.href = None
        self.countryCode = None
        self.countryPrefix = None
        self.phoneNumber = None
        self.type = None
        self._formats = None
        self._hlr = None

    def __str__(self):

# Path: messagebird/base.py
# class Base:
#     def load(self, data):
#         if data is not None:
#             for name, value in list(data.items()):
#                 if hasattr(self, name) and not callable(getattr(self, name)):
#                     setattr(self, name, value)
# 
#         return self
# 
#     @staticmethod
#     def value_to_time(value, format='%Y-%m-%dT%H:%M:%S+00:00'):
#         if value is not None:
#             return dateutil.parser.parse(value).replace(microsecond=0)
# 
# Path: messagebird/formats.py
# class Formats(Base):
#     def __init__(self):
#         self.e164 = None
#         self.international = None
#         self.national = None
#         self.rfc3966 = None
# 
# Path: messagebird/hlr.py
# class HLR(Base):
#     def __init__(self):
#         self.id = None
#         self.href = None
#         self.msisdn = None
#         self.network = None
#         self.reference = None
#         self.status = None
#         self.details = None
#         self._createdDatetime = None
#         self._statusDatetime = None
# 
#     @property
#     def createdDatetime(self):
#         return self._createdDatetime
# 
#     @createdDatetime.setter
#     def createdDatetime(self, value):
#         self._createdDatetime = self.value_to_time(value)
# 
#     @property
#     def statusDatetime(self):
#         return self._statusDatetime
# 
#     @statusDatetime.setter
#     def statusDatetime(self, value):
#         self._statusDatetime = self.value_to_time(value)


# Path: messagebird/lookup.py
from messagebird.base import Base
from messagebird.formats import Formats
from messagebird.hlr import HLR



class Lookup(Base):
    def __init__(self):
        self.href = None
        self.countryCode = None
        self.countryPrefix = None
        self.phoneNumber = None
        self.type = None
        self._formats = None
        self._hlr = None

    def __str__(self):

        return str(self.__class__) + ": " + str(self.__dict__)