ó
ş9^c           @   s   d  e  f d     YZ d S(   t   Dispositionc           B   sD   e  Z d  Z d d  Z e d    Z e j d    Z d   Z RS(   sk   The content-disposition of the Attachment specifying how you would like
    the attachment to be displayed.c         C   s%   d |  _ | d k	 r! | |  _ n  d S(   s"  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(   t   Nonet   _dispositiont   disposition(   t   selfR   (    (    sC   /tmp/pip-unpacked-wheel-v7av_c/sendgrid/helpers/mail/disposition.pyt   __init__   s    	c         C   s   |  j  S(   s  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   (    (    sC   /tmp/pip-unpacked-wheel-v7av_c/sendgrid/helpers/mail/disposition.pyR      s    c         C   s   | |  _  d S(   s!  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
        N(   R   (   R   t   value(    (    sC   /tmp/pip-unpacked-wheel-v7av_c/sendgrid/helpers/mail/disposition.pyR   )   s    c         C   s   |  j  S(   sŁ   
        Get a JSON-ready representation of this Disposition.

        :returns: This Disposition, ready for use in a request body.
        :rtype: string
        (   R   (   R   (    (    sC   /tmp/pip-unpacked-wheel-v7av_c/sendgrid/helpers/mail/disposition.pyt   getA   s    N(	   t   __name__t
   __module__t   __doc__R   R   t   propertyR   t   setterR   (    (    (    sC   /tmp/pip-unpacked-wheel-v7av_c/sendgrid/helpers/mail/disposition.pyR       s
   N(   t   objectR    (    (    (    sC   /tmp/pip-unpacked-wheel-v7av_c/sendgrid/helpers/mail/disposition.pyt   <module>   t    