
    g/                         S r SSKJr  SSKJrJrJrJrJrJrJ	r	  SSK
JrJr  SSKJr  SSKJr  SSKJr  SSKJr   " S	 S
\5      r " S S\5      r " S S\5      rg)a  
 This code was generated by
___ _ _ _ _ _    _ ____    ____ ____ _    ____ ____ _  _ ____ ____ ____ ___ __   __
 |  | | | | |    | |  | __ |  | |__| | __ | __ |___ |\ | |___ |__/ |__|  | |  | |__/
 |  |_|_| | |___ | |__|    |__| |  | |    |__] |___ | \| |___ |  \ |  |  | |__| |  \

 Twilio - Iam
 This is the public Twilio REST API.

 NOTE: This class is auto generated by OpenAPI Generator.
 https://openapi-generator.tech
 Do not edit the class manually.
    )datetime)AnyDictListOptionalUnionIteratorAsyncIterator)deserializevalues)InstanceResource)ListResource)Version)Pagec                   P   ^  \ rS rSrSrS\S\\\4   4U 4S jjr	S\4S jr
SrU =r$ )	GetApiKeysInstance   a  
:ivar sid: The unique string that we created to identify the Key resource.
:ivar friendly_name: The string that you assigned to describe the resource.
:ivar date_created: The date and time in GMT that the resource was created specified in [RFC 2822](https://www.ietf.org/rfc/rfc2822.txt) format.
:ivar date_updated: The date and time in GMT that the resource was last updated specified in [RFC 2822](https://www.ietf.org/rfc/rfc2822.txt) format.
versionpayloadc                 $  > [         TU ]  U5        UR                  S5      U l        UR                  S5      U l        [
        R                  " UR                  S5      5      U l        [
        R                  " UR                  S5      5      U l        g )Nsidfriendly_namedate_createddate_updated)	super__init__getr   r   r   rfc2822_datetimer   r   )selfr   r   	__class__s      g/Users/Alptekin/Desktop/izin_takip/venv/lib/python3.13/site-packages/twilio/rest/iam/v1/get_api_keys.pyr   GetApiKeysInstance.__init__!   sq    !")++e"4,3KK,H0;0L0LKK'1
 1<0L0LKK'1
    returnc                     g)N
Provide a friendly representation

:returns: Machine friendly representation
z"<Twilio.Iam.V1.GetApiKeysInstance> r   s    r!   __repr__GetApiKeysInstance.__repr__-   s     4r#   )r   r   r   r   )__name__
__module____qualname____firstlineno____doc__r   r   strr   r   r)   __static_attributes____classcell__r    s   @r!   r   r      s4    

 

$sCx. 

4# 4 4r#   r   c                   >    \ rS rSrS\\\4   S\4S jrS\4S jr	Sr
g)GetApiKeysPage7   r   r$   c                 .    [        U R                  U5      $ )zX
Build an instance of GetApiKeysInstance

:param payload: Payload response from the API
)r   _version)r   r   s     r!   get_instanceGetApiKeysPage.get_instance9   s     "$--99r#   c                     g)r&   z<Twilio.Iam.V1.GetApiKeysPage>r'   r(   s    r!   r)   GetApiKeysPage.__repr__A        0r#   r'   N)r+   r,   r-   r.   r   r0   r   r   r9   r)   r1   r'   r#   r!   r5   r5   7   s*    :DcN :7I :0# 0r#   r5   c                     ^  \ rS rSrS\4U 4S jjr\R                  SS4S\\	\
4   S\\   S\\   S\\   4S	 jjr\R                  SS4S\\	\
4   S\\   S\\   S\\   4S
 jjr\R                  SS4S\\	\
4   S\\   S\\   S\\   4S jjr\R                  SS4S\\	\
4   S\\   S\\   S\\   4S jjr\R                  \R                  \R                  \R                  4S\\	\
4   S\\	\
4   S\\\
4   S\\\
4   S\4
S jjr\R                  \R                  \R                  \R                  4S\\	\
4   S\\	\
4   S\\\
4   S\\\
4   S\4
S jjrS\	S\4S jrS\	S\4S jrS\	4S jrSrU =r$ )GetApiKeysListJ   r   c                 2   > [         TU ]  U5        SU l        g)zT
Initialize the GetApiKeysList

