
    xh                     "     G d  de           ZdS )c                   V    e Zd ZdZddZed             Zej        d             Zd ZdS )SandBoxModezSetting for sandbox mode.
    This allows you to send a test email to ensure that your request body is
    valid and formatted correctly.
    Nc                 *    d| _         |	|| _        dS dS )zCreate an enabled or disabled SandBoxMode.

        :param enable: Whether this is a test request.
        :type enable: boolean, optional
        N)_enableenable)selfr   s     U/var/www/html/what/lib/python3.11/site-packages/sendgrid/helpers/mail/sandbox_mode.py__init__zSandBoxMode.__init__   s$      DKKK     c                     | j         S )zGIndicates if this setting is enabled.

        :rtype: boolean
        r   )r   s    r   r   zSandBoxMode.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SandBoxMode.enable   s     r
   c                 ,    i }| j         
| j         |d<   |S )z
        Get a JSON-ready representation of this SandBoxMode.

        :returns: This SandBoxMode, ready for use in a request body.
        :rtype: dict
        Nr   )r   )r   sandbox_modes     r   getzSandBoxMode.get"   s#     ;"%)[L"r
   )N)	__name__
__module____qualname____doc__r	   propertyr   setterr    r
   r   r   r      sy         	! 	! 	! 	!   X ]  ]
 
 
 
 
r
   r   N)objectr   r   r
   r   <module>r      s9   + + + + +& + + + + +r
   