Ë
    [üàgðp  ã                   óà   — 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mZ ddl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 G d„ de«      Zy)aç  
    This code was generated by
   ___ _ _ _ _ _    _ ____    ____ ____ _    ____ ____ _  _ ____ ____ ____ ___ __   __
    |  | | | | |    | |  | __ |  | |__| | __ | __ |___ |\ | |___ |__/ |__|  | |  | |__/
    |  |_|_| | |___ | |__|    |__| |  | |    |__] |___ | \| |___ |  \ |  |  | |__| |  \

    Twilio - Chat
    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Ú	serializeÚvalues)ÚInstanceContext)ÚInstanceResource)ÚListResource)ÚVersion)ÚPagec                   ó>  ‡ — e Zd ZdZ	 ddedeeef   dededee   f
ˆ fd„Z	e
dd	„«       Zdefd
„Zdefd„Zdd„Zdd„Zej$                  ej$                  fdeeef   deeef   dd fd„Zej$                  ej$                  fdeeef   deeef   dd fd„Zdefd„Zˆ xZS )ÚMemberInstanceaÓ  
    :ivar sid: The unique string that we created to identify the Member resource.
    :ivar account_sid: The SID of the [Account](https://www.twilio.com/docs/api/rest/account) that created the Member resource.
    :ivar channel_sid: The unique ID of the [Channel](https://www.twilio.com/docs/api/chat/rest/channels) for the member.
    :ivar service_sid: The SID of the [Service](https://www.twilio.com/docs/api/chat/rest/services) the resource is associated with.
    :ivar identity: The application-defined string that uniquely identifies the resource's [User](https://www.twilio.com/docs/api/chat/rest/users) within the [Service](https://www.twilio.com/docs/api/chat/rest/services). See [access tokens](https://www.twilio.com/docs/api/chat/guides/create-tokens) for more info.
    :ivar date_created: The date and time in GMT when the resource was created specified in [RFC 2822](http://www.ietf.org/rfc/rfc2822.txt) format.
    :ivar date_updated: The date and time in GMT when the resource was last updated specified in [RFC 2822](http://www.ietf.org/rfc/rfc2822.txt) format.
    :ivar role_sid: The SID of the [Role](https://www.twilio.com/docs/api/chat/rest/roles) assigned to the member.
    :ivar last_consumed_message_index: The index of the last [Message](https://www.twilio.com/docs/api/chat/rest/messages) in the [Channel](https://www.twilio.com/docs/api/chat/rest/channels) that the Member has read.
    :ivar last_consumption_timestamp: The ISO 8601 timestamp string that represents the date-time of the last [Message](https://www.twilio.com/docs/api/chat/rest/messages) read event for the Member within the [Channel](https://www.twilio.com/docs/api/chat/rest/channels).
    :ivar url: The absolute URL of the Member resource.
    ÚversionÚpayloadÚservice_sidÚchannel_sidÚsidc                 óà  •— t         ‰| �  |«       |j                  d«      | _        |j                  d«      | _        |j                  d«      | _        |j                  d«      | _        |j                  d«      | _        t        j                  |j                  d«      «      | _
        t        j                  |j                  d«      «      | _        |j                  d«      | _        t        j                  |j                  d	«      «      | _        t        j                  |j                  d
«      «      | _        |j                  d«      | _        |||xs | j                  dœ| _        d | _        y )Nr   Úaccount_sidr   r   ÚidentityÚdate_createdÚdate_updatedÚrole_sidÚlast_consumed_message_indexÚlast_consumption_timestampÚurl©r   r   r   )ÚsuperÚ__init__Úgetr   r   r   r   r   r   Úiso8601_datetimer   r   r   Úintegerr    r!   r"   Ú	_solutionÚ_context)Úselfr   r   r   r   r   Ú	__class__s         €úh/var/www/skyplay_api_hub/venv/lib/python3.12/site-packages/twilio/rest/chat/v1/service/channel/member.pyr%   zMemberInstance.__init__(   s0  ø€ ô 	‰Ñ˜Ô!à")§+¡+¨eÓ"4ˆŒØ*1¯+©+°mÓ*DˆÔØ*1¯+©+°mÓ*DˆÔØ*1¯+©+°mÓ*DˆÔØ'.§{¡{°:Ó'>ˆŒÜ0;×0LÑ0LØ�K‰K˜Ó'ó1
ˆÔô 1<×0LÑ0LØ�K‰K˜Ó'ó1
ˆÔð (/§{¡{°:Ó'>ˆŒÜ:E×:MÑ:MØ�K‰KÐ5Ó6ó;
ˆÔ(ô ×(Ñ(¨¯©Ð5QÓ)RÓSð 	Ô'ð #*§+¡+¨eÓ"4ˆŒð 'Ø&Ø’?˜$Ÿ(™(ñ
ˆŒð
 26ˆ�ó    Úreturnc                 ó¼   — | j                   €Et        | j                  | j                  d   | j                  d   | j                  d   ¬«      | _         | j                   S )zç
        Generate an instance context for the instance, the context is capable of
        performing various actions. All instance actions are proxied to the context

        :returns: MemberContext for this MemberInstance
        r   r   r   r#   )r*   ÚMemberContextÚ_versionr)   ©r+   s    r-   Ú_proxyzMemberInstance._proxyM   sQ   € ð �=‰=Ð Ü)Ø—‘Ø ŸN™N¨=Ñ9Ø ŸN™N¨=Ñ9Ø—N‘N 5Ñ)ô	ˆDŒMð �}‰}Ðr.   c                 ó6   — | j                   j                  «       S )úi
        Deletes the MemberInstance


        :returns: True if delete succeeds, False otherwise
        )r4   Údeleter3   s    r-   r7   zMemberInstance.delete^   s   € ð �{‰{×!Ñ!Ó#Ð#r.   c              ƒ   óR   K  — | j                   j                  «       ƒ d{  –—† S 7 Œ­w)ú…
        Asynchronous coroutine that deletes the MemberInstance


        :returns: True if delete succeeds, False otherwise
        N)r4   Údelete_asyncr3   s    r-   r:   zMemberInstance.delete_asyncg   s!   è ø€ ð —[‘[×-Ñ-Ó/×/Ð/Ð/úó   ‚' %¡'c                 ó6   — | j                   j                  «       S )úY
        Fetch the MemberInstance


        :returns: The fetched MemberInstance
        )r4   Úfetchr3   s    r-   r>   zMemberInstance.fetchp   s   € ð �{‰{× Ñ Ó"Ð"r.   c              ƒ   óR   K  — | j                   j                  «       ƒ d{  –—† S 7 Œ­w)ús
        Asynchronous coroutine to fetch the MemberInstance


        :returns: The fetched MemberInstance
        N)r4   Úfetch_asyncr3   s    r-   rA   zMemberInstance.fetch_asyncy   s!   è ø€ ð —[‘[×,Ñ,Ó.×.Ð.Ð.úr;   r   r    c                 ó<   — | j                   j                  ||¬«      S )á  
        Update the MemberInstance

        :param role_sid: The SID of the [Role](https://www.twilio.com/docs/api/chat/rest/roles) to assign to the member. The default roles are those specified on the [Service](https://www.twilio.com/docs/chat/api/services).
        :param last_consumed_message_index: The index of the last [Message](https://www.twilio.com/docs/api/chat/rest/messages) that the Member has read within the [Channel](https://www.twilio.com/docs/api/chat/rest/channels).

        :returns: The updated MemberInstance
        ©r   r    )r4   Úupdate©r+   r   r    s      r-   rE   zMemberInstance.update‚   s&   € ð �{‰{×!Ñ!ØØ(Cð "ó 
ð 	
r.   c              ƒ   óX   K  — | j                   j                  ||¬«      ƒ d{  –—† S 7 Œ­w)á7  
        Asynchronous coroutine to update the MemberInstance

        :param role_sid: The SID of the [Role](https://www.twilio.com/docs/api/chat/rest/roles) to assign to the member. The default roles are those specified on the [Service](https://www.twilio.com/docs/chat/api/services).
        :param last_consumed_message_index: The index of the last [Message](https://www.twilio.com/docs/api/chat/rest/messages) that the Member has read within the [Channel](https://www.twilio.com/docs/api/chat/rest/channels).

        :returns: The updated MemberInstance
        rD   N)r4   Úupdate_asyncrF   s      r-   rI   zMemberInstance.update_async”   s4   è ø€ ð —[‘[×-Ñ-ØØ(Cð .ó 
÷ 
ð 	
ð 
ús   ‚!*£(¤*c                 ó„   — dj                  d„ | j                  j                  «       D «       «      }dj                  |«      S )úf
        Provide a friendly representation

        :returns: Machine friendly representation
        ú c              3   óF   K  — | ]  \  }}d j                  ||«      –— Œ y­w©z{}={}N©Úformat©Ú.0ÚkÚvs      r-   ú	<genexpr>z*MemberInstance.__repr__.<locals>.<genexpr>¬   ó   è ø€ ÒS±D°A°q˜7Ÿ>™>¨!¨Q×/ÑSùó   ‚!z"<Twilio.Chat.V1.MemberInstance {}>©Újoinr)   ÚitemsrP   ©r+   Úcontexts     r-   Ú__repr__zMemberInstance.__repr__¦   s6   € ð —(‘(ÑS¸D¿N¹N×<PÑ<PÓ<RÔSÓSˆØ3×:Ñ:¸7ÓCÐCr.   ©N)r/   r1   )r/   r   )Ú__name__Ú
__module__Ú__qualname__Ú__doc__r   r   Ústrr   r   r%   Úpropertyr4   Úboolr7   r:   r>   rA   r   Úunsetr   ÚobjectÚintrE   rI   r]   Ú__classcell__©r,   s   @r-   r   r      s  ø„ ñð( "ñ#6àð#6ð �c˜3�h‘ð#6ð ð	#6ð
 ð#6ð �c‰]õ#6ðJ òó ðð $˜ó $ð0 Dó 0ó#ó/ð (.§|¡|Ø:@¿,¹,ñ
à˜˜V˜Ñ$ð
ð &+¨3°¨;Ñ%7ð
ð 
ó	
ð( (.§|¡|Ø:@¿,¹,ñ
à˜˜V˜Ñ$ð
ð &+¨3°¨;Ñ%7ð
ð 
ó	
ð$D˜#÷ Dr.   r   c                   ó  ‡ — e Zd Zdedededefˆ fd„Zdefd„Zdefd„Zde	fd	„Z
de	fd
„Zej                  ej                  fdeeef   deeef   de	fd„Zej                  ej                  fdeeef   deeef   de	fd„Zdefd„Zˆ xZS )r1   r   r   r   r   c                 ó|   •— t         ‰| �  |«       |||dœ| _         dj                  di | j                  ¤Ž| _        y)a  
        Initialize the MemberContext

        :param version: Version that contains the resource
        :param service_sid: The SID of the [Service](https://www.twilio.com/docs/api/chat/rest/services) to update the resource from.
        :param channel_sid: The unique ID of the [Channel](https://www.twilio.com/docs/api/chat/rest/channels) the member to update belongs to. Can be the Channel resource's `sid` or `unique_name`.
        :param sid: The Twilio-provided string that uniquely identifies the Member resource to update.
        r#   z</Services/{service_sid}/Channels/{channel_sid}/Members/{sid}N© ©r$   r%   r)   rP   Ú_uri)r+   r   r   r   r   r,   s        €r-   r%   zMemberContext.__init__²   sM   ø€ ô 	‰Ñ˜Ô!ð 'Ø&Øñ
ˆŒð RÐJ×QÑQñ Ø—.‘.ñð 	�	r.   r/   c                 ó|   — t        j                  i «      }| j                  j                  d| j                  |¬«      S )r6   ÚDELETE©ÚmethodÚuriÚheaders)r   Úofr2   r7   ro   ©r+   ru   s     r-   r7   zMemberContext.deleteÉ   s1   € ô —)‘)˜B“-ˆà�}‰}×#Ñ#¨8¸¿¹ÈGÐ#ÓTÐTr.   c              ƒ   ó˜   K  — t        j                  i «      }| j                  j                  d| j                  |¬«      ƒ d{  –—† S 7 Œ­w)r9   rq   rr   N)r   rv   r2   r:   ro   rw   s     r-   r:   zMemberContext.delete_asyncÕ   sF   è ø€ ô —)‘)˜B“-ˆà—]‘]×/Ñ/Ø §¡°Gð 0ó 
÷ 
ð 	
ð 
ús   ‚AA
ÁAÁA
c                 ó  — t        j                  i «      }d|d<   | j                  j                  d| j                  |¬«      }t        | j                  || j                  d   | j                  d   | j                  d   ¬«      S )	r=   úapplication/jsonÚAcceptÚGETrr   r   r   r   r#   )r   rv   r2   r>   ro   r   r)   ©r+   ru   r   s      r-   r>   zMemberContext.fetchã   su   € ô —)‘)˜B“-ˆà.ˆ�Ñà—-‘-×%Ñ%¨U¸¿	¹	È7Ð%ÓSˆäØ�M‰MØØŸ™ }Ñ5ØŸ™ }Ñ5Ø—‘˜uÑ%ô
ð 	
r.   c              ƒ   ó$  K  — t        j                  i «      }d|d<   | j                  j                  d| j                  |¬«      ƒ d{  –—† }t        | j                  || j                  d   | j                  d   | j                  d   ¬	«      S 7 ŒE­w)
r@   rz   r{   r|   rr   Nr   r   r   r#   )r   rv   r2   rA   ro   r   r)   r}   s      r-   rA   zMemberContext.fetch_asyncù   sŠ   è ø€ ô —)‘)˜B“-ˆà.ˆ�ÑàŸ™×1Ñ1Ø˜dŸi™i°ð 2ó 
÷ 
ˆô Ø�M‰MØØŸ™ }Ñ5ØŸ™ }Ñ5Ø—‘˜uÑ%ô
ð 	
ð	
ús   ‚ABÁBÁ	ABr   r    c                 óD  — t        j                  ||dœ«      }t        j                  i «      }d|d<   d|d<   | j                  j                  d| j                  ||¬«      }t        | j                  || j                  d   | j                  d	   | j                  d
   ¬«      S )rC   ©ÚRoleSidÚLastConsumedMessageIndexú!application/x-www-form-urlencodedúContent-Typerz   r{   ÚPOST©rs   rt   Údataru   r   r   r   r#   )r   rv   r2   rE   ro   r   r)   ©r+   r   r    r‡   ru   r   s         r-   rE   zMemberContext.update  s£   € ô �y‰yà#Ø,Gñó
ˆô —)‘)˜B“-ˆà"Eˆ�Ñà.ˆ�Ñà—-‘-×&Ñ&Ø˜tŸy™y¨t¸Wð 'ó 
ˆô Ø�M‰MØØŸ™ }Ñ5ØŸ™ }Ñ5Ø—‘˜uÑ%ô
ð 	
r.   c              ƒ   ó`  K  — t        j                  ||dœ«      }t        j                  i «      }d|d<   d|d<   | j                  j                  d| j                  ||¬«      ƒ d{  –—† }t        | j                  || j                  d	   | j                  d
   | j                  d   ¬«      S 7 ŒE­w)rH   r€   rƒ   r„   rz   r{   r…   r†   Nr   r   r   r#   )r   rv   r2   rI   ro   r   r)   rˆ   s         r-   rI   zMemberContext.update_async7  s±   è ø€ ô �y‰yà#Ø,Gñó
ˆô —)‘)˜B“-ˆà"Eˆ�Ñà.ˆ�ÑàŸ™×2Ñ2Ø˜tŸy™y¨t¸Wð 3ó 
÷ 
ˆô Ø�M‰MØØŸ™ }Ñ5ØŸ™ }Ñ5Ø—‘˜uÑ%ô
ð 	
ð	
ús   ‚A$B.Á&B,Á'AB.c                 ó„   — dj                  d„ | j                  j                  «       D «       «      }dj                  |«      S )rK   rL   c              3   óF   K  — | ]  \  }}d j                  ||«      –— Œ y­wrN   rO   rQ   s      r-   rU   z)MemberContext.__repr__.<locals>.<genexpr>c  rV   rW   z!<Twilio.Chat.V1.MemberContext {}>rX   r[   s     r-   r]   zMemberContext.__repr__]  s6   € ð —(‘(ÑS¸D¿N¹N×<PÑ<PÓ<RÔSÓSˆØ2×9Ñ9¸'ÓBÐBr.   )r_   r`   ra   r   rc   r%   re   r7   r:   r   r>   rA   r   rf   r   rg   rh   rE   rI   r]   ri   rj   s   @r-   r1   r1   °   sí   ø„ ð
 ð 
