Ë
    [üàgË8  ã                   óº   — 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 - Supersim
    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                   óV   ‡ — e Zd Z G d„ de«      Z	 dedeeef   fˆ fd„Z	defd„Z
ˆ xZS )ÚSettingsUpdateInstancec                   ó   — e Zd ZdZdZdZdZy)úSettingsUpdateInstance.StatusÚ	scheduledzin-progressÚ
successfulÚfailedN)Ú__name__Ú
__module__Ú__qualname__Ú	SCHEDULEDÚIN_PROGRESSÚ
SUCCESSFULÚFAILED© ó    úe/var/www/skyplay_api_hub/venv/lib/python3.12/site-packages/twilio/rest/supersim/v1/settings_update.pyÚStatusr      s   „ Øˆ	Ø#ˆØ!ˆ
Ø‰r    r"   ÚversionÚpayloadc                 óö  •— t         ‰| �  |«       |j                  d«      | _        |j                  d«      | _        |j                  d«      | _        |j                  d«      | _        |j                  d«      | _        t        j                  |j                  d«      «      | _
        t        j                  |j                  d«      «      | _        t        j                  |j                  d«      «      | _        y )	NÚsidÚiccidÚsim_sidÚstatusÚpackagesÚdate_completedÚdate_createdÚdate_updated)ÚsuperÚ__init__Úgetr&   r'   r(   r)   r*   r   Úiso8601_datetimer+   r,   r-   )Úselfr#   r$   Ú	__class__s      €r!   r/   zSettingsUpdateInstance.__init__,   sÂ   ø€ Ü‰Ñ˜Ô!à")§+¡+¨eÓ"4ˆŒØ$+§K¡K°Ó$8ˆŒ
Ø&-§k¡k°)Ó&<ˆŒØAHÇÁÈXÓAVˆŒØ;B¿;¹;ÀzÓ;RˆŒÜ2=×2NÑ2NØ�K‰KÐ(Ó)ó3
ˆÔô 1<×0LÑ0LØ�K‰K˜Ó'ó1
ˆÔô 1<×0LÑ0LØ�K‰K˜Ó'ó1
ˆÕr    Úreturnc                  ó   — y)úf
        Provide a friendly representation

        :returns: Machine friendly representation
        z+<Twilio.Supersim.V1.SettingsUpdateInstance>r   ©r2   s    r!   Ú__repr__zSettingsUpdateInstance.__repr__>   s   € ð =r    )r   r   r   Úobjectr"   r   r   Ústrr   r/   r8   Ú__classcell__©r3   s   @r!   r   r      s;   ø„ ô�ô ð	ð
 ð 
°$°s¸C°x±.õ 
ð$=˜#÷ =r    r   c                   ó2   — e Zd Zdeeef   defd„Zdefd„Zy)ÚSettingsUpdatePager$   r4   c                 ó.   — t        | j                  |«      S )zt
        Build an instance of SettingsUpdateInstance

        :param payload: Payload response from the API
        )r   Ú_version)r2   r$   s     r!   Úget_instancezSettingsUpdatePage.get_instanceJ   s   € ô & d§m¡m°WÓ=Ð=r    c                  ó   — y)r6   z'<Twilio.Supersim.V1.SettingsUpdatePage>r   r7   s    r!   r8   zSettingsUpdatePage.__repr__R   ó   € ð 9r    N)	r   r   r   r   r:   r   r   rA   r8   r   r    r!   r>   r>   H   s*   „ ð> D¨¨c¨¡Nð >Ð7Mó >ð9˜#ô 9r    r>   c                   ó¤  ‡ — e Zd Zdefˆ fd„Zej                  ej                  ddfdeee	f   dede	f   de
