o
    wÔ+f3  ã                   @   s   G d d„ de ƒZdS )c                   @   s<   e Zd ZdZd
dd„Zedd„ ƒZejdd„ ƒZdd	„ ZdS )ÚDispositionzkThe content-disposition of the Attachment specifying how you would like
    the attachment to be displayed.Nc                 C   s   d| _ |dur|| _dS dS )a"  Create a Disposition object

        :param disposition: The content-disposition of the attachment,
                            specifying display style.
                            Specifies how you would like the attachment to be
                            displayed.
                            - "inline" results in the attached file being
                              displayed automatically within the message.
                            - "attachment" results in the attached file
                              requiring some action to display (e.g. opening
                              or downloading the file).
                            If unspecified, "attachment" is used. Must be one
                            of the two choices.
        :type disposition: string, optional
        N)Ú_dispositionÚdisposition)Úselfr   © r   úT/var/www/html/venv/lib/python3.10/site-packages/sendgrid/helpers/mail/disposition.pyÚ__init__   s   
ÿzDisposition.__init__c                 C   ó   | j S )a  The content-disposition of the attachment, specifying display style.
           Specifies how you would like the attachment to be displayed.
           - "inline" results in the attached file being displayed
             automatically within the message.
           - "attachment" results in the attached file requiring some action to
             display (e.g. opening or downloading the file).
           If unspecified, "attachment" is used. Must be one of the two
           choices.

        :rtype: string
        ©r   ©r   r   r   r   r      s   zDisposition.dispositionc                 C   s
   || _ dS )a!  The content-disposition of the attachment, specifying display style.
           Specifies how you would like the attachment to be displayed.
           - "inline" results in the attached file being displayed
             automatically within the message.
           - "attachment" results in the attached file requiring some action to
             display (e.g. opening or downloading the file).
           If unspecified, "attachment" is used. Must be one of the two
           choices.

        :param value: The content-disposition of the attachment, specifying
                      display style.
           Specifies how you would like the attachment to be displayed.
           - "inline" results in the attached file being displayed
             automatically within the message.
           - "attachment" results in the attached file requiring some action to
             display (e.g. opening or downloading the file).
           If unspecified, "attachment" is used. Must be one of the two
           choices.
        :type value: string
        Nr	   )r   Úvaluer   r   r   r   )   s   
c                 C   r   )z£
        Get a JSON-ready representation of this Disposition.

        :returns: This Disposition, ready for use in a request body.
        :rtype: string
        )r   r
   r   r   r   ÚgetA   s   zDisposition.get)N)	Ú__name__Ú
__module__Ú__qualname__Ú__doc__r   Úpropertyr   Úsetterr   r   r   r   r   r      s    


r   N)Úobjectr   r   r   r   r   Ú<module>   s    