from datetime import datetime
from infobip.util.models import DefaultObject, serializable
from infobip.util.TimeUnit import TimeUnit


class EmailData(DefaultObject):
    @property
    @serializable(name="subject", type='basestring')
    def subject(self):
        """
        Property is of type: 'basestring'
        """
        return self.get_field_value("subject")

    @subject.setter