
    xhV	                     "     G d  de           ZdS )c                       e Zd ZdZ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
dS )FooterSettingsz?The default footer that you would like included on every email.Nc                 j    d| _         d| _        d| _        ||| _        ||| _        |	|| _        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
   s       X/var/www/html/what/lib/python3.11/site-packages/sendgrid/helpers/mail/footer_settings.py__init__zFooterSettings.__init__   sL     

 DKDIDIII     c                     | j         S )zGIndicates if this setting is enabled.

        :rtype: boolean
        r   r   s    r   r   zFooterSettings.enable   s     |r   c                     || _         dS )zIndicates if this setting is enabled.

        :param value: Indicates if this setting is enabled.
        :type value: boolean
        Nr   r   values     r   r   zFooterSettings.enable#   s     r   c                     | j         S )zGThe plain text content of your footer.

        :rtype: string
        r   r   s    r   r	   zFooterSettings.text,        zr   c                     || _         dS )zThe plain text content of your footer.

        :param value: The plain text content of your footer.
        :type value: string
        Nr   r   s     r   r	   zFooterSettings.text4        


r   c                     | j         S )zAThe HTML content of your footer.

        :rtype: string
        r   r   s    r   r
   zFooterSettings.html=   r   r   c                     || _         dS )z}The HTML content of your footer.

        :param value: The HTML content of your footer.
        :type value: string
        Nr   r   s     r   r
   zFooterSettings.htmlE   r   r   c                     i }| j         
| j         |d<   | j        | j                                        |d<   | j        | 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_settingss     r   r   zFooterSettings.getN   s[     ;"(,OH%9 &*immooOF#9 &*immooOF#r   )NNN)__name__
__module____qualname____doc__r   propertyr   setterr	   r
   r    r   r   r   r      s        II   .   X ]  ]   X 
[  [   X 
[  [    r   r   N)objectr   r&   r   r   <module>r(      sC   ] ] ] ] ]V ] ] ] ] ]r   