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

 Twilio - Numbers
 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.
    )AnyDictListOptionalUnionIteratorAsyncIterator)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$ )	#SigningRequestConfigurationInstance   u  
:ivar logo_sid: The SID of the document  that includes the logo that will appear in the LOA. To upload documents follow the following guide: https://www.twilio.com/docs/phone-numbers/regulatory/getting-started/create-new-bundle-public-rest-apis#supporting-document-create
:ivar friendly_name: This is the string that you assigned as a friendly name for describing the creation of the configuration.
:ivar product: The product or service for which is requesting the signature.
:ivar country: The country ISO code to apply the configuration.
:ivar email_subject: Subject of the email that the end client will receive ex: “Twilio Hosting Request”, maximum length of 255 characters.
:ivar email_message: Content of the email that the end client will receive ex: “This is a Hosting request from Twilio, please check the document and sign it”, maximum length of 5,000 characters.
:ivar url_redirection: Url the end client will be redirected after signing a document.
:ivar url:
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        UR                  S5      U l        UR                  S5      U l	        UR                  S5      U l
        g )	Nlogo_sidfriendly_nameproductcountryemail_subjectemail_messageurl_redirectionurl)super__init__getr   r   r   r   r   r   r   r   )selfr   r   	__class__s      |/Users/Alptekin/Desktop/izin_takip/venv/lib/python3.13/site-packages/twilio/rest/numbers/v1/signing_request_configuration.pyr   ,SigningRequestConfigurationInstance.__init__$   s    !'.{{:'>,3KK,H&-kk)&<&-kk)&<,3KK,H,3KK,H.5kk:K.L")++e"4    returnc                     g)N
Provide a friendly representation

:returns: Machine friendly representation
z7<Twilio.Numbers.V1.SigningRequestConfigurationInstance> r    s    r"   __repr__,SigningRequestConfigurationInstance.__repr__0   s     Ir$   )r   r   r   r   r   r   r   r   )__name__
__module____qualname____firstlineno____doc__r   r   strr   r   r*   __static_attributes____classcell__r!   s   @r"   r   r      s7    	
5 
5$sCx. 
5I# I Ir$   r   c                   >    \ rS rSrS\\\4   S\4S jrS\4S jr	Sr
g)SigningRequestConfigurationPage:   r   r%   c                 .    [        U R                  U5      $ )zi
Build an instance of SigningRequestConfigurationInstance

:param payload: Payload response from the API
)r   _version)r    r   s     r"   get_instance,SigningRequestConfigurationPage.get_instance<   s     34=='JJr$   c                     g)r'   z3<Twilio.Numbers.V1.SigningRequestConfigurationPage>r(   r)   s    r"   r*   (SigningRequestConfigurationPage.__repr__F        Er$   r(   N)r,   r-   r.   r/   r   r1   r   r   r:   r*   r2   r(   r$   r"   r6   r6   :   s0    KCH~K	,KE# Er$   r6   c                   :  ^  \ rS rSrS\4U 4S jjr\R                  4S\\	\	4   S\
4S jjr\R                  4S\\	\	4   S\
4S jjr\R                  \R                  SS4S	\\\	4   S
\\\	4   S\\   S\\   S\\
   4
S jjr\R                  \R                  SS4S	\\\	4   S
\\\	4   S\\   S\\   S\\
   4
S jjr\R                  \R                  SS4S	\\\	4   S
\\\	4   S\\   S\\   S\\
   4
S jjr\R                  \R                  SS4S	\\\	4   S
\\\	4   S\\   S\\   S\\
   4
S jjr\R                  \R                  \R                  \R                  \R                  4S	\\\	4   S
\\\	4   S\\\	4   S\\\	4   S\\\	4   S\4S jjr\R                  \R                  \R                  \R                  \R                  4S	\\\	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$ )SigningRequestConfigurationListO   r   c                 2   > [         TU ]  U5        SU l        g)ze
Initialize the SigningRequestConfigurationList

:param version: Version that contains the resource

z/SigningRequest/ConfigurationN)r   r   _uri)r    r   r!   s     r"   r   (SigningRequestConfigurationList.__init__Q   s     	!3	r$   bodyr%   c                     UR                  5       n[        R                  " SS05      nSUS'   SUS'   U R                  R	                  SU R
                  X#S9n[        U R                  U5      $ )zy
Create the SigningRequestConfigurationInstance

:param body:

:returns: The created SigningRequestConfigurationInstance
Content-Type!application/x-www-form-urlencodedapplication/jsonAcceptPOSTmethoduridataheaders)to_dictr
   ofr9   createrC   r   r    rE   rO   rP   r   s        r"   rS   &SigningRequestConfigurationList.create\   sn     ||~))^-PQR"4.--&&tyyt ' 
 34=='JJr$   c                    #    UR                  5       n[        R                  " SS05      nSUS'   SUS'   U R                  R	                  SU R
                  X#S9I Sh  vN n[        U R                  U5      $  N7f)z
Asynchronously create the SigningRequestConfigurationInstance

:param body:

:returns: The created SigningRequestConfigurationInstance
rG   rH   rI   rJ   rK   rL   N)rQ   r
   rR   r9   create_asyncrC   r   rT   s        r"   rW   ,SigningRequestConfigurationList.create_asynct   s{      ||~))^-PQR"4.22tyyt 3 
 
 34=='JJ	
