
    xh                     :    d dl mZ d dlmZ  G d de          ZdS )   )Content)ValidateApiKeyc                   j    e Zd ZdZd Zed             Zed             Zej        d             Zd Z	dS )PlainTextContentz5Plain text content to be included in your email.
    c                 P    d| _         t                      | _        |	|| _        dS dS )zCreate a PlainTextContent with the specified MIME type and content.

        :param content: The actual text content.
        :type content: string
        N)_contentr   
_validatorcontentselfr
   s     [/var/www/html/what/lib/python3.11/site-packages/sendgrid/helpers/mail/plain_text_content.py__init__zPlainTextContent.__init__	   s1     (**"DLLL     c                     dS )z/The MIME type.

        :rtype: string
        z
text/plain r   s    r   	mime_typezPlainTextContent.mime_type   s	     |r   c                     | j         S )z9The actual text content.

        :rtype: string
        )r   r   s    r   r
   zPlainTextContent.content   s     }r   c                 H    | j                             |           || _        dS )zmThe actual text content.

        :param value: The actual text content.
        :type value: string
        N)r	   validate_message_dictr   )r   values     r   r
   zPlainTextContent.content%   s%     	--e444r   c                 N    i }| j         
| j         |d<   | j        
| j        |d<   |S )z
        Get a JSON-ready representation of this PlainTextContent.

        :returns: This PlainTextContent, ready for use in a request body.
        :rtype: dict
        Ntyper   )r   r
   r   s     r   getzPlainTextContent.get/   s5     >%"nGFO<##|GGr   N)
__name__
__module____qualname____doc__r   propertyr   r
   setterr   r   r   r   r   r      s         
# 
# 
#   X   X ^  ^    r   r   N)r
   r   
validatorsr   r   r   r   r   <module>r"      s]          & & & & & &7 7 7 7 7w 7 7 7 7 7r   