:param version: Version that contains the resource

z/KeysN)r   r   _uri)r   r   r    s     r!   r   GetApiKeysList.__init__L   s     	!	r#   Naccount_sidlimit	page_sizer$   c                     U R                   R                  X#5      nU R                  XS   S9nU R                   R                  XTS   5      $ )a  
Streams GetApiKeysInstance records from the API as a generator stream.
This operation lazily loads records as efficiently as possible until the limit
is reached.
The results are returned as a generator, so this operation is memory efficient.

:param str account_sid: The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Payments resource.
:param limit: Upper limit for the number of records to return. stream()
              guarantees to never return more than limit.  Default is no limit
:param page_size: Number of records to fetch per request, when not set will use
                  the default value of 50 records.  If no page_size is defined
                  but a limit is defined, stream() will attempt to read the
                  limit with the most efficient page size, i.e. min(limit, 1000)

:returns: Generator that will yield up to limit results
rF   rD   rF   rE   )r8   read_limitspagestreamr   rD   rE   rF   limitsrJ   s         r!   rK   GetApiKeysList.streamW   sF    , **5<yy[;<OyP}}##D/::r#   c                    #    U R                   R                  X#5      nU R                  XS   S9I Sh  vN nU R                   R                  XTS   5      $  N"7f)a  
Asynchronously streams GetApiKeysInstance records from the API as a generator stream.
This operation lazily loads records as efficiently as possible until the limit
is reached.
The results are returned as a generator, so this operation is memory efficient.

:param str account_sid: The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Payments resource.
:param limit: Upper limit for the number of records to return. stream()
              guarantees to never return more than limit.  Default is no limit
:param page_size: Number of records to fetch per request, when not set will use
                  the default value of 50 records.  If no page_size is defined
                  but a limit is defined, stream() will attempt to read the
                  limit with the most efficient page size, i.e. min(limit, 1000)

:returns: Generator that will yield up to limit results
rF   rH   NrE   )r8   rI   
page_asyncstream_asyncrL   s         r!   rQ   GetApiKeysList.stream_asyncr   s[     , **5<__#k/B % 
 
 }}))$w@@	
s   1AA#Ac                 6    [        U R                  UUUS95      $ )a'  
Lists GetApiKeysInstance records from the API as a list.
Unlike stream(), this operation is eager and will load `limit` records into
memory before returning.

:param str account_sid: The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Payments resource.
:param limit: Upper limit for the number of records to return. list() guarantees
              never to return more than limit.  Default is no limit
:param page_size: Number of records to fetch per request, when not set will use
                  the default value of 50 records.  If no page_size is defined
                  but a limit is defined, list() will attempt to read the limit
                  with the most efficient page size, i.e. min(limit, 1000)

:returns: list that will contain up to limit results
rD   rE   rF   )listrK   )r   rD   rE   rF   s       r!   rU   GetApiKeysList.list   s+    * KK'#  
 	
r#   c                 x   #    U R                  UUUS9I Sh  vN  Vs/ s Sh  vN nUPM   N N

 sn$ s  snf 7f)a6  
Asynchronously lists GetApiKeysInstance records from the API as a list.
Unlike stream(), this operation is eager and will load `limit` records into
memory before returning.

:param str account_sid: The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Payments resource.
:param limit: Upper limit for the number of records to return. list() guarantees
              never to return more than limit.  Default is no limit
:param page_size: Number of records to fetch per request, when not set will use
                  the default value of 50 records.  If no page_size is defined
                  but a limit is defined, list() will attempt to read the limit
                  with the most efficient page size, i.e. min(limit, 1000)

:returns: list that will contain up to limit results
rT   N)rQ   )r   rD   rE   rF   records        r!   
list_asyncGetApiKeysList.list_async   sT     . '+&7&7'# '8 ' ! !
 
 !
 	
 
