# 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/contact.py
# class CustomDetails(Base):
# 
#     def __init__(self):
#         self.custom1 = None
#         self.custom2 = None
#         self.custom3 = None
#         self.custom4 = None


from messagebird.base import Base
from messagebird.contact import CustomDetails


class ConversationContact(Base):

    def __init__(self):
        self.id = None
        self.href = None
        self.msisdn = None
        self.firstName = None
        self.lastName = None
        self._customDetails = None
        self._createdDatetime = None
        self._updatedDatetime = None

    @property
    def customDetails(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/contact.py
# class CustomDetails(Base):
# 
#     def __init__(self):
#         self.custom1 = None
#         self.custom2 = None
#         self.custom3 = None
#         self.custom4 = None


# Path: messagebird/conversation_contact.py
from messagebird.base import Base
from messagebird.contact import CustomDetails



class ConversationContact(Base):

    def __init__(self):
        self.id = None
        self.href = None
        self.msisdn = None
        self.firstName = None
        self.lastName = None
        self._customDetails = None
        self._createdDatetime = None
        self._updatedDatetime = None

    @property
    def customDetails(self):

        return self._customDetails