
    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 )
Sectionz5A block section of code to be used as a substitution.Nc                 J    d| _         d| _        ||| _        |	|| _        dS dS )zCreate a section with the given key and value.

        :param key: section of code key
        :type key: string
        :param value: section of code value
        :type value: string
        N)_key_valuekeyvalue)selfr   r   s      P/var/www/html/what/lib/python3.11/site-packages/sendgrid/helpers/mail/section.py__init__zSection.__init__   s7     	?DHDJJJ     c                     | j         S )z=A section of code's key.

        :rtype key: string
        r   r	   s    r
   r   zSection.key   s     yr   c                     || _         dS )zdA section of code's key.

        :param key: section of code key
        :type key: string
        Nr   r	   r   s     r
   r   zSection.key   s     			r   c                     | j         S )z;A section of code's value.

        :rtype: string
        r   r   s    r
   r   zSection.value%   s     {r   c                     || _         dS )zqA section of code's value.

        :param value: A section of code's value.
        :type value: string
        Nr   r   s     r
   r   zSection.value-   s     r   c                 D    i }| j         | j        | j        || j         <   |S )z
        Get a JSON-ready representation of this Section.

        :returns: This Section, ready for use in a request body.
        :rtype: dict
        )r   r   )r	   sections     r
   getzSection.get6   s+     8DJ$: $
GDHr   )NN)
__name__
__module____qualname____doc__r   propertyr   setterr   r    r   r
   r   r      s        ??       X 	Z  Z   X \  \
 
 
 
 
r   r   N)objectr   r   r   r
   <module>r       s9   ? ? ? ? ?f ? ? ? ? ?r   