
    #IiG                     ^    S SK rS SKrSSKJr   " S S\R
                  R                  5      rg)    N   )Constsc                   p    \ rS rSrSrS r\S 5       r\S 5       r\S 5       r	\S 5       r
S rS	 rS
 rSrg)Reaction   zv
This class represents Reactions. The reference can be found here https://docs.github.com/en/rest/reference/reactions
c                 z    U R                  U R                  R                  U R                  R                  S.5      $ )N)iduser)get__repr___idvalue_userselfs    5/venv/lib/python3.13/site-packages/github/Reaction.py__repr__Reaction.__repr__$   s*    txx~~tzz?O?O PQQ    c                 d    U R                  U R                  5        U R                  R                  $ )z
:type: string
)_completeIfNotSet_contentr   r   s    r   contentReaction.content'   s&    
 	t}}-}}"""r   c                 d    U R                  U R                  5        U R                  R                  $ )z
:type: datetime.datetime
)r   _created_atr   r   s    r   
created_atReaction.created_at/   s*    
 	t//0%%%r   c                 d    U R                  U R                  5        U R                  R                  $ )z
:type: integer
)r   r   r   r   s    r   r	   Reaction.id7   s$    
 	txx(xx~~r   c                 d    U R                  U R                  5        U R                  R                  $ )z,
:type: :class:`github.NamedUser.NamedUser`
)r   r   r   r   s    r   r
   Reaction.user?   s&    
 	tzz*zzr   c                     U R                   R                  SU R                  S5       SU R                   3S[        R
                  0S9  g)z
:calls: `DELETE /reactions/{id} <https://docs.github.com/en/rest/reference/reactions#delete-a-reaction-legacy>`_
:rtype: None
DELETE z/reactions/Accept)headersN)
_requesterrequestJsonAndCheck
_parentUrlr	   r   mediaTypeReactionsPreviewr   s    r   deleteReaction.deleteG   sH    
 	++r"#;twwi8v??@ 	, 	
r   c                     [         R                  R                  U l        [         R                  R                  U l        [         R                  R                  U l        [         R                  R                  U l        g )N)githubGithubObjectNotSetr   r   r   r   r   s    r   _initAttributesReaction._initAttributesR   sO    ++22!..55&&--((//
r   c                 0   SU;   a  U R                  US   5      U l        SU;   a  U R                  US   5      U l        SU;   a  U R	                  US   5      U l        SU;   a3  U R                  [        R                  R                  US   5      U l	        g g )Nr   r   r	   r
   )
_makeStringAttributer   _makeDatetimeAttributer   _makeIntAttributer   _makeClassAttributer.   	NamedUserr   )r   
attributess     r   _useAttributesReaction._useAttributesX   s    
" 55j6KLDM:%#:::l;STD:--j.>?DHZ11  **Jv,>DJ  r   )r   r   r   r   N)__name__
__module____qualname____firstlineno____doc__r   propertyr   r   r	   r
   r+   r1   r:   __static_attributes__ r   r   r   r      sl    R # # & &      	
0
r   r   )github.GithubObjectr.   github.NamedUserr$   r   r/   CompletableGithubObjectr   rC   r   r   <module>rG      s*   2   Cv"":: Cr   