o
    wÔ+fœ  ã                   @   s   G d d„ de ƒZdS )c                   @   s<   e Zd ZdZd
dd„Zedd„ ƒZejdd„ ƒZdd	„ ZdS )ÚBypassSpamManagementaK  Setting for Bypass Spam Management

    Allows you to bypass the spam report list to ensure that the email is delivered to recipients.
    Bounce and unsubscribe lists will still be checked; addresses on these other lists will not
    receive the message. This filter cannot be combined with the bypass_list_management filter.
    Nc                 C   s   d| _ |dur|| _dS dS )z•Create a BypassSpamManagement.

        :param enable: Whether emails should bypass spam management.
        :type enable: boolean, optional
        N)Ú_enableÚenable)Úselfr   © r   ú_/var/www/html/venv/lib/python3.10/site-packages/sendgrid/helpers/mail/bypass_spam_management.pyÚ__init__	   s   
ÿzBypassSpamManagement.__init__c                 C   s   | j S )zGIndicates if this setting is enabled.

        :rtype: boolean
        ©r   )r   r   r   r   r      s   zBypassSpamManagement.enablec                 C   s
   || _ 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      s   
c                 C   s   i }| j dur| j |d< |S )z³
        Get a JSON-ready representation of this BypassSpamManagement.

        :returns: This BypassSpamManagement, ready for use in a request body.
        :rtype: dict
        Nr   )r   )r   Úbypass_spam_managementr   r   r   Úget%   s   

zBypassSpamManagement.get)N)	Ú__name__Ú
__module__Ú__qualname__Ú__doc__r   Úpropertyr   Úsetterr   r   r   r   r   r      s    


r   N)Úobjectr   r   r   r   r   Ú<module>   s    