
    gj                     |    S r SSK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\	5      r " S	 S
\5      rg)a  
 This code was generated by
___ _ _ _ _ _    _ ____    ____ ____ _    ____ ____ _  _ ____ ____ ____ ___ __   __
 |  | | | | |    | |  | __ |  | |__| | __ | __ |___ |\ | |___ |__/ |__|  | |  | |__/
 |  |_|_| | |___ | |__|    |__| |  | |    |__] |___ | \| |___ |  \ |  |  | |__| |  \

 Twilio - Api
 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OptionalUnion)values)InstanceResource)ListResource)Versionc                   T   ^  \ rS rSrSrS\S\\\4   S\4U 4S jjr	S\4S jr
S	rU =r$ )
ValidationRequestInstance   a  
:ivar account_sid: The SID of the [Account](https://www.twilio.com/docs/iam/api/account) responsible for the Caller ID.
:ivar call_sid: The SID of the [Call](https://www.twilio.com/docs/voice/api/call-resource) the Caller ID is associated with.
:ivar friendly_name: The string that you assigned to describe the resource.
:ivar phone_number: The phone number to verify in [E.164](https://www.twilio.com/docs/glossary/what-e164) format, which consists of a + followed by the country code and subscriber number.
:ivar validation_code: The 6 digit validation code that someone must enter to validate the Caller ID  when `phone_number` is called.
versionpayloadaccount_sidc                   > [         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        SU0U l        g )Nr   call_sidfriendly_namephone_numbervalidation_code)	super__init__getr   r   r   r   r   	_solution)selfr   r   r   	__class__s       x/Users/Alptekin/Desktop/izin_takip/venv/lib/python3.13/site-packages/twilio/rest/api/v2010/account/validation_request.pyr   "ValidationRequestInstance.__init__    su    !*1++m*D'.{{:'>,3KK,H+2;;~+F.5kk:K.L ;
    returnc                     SR                  S U R                  R                  5        5       5      nSR                  U5      $ )N
Provide a friendly representation

:returns: Machine friendly representation
 c              3   H   #    U  H  u  pS R                  X5      v   M     g7f)z{}={}N)format).0kvs      r   	<genexpr>5ValidationRequestInstance.__repr__.<locals>.<genexpr>3   s      S<RDA7>>!//<Rs    "z/<Twilio.Api.V2010.ValidationRequestInstance {}>)joinr   itemsr$   )r   contexts     r   __repr__"ValidationRequestInstance.__repr__-   s6     ((SDNN<P<P<RSS@GGPPr   )r   r   r   r   r   r   )__name__
__module____qualname____firstlineno____doc__r
   r   strr   r   r-   __static_attributes____classcell__r   s   @r   r   r      s>    
 
$sCx. 
s 
Q# Q Qr   r   c                     ^  \ rS rSrS\S\4U 4S jjr\R                  \R                  \R                  \R                  \R                  4S\S\	\\
4   S\	\\
4   S\	\\
4   S	\	\\
4   S
\	\\
4   S\4S jjr\R                  \R                  \R                  \R                  \R                  4S\S\	\\
4   S\	\\
4   S\	\\
4   S	\	\\
4   S
\	\\
4   S\4S jjrS\4S jrSrU =r$ )ValidationRequestList7   r   r   c                 x   > [         TU ]  U5        SU0U l        SR                  " S0 U R                  D6U l        g)z
Initialize the ValidationRequestList

:param version: Version that contains the resource
:param account_sid: The SID of the [Account](https://www.twilio.com/docs/iam/api/account) responsible for the new caller ID resource.

r   z./Accounts/{account_sid}/OutgoingCallerIds.jsonN )r   r   r   r$   _uri)r   r   r   r   s      r   r   ValidationRequestList.__init__9   sC     	! ;
 EKK 
nn
	r   r   r   
