Ë
    Ö—Äj¤   ã                  ó–   — d dl mZ d dlmZ d dlmZmZ d dlmZ d dlZ	d dl
Z	d dlmZmZmZmZmZ erd dlmZ d dl
mZ  G d	„ d
e«      Zy)é    )Úannotations)Údatetime)ÚTYPE_CHECKINGÚAny)Ú
deprecatedN)Ú	AttributeÚNonCompletableGithubObjectÚNotSetÚ
is_definedÚis_undefined)ÚEnterpriseConsumedLicenses)Ú	Requesterc                  ó6  — 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 e
d«      dd„«       «       Zedd	„«       Zedd
„«       Zedd„«       Ze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œdd„Zdd„Zy)Ú
Enterprisezí
    This class represents Enterprises.

    The reference can be found here
    https://docs.github.com/en/enterprise-cloud@latest/rest/enterprise-admin

    The OpenAPI schema can be found at

    - /components/schemas/enterprise

    c                óö   — t         | _        t         | _        t         | _        t         | _        t         | _        t         | _        t         | _        t         | _        t         | _	        t         | _
        t         | _        y ©N)r
   Ú_avatar_urlÚ_created_atÚ_descriptionÚ	_html_urlÚ_idÚ_nameÚ_node_idÚ_slugÚ_updated_atÚ_urlÚ_website_url©Úselfs    úVC:\Users\pivot\Documents\cueki\casual-preloader\Lib\site-packages\github/Enterprise.pyÚ_initAttributeszEnterprise._initAttributesG   sT   € Ü+1ˆÔÜ06ˆÔÜ,2ˆÔÜ)/ˆŒÜ#)ˆŒÜ%+ˆŒ
Ü(.ˆŒÜ%+ˆŒ
Ü06ˆÔÜ$*ˆŒ	Ü,2ˆÕó    c                óP   — | j                  d| j                  j                  i«      S ©NÚslug)Úget__repr__r   Úvaluer   s    r    Ú__repr__zEnterprise.__repr__T   s"   € Ø×Ñ ¨¯©×)9Ñ)9Ð :Ó;Ð;r"   c                ó.   — | j                   j                  S r   )r   r'   r   s    r    Ú
avatar_urlzEnterprise.avatar_urlW   ó   € à×Ñ×%Ñ%Ð%r"   c                ó.   — | j                   j                  S r   )r   r'   r   s    r    Ú
created_atzEnterprise.created_at[   r+   r"   c                ó.   — | j                   j                  S r   )r   r'   r   s    r    ÚdescriptionzEnterprise.description_   ó   € à× Ñ ×&Ñ&Ð&r"   zUse slug insteadc                ó.   — | j                   j                  S r   ©r   r'   r   s    r    Ú
enterprisezEnterprise.enterprisec   s   € ð �z‰z×ÑÐr"   c                ó.   — | j                   j                  S r   )r   r'   r   s    r    Úhtml_urlzEnterprise.html_urli   s   € à�~‰~×#Ñ#Ð#r"   c                ó.   — | j                   j                  S r   )r   r'   r   s    r    ÚidzEnterprise.idm   s   € à�x‰x�~‰~Ðr"   c                ó.   — | j                   j                  S r   )r   r'   r   s    r    ÚnamezEnterprise.nameq   ó   € à�z‰z×ÑÐr"   c                ó.   — | j                   j                  S r   )r   r'   r   s    r    Únode_idzEnterprise.node_idu   s   € à�}‰}×"Ñ"Ð"r"   c                ó.   — | j                   j                  S r   r2   r   s    r    r%   zEnterprise.slugy   r:   r"   c                ó.   — | j                   j                  S r   )r   r'   r   s    r    Ú
updated_atzEnterprise.updated_at}   r+   r"   c                óÈ   — t        | j                  «      r8t        | j                  «      r#| j	                  d| j
                  › �«      | _        | j                  j                  S )Nz/enterprises/)r   r   r   r   Ú_makeStringAttributer%   r'   r   s    r    ÚurlzEnterprise.url�   sD   € ä˜Ÿ	™	Ô"¤z°$·*±*Ô'=Ø×1Ñ1°MÀ$Ç)Á)ÀÐ2MÓNˆDŒIØ�y‰y�‰Ðr"   c                ó.   — | j                   j                  S r   )r   r'   r   s    r    Úwebsite_urlzEnterprise.website_url‡   r0   r"   c                óH   — t         j                  j                  | i d|i«      S r$   )Úgithubr   )Ú	requesterr%   s     r    Ú	from_slugzEnterprise.from_slug‹   s!   € ä× Ñ ×+Ñ+¨I°r¸FÀD¸>ÓJÐJr"   N)Úlicence_users_per_pagec               ót   — t         j                  j                  | j                  | j                  dz   |¬«      S )a‡  
        :calls: `GET /enterprises/{enterprise}/consumed-licenses <https://docs.github.com/en/enterprise-cloud@latest/rest/enterprise-admin/license#list-enterprise-consumed-licenses>`_
        :param licence_users_per_page: int Number of users retrieved with the licences. Iterating over users property will fetch pages of this size. The default page size is 30, the maximum is 100.
        z/consumed-licenses)rB   Úper_page)rF   r   Ú
