
    ,Of=                     >    d dl mZmZ d dlmZmZmZ  G d de      Zy)    )AnyDict)	AttributeNonCompletableGithubObjectNotSetc                      e Zd ZdZddZdefdZedefd       Zede	fd       Z
ede	fd       Zedefd	       Zedefd
       Zedefd       Zede	fd       Zede	fd       Zedefd       Zdeeef   ddfdZy)CheckRunAnnotationz
    This class represents check run annotations.

    The reference can be found here: https://docs.github.com/en/rest/reference/checks#list-check-run-annotations

    returnNc                     t         | _        t         | _        t         | _        t         | _        t         | _        t         | _        t         | _        t         | _        t         | _	        y N)
r   _annotation_level_end_column	_end_line_message_path_raw_details_start_column_start_line_titleselfs    9lib/python3.12/site-packages/github/CheckRunAnnotation.py_initAttributesz"CheckRunAnnotation._initAttributes*   sF    17+1)/(.%+
,2-3+1&,    c                 P    | j                  d| j                  j                  i      S )Ntitle)get__repr__r   valuer   s    r   __repr__zCheckRunAnnotation.__repr__5   s"    $++*;*; <==r   c                 .    | j                   j                  S r   )r   r   r   s    r   annotation_levelz#CheckRunAnnotation.annotation_level8   s    %%+++r   c                 .    | j                   j                  S r   )r   r   r   s    r   
end_columnzCheckRunAnnotation.end_column<       %%%r   c                 .    | j                   j                  S r   )r   r   r   s    r   end_linezCheckRunAnnotation.end_line@   s    ~~###r   c                 .    | j                   j                  S r   )r   r   r   s    r   messagezCheckRunAnnotation.messageD   s    }}"""r   c                 .    | j                   j                  S r   )r   r   r   s    r   pathzCheckRunAnnotation.pathH   s    zzr   c                 .    | j                   j                  S r   )r   r   r   s    r   raw_detailszCheckRunAnnotation.raw_detailsL   s      &&&r   c                 .    | j                   j                  S r   )r   r   r   s    r   start_columnzCheckRunAnnotation.start_columnP   s    !!'''r   c                 .    | j                   j                  S r   )r   r   r   s    r   
start_linezCheckRunAnnotation.start_lineT   r$   r   c                 .    | j                   j                  S r   )r   r   r   s    r   r   zCheckRunAnnotation.titleX   s    {{   r   
attributesc                    d|v r| j                  |d         | _        d|v r| j                  |d         | _        d|v r| j                  |d         | _        d|v r| j                  |d         | _        d|v r| j                  |d         | _        d|v r| j                  |d         | _        d|v r| j                  |d         | _        d|v r| j                  |d         | _	        d	|v r| j                  |d	         | _
        y y )
Nr!   r#   r&   r(   r*   r,   r.   r0   r   )_makeStringAttributer   _makeIntAttributer   r   r   r   r   r   r   r   )r   r2   s     r   _useAttributesz!CheckRunAnnotation._useAttributes\   s$   +%)%>%>zJ\?]%^D":%#55j6NOD#!33Jz4JKDN
" 55j6KLDMZ22:f3EFDJJ& $ 9 9*]:S TDZ'!%!7!7
>8R!SD:%#55j6NODj 33Jw4GHDK !r   )r
   N)__name__
__module____qualname____doc__r   strr   propertyr!   intr#   r&   r(   r*   r,   r.   r0   r   r   r   r6    r   r   r	   r	   "   s)   	-># > ,# , , &C & & $# $ $ # # #  c     'S ' ' (c ( ( &C & & !s ! !Ic3h ID Ir   r	   N)typingr   r   github.GithubObjectr   r   r   r	   r>   r   r   <module>rA      s!   :  M MLI3 LIr   