
    #Ii                     V    S SK rS SKJr   " S S\R                  R                  5      rg)    N)Constsc                     ^  \ 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U 4S jrS rS rSrU =r$ )SourceImport   z
This class represents SourceImports. The reference can be found here https://docs.github.com/en/rest/reference/migrations#source-imports
c                     U R                  U R                  R                  U R                  R                  U R                  R                  U R
                  R                  S.5      $ )N)vcs_urlrepository_urlstatusurl)get__repr___vcs_urlvalue_repository_url_status_urlselfs    9/venv/lib/python3.13/site-packages/github/SourceImport.py__repr__SourceImport.__repr__    sN    ==.."&"6"6"<"<,,,,yy	
 	
    c                 d    U R                  U R                  5        U R                  R                  $ z
:type: integer
)_completeIfNotSet_authors_countr   r   s    r   authors_countSourceImport.authors_count*   s*    
 	t223""(((r   c                 d    U R                  U R                  5        U R                  R                  $ z
:type: string
)r   _authors_urlr   r   s    r   authors_urlSourceImport.authors_url2   *    
 	t001  &&&r   c                 d    U R                  U R                  5        U R                  R                  $ )z
:type: bool
)r   _has_large_filesr   r   s    r   has_large_filesSourceImport.has_large_files:   s*    
 	t445$$***r   c                 d    U R                  U R                  5        U R                  R                  $ r   )r   	_html_urlr   r   s    r   html_urlSourceImport.html_urlB   s&    
 	t~~.~~###r   c                 d    U R                  U R                  5        U R                  R                  $ r   )r   _large_files_countr   r   s    r   large_files_countSourceImport.large_files_countJ   s*    
 	t667&&,,,r   c                 d    U R                  U R                  5        U R                  R                  $ r   )r   _large_files_sizer   r   s    r   large_files_sizeSourceImport.large_files_sizeR   s*    
 	t556%%+++r   c                 d    U R                  U R                  5        U R                  R                  $ r   )r   r   r   r   s    r   r	   SourceImport.repository_urlZ   s*    
 	t334##)))r   c                 d    U R                  U R                  5        U R                  R                  $ r   )r   r   r   r   s    r   r
   SourceImport.statusb   s&    
 	t||,||!!!r   c                 d    U R                  U R                  5        U R                  R                  $ r   )r   _status_textr   r   s    r   status_textSourceImport.status_textj   r#   r   c                 d    U R                  U R                  5        U R                  R                  $ r   )r   r   r   r   s    r   r   SourceImport.urlr   $    
 	tyy)yyr   c                 d    U R                  U R                  5        U R                  R                  $ r   )r   _use_lfsr   r   s    r   use_lfsSourceImport.use_lfsz   &    
 	t}}-}}"""r   c                 d    U R                  U R                  5        U R                  R                  $ r   )r   _vcsr   r   s    r   vcsSourceImport.vcs   r>   r   c                 d    U R                  U R                  5        U R                  R                  $ r   )r   r   r   r   s    r   r   SourceImport.vcs_url   rC   r   c                 B   > S[         R                  0n[        TU ]  US9$ )NAccept)additional_headers)r   mediaTypeImportPreviewsuperupdate)r   import_header	__class__s     r   rO   SourceImport.update   s$    !6#@#@Aw~~??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        g )N)githubGithubObjectNotSetr   r    r%   r)   r-   r1   r   r   r9   r   _use_lsfrE   r   r   s    r   _initAttributesSourceImport._initAttributes   s    $1188"//66 & 3 3 : :,,33"("5"5"<"<!'!4!4!;!;%2299**11"//66''..	++22''..	++22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        g g )Nr   r!   r&   r*   r.   r2   r	   r
   r:   r   rA   rF   r   )_makeIntAttributer   _makeStringAttributer    _makeBoolAttributer%   r)   r-   r1   r   r   r9   r   r@   rE   r   )r   
attributess     r   _useAttributesSourceImport._useAttributes   s   j("&"8"8O9T"UDJ& $ 9 9*]:S TD
*$($;$;,-%D! #!66z*7MNDN*,&*&<&<./'D# +%)%;%;-.&D" z)#'#<#<+,$D  z!44Z5IJDLJ& $ 9 9*]:S TDJ11*U2CDDI
" 55j6KLDMJ11*U2CDDI
" 55j6KLDM #r   )r   r    r%   r)   r-   r1   r   r   r9   r   r@   rW   rE   r   )__name__
__module____qualname____firstlineno____doc__r   propertyr   r!   r&   r*   r.   r2   r	   r
   r:   r   rA   rF   r   rO   rX   r_   __static_attributes____classcell__)rQ   s   @r   r   r      s(   
 ) ) ' ' + + $ $ - - , , * * " " ' '   # #   # #@3"M "Mr   r   )github.GithubObjectrT   r   rU   CompletableGithubObjectr    r   r   <module>rl      s)   .  lM6&&>> lMr   