
    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 )AmpHtmlContentz.AMP HTML content to be included in your email.c                 P    d| _         t                      | _        |	|| _        dS dS )zCreate an AMP HTML Content with the specified MIME type and content.

        :param content: The AMP HTML content.
        :type content: string
        N)_contentr   
_validatorcontentselfr
   s     Y/var/www/html/what/lib/python3.11/site-packages/sendgrid/helpers/mail/amp_html_content.py__init__zAmpHtmlContent.__init__   s1     (**"DLLL     c                     dS )zDThe MIME type for AMP HTML content.

        :rtype: string
        ztext/x-amp-html r   s    r   	mime_typezAmpHtmlContent.mime_type   s
     ! r   c                     | j         S )z=The actual AMP HTML content.

        :rtype: string
        )r   r   s    r   r
   zAmpHtmlContent.content   s     }r   c                 H    | j                             |           || _        dS )zuThe actual AMP HTML content.

        :param value: The actual AMP HTML content.
        :type value: string
        N)r	   validate_message_dictr   )r   values     r   r
   zAmpHtmlContent.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 AmpContent.

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