e   de
e   d	ee   f
d
„Zej                  ej                  ddfdeee	f   dede	f   de
e   de
e   d	ee   f
d„Zej                  ej                  ddfdeee	f   dede	f   de
e   de
e   d	ee   f
d„Zej                  ej                  ddfdeee	f   dede	f   de
e   de
e   d	ee   f
d„Zej                  ej                  ej                  ej                  ej                  fdeee	f   ded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                  ej                  fdeee	f   ded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 )ÚSettingsUpdateListr#   c                 ó2   •— t         ‰| �  |«       d| _        y)zp
        Initialize the SettingsUpdateList

        :param version: Version that contains the resource

        z/SettingsUpdatesN)r.   r/   Ú_uri)r2   r#   r3   s     €r!   r/   zSettingsUpdateList.__init__]   s   ø€ ô 	‰Ñ˜Ô!à&ˆ�	r    NÚsimr)   r   ÚlimitÚ	page_sizer4   c                 ó¦   — | j                   j                  ||«      }| j                  |||d   ¬«      }| j                   j                  ||d   «      S )ab  
        Streams SettingsUpdateInstance 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 sim: Filter the Settings Updates by a Super SIM's SID or UniqueName.
        :param &quot;SettingsUpdateInstance.Status&quot; status: Filter the Settings Updates by status. Can be `scheduled`, `in-progress`, `successful`, or `failed`.
        :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
        rJ   ©rH   r)   rJ   rI   )r@   Úread_limitsÚpageÚstream©r2   rH   r)   rI   rJ   ÚlimitsrN   s          r!   rO   zSettingsUpdateList.streamh   sN   € ð0 —‘×*Ñ*¨5°)Ó<ˆØ�y‰y˜S¨¸6À+Ñ;NˆyÓOˆà�}‰}×#Ñ# D¨&°©/Ó:Ð:r    c              ƒ   óÂ   K  — | j                   j                  ||«      }| j                  |||d   ¬«      ƒ d{  –—† }| j                   j                  ||d   «      S 7 Œ#­w)aq  
        Asynchronously streams SettingsUpdateInstance 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 sim: Filter the Settings Updates by a Super SIM's SID or UniqueName.
        :param &quot;SettingsUpdateInstance.Status&quot; status: Filter the Settings Updates by status. Can be `scheduled`, `in-progress`, `successful`, or `failed`.
        :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
        rJ   rL   NrI   )r@   rM   Ú
page_asyncÚstream_asyncrP   s          r!   rT   zSettingsUpdateList.stream_async…   sd   è ø€ ð0 —‘×*Ñ*¨5°)Ó<ˆØ—_‘_Ø˜F¨f°[Ñ.Að %ó 
÷ 
ˆð �}‰}×)Ñ)¨$°°w±Ó@Ð@ð	
ús   ‚7A¹Aº$Ac                 ó>   — t        | j                  ||||¬«      «      S )aÿ  
        Lists SettingsUpdateInstance records from the API as a list.
        Unlike stream(), this operation is eager and will load `limit` records into
        memory before returning.

        :param str sim: Filter the Settings Updates by a Super SIM's SID or UniqueName.
        :param &quot;SettingsUpdateInstance.Status&quot; status: Filter the Settings Updates by status. Can be `scheduled`, `in-progress`, `successful`, or `failed`.
        :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   r)   rI   rJ   )ÚlistrO   )r2   rH   r)   rI   rJ   s        r!   rW   zSettingsUpdateList.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 SettingsUpdateInstance records from the API as a list.
        Unlike stream(), this operation is eager and will load `limit` records into
        memory before returning.

        :param str sim: Filter the Settings Updates by a Super SIM's SID or UniqueName.
        :param &quot;SettingsUpdateInstance.Status&quot; status: Filter the Settings Updates by status. Can be `scheduled`, `in-progress`, `successful`, or `failed`.
        :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
        rV   N)rT   )r2   rH   r)   rI   rJ   Úrecords         r!   Ú
list_asynczSettingsUpdateList.list_asyncÄ   sZ   è ø€ ð2 '+×&7Ñ&7ØØØØ#ð	 '8ó '÷ !÷
ô 
àò ð!øð
øò 
ð 	
ùò 
ùs0   ‚=›0œ=¢8¤4¨2
©4¬8°=²4´8µ=Ú
page_tokenÚpage_numberc                 óî   — t        j                  |||||dœ«      }t        j                  ddi«      }d|d<   | j                  j                  d| j                  ||¬«      }t        | j                  |«      S )aQ  
        Retrieve a single page of SettingsUpdateInstance records from the API.
        Request is executed immediately

        :param sim: Filter the Settings Updates by a Super SIM's SID or UniqueName.
        :param status: Filter the Settings Updates by status. Can be `scheduled`, `in-progress`, `successful`, or `failed`.
        :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 SettingsUpdateInstance
        ©ÚSimr"   Ú	PageTokenr   ÚPageSizeúContent-Typeú!application/x-www-form-urlencodedúapplication/jsonÚAcceptÚGET©ÚmethodÚuriÚparamsÚheaders)r   Úofr@   rN   rG   r>   ©	r2   rH   r)   r[   r\   rJ   Údatark   Úresponses	            r!   rN   zSettingsUpdateList.pageå   s   € ô( �y‰yàØ Ø'Ø#Ø%ñó
