
    g8                         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 - 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                   d   ^  \ rS rSr " S S\5      r S\S\\\	4   4U 4S jjr
S\4S jrS	rU =r$ )
SettingsUpdateInstance   c                   $    \ rS rSrSrSrSrSrSrg)SettingsUpdateInstance.Status   	scheduledzin-progress
successfulfailed N)	__name__
__module____qualname____firstlineno__	SCHEDULEDIN_PROGRESS
SUCCESSFULFAILED__static_attributes__r       o/Users/Alptekin/Desktop/izin_takip/venv/lib/python3.13/site-packages/twilio/rest/supersim/v1/settings_update.pyStatusr      s    	#!
r$   r&   versionpayloadc                   > [         TU ]  U5        UR                  S5      U l        UR                  S5      U l        UR                  S5      U l        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        [        R                  " UR                  S5      5      U l        g )	Nsidiccidsim_sidstatuspackagesdate_completeddate_createddate_updated)super__init__getr*   r+   r,   r-   r.   r   iso8601_datetimer/   r0   r1   )selfr'   r(   	__class__s      r%   r3   SettingsUpdateInstance.__init__,   s    !")++e"4$+KK$8
&-kk)&<AHXAV;B;;z;R2=2N2NKK()3
 1<0L0LKK'1
 1<0L0LKK'1
r$   returnc                     g)N
Provide a friendly representation

:returns: Machine friendly representation
z+<Twilio.Supersim.V1.SettingsUpdateInstance>r   r6   s    r%   __repr__SettingsUpdateInstance.__repr__>   s     =r$   )r/   r0   r1   r+   r.   r*   r,   r-   )r   r   r   r   objectr&   r   r   strr   r3   r=   r#   __classcell__r7   s   @r%   r   r      s@     	
 
$sCx. 
$=# = =r$   r   c                   >    \ rS rSrS\\\4   S\4S jrS\4S jr	Sr
g)SettingsUpdatePageH   r(   r9   c                 .    [        U R                  U5      $ )z\
Build an instance of SettingsUpdateInstance

:param payload: Payload response from the API
)r   _version)r6   r(   s     r%   get_instanceSettingsUpdatePage.get_instanceJ   s     &dmmW==r$   c                     g)r;   z'<Twilio.Supersim.V1.SettingsUpdatePage>r   r<   s    r%   r=   SettingsUpdatePage.__repr__R        9r$   r   N)r   r   r   r   r   r@   r   r   rH   r=   r#   r   r$   r%   rD   rD   H   s*    >DcN >7M >9# 9r$   rD   c                     ^  \ rS rSrS\4U 4S jjr\R                  \R                  SS4S\\	\
4   S\S\
4   S\\   S	\\   S
\\   4
S jjr\R                  \R                  SS4S\\	\
4   S\S\
4   S\\   S	\\   S
\\   4
S jjr\R                  \R                  SS4S\\	\
4   S\S\
4   S\\   S	\\   S
\\   4
S jjr\R                  \R                  SS4S\\	\
4   S\S\
4   S\\   S	\\   S
\\   4
S jjr\R                  \R                  \R                  \R                  \R                  4S\\	\
4   S\S\
4   S\\	\
4   S\\\
4   S	\\\
4   S
\4S jjr\R                  \R                  \R                  \R                  \R                  4S\\	\
4   S\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$ )SettingsUpdateList[   r'   c                 2   > [         TU ]  U5        SU l        g)zX
Initialize the SettingsUpdateList

:param version: Version that contains the resource

z/SettingsUpdatesN)r2   r3   _uri)r6   r'   r7   s     r%   r3   SettingsUpdateList.__init__]   s     	!&	r$   Nsimr-   r   limit	page_sizer9   c                     U R                   R                  X45      nU R                  XUS   S9nU R                   R                  XeS   5      $ )a  
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
rU   rS   r-   rU   rT   )rG   read_limitspagestreamr6   rS   r-   rT   rU   limitsrY   s          r%   rZ   SettingsUpdateList.streamh   sH    0 **5<yyS6+;NyO}}##D/::r$   c                    #    U R                   R                  X45      nU R                  XUS   S9I Sh  vN nU R                   R                  XeS   5      $  N"7f)a  
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
rU   rW   NrT   )rG   rX   
page_asyncstream_asyncr[   s          r%   r`   SettingsUpdateList.stream_async   s]     0 **5<__f[.A % 
 
 }}))$w@@	
s   2AA#Ac           	      8    [        U R                  UUUUS95      $ )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
rS   r-   rT   rU   )listrZ   )r6   rS   r-   rT   rU   s        r%   rd   SettingsUpdateList.list   s.    . KK#	  
 	
r$   c                 z   #    U R                  U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)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
rc   N)r`   )r6   rS   r-   rT   rU   records         r%   
list_asyncSettingsUpdateList.list_async   sW     2 '+&7&7#	 '8 ' ! !
 
 !
 	
 
s0   ;.;620
26;26;
page_tokenpage_numberc                     [         R                  " UUUUUS.5      n[         R                  " SS05      nSUS'   U R                  R                  SU R                  XgS9n[        U R                  U5      $ )a	  
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   ofrG   rY   rQ   rD   	r6   rS   r-   rj   rk   rU   datarz   responses	            r%   rY   SettingsUpdateList.page   s}    ( yy '#%
 ))^-PQR.==%%dii & 
 "$--::r$   c                   #    [         R                  " UUUUUS.5      n[         R                  " SS05      nSUS'   U R                  R                  SU R                  XgS9I Sh  vN n[        U R                  U5      $  N7f)	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
rm   rq   rr   rs   rt   ru   rv   N)r   r{   rG   r_   rQ   rD   r|   s	            r%   r_   SettingsUpdateList.page_async  s     ( yy '#%
 ))^-PQR.11dii 2 
 
 "$--::
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 SettingsUpdateInstance records from the API.
Request is executed immediately

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

:returns: Page of SettingsUpdateInstance
ru   )rG   domaintwiliorequestrD   r6   r   r~   s      r%   get_pageSettingsUpdateList.get_page3  s7     ==''..66ujI!$--::r$   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 SettingsUpdateInstance records from the API.
Request is executed immediately

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

:returns: Page of SettingsUpdateInstance
ru   N)rG   r   r   request_asyncrD   r   s      r%   get_page_async!SettingsUpdateList.get_page_async?  sC      --44BB5*UU!$--:: Vs   4AAAc                     g)r;   z'<Twilio.Supersim.V1.SettingsUpdateList>r   r<   s    r%   r=   SettingsUpdateList.__repr__K  rL   r$   )rQ   )r   r   r   r   r   r3   r   unsetr   r@   r?   r   intr	   r   rZ   r
   r`   r   rd   rh   rD   rY   r_   r   r   r=   r#   rA   rB   s   @r%   rN   rN   [   s-   	' 	' #),,AG##';3;; 5v=>; }	;
 C=; 
(	);> #),,AG##'A3;A 5v=>A }	A
 C=A 
-	.AB #),,AG##'
3;
 5v=>
 }	

 C=
 
$	%
D #),,AG##'
3;
 5v=>
 }	

 C=
 
$	%
F #),,AG)/*0,,(.%;3;%; 5v=>%; #v+&	%;
 3;'%; f%%; 
%;R #),,AG)/*0,,(.%;3;%; 5v=>%; #v+&	%;
 3;'%; f%%; 
%;N
;3 
;+= 
;
;s 
;7I 
;9# 9 9r$   rN   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   rD   rN   r   r$   r%   <module>r      sO     L L L + : 2 ' !,=- ,=^9 9&v9 v9r$   