
    ,Of                    F    d dl mZ d dlmZ d dlmZmZmZ  G d de      Zy)    )annotations)Any)	AttributeNonCompletableGithubObjectNotSetc                      e Zd ZdZddZddZedd       Zedd       Zedd       Z	edd       Z
edd       Zdd	Zdd
Zy)SelfHostedActionsRunnerz
    This class represents Self-hosted GitHub Actions Runners.

    The reference can be found at
    https://docs.github.com/en/free-pro-team@latest/rest/reference/actions#self-hosted-runners

    c                    t         | _        t         | _        t         | _        t         | _        t         | _        t         | _        y N)r   _id_name_os_status_busy_labelsselfs    >lib/python3.12/site-packages/github/SelfHostedActionsRunner.py_initAttributesz'SelfHostedActionsRunner._initAttributes7   s,    #)%+
#)'-&,
>D    c                P    | j                  d| j                  j                  i      S )Nname)get__repr__r   valuer   s    r   __repr__z SelfHostedActionsRunner.__repr__?   s"    )9)9 :;;r   c                .    | j                   j                  S r   )r   r   r   s    r   idzSelfHostedActionsRunner.idB       xx~~r   c                .    | j                   j                  S r   )r   r   r   s    r   r   zSelfHostedActionsRunner.nameF       zzr   c                .    | j                   j                  S r   )r   r   r   s    r   oszSelfHostedActionsRunner.osJ   r   r   c                .    | j                   j                  S r   )r   r   r   s    r   statuszSelfHostedActionsRunner.statusN   s    ||!!!r   c                .    | j                   j                  S r   )r   r   r   s    r   busyzSelfHostedActionsRunner.busyR   r    r   c                .    | j                   j                  S r   )r   r   r   s    r   labelszSelfHostedActionsRunner.labelsV   s    ||!!!r   c                b   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(   )
_makeIntAttributer   _makeStringAttributer   r   r   _makeBoolAttributer   _makeListOfDictsAttributer   )r   
attributess     r   _useAttributesz&SelfHostedActionsRunner._useAttributesY   s    :--j.>?DHZ22:f3EFDJ:00D1ABDHz!44Z5IJDLZ00F1CDDJz!99*X:NODL "r   N)returnNone)r0   str)r0   int)r0   bool)r0   zlist[dict[str, int | str]])r.   zdict[str, Any]r0   r1   )__name__
__module____qualname____doc__r   r   propertyr   r   r"   r$   r&   r(   r/    r   r   r	   r	   .   s    E<         " "    "Pr   r	   N)	
__future__r   typingr   github.GithubObjectr   r   r   r	   r:   r   r   <module>r>      s#   N #  M M7P8 7Pr   