# 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)


from messagebird.base import Base


class Recipient(Base):
    def __init__(self):
        self.recipient = None
        self.status = None
        self._statusDatetime = None

    @property
    def statusDatetime(self):
        return self._statusDatetime

    @statusDatetime.setter
    def statusDatetime(self, value):

# 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/recipient.py
from messagebird.base import Base



class Recipient(Base):
    def __init__(self):
        self.recipient = None
        self.status = None
        self._statusDatetime = None

    @property
    def statusDatetime(self):
        return self._statusDatetime

    @statusDatetime.setter
    def statusDatetime(self, value):

        self._statusDatetime = self.value_to_time(value)