
    #Ii,                     J    S SK r " S S\R                  R                  5      rg)    Nc                   p   \ rS rSrSrS r\S 5       r\S 5       r\S 5       r	\S 5       r
\S 5       r\S	 5       r\S
 5       r\S 5       r\S 5       r\S 5       r\S 5       r\S 5       r\S 5       r\S 5       r\S 5       r\S 5       r\S 5       r\S 5       r\S 5       r\S 5       rS rS rS rSrg)Download"   zr
This class represents Downloads. The reference can be found here https://docs.github.com/en/rest/reference/repos
c                 P    U R                  SU R                  R                  05      $ )Nid)get__repr___idvalueselfs    5/venv/lib/python3.13/site-packages/github/Download.py__repr__Download.__repr__'   s     txx~~ 677    c                 d    U R                  U R                  5        U R                  R                  $ z
:type: string
)_completeIfNotSet_accesskeyidr
   r   s    r   accesskeyidDownload.accesskeyid*   *    
 	t001  &&&r   c                 d    U R                  U R                  5        U R                  R                  $ r   )r   _aclr
   r   s    r   aclDownload.acl2   $    
 	tyy)yyr   c                 d    U R                  U R                  5        U R                  R                  $ r   )r   _bucketr
   r   s    r   bucketDownload.bucket:   &    
 	t||,||!!!r   c                 d    U R                  U R                  5        U R                  R                  $ r   )r   _content_typer
   r   s    r   content_typeDownload.content_typeB   s*    
 	t112!!'''r   c                 d    U R                  U R                  5        U R                  R                  $ z
:type: datetime.datetime
)r   _created_atr
   r   s    r   
created_atDownload.created_atJ   s*    
 	t//0%%%r   c                 d    U R                  U R                  5        U R                  R                  $ r   )r   _descriptionr
   r   s    r   descriptionDownload.descriptionR   r   r   c                 d    U R                  U R                  5        U R                  R                  $ z
:type: integer
)r   _download_countr
   r   s    r   download_countDownload.download_countZ   *    
 	t334##)))r   c                 d    U R                  U R                  5        U R                  R                  $ r'   )r   _expirationdater
   r   s    r   expirationdateDownload.expirationdateb   r4   r   c                 d    U R                  U R                  5        U R                  R                  $ r   )r   	_html_urlr
   r   s    r   html_urlDownload.html_urlj   &    
 	t~~.~~###r   c                 d    U R                  U R                  5        U R                  R                  $ r0   )r   r	   r
   r   s    r   r   Download.idr   s$    
 	txx(xx~~r   c                 d    U R                  U R                  5        U R                  R                  $ r   )r   
_mime_typer
   r   s    r   	mime_typeDownload.mime_typez   &    
 	t/$$$r   c                 d    U R                  U R                  5        U R                  R                  $ r   )r   _namer
   r   s    r   nameDownload.name   &    
 	tzz*zzr   c                 d    U R                  U R                  5        U R                  R                  $ r   )r   _pathr
   r   s    r   pathDownload.path   rI   r   c                 d    U R                  U R                  5        U R                  R                  $ r   )r   _policyr
   r   s    r   policyDownload.policy   r!   r   c                 d    U R                  U R                  5        U R                  R                  $ r   )r   _prefixr
   r   s    r   prefixDownload.prefix   r!   r   c                 d    U R                  U R                  5        U R                  R                  $ )z
:type: bool
)r   	_redirectr
   r   s    r   redirectDownload.redirect   r=   r   c                 d    U R                  U R                  5        U R                  R                  $ r   )r   _s3_urlr
   r   s    r   s3_urlDownload.s3_url   r!   r   c                 d    U R                  U R                  5        U R                  R                  $ r   )r   
_signaturer
   r   s    r   	signatureDownload.signature   rD   r   c                 d    U R                  U R                  5        U R                  R                  $ r0   )r   _sizer
   r   s    r   sizeDownload.size   rI   r   c                 d    U R                  U R                  5        U R                  R                  $ r   )r   _urlr
   r   s    r   urlDownload.url   r   r   c                 T    U R                   R                  SU R                  5      u  pg)zw
:calls: `DELETE /repos/{owner}/{repo}/downloads/{id} <https://docs.github.com/en/rest/reference/repos>`_
:rtype: None
DELETEN)
_requesterrequestJsonAndCheckrh   )r   headersdatas      r   deleteDownload.delete   s"    
 ;;HdhhOr   c                    [         R                  R                  U l        [         R                  R                  U l        [         R                  R                  U l        [         R                  R                  U l        [         R                  R                  U l        [         R                  R                  U l        [         R                  R                  U l	        [         R                  R                  U l
        [         R                  R                  U l        [         R                  R                  U l        [         R                  R                  U l        [         R                  R                  U l        [         R                  R                  U l        [         R                  R                  U l        [         R                  R                  U l        [         R                  R                  U l        [         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(   r,   r1   r6   r:   r	   rA   rF   rK   rO   rS   rW   r[   r_   rc   rg   r   s    r   _initAttributesDownload._initAttributes   s   "//66''..	**11#0077!..55"//66%2299%2299,,33&&-- --44((//
((//
**11**11,,33**11 --44((//
''..	r   c                    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;   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;   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;   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;   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;   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;   a  U R                  US   5      U l        SU;   a  U R                  US   5      U l        g g )Nr   r   r   r$   r)   r-   r2   r7   r;   r   rB   rG   rL   rP   rT   rX   r\   r`   rd   rh   )_makeStringAttributer   r   r   r#   _makeDatetimeAttributer(   r,   _makeIntAttributer1   r6   r:   r	   rA   rF   rK   rO   rS   _makeBoolAttributerW   r[   r_   rc   rg   )r   
attributess     r   _useAttributesDownload._useAttributes   s   J& $ 9 9=)!D J115!DI z!448$DL Z'!%!:!::n;U!VD:%#:::l;STDJ& $ 9 9*]:S TDz)#'#9#9*EU:V#WD z)#'#>#>+,$D  #!66z*7MNDN:--j.>?DH*$"77;'DO Z22:f3EFDJZ226"DJ z!448$DL z!448$DL #!44:&DN z!448$DL *$"77;'DO Z//
60BCDJJ11*U2CDDI r   )r   r   r   r#   r(   r,   r1   r6   r:   r	   rA   rF   rK   rO   rS   rW   r[   r_   rc   rg   N)__name__
__module____qualname____firstlineno____doc__r   propertyr   r   r   r$   r)   r-   r2   r7   r;   r   rB   rG   rL   rP   rT   rX   r\   r`   rd   rh   rp   rv   r~   __static_attributes__ r   r   r   r   "   s   8 ' '   " " ( ( & & ' ' * * * * $ $   % %         " " " " $ $ " " % %      P/,>Er   r   )github.GithubObjectrs   rt   CompletableGithubObjectr   r   r   r   <module>r      s&   > CEv"":: CEr   