o
    wÔ+fV	  ã                   @   s   G d d„ de ƒZdS )c                   @   sp   e Zd ZdZddd„Zedd„ ƒZejdd„ ƒZedd	„ ƒZejd
d	„ ƒZedd„ ƒZ	e	jdd„ ƒZ	dd„ Z
dS )ÚFooterSettingsz?The default footer that you would like included on every email.Nc                 C   sD   d| _ d| _d| _|dur|| _|dur|| _|dur || _dS dS )a<  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)Ú_enableÚ_textÚ_htmlÚenableÚtextÚhtml)Úselfr   r   r   © r	   úX/var/www/html/venv/lib/python3.10/site-packages/sendgrid/helpers/mail/footer_settings.pyÚ__init__   s   

ÿzFooterSettings.__init__c                 C   ó   | j S )zGIndicates if this setting is enabled.

        :rtype: boolean
        ©r   ©r   r	   r	   r
   r      ó   zFooterSettings.enablec                 C   ó
   || _ dS )zˆIndicates if this setting is enabled.

        :param value: Indicates if this setting is enabled.
        :type value: boolean
        Nr   ©r   Úvaluer	   r	   r
   r   #   ó   
c                 C   r   )zGThe plain text content of your footer.

        :rtype: string
        ©r   r   r	   r	   r
   r   ,   r   zFooterSettings.textc                 C   r   )z‰The plain text content of your footer.

        :param value: The plain text content of your footer.
        :type value: string
        Nr   r   r	   r	   r
   r   4   r   c                 C   r   )zAThe HTML content of your footer.

        :rtype: string
        ©r   r   r	   r	   r
   r   =   r   zFooterSettings.htmlc                 C   r   )z}The HTML content of your footer.

        :param value: The HTML content of your footer.
        :type value: string
        Nr   r   r	   r	   r
   r   E   r   c                 C   sL   i }| j dur| j |d< | jdur| j ¡ |d< | jdur$| j ¡ |d< |S )z§
        Get a JSON-ready representation of this FooterSettings.

        :returns: This FooterSettings, ready for use in a request body.
        :rtype: dict
        Nr   r   r   )r   r   Úgetr   )r   Úfooter_settingsr	   r	   r
   r   N   s   



zFooterSettings.get)NNN)Ú__name__Ú
__module__Ú__qualname__Ú__doc__r   Úpropertyr   Úsetterr   r   r   r	   r	   r	   r
   r      s     






r   N)Úobjectr   r	   r	   r	   r
   Ú<module>   s    