Ë
    ×—Äjî  ã                  ób   — d dl mZ d dlmZmZ d dlZd dlmZm	Z	m
Z
 erd dlmZ  G d„ de	«      Zy)é    )Úannotations)ÚTYPE_CHECKINGÚAnyN)Ú	AttributeÚNonCompletableGithubObjectÚNotSet)ÚTrafficc                  ó^   — e Zd ZdZd	d„Zd
d„Zedd„«       Zedd„«       Zedd„«       Z	dd„Z
y)ÚViewa)  
    This class represents the total number of views and breakdown per day or week for a GitHub repository.

    The reference can be found here
    https://docs.github.com/en/rest/metrics/traffic#get-page-views

    The OpenAPI schema can be found at

    - /components/schemas/view-traffic

    c                óF   — t         | _        t         | _        t         | _        y ©N)r   Ú_countÚ_uniquesÚ_views©Úselfs    úPC:\Users\pivot\Documents\cueki\casual-preloader\Lib\site-packages\github/View.pyÚ_initAttributeszView._initAttributesA   s   € Ü&,ˆŒÜ(.ˆŒÜ06ˆ�ó    c                óz   — | j                  | j                  j                  | j                  j                  dœ«      S )N)ÚcountÚuniques)Úget__repr__r   Úvaluer   r   s    r   Ú__repr__zView.__repr__F   s4   € Ø×ÑàŸ™×*Ñ*ØŸ=™=×.Ñ.ñó
ð 	
r   c                ó.   — | j                   j                  S r   )r   r   r   s    r   r   z
View.countN   ó   € à�{‰{× Ñ Ð r   c                ó.   — | j                   j                  S r   )r   r   r   s    r   r   zView.uniquesR   s   € à�}‰}×"Ñ"Ð"r   c                ó.   — | j                   j                  S r   )r   r   r   s    r   Úviewsz
View.viewsV   r   r   c                óæ   — d|v r| j                  |d   «      | _        d|v r| j                  |d   «      | _        d|v r3| j                  t        j
                  j
                  |d   «      | _        y y )Nr   r   r    )Ú_makeIntAttributer   r   Ú_makeListOfClassesAttributeÚgithubr	   r   )r   Ú
attributess     r   Ú_useAttributeszView._useAttributesZ   sr   € Ø�jÑ Ø×0Ñ0°¸GÑ1DÓEˆDŒKØ˜
Ñ"Ø ×2Ñ2°:¸iÑ3HÓIˆDŒMØ�jÑ Ø×:Ñ:¼6¿>¹>×;QÑ;QÐS]Ð^eÑSfÓgˆD�Kð !r   N)ÚreturnÚNone)r'   Ústr)r'   Úint)r'   zlist[Traffic])r%   zdict[str, Any]r'   r(   )Ú__name__Ú
__module__Ú__qualname__Ú__doc__r   r   Úpropertyr   r   r    r&   © r   r   r   r   4   sS   „ ñ
ó7ó

ð ò!ó ð!ð ò#ó ð#ð ò!ó ð!ôhr   r   )Ú
__future__r   Útypingr   r   Úgithub.Trafficr$   Úgithub.GithubObjectr   r   r   r	   r   r0   r   r   Ú<module>r5      s,   ðõR #ç %ã ß MÑ MáÝ&ô,hÐ%õ ,hr   