s0   :-:51/
15:15:
page_tokenpage_numberc                     [         R                  " UUUUS.5      n[         R                  " SS05      nSUS'   U R                  R                  SU R                  XVS9n[        U R                  U5      $ )a  
Retrieve a single page of GetApiKeysInstance records from the API.
Request is executed immediately

:param account_sid: The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Payments resource.
:param page_token: PageToken provided by the API
:param page_number: Page Number, this value is simply for client state
:param page_size: Number of records to return, defaults to 50

:returns: Page of GetApiKeysInstance

AccountSid	PageTokenr   PageSizeContent-Type!application/x-www-form-urlencodedapplication/jsonAcceptGETmethoduriparamsheaders)r   ofr8   rJ   rB   r5   r   rD   r[   r\   rF   datark   responses           r!   rJ   GetApiKeysList.page   sz    $ yy)'#%	
 ))^-PQR.==%%dii & 
 dmmX66r#   c                   #    [         R                  " UUUUS.5      n[         R                  " SS05      nSUS'   U R                  R                  SU R                  XVS9I Sh  vN n[        U R                  U5      $  N7f)	a  
Asynchronously retrieve a single page of GetApiKeysInstance records from the API.
Request is executed immediately

:param account_sid: The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Payments resource.
:param page_token: PageToken provided by the API
:param page_number: Page Number, this value is simply for client state
:param page_size: Number of records to return, defaults to 50

:returns: Page of GetApiKeysInstance
r^   rb   rc   rd   re   rf   rg   N)r   rl   r8   rP   rB   r5   rm   s           r!   rP   GetApiKeysList.page_async   s     $ yy)'#%	
 ))^-PQR.11dii 2 
 
 dmmX66
s   A!B #A>$B 
target_urlc                     U R                   R                  R                  R                  SU5      n[	        U R                   U5      $ )z
Retrieve a specific page of GetApiKeysInstance records from the API.
Request is executed immediately

:param target_url: API-generated URL for the requested results page

:returns: Page of GetApiKeysInstance
rf   )r8   domaintwiliorequestr5   r   rs   ro   s      r!   get_pageGetApiKeysList.get_page  s7     ==''..66ujIdmmX66r#   c                    #    U R                   R                  R                  R                  SU5      I Sh  vN n[	        U R                   U5      $  N7f)z
Asynchronously retrieve a specific page of GetApiKeysInstance records from the API.
Request is executed immediately

:param target_url: API-generated URL for the requested results page

:returns: Page of GetApiKeysInstance
rf   N)r8   ru   rv   request_asyncr5   rx   s      r!   get_page_asyncGetApiKeysList.get_page_async  sC      --44BB5*UUdmmX66 Vs   4AAAc                     g)r&   z<Twilio.Iam.V1.GetApiKeysList>r'   r(   s    r!   r)   GetApiKeysList.__repr__*  r=   r#   )rB   )r+   r,   r-   r.   r   r   r   unsetr   r0   objectr   intr	   r   rK   r
   rQ   r   rU   rY   r5   rJ   rP   ry   r}   r)   r1   r2   r3   s   @r!   r?   r?   J   s   	 	 +1,,##'	;3;'; }; C=	;
 
$	%;: +1,,##'	A3;'A }A C=	A
 
)	*A> +1,,##'	
3;'
 }
 C=	

 
 	!
> +1,,##'	
3;'
 }
 C=	

 
 	!
@ +1,,)/*0,,(."73;'"7 #v+&"7 3;'	"7
 f%"7 
"7L +1,,)/*0,,(."73;'"7 #v+&"7 3;'	"7
 f%"7 
"7H
73 
7> 
7
7s 
7~ 
70# 0 0r#   r?   N)r/   r   typingr   r   r   r   r   r	   r
   twilio.baser   r   twilio.base.instance_resourcer   twilio.base.list_resourcer   twilio.base.versionr   twilio.base.pager   r   r5   r?   r'   r#   r!   <module>r      sN     L L L + : 2 ' !4) 4<0T 0&f0\ f0r#   