Ë
    [üàg¼/  ã                   óº   — d Z ddlmZ ddlmZmZmZmZmZmZm	Z	 ddl
mZmZ ddlmZ ddlmZ ddlmZ ddlmZ  G d	„ d
e«      Z G d„ de«      Z G d„ de«      Zy)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                   óB   ‡ — e Zd ZdZdedeeef   fˆ fd„Zdefd„Z	ˆ xZ
S )ÚGetApiKeysInstanceaÓ  
    :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         ‰| �  |«       |j                  d«      | _        |j                  d«      | _        t        j                  |j                  d«      «      | _        t        j                  |j                  d«      «      | _        y )NÚsidÚfriendly_nameÚdate_createdÚdate_updated)	ÚsuperÚ__init__Úgetr   r   r   Úrfc2822_datetimer   r   )Úselfr   r   Ú	__class__s      €ú]/var/www/skyplay_api_hub/venv/lib/python3.12/site-packages/twilio/rest/iam/v1/get_api_keys.pyr   zGetApiKeysInstance.__init__!   sq   ø€ Ü‰Ñ˜Ô!à")§+¡+¨eÓ"4ˆŒØ,3¯K©K¸Ó,HˆÔÜ0;×0LÑ0LØ�K‰K˜Ó'ó1
ˆÔô 1<×0LÑ0LØ�K‰K˜Ó'ó1
ˆÕó    Úreturnc                  ó   — y)úf
        Provide a friendly representation

        :returns: Machine friendly representation
        z"<Twilio.Iam.V1.GetApiKeysInstance>© ©r   s    r    Ú__repr__zGetApiKeysInstance.__repr__-   s   € ð 4r!   )Ú__name__Ú
__module__Ú__qualname__Ú__doc__r   r   Ústrr   r   r'   Ú__classcell__©r   s   @r    r   r      s/   ø„ ñð

 ð 

°$°s¸C°x±.õ 

ð4˜#÷ 4r!   r   c                   ó2   — e Zd Zdeeef   defd„Zdefd„Zy)ÚGetApiKeysPager   r"   c                 ó.   — t        | j                  |«      S )zp
        Build an instance of GetApiKeysInstance

        :param payload: Payload response from the API
        )r   Ú_version)r   r   s     r    Úget_instancezGetApiKeysPage.get_instance9   s   € ô " $§-¡-°Ó9Ð9r!   c                  ó   — y)r$   z<Twilio.Iam.V1.GetApiKeysPage>r%   r&   s    r    r'   zGetApiKeysPage.__repr__A   ó   € ð 0r!   N)	r(   r)   r*   r   r,   r   r   r3   r'   r%   r!   r    r0   r0   7   s*   „ ð: D¨¨c¨¡Nð :Ð7Ió :ð0˜#ô 0r!   r0   c                   óÌ  ‡ — e Zd Zdefˆ fd„Zej                  ddfdeee	f   de
e   de
e   dee   fd„Zej                  ddfdeee	f   de
e   de
e   dee   fd	„Zej                  ddfdeee	f   de
e   de
e   dee   fd
„Zej                  ddfdeee	f   de
e   de
e   dee   fd„Zej                  ej                  ej                  ej                  fdeee	f   deee	f   deee	f   deee	f   def
d„Zej                  ej                  ej                  ej                  fdeee	f   deee	f   deee	f   deee	f   def
d„Zdedefd„Zdedefd„Zdefd„Zˆ xZS )ÚGetApiKeysListr   c                 ó2   •— t         ‰| �  |«       d| _        y)zl
        Initialize the GetApiKeysList

        :param version: Version that contains the resource

        z/KeysN)r   r   Ú_uri)r   r   r   s     €r    r   zGetApiKeysList.__init__L   s   ø€ ô 	‰Ñ˜Ô!àˆ�	r!   NÚaccount_sidÚlimitÚ	page_sizer"   c                 ó¤   — | j                   j                  ||«      }| j                  ||d   ¬«      }| j                   j                  ||d   «      S )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
        r<   ©r:   r<   r;   )r2   Úread_limitsÚpageÚstream©r   r:   r;   r<   Úlimitsr@   s         r    rA   zGetApiKeysList.streamW   sL   € ð, —‘×*Ñ*¨5°)Ó<ˆØ�y‰y [¸FÀ;Ñ<OˆyÓPˆà�}‰}×#Ñ# D¨&°©/Ó:Ð:r!   c              ƒ   óÀ   K  — | j                   j                  ||«      }| j                  ||d   ¬«      ƒ d{  –—† }| j                   j                  ||d   «      S 7 Œ#­w)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
        r<   r>   Nr;   )r2   r?   Ú
