
    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 )
ClickTrackingzEAllows you to track whether a recipient clicked a link in your email.Nc                 J    d| _         d| _        ||| _        |	|| _        dS dS )a$  Create a ClickTracking to track clicked links in your email.

        :param enable: Whether click tracking is enabled
        :type enable: boolean, optional
        :param enable_text: If click tracking is on in your email's text/plain.
        :type enable_text: boolean, optional
        N)_enable_enable_textenableenable_text)selfr   r   s      W/var/www/html/what/lib/python3.11/site-packages/sendgrid/helpers/mail/click_tracking.py__init__zClickTracking.__init__   s<       DK"*D #"    c                     | j         S )zGIndicates if this setting is enabled.

        :rtype: boolean
        r   r	   s    r
   r   zClickTracking.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ClickTracking.enable   s     r   c                     | j         S )zIndicates if this setting should be included in the text/plain
        portion of your email.

        :rtype: boolean
        r   r   s    r
   r   zClickTracking.enable_text&   s       r   c                     || _         dS )zIndicates if this setting should be included in the text/plain
        portion of your email.

        :param value: Indicates if this setting should be included in the
        text/plain portion of your email.
        :type value: boolean
        Nr   r   s     r
   r   zClickTracking.enable_text/   s     "r   c                 N    i }| j         
| j         |d<   | j        
| j        |d<   |S )z
        Get a JSON-ready representation of this ClickTracking.

        :returns: This ClickTracking, ready for use in a request body.
        :rtype: dict
        Nr   r   )r   r   )r	   click_trackings     r
   getzClickTracking.get:   s9     ;"'+{N8$',0,<N=)r   )NN)
__name__
__module____qualname____doc__r   propertyr   setterr   r    r   r
   r   r      s        OO+ + + +"   X ]  ] ! ! X! " " "    r   r   N)objectr   r   r   r
   <module>r!      sC   F F F F FF F F F F Fr   