ó
ŗ9^c           @   s   d  e  f d     YZ d S(   t   Categoryc           B   sD   e  Z d  Z d d  Z e d    Z e j d    Z d   Z RS(   s!   A category name for this message.c         C   s%   d |  _ | d k	 r! | |  _ n  d S(   sp   Create a Category.

        :param name: The name of this category
        :type name: string, optional
        N(   t   Nonet   _namet   name(   t   selfR   (    (    s@   /tmp/pip-unpacked-wheel-v7av_c/sendgrid/helpers/mail/category.pyt   __init__   s    	c         C   s   |  j  S(   s]   The name of this Category. Must be less than 255 characters.

        :rtype: string
        (   R   (   R   (    (    s@   /tmp/pip-unpacked-wheel-v7av_c/sendgrid/helpers/mail/category.pyR      s    c         C   s   | |  _  d S(   sĖ   The name of this Category. Must be less than 255 characters.

        :param value: The name of this Category. Must be less than 255
                      characters.
        :type value: string
        N(   R   (   R   t   value(    (    s@   /tmp/pip-unpacked-wheel-v7av_c/sendgrid/helpers/mail/category.pyR      s    c         C   s   |  j  S(   s   
        Get a JSON-ready representation of this Category.

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