call_delay	extensionstatus_callbackstatus_callback_methodr   c           	         [         R                  " UUUUUUS.5      n[         R                  " SS05      nSUS'   SUS'   U R                  R                  SU R                  XxS9n	[        U R                  XR                  S   S	9$ )
a  
Create the ValidationRequestInstance

:param phone_number: The phone number to verify in [E.164](https://www.twilio.com/docs/glossary/what-e164) format, which consists of a + followed by the country code and subscriber number.
:param friendly_name: A descriptive string that you create to describe the new caller ID resource. It can be up to 64 characters long. The default value is a formatted version of the phone number.
:param call_delay: The number of seconds to delay before initiating the verification call. Can be an integer between `0` and `60`, inclusive. The default is `0`.
:param extension: The digits to dial after connecting the verification call.
:param status_callback: The URL we should call using the `status_callback_method` to send status information about the verification process to your application.
:param status_callback_method: The HTTP method we should use to call `status_callback`. Can be: `GET` or `POST`, and the default is `POST`.

:returns: The created ValidationRequestInstance
PhoneNumberFriendlyName	CallDelay	ExtensionStatusCallbackStatusCallbackMethodContent-Type!application/x-www-form-urlencodedapplication/jsonAcceptPOSTmethoduridataheadersr   r   )r   of_versioncreater=   r   r   
r   r   r   r?   r@   rA   rB   rS   rT   r   s
             r   rX   ValidationRequestList.createK   s    , yy+ -'&"1(>	
 ))^-PQR"E.--&&tyyt ' 
 )MM7}0M
 	
r   c           	      (  #    [         R                  " UUUUUUS.5      n[         R                  " SS05      nSUS'   SUS'   U R                  R                  SU R                  XxS9I Sh  vN n	[        U R                  XR                  S	   S
9$  N%7f)a  
Asynchronously create the ValidationRequestInstance

:param phone_number: The phone number to verify in [E.164](https://www.twilio.com/docs/glossary/what-e164) format, which consists of a + followed by the country code and subscriber number.
:param friendly_name: A descriptive string that you create to describe the new caller ID resource. It can be up to 64 characters long. The default value is a formatted version of the phone number.
:param call_delay: The number of seconds to delay before initiating the verification call. Can be an integer between `0` and `60`, inclusive. The default is `0`.
:param extension: The digits to dial after connecting the verification call.
:param status_callback: The URL we should call using the `status_callback_method` to send status information about the verification process to your application.
:param status_callback_method: The HTTP method we should use to call `status_callback`. Can be: `GET` or `POST`, and the default is `POST`.

:returns: The created ValidationRequestInstance
rD   rK   rL   rM   rN   rO   rP   Nr   rU   )r   rV   rW   create_asyncr=   r   r   rY   s
             r   r\   "ValidationRequestList.create_asyncy   s     , yy+ -'&"1(>	
 ))^-PQR"E.22tyyt 3 
 
 )MM7}0M
 	
	
s   A(B*B+&Bc                     g)r!   z(<Twilio.Api.V2010.ValidationRequestList>r<   )r   s    r   r-   ValidationRequestList.__repr__   s     :r   )r   r=   )r/   r0   r1   r2   r
   r4   r   r   unsetr   objectintr   rX   r\   r-   r5   r6   r7   s   @r   r9   r9   7   s_   
 
c 
* -3LL)/(..4ll5;\\,
,
 S&[),
 #v+&	,

 f%,
 sF{+,
 !&c6k 2,
 
#,
b -3LL)/(..4ll5;\\,
,
 S&[),
 #v+&	,

 f%,
 sF{+,
 !&c6k 2,
 
#,
\:# : :r   r9   N)r3   typingr   r   r   r   twilio.baser   twilio.base.instance_resourcer   twilio.base.list_resourcer	   twilio.base.versionr
   r   r9   r<   r   r   <module>rh      s<    . -  : 2 'Q 0 Q@v:L v:r   