o
    wÔ+f‰  ã                   @   s   G d d„ de ƒZdS )c                   @   sV   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dd„ Z	dS )ÚBccSettingsz¬Settings object for automatic BCC.

    This allows you to have a blind carbon copy automatically sent to the
    specified email address for every email that is sent.
    Nc                 C   s0   d| _ d| _|dur|| _|dur|| _dS dS )zìCreate a BCCSettings.

        :param enable: Whether this BCCSettings is applied to sent emails.
        :type enable: boolean, optional
        :param email: Who should be BCCed.
        :type email: BccSettingEmail, optional
        N)Ú_enableÚ_emailÚenableÚemail)Úselfr   r   © r   úU/var/www/html/venv/lib/python3.10/site-packages/sendgrid/helpers/mail/bcc_settings.pyÚ__init__   s   
ÿzBccSettings.__init__c                 C   ó   | j S )zGIndicates if this setting is enabled.

        :rtype: boolean
        ©r   ©r   r   r   r   r      ó   zBccSettings.enablec                 C   ó
   || _ dS )z‡Indicates if this setting is enabled.

        :type param: Indicates if this setting is enabled.
        :type value: boolean
        Nr   ©r   Úvaluer   r   r   r   !   ó   
c                 C   r
   )zZThe email address that you would like to receive the BCC.

        :rtype: string
        ©r   r   r   r   r   r   *   r   zBccSettings.emailc                 C   r   )z¯The email address that you would like to receive the BCC.

        :param value: The email address that you would like to receive the BCC.
        :type value: string
        Nr   r   r   r   r   r   2   r   c                 C   s4   i }| j dur| j |d< | jdur| j ¡ |d< |S )z¡
        Get a JSON-ready representation of this BCCSettings.

        :returns: This BCCSettings, ready for use in a request body.
        :rtype: dict
        Nr   r   )r   r   Úget)r   Úbcc_settingsr   r   r   r   ;   s   


zBccSettings.get)NN)
Ú__name__Ú
__module__Ú__qualname__Ú__doc__r	   Úpropertyr   Úsetterr   r   r   r   r   r   r      s    




r   N)Úobjectr   r   r   r   r   Ú<module>   s    