_requesterrB   )r   rI   s     r    Úget_consumed_licensesz Enterprise.get_consumed_licenses�   s9   € ô ×0Ñ0×KÑKØ�O‰O §¡Ð,@Ñ!@ÐKað Ló 
ð 	
r"   c                ó„  — 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	   «      | _        d
|v r| j                  |d
   «      | _        d|v r| j                  |d   «      | _        y y )Nr*   r-   r/   r5   r7   r9   r<   r%   r?   rB   rD   )rA   r   Ú_makeDatetimeAttributer   r   r   Ú_makeIntAttributer   r   r   r   r   r   r   )r   Ú
attributess     r    Ú_useAttributeszEnterprise._useAttributes™   sa  € Ø˜:Ñ%Ø#×8Ñ8¸ÀLÑ9QÓRˆDÔØ˜:Ñ%Ø#×:Ñ:¸:ÀlÑ;SÓTˆDÔØ˜JÑ&Ø $× 9Ñ 9¸*À]Ñ:SÓ TˆDÔØ˜Ñ#Ø!×6Ñ6°zÀ*Ñ7MÓNˆDŒNØ�:ÑØ×-Ñ-¨j¸Ñ.>Ó?ˆDŒHØ�ZÑØ×2Ñ2°:¸fÑ3EÓFˆDŒJØ˜
Ñ"Ø ×5Ñ5°jÀÑ6KÓLˆDŒMØ�ZÑØ×2Ñ2°:¸fÑ3EÓFˆDŒJØ˜:Ñ%Ø#×:Ñ:¸:ÀlÑ;SÓTˆDÔØ�JÑØ×1Ñ1°*¸UÑ2CÓDˆDŒIØ˜JÑ&Ø $× 9Ñ 9¸*À]Ñ:SÓ TˆDÕð 'r"   )ÚreturnÚNone)rS   Ústr)rS   r   )rS   Úint)rG   r   r%   rU   rS   r   )rI   z
int | NonerS   r   )rQ   zdict[str, Any]rS   rT   )Ú__name__Ú
__module__Ú__qualname__Ú__doc__r!   r(   Úpropertyr*   r-   r/   r   r3   r5   r7   r9   r<   r%   r?   rB   rD   ÚstaticmethodrH   rM   rR   © r"   r    r   r   :   s7  „ ñ
ó3ó<ð ò&ó ð&ð ò&ó ð&ð ò'ó ð'ð ÙÐ"Ó#ò ó $ó ð ð ò$ó ð$ð òó ðð ò ó ð ð ò#ó ð#ð ò ó ð ð ò&ó ð&ð òó ðð
 ò'ó ð'ð òKó ðKð MQõ 
ôUr"   r   )Ú
__future__r   r   Útypingr   r   Útyping_extensionsr   Ú!github.EnterpriseConsumedLicensesrF   Úgithub.RequesterÚgithub.GithubObjectr   r	   r
   r   r   r   r   r   r]   r"   r    Ú<module>rd      s:   ðõT #å ß %å (ã (Û ß gÕ gáÝLÝ*ôuUÐ+õ uUr"   