page_asyncÚstream_asyncrB   s         r    rF   zGetApiKeysList.stream_asyncr   sb   è ø€ ð, —‘×*Ñ*¨5°)Ó<ˆØ—_‘_Ø#¨v°kÑ/Bð %ó 
÷ 
ˆð �}‰}×)Ñ)¨$°°w±Ó@Ð@ð	
ús   ‚6A¸A¹$Ac                 ó<   — t        | j                  |||¬«      «      S )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
        ©r:   r;   r<   )ÚlistrA   )r   r:   r;   r<   s       r    rI   zGetApiKeysList.list�   s+   € ô* Ø�K‰KØ'ØØ#ð ó ó
ð 	
r!   c              ƒ   ó|   K  — | j                  |||¬«      ƒ d{  –—† 2 �cg c3 d{  –—† }|‘Œ7 Œ7 Œ	6 c}S c c}w ­w)a–  
        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
        rH   N)rF   )r   r:   r;   r<   Úrecords        r    Ú
list_asynczGetApiKeysList.list_async¬   sW   è ø€ ð. '+×&7Ñ&7Ø'ØØ#ð '8ó '÷ !÷
ô 
àò ð!øð
øò 
ð 	
ùò 
ùs0   ‚<š/›<¡7£3§1
¨3«7¯<±3³7´<Ú
page_tokenÚpage_numberc                 óì   — t        j                  ||||dœ«      }t        j                  ddi«      }d|d<   | j                  j                  d| j                  ||¬«      }t        | j                  |«      S )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   Úofr2   r@   r9   r0   ©r   r:   rM   rN   r<   Údatar]   Úresponses           r    r@   zGetApiKeysList.pageÊ   s|   € ô$ �y‰yà)Ø'Ø#Ø%ñ	ó
ˆô —)‘)˜^Ð-PÐQÓRˆà.ˆ�Ñà—=‘=×%Ñ%Ø˜dŸi™i°¸gð &ó 
ˆô ˜dŸm™m¨XÓ6Ð6r!   c              ƒ   ó  K  — t        j                  ||||dœ«      }t        j                  ddi«      }d|d<   | j                  j                  d| j                  ||¬«      ƒ d{  –—† }t        | j                  |«      S 7 Œ­w)	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
        rP   rT   rU   rV   rW   rX   rY   N)r   r^   r2   rE   r9   r0   r_   s           r    rE   zGetApiKeysList.page_asyncî   sŠ   è ø€ ô$ �y‰yà)Ø'Ø#Ø%ñ	ó
ˆô —)‘)˜^Ð-PÐQÓRˆà.ˆ�ÑàŸ™×1Ñ1Ø˜dŸi™i°¸gð 2ó 
÷ 
ˆô ˜dŸm™m¨XÓ6Ð6ð
ús   ‚A#BÁ%B Á&BÚ
target_urlc                 óŽ   — | j                   j                  j                  j                  d|«      }t	        | j                   |«      S )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
        rX   )r2   ÚdomainÚtwilioÚrequestr0   ©r   rc   ra   s      r    Úget_pagezGetApiKeysList.get_page  s7   € ð —=‘=×'Ñ'×.Ñ.×6Ñ6°u¸jÓIˆÜ˜dŸm™m¨XÓ6Ð6r!   c              ƒ   óª   K  — | j                   j                  j                  j                  d|«      ƒ d{  –—† }t	        | j                   |«      S 7 Œ­w)a  
        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
        rX   N)r2   re   rf   Úrequest_asyncr0   rh   s      r    Úget_page_asynczGetApiKeysList.get_page_async  sD   è ø€ ð Ÿ™×-Ñ-×4Ñ4×BÑBÀ5È*ÓU×UˆÜ˜dŸm™m¨XÓ6Ð6ð Vús   ‚4A¶A·Ac                  ó   — y)r$   z<Twilio.Iam.V1.GetApiKeysList>r%   r&   s    r    r'   zGetApiKeysList.__repr__*  r5   r!   )r(   r)   r*   r   r   r   Úunsetr   r,   Úobjectr   Úintr	   r   rA   r
   rF   r   rI   rL   r0   r@   rE   ri   rl   r'   r-   r.   s   @r    r7   r7   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ð 
ó"7ðL +1¯,©,Ø)/¯©Ø*0¯,©,Ø(.¯©ñ"7à˜3 ˜;Ñ'ð"7ð ˜#˜v˜+Ñ&ð"7ð ˜3 ˜;Ñ'ð	"7ð
 ˜˜f˜Ñ%ð"7ð 
ó"7ðH
7 3ð 
7¨>ó 
7ð
7¨sð 
7°~ó 
7ð0˜#÷ 0r!   r7   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   r0   r7   r%   r!   r    ú<module>rw      sN   ðñõ ß L× LÑ Lß +å :Ý 2Ý 'Ý !ô4Ð)ô 4ô<0�Tô 0ô&f0�\õ f0r!   