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 )ÚBypassBounceManagementaN  Setting for Bypass Bounce Management


    Allows you to bypass the bounce list to ensure that the email is delivered to recipients.
    Spam report 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 BypassBounceManagement.

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

        :rtype: boolean
        ©r   )r   r   r   r   r      s   zBypassBounceManagement.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 BypassBounceManagement.

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