
    xh                     "     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d Z	dS )
BccSettingszSettings 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                 J    d| _         d| _        ||| _        |	|| _        dS dS )zCreate 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   s      U/var/www/html/what/lib/python3.11/site-packages/sendgrid/helpers/mail/bcc_settings.py__init__zBccSettings.__init__   s8      DKDJJJ     c                     | j         S )zGIndicates if this setting is enabled.

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

        :type param: Indicates if this setting is enabled.
        :type value: boolean
        Nr   r	   values     r
   r   zBccSettings.enable!   s     r   c                     | j         S )zZThe email address that you would like to receive the BCC.

        :rtype: string
        r   r   s    r
   r   zBccSettings.email*   s     {r   c                     || _         dS )zThe 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   s     r
   r   zBccSettings.email2   s     r   c                 r    i }| j         
| j         |d<   | j        | 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_settingss     r
   r   zBccSettings.get;   sA     ;"%)[L":!$(JNN$4$4L!r   )NN)
__name__
__module____qualname____doc__r   propertyr   setterr   r    r   r
   r   r      s            "   X ]  ]   X \  \    r   r   N)objectr   r   r   r
   <module>r!      sC   G G G G G& G G G G Gr   