°cð 
Èð 
ÐRUõ 
ð.
U˜ó 
Uð
 Dó 
ð
�~ó 
ð,
 >ó 
ð4 (.§|¡|Ø:@¿,¹,ñ$
à˜˜V˜Ñ$ð$
ð &+¨3°¨;Ñ%7ð$
ð 
ó	$
ðP (.§|¡|Ø:@¿,¹,ñ$
à˜˜V˜Ñ$ð$
ð &+¨3°¨;Ñ%7ð$
ð 
ó	$
ðLC˜#÷ Cr.   r1   c                   ó2   — e Zd Zdeeef   defd„Zdefd„Zy)Ú
MemberPager   r/   c                 óh   — t        | j                  || j                  d   | j                  d   ¬«      S )zl
        Build an instance of MemberInstance

        :param payload: Payload response from the API
        r   r   ©r   r   )r   r2   r)   )r+   r   s     r-   Úget_instancezMemberPage.get_instancei  s3   € ô Ø�M‰MØØŸ™ }Ñ5ØŸ™ }Ñ5ô	
ð 	
r.   c                  ó   — y)rK   z<Twilio.Chat.V1.MemberPage>rm   r3   s    r-   r]   zMemberPage.__repr__v  ó   € ð -r.   N)	r_   r`   ra   r   rc   r   r   r�   r]   rm   r.   r-   r�   r�   g  s)   „ ð
 D¨¨c¨¡Nð 
°~ó 
ð-˜#ô -r.   r�   c                   ó„  ‡ — e Zd Zdededefˆ fd„Zej                  fdedeee	f   de
fd„Zej                  fdedeee	f   de
fd	„Zej                  d
d
fde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   e	f   dee   dee   dee
   fd„Zej                  d
d
fde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   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   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   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defd„Zdedefd„Zdefd„Zˆ xZS )Ú
MemberListr   r   r   c                 óz   •— t         ‰| �  |«       ||dœ| _         dj                  di | j                  ¤Ž| _        y)a·  
        Initialize the MemberList

        :param version: Version that contains the resource
        :param service_sid: The SID of the [Service](https://www.twilio.com/docs/api/chat/rest/services) to read the resources from.
        :param channel_sid: The unique ID of the [Channel](https://www.twilio.com/docs/api/chat/rest/channels) the members to read belong to. Can be the Channel resource's `sid` or `unique_name` value.

        r�   z6/Services/{service_sid}/Channels/{channel_sid}/MembersNrm   rn   )r+   r   r   r   r,   s       €r-   r%   zMemberList.__init__�  sG   ø€ ô 	‰Ñ˜Ô!ð 'Ø&ñ
ˆŒð TÐL×SÑSñ 
Ø�n‰nñ
ˆ�	r.   r   r   r/   c                 ó,  — t        j                  ||dœ«      }t        j                  ddi«      }d|d<   d|d<   | j                  j                  d| j                  ||¬«      }t        | j                  || j                  d   | j                  d	   ¬
«      S )ay  
        Create the MemberInstance

        :param identity: The `identity` value that uniquely identifies the new resource's [User](https://www.twilio.com/docs/api/chat/rest/v1/user) within the [Service](https://www.twilio.com/docs/api/chat/rest/services). See [access tokens](https://www.twilio.com/docs/api/chat/guides/create-tokens) for more details.
        :param role_sid: The SID of the [Role](https://www.twilio.com/docs/api/chat/rest/roles) to assign to the member. The default roles are those specified on the [Service](https://www.twilio.com/docs/chat/api/services).

        :returns: The created MemberInstance
        ©ÚIdentityr�   r„   rƒ   rz   r{   r…   r†   r   r   r�   )r   rv   r2   Úcreatero   r   r)   ©r+   r   r   r‡   ru   r   s         r-   r™   zMemberList.create•  sž   € ô �y‰yà$Ø#ñó
ˆô —)‘)˜^Ð-PÐQÓRˆà"Eˆ�Ñà.ˆ�Ñà—-‘-×&Ñ&Ø˜tŸy™y¨t¸Wð 'ó 
ˆô Ø�M‰MØØŸ™ }Ñ5ØŸ™ }Ñ5ô	
ð 	
r.   c              ƒ   óH  K  — t        j                  ||dœ«      }t        j                  ddi«      }d|d<   d|d<   | j                  j                  d| j                  ||¬«      ƒ d{  –—† }t        | j                  || j                  d	   | j                  d
   ¬«      S 7 Œ7­w)aˆ  
        Asynchronously create the MemberInstance

        :param identity: The `identity` value that uniquely identifies the new resource's [User](https://www.twilio.com/docs/api/chat/rest/v1/user) within the [Service](https://www.twilio.com/docs/api/chat/rest/services). See [access tokens](https://www.twilio.com/docs/api/chat/guides/create-tokens) for more details.
        :param role_sid: The SID of the [Role](https://www.twilio.com/docs/api/chat/rest/roles) to assign to the member. The default roles are those specified on the [Service](https://www.twilio.com/docs/chat/api/services).

        :returns: The created MemberInstance
        r—   r„   rƒ   rz   r{   r…   r†   Nr   r   r�   )r   rv   r2   Úcreate_asyncro   r   r)   rš   s         r-   rœ   zMemberList.create_async¸  s¬   è ø€ ô �y‰yà$Ø#ñó
ˆô —)‘)˜^Ð-PÐQÓRˆà"Eˆ�Ñà.ˆ�ÑàŸ™×2Ñ2Ø˜tŸy™y¨t¸Wð 3ó 
÷ 
ˆô Ø�M‰MØØŸ™ }Ñ5ØŸ™ }Ñ5ô	
ð 	
ð	
ús   ‚A&B"Á(B Á)8B"NÚlimitÚ	page_sizec                 ó¤   — | j                   j                  ||«      }| j                  ||d   ¬«      }| j                   j                  ||d   «      S )aK  
        Streams MemberInstance 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 List[str] identity: The [User](https://www.twilio.com/docs/api/chat/rest/v1/user)'s `identity` value of the resources to read. See [access tokens](https://www.twilio.com/docs/api/chat/guides/create-tokens) for more details.
        :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-   r£   zMemberList.streamÛ  sL   € ð, —‘×*Ñ*¨5°)Ó<ˆØ�y‰y (°f¸[Ñ6IˆyÓJˆà�}‰}×#Ñ# D¨&°©/Ó:Ð:r.   c              ƒ   óÀ   K  — | j                   j                  ||«      }| j                  ||d   ¬«      ƒ d{  –—† }| j                   j                  ||d   «      S 7 Œ#­w)aZ  
        Asynchronously streams MemberInstance 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 List[str] identity: The [User](https://www.twilio.com/docs/api/chat/rest/v1/user)'s `identity` value of the resources to read. See [access tokens](https://www.twilio.com/docs/api/chat/guides/create-tokens) for more details.
        :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_asyncr¤   s         r-   r¨   zMemberList.stream_asyncö  sY   è ø€ ð, —‘×*Ñ*¨5°)Ó<ˆØ—_‘_¨hÀ&ÈÑBU�_ÓV×Vˆà�}‰}×)Ñ)¨$°°w±Ó@Ð@ð Wús   ‚6A¸A¹$Ac                 ó<   — t        | j                  |||¬«      «      S )aè  
        Lists MemberInstance records from the API as a list.
        Unlike stream(), this operation is eager and will load `limit` records into
        memory before returning.

        :param List[str] identity: The [User](https://www.twilio.com/docs/api/chat/rest/v1/user)'s `identity` value of the resources to read. See [access tokens](https://www.twilio.com/docs/api/chat/guides/create-tokens) for more details.
        :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ž   )Úlistr£   )r+   r   r�   rž   s       r-   r«   zMemberList.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 MemberInstance records from the API as a list.
        Unlike stream(), this operation is eager and will load `limit` records into
        memory before returning.

        :param List[str] identity: The [User](https://www.twilio.com/docs/api/chat/rest/v1/user)'s `identity` value of the resources to read. See [access tokens](https://www.twilio.com/docs/api/chat/guides/create-tokens) for more details.
        :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ª   N)r¨   )r+   r   r�   rž   Úrecords        r-   Ú
list_asynczMemberList.list_async.  sW   è ø€ ð. '+×&7Ñ&7Ø!ØØ#ð '8ó '÷ !÷
ô 
àò ð!øð
øò 
ð 	
ùò 
ùs0   ‚<š/›<¡7£3§1
¨3«7¯<±3³7´<Ú
page_tokenÚpage_numberc                 ó,  — t        j                  t        j                  |d„ «      |||dœ«      }t        j                  ddi«      }d|d<   | j                  j                  d| j                  ||¬«      }t        | j                  || j                  «      S )	aV  
        Retrieve a single page of MemberInstance records from the API.
        Request is executed immediately

        :param identity: The [User](https://www.twilio.com/docs/api/chat/rest/v1/user)'s `identity` value of the resources to read. See [access tokens](https://www.twilio.com/docs/api/chat/guides/create-tokens) for more details.
        :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 MemberInstance
        c                 ó   — | S r^   rm   ©Úes    r-   ú<lambda>z!MemberList.page.<locals>.<lambda>`  ó   € ¸a€ r.   ©r˜   Ú	PageTokenr   ÚPageSizer„   rƒ   rz   r{   r|   ©rs   rt   Úparamsru   )	r   rv   r   Úmapr2   r¢   ro   r�   r)   ©r+   r   r¯   r°   rž   r‡   ru   Úresponses           r-   r¢   zMemberList.pageL  s�   € ô$ �y‰yä%ŸM™M¨(±KÓ@Ø'Ø#Ø%ñ	ó
ˆô —)‘)˜^Ð-PÐQÓRˆà.ˆ�Ñà—=‘=×%Ñ%Ø˜dŸi™i°¸gð &ó 
ˆô ˜$Ÿ-™-¨°4·>±>ÓBÐBr.   c              ƒ   óH  K  — t        j                  t        j                  |d„ «      |||dœ«      }t        j                  ddi«      }d|d<   | j                  j                  d| j                  ||¬«      ƒ d	{  –—† }t        | j                  || j                  «      S 7 Œ%­w)
ae  
        Asynchronously retrieve a single page of MemberInstance records from the API.
        Request is executed immediately

        :param identity: The [User](https://www.twilio.com/docs/api/chat/rest/v1/user)'s `identity` value of the resources to read. See [access tokens](https://www.twilio.com/docs/api/chat/guides/create-tokens) for more details.
        :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 MemberInstance
        c                 ó   — | S r^   rm   r³   s    r-   rµ   z'MemberList.page_async.<locals>.<lambda>„  r¶   r.   r·   r„   rƒ   rz   r{   r|   rº   N)	r   rv   r   r¼   r2   r§   ro   r�   r)   r½   s           r-   r§   zMemberList.page_asyncp  s›   è ø€ ô$ �y‰yä%ŸM™M¨(±KÓ@Ø'Ø#Ø%ñ	ó
ˆô —)‘)˜^Ð-PÐQÓRˆà.ˆ�ÑàŸ™×1Ñ1Ø˜dŸi™i°¸gð 2ó 
÷ 
ˆô ˜$Ÿ-™-¨°4·>±>ÓBÐBð
ús   ‚A8B"Á:B Á;&B"Ú
target_urlc                 ó¤   — | j                   j                  j                  j                  d|«      }t	        | j                   || j
                  «      S )zñ
        Retrieve a specific page of MemberInstance records from the API.
        Request is executed immediately

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

        :returns: Page of MemberInstance
        r|   )r2   ÚdomainÚtwilioÚrequestr�   r)   ©r+   rÁ   r¾   s      r-   Úget_pagezMemberList.get_page”  s=   € ð —=‘=×'Ñ'×.Ñ.×6Ñ6°u¸jÓIˆÜ˜$Ÿ-™-¨°4·>±>ÓBÐBr.   c              ƒ   óÀ   K  — | j                   j                  j                  j                  d|«      ƒ d{  –—† }t	        | j                   || j
                  «      S 7 Œ%­w)a   
        Asynchronously retrieve a specific page of MemberInstance records from the API.
        Request is executed immediately

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

        :returns: Page of MemberInstance
        r|   N)r2   rÃ   rÄ   Úrequest_asyncr�   r)   rÆ   s      r-   Úget_page_asynczMemberList.get_page_async   sJ   è ø€ ð Ÿ™×-Ñ-×4Ñ4×BÑBÀ5È*ÓU×UˆÜ˜$Ÿ-™-¨°4·>±>ÓBÐBð Vús   ‚4A¶A·&Ar   c                 óh   — t        | j                  | j                  d   | j                  d   |¬«      S ©z”
        Constructs a MemberContext

        :param sid: The Twilio-provided string that uniquely identifies the Member resource to update.
        r   r   r#   ©r1   r2   r)   ©r+   r   s     r-   r&   zMemberList.get¬  ó3   € ô Ø�M‰MØŸ™ }Ñ5ØŸ™ }Ñ5Øô	
ð 	
r.   c                 óh   — t        | j                  | j                  d   | j                  d   |¬«      S rÌ   rÍ   rÎ   s     r-   Ú__call__zMemberList.__call__¹  rÏ   r.   c                  ó   — y)rK   z<Twilio.Chat.V1.MemberList>rm   r3   s    r-   r]   zMemberList.__repr__Æ  r’   r.   ) r_   r`   ra   r   rc   r%   r   rf   r   rg   r   r™   rœ   r   r   rh   r	   r£   r
   r¨   r«   r®   r�   r¢   r§   rÇ   rÊ   r1   r&   rÑ   r]   ri   rj   s   @r-   r”   r”     s=  ø„ ð
 ð 
°cð 
Èõ 
ð* =C¿L¹Lñ!
Øð!
Ø',¨S°&¨[Ñ'9ð!
à	ó!
ðH =C¿L¹Lñ!
Øð!
Ø',¨S°&¨[Ñ'9ð!
à	ó!
ðJ .4¯\©\Ø#Ø#'ñ	;à˜˜S™	 6Ð)Ñ*ð;ð ˜‰}ð;ð ˜C‘=ð	;ð
 
�.Ñ	!ó;ð: .4¯\©\Ø#Ø#'ñ	Aà˜˜S™	 6Ð)Ñ*ðAð ˜‰}ðAð ˜C‘=ð	Að
 
�~Ñ	&óAð: .4¯\©\Ø#Ø#'ñ	
à˜˜S™	 6Ð)Ñ*ð
ð ˜‰}ð
ð ˜C‘=ð	
ð
 
ˆnÑ	ó
ð> .4¯\©\Ø#Ø#'ñ	
à˜˜S™	 6Ð)Ñ*ð
ð ˜‰}ð
ð ˜C‘=ð	
ð
 
ˆnÑ	ó
ð@ .4¯\©\Ø)/¯©Ø*0¯,©,Ø(.¯©ñ"Cà˜˜S™	 6Ð)Ñ*ð"Cð ˜#˜v˜+Ñ&ð"Cð ˜3 ˜;Ñ'ð	"Cð
 ˜˜f˜Ñ%ð"Cð 
ó"CðL .4¯\©\Ø)/¯©Ø*0¯,©,Ø(.¯©ñ"Cà˜˜S™	 6Ð)Ñ*ð"Cð ˜#˜v˜+Ñ&ð"Cð ˜3 ˜;Ñ'ð	"Cð
 ˜˜f˜Ñ%ð"Cð 
ó"CðH
C 3ð 
C¨:ó 
Cð
C¨sð 
C°zó 
Cð
�sð 
˜}ó 
ð
˜Cð 
 Mó 
ð-˜#÷ -r.   r”   N)rb   r   Útypingr   r   r   r   r   r	   r
   Útwilio.baser   r   r   Útwilio.base.instance_contextr   Útwilio.base.instance_resourcer   Útwilio.base.list_resourcer   Útwilio.base.versionr   Útwilio.base.pager   r   r1   r�   r”   rm   r.   r-   ú<module>rÚ      sj   ðñõ ß L× LÑ Lß 6Ñ 6Ý 8Ý :Ý 2Ý 'Ý !ôTDÐ%ô TDôntC�Oô tCôn-�ô -ô0M-�õ M-r.   