s   AA:A8A:Nr   r   limit	page_sizec                     U R                   R                  X45      nU R                  XUS   S9nU R                   R                  XeS   5      $ )a	  
Streams SigningRequestConfigurationInstance 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 country: The country ISO code to apply this configuration, this is an optional field, Example: US, MX
:param str product: The product or service for which is requesting the signature, this is an optional field, Example: Porting, Hosting
: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
rZ   r   r   rZ   rY   )r9   read_limitspagestreamr    r   r   rY   rZ   limitsr^   s          r"   r_   &SigningRequestConfigurationList.stream   sP    0 **5<yy{8K  
 }}##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 SigningRequestConfigurationInstance 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 country: The country ISO code to apply this configuration, this is an optional field, Example: US, MX
:param str product: The product or service for which is requesting the signature, this is an optional field, Example: Porting, Hosting
: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
rZ   r\   NrY   )r9   r]   
page_asyncstream_asyncr`   s          r"   re   ,SigningRequestConfigurationList.stream_async   s]     0 **5<__{8K % 
 
 }}))$w@@	
s   2AA#Ac           	      8    [        U R                  UUUUS95      $ )a  
Lists SigningRequestConfigurationInstance records from the API as a list.
Unlike stream(), this operation is eager and will load `limit` records into
memory before returning.

:param str country: The country ISO code to apply this configuration, this is an optional field, Example: US, MX
:param str product: The product or service for which is requesting the signature, this is an optional field, Example: Porting, Hosting
: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   rY   rZ   )listr_   )r    r   r   rY   rZ   s        r"   ri   $SigningRequestConfigurationList.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 SigningRequestConfigurationInstance records from the API as a list.
Unlike stream(), this operation is eager and will load `limit` records into
memory before returning.

:param str country: The country ISO code to apply this configuration, this is an optional field, Example: US, MX
:param str product: The product or service for which is requesting the signature, this is an optional field, Example: Porting, Hosting
: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)re   )r    r   r   rY   rZ   records         r"   
list_async*SigningRequestConfigurationList.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      $ )aS  
Retrieve a single page of SigningRequestConfigurationInstance records from the API.
Request is executed immediately

:param country: The country ISO code to apply this configuration, this is an optional field, Example: US, MX
:param product: The product or service for which is requesting the signature, this is an optional field, Example: Porting, Hosting
: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 SigningRequestConfigurationInstance
CountryProduct	PageTokenr   PageSizerG   rH   rI   rJ   GETrM   rN   paramsrP   )r
   rR   r9   r^   rC   r6   	r    r   r   ro   rp   rZ   rO   rP   responses	            r"   r^   $SigningRequestConfigurationList.page  s}    ( yy""'#%
 ))^-PQR.==%%dii & 
 /t}}hGGr$   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)	ab  
Asynchronously retrieve a single page of SigningRequestConfigurationInstance records from the API.
Request is executed immediately

:param country: The country ISO code to apply this configuration, this is an optional field, Example: US, MX
:param product: The product or service for which is requesting the signature, this is an optional field, Example: Porting, Hosting
: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 SigningRequestConfigurationInstance
rr   rG   rH   rI   rJ   rw   rx   N)r
   rR   r9   rd   rC   r6   rz   s	            r"   rd   *SigningRequestConfigurationList.page_async2  s     ( yy""'#%
 ))^-PQR.11dii 2 
 
 /t}}hGG
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 SigningRequestConfigurationInstance records from the API.
Request is executed immediately

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

:returns: Page of SigningRequestConfigurationInstance
rw   )r9   domaintwiliorequestr6   r    r   r{   s      r"   get_page(SigningRequestConfigurationList.get_pageY  s7     ==''..66ujI.t}}hGGr$   c                    #    U R                   R                  R                  R                  SU5      I Sh  vN n[	        U R                   U5      $  N7f)a  
Asynchronously retrieve a specific page of SigningRequestConfigurationInstance records from the API.
Request is executed immediately

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

:returns: Page of SigningRequestConfigurationInstance
rw   N)r9   r   r   request_asyncr6   r   s      r"   get_page_async.SigningRequestConfigurationList.get_page_asynce  sC      --44BB5*UU.t}}hGG Vs   4AAAc                     g)r'   z3<Twilio.Numbers.V1.SigningRequestConfigurationList>r(   r)   s    r"   r*   (SigningRequestConfigurationList.__repr__q  r>   r$   )rC   )r,   r-   r.   r/   r   r   r
   unsetr   objectr   rS   rW   r1   r   intr   r_   r	   re   r   ri   rm   r6   r^   rd   r   r   r*   r2   r3   r4   s   @r"   r@   r@   O   s   	4 	4 -3LLK&&.)K	,K2 -3LLK&&.)K	,K4 '-ll&,ll##';sF{#; sF{#; }	;
 C=; 
5	6;B '-ll&,ll##'AsF{#A sF{#A }	A
 C=A 
:	;AB '-ll&,ll##'
sF{#
 sF{#
 }	

 C=
 
1	2
D '-ll&,ll##'
sF{#
 sF{#
 }	

 C=
 
1	2
F '-ll&,ll)/*0,,(.%HsF{#%H sF{#%H #v+&	%H
 3;'%H f%%H 
)%HR '-ll&,ll)/*0,,(.%HsF{#%H sF{#%H #v+&	%H
 3;'%H f%%H 
)%HN
H3 
H+J 
H
Hs 
H7V 
HE# E Er$   r@   N)r0   typingr   r   r   r   r   r   r	   twilio.baser
   twilio.base.instance_resourcer   twilio.base.list_resourcer   twilio.base.versionr   twilio.base.pager   r   r6   r@   r(   r$   r"   <module>r      sS    M L L  : 2 ' !I*: IDEd E*hEl hEr$   