ˆô —)‘)˜^Ð-PÐQÓRˆà.ˆ�Ñà—=‘=×%Ñ%Ø˜dŸi™i°¸gð &ó 
ˆô " $§-¡-°Ó:Ð:r    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 SettingsUpdateInstance records from the API.
        Request is executed immediately

        :param sim: Filter the Settings Updates by a Super SIM's SID or UniqueName.
        :param status: Filter the Settings Updates by status. Can be `scheduled`, `in-progress`, `successful`, or `failed`.
        :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 SettingsUpdateInstance
        r^   rb   rc   rd   re   rf   rg   N)r   rl   r@   rS   rG   r>   rm   s	            r!   rS   zSettingsUpdateList.page_async  s�   è ø€ ô( �y‰yàØ Ø'Ø#Ø%ñó
ˆô —)‘)˜^Ð-PÐQÓRˆà.ˆ�ÑàŸ™×1Ñ1Ø˜dŸi™i°¸gð 2ó 
÷ 
ˆô " $§-¡-°Ó:Ð:ð
ús   ‚A$BÁ&BÁ'BÚ
target_urlc                 óŽ   — | j                   j                  j                  j                  d|«      }t	        | j                   |«      S )a  
        Retrieve a specific page of SettingsUpdateInstance records from the API.
        Request is executed immediately

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

        :returns: Page of SettingsUpdateInstance
        rf   )r@   ÚdomainÚtwilioÚrequestr>   ©r2   rq   ro   s      r!   Úget_pagezSettingsUpdateList.get_page3  s7   € ð —=‘=×'Ñ'×.Ñ.×6Ñ6°u¸jÓIˆÜ! $§-¡-°Ó:Ð:r    c              ƒ   óª   K  — | j                   j                  j                  j                  d|«      ƒ d{  –—† }t	        | j                   |«      S 7 Œ­w)a  
        Asynchronously retrieve a specific page of SettingsUpdateInstance records from the API.
        Request is executed immediately

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

        :returns: Page of SettingsUpdateInstance
        rf   N)r@   rs   rt   Úrequest_asyncr>   rv   s      r!   Úget_page_asyncz!SettingsUpdateList.get_page_async?  sD   è ø€ ð Ÿ™×-Ñ-×4Ñ4×BÑBÀ5È*ÓU×UˆÜ! $§-¡-°Ó:Ð:ð Vús   ‚4A¶A·Ac                  ó   — y)r6   z'<Twilio.Supersim.V1.SettingsUpdateList>r   r7   s    r!   r8   zSettingsUpdateList.__repr__K  rC   r    )r   r   r   r   r/   r   Úunsetr   r:   r9   r   Úintr	   r   rO   r
   rT   r   rW   rZ   r>   rN   rS   rw   rz   r8   r;   r<   s   @r!   rE   rE   [   s(  ø„ ð	' õ 	'ð #)§,¡,ØAGÇÁØ#Ø#'ñ;à�3˜�;Ñð;ð Ð5°vÐ=Ñ>ð;ð ˜‰}ð	;ð
 ˜C‘=ð;ð 
Ð(Ñ	)ó;ð> #)§,¡,ØAGÇÁØ#Ø#'ñAà�3˜�;ÑðAð Ð5°vÐ=Ñ>ðAð ˜‰}ð	Að
 ˜C‘=ðAð 
Ð-Ñ	.óAðB #)§,¡,ØAGÇÁØ#Ø#'ñ
à�3˜�;Ñð
ð Ð5°vÐ=Ñ>ð
ð ˜‰}ð	
ð
 ˜C‘=ð
ð 
Ð$Ñ	%ó
ðD #)§,¡,ØAGÇÁØ#Ø#'ñ
à�3˜�;Ñð
ð Ð5°vÐ=Ñ>ð
ð ˜‰}ð	
ð
 ˜C‘=ð
ð 
Ð$Ñ	%ó
ðF #)§,¡,ØAGÇÁØ)/¯©Ø*0¯,©,Ø(.¯©ñ%;à�3˜�;Ñð%;ð Ð5°vÐ=Ñ>ð%;ð ˜#˜v˜+Ñ&ð	%;ð
 ˜3 ˜;Ñ'ð%;ð ˜˜f˜Ñ%ð%;ð 
ó%;ðR #)§,¡,ØAGÇÁØ)/¯©Ø*0¯,©,Ø(.¯©ñ%;à�3˜�;Ñð%;ð Ð5°vÐ=Ñ>ð%;ð ˜#˜v˜+Ñ&ð	%;ð
 ˜3 ˜;Ñ'ð%;ð ˜˜f˜Ñ%ð%;ð 
ó%;ðN
; 3ð 
;Ð+=ó 
;ð
;¨sð 
;Ð7Ió 
;ð9˜#÷ 9r    rE   N)Ú__doc__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   r>   rE   r   r    r!   ú<module>r…      sO   ðñõ ß L× LÑ Lß +å :Ý 2Ý 'Ý !ô,=Ð-ô ,=ô^9˜ô 9ô&v9˜õ v9r    