ó
º9—^c           @   s   d  e  f d „  ƒ  YZ d S(   t   FooterSettingsc           B   sŒ   e  Z d  Z d	 d	 d	 d „ Z e d „  ƒ Z e j d „  ƒ Z e d „  ƒ Z e j d „  ƒ Z e d „  ƒ Z	 e	 j d „  ƒ Z	 d „  Z
 RS(
   s?   The default footer that you would like included on every email.c         C   sg   d |  _ d |  _ d |  _ | d k	 r3 | |  _ n  | d k	 rK | |  _ n  | d k	 rc | |  _ n  d S(   s<  Create a default footer.

        :param enable: Whether this footer should be applied.
        :type enable: boolean, optional
        :param text: Text content of this footer
        :type text: FooterText, optional
        :param html: HTML content of this footer
        :type html: FooterHtml, optional
        N(   t   Nonet   _enablet   _textt   _htmlt   enablet   textt   html(   t   selfR   R   R   (    (    sG   /tmp/pip-unpacked-wheel-v7av_c/sendgrid/helpers/mail/footer_settings.pyt   __init__   s    
			c         C   s   |  j  S(   sG   Indicates if this setting is enabled.

        :rtype: boolean
        (   R   (   R   (    (    sG   /tmp/pip-unpacked-wheel-v7av_c/sendgrid/helpers/mail/footer_settings.pyR      s    c         C   s   | |  _  d S(   sˆ   Indicates if this setting is enabled.

        :param value: Indicates if this setting is enabled.
        :type value: boolean
        N(   R   (   R   t   value(    (    sG   /tmp/pip-unpacked-wheel-v7av_c/sendgrid/helpers/mail/footer_settings.pyR   #   s    c         C   s   |  j  S(   sG   The plain text content of your footer.

        :rtype: string
        (   R   (   R   (    (    sG   /tmp/pip-unpacked-wheel-v7av_c/sendgrid/helpers/mail/footer_settings.pyR   ,   s    c         C   s   | |  _  d S(   s‰   The plain text content of your footer.

        :param value: The plain text content of your footer.
        :type value: string
        N(   R   (   R   R
   (    (    sG   /tmp/pip-unpacked-wheel-v7av_c/sendgrid/helpers/mail/footer_settings.pyR   4   s    c         C   s   |  j  S(   sA   The HTML content of your footer.

        :rtype: string
        (   R   (   R   (    (    sG   /tmp/pip-unpacked-wheel-v7av_c/sendgrid/helpers/mail/footer_settings.pyR   =   s    c         C   s   | |  _  d S(   s}   The HTML content of your footer.

        :param value: The HTML content of your footer.
        :type value: string
        N(   R   (   R   R
   (    (    sG   /tmp/pip-unpacked-wheel-v7av_c/sendgrid/helpers/mail/footer_settings.pyR   E   s    c         C   ss   i  } |  j  d k	 r% |  j  | d <n  |  j d k	 rJ |  j j ƒ  | d <n  |  j d k	 ro |  j j ƒ  | d <n  | S(   s§   
        Get a JSON-ready representation of this FooterSettings.

        :returns: This FooterSettings, ready for use in a request body.
        :rtype: dict
        R   R   R   N(   R   R   R   t   getR   (   R   t   footer_settings(    (    sG   /tmp/pip-unpacked-wheel-v7av_c/sendgrid/helpers/mail/footer_settings.pyR   N   s    N(   t   __name__t
   __module__t   __doc__R   R	   t   propertyR   t   setterR   R   R   (    (    (    sG   /tmp/pip-unpacked-wheel-v7av_c/sendgrid/helpers/mail/footer_settings.pyR       s   			N(   t   objectR    (    (    (    sG   /tmp/pip-unpacked-wheel-v7av_c/sendgrid/helpers/mail/footer_settings.pyt   <module>   t    