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

 Twilio - Verify
 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)deserializevalues)InstanceResource)ListResource)Versionc                   h   ^  \ rS rSr " S S\5      r S\S\\\	4   S\4U 4S jjr
S\4S	 jrS
rU =r$ )VerificationCheckInstance   c                   (    \ rS rSrSrSrSrSrSrSr	g)	!VerificationCheckInstance.Channel   smscallemailwhatsappsna N)
__name__
__module____qualname____firstlineno__SMSCALLEMAILWHATSAPPSNA__static_attributes__r       x/Users/Alptekin/Desktop/izin_takip/venv/lib/python3.13/site-packages/twilio/rest/verify/v2/service/verification_check.pyChannelr      s    r$   r&   versionpayloadservice_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        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        UR                  S5      U l        SU0U l        g )Nsidr)   account_sidtochannelstatusvalidamountpayeedate_createddate_updatedsna_attempts_error_codes)super__init__getr+   r)   r,   r-   r.   r/   r0   r1   r2   r	   iso8601_datetimer3   r4   r5   	_solution)selfr'   r(   r)   	__class__s       r%   r7   "VerificationCheckInstance.__init__0   s   !")++e"4*1++m*D*1++m*D!(T!2FMkkG
 &-[[%:%,[[%9
%,[[%:$+KK$8
0;0L0LKK'1
 1<0L0LKK'1
 LS;;&L
%
 ;
r$   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>5VerificationCheckInstance.__repr__.<locals>.<genexpr>R   s      S<RDA7>>!//<Rs    "z/<Twilio.Verify.V2.VerificationCheckInstance {}>)joinr:   itemsrC   )r;   contexts     r%   __repr__"VerificationCheckInstance.__repr__L   s6     ((SDNN<P<P<RSS@GGPPr$   )r:   r,   r1   r.   r3   r4   r2   r)   r+   r5   r/   r-   r0   )r   r   r   r   objectr&   r   r   strr   r7   rL   r#   __classcell__r<   s   @r%   r   r      sJ    & 
 
$sCx. 
s 
8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                  \R                  4S\	\\
4   S\	\\
4   S\	\\
4   S\	\\
4   S	\	\\
4   S
\	\\
4   S\4S jjr\R                  \R                  \R                  \R                  \R                  \R                  4S\	\\
4   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$ )VerificationCheckListV   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 VerificationCheckList

:param version: Version that contains the resource
:param service_sid: The SID of the verification [Service](https://www.twilio.com/docs/verify/api/service) to create the resource under.

r)   z)/Services/{service_sid}/VerificationCheckNr   )r6   r7   r:   rC   _uri)r;   r'   r)   r<   s      r%   r7   VerificationCheckList.__init__X   s>     	! ;
 @FFXX	r$   coder-   verification_sidr1   r2   sna_client_tokenr>   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 VerificationCheckInstance

:param code: The 4-10 character string being verified.
:param to: The phone number or [email](https://www.twilio.com/docs/verify/email) to verify. Either this parameter or the `verification_sid` must be specified. Phone numbers must be in [E.164 format](https://www.twilio.com/docs/glossary/what-e164).
:param verification_sid: A SID that uniquely identifies the Verification Check. Either this parameter or the `to` phone number/[email](https://www.twilio.com/docs/verify/email) must be specified.
:param amount: The amount of the associated PSD2 compliant transaction. Requires the PSD2 Service flag enabled.
:param payee: The payee of the associated PSD2 compliant transaction. Requires the PSD2 Service flag enabled.
:param sna_client_token: A sna client token received in sna url invocation response needs to be passed in Verification Check request and should match to get successful response.

:returns: The created VerificationCheckInstance
CodeToVerificationSidAmountPayeeSnaClientTokenContent-Type!application/x-www-form-urlencodedapplication/jsonAcceptPOSTmethoduridataheadersr)   r)   )r
   of_versioncreaterV   r   r:   
r;   rX   r-   rY   r1   r2   rZ   rk   rl   r(   s
             r%   rp   VerificationCheckList.createh   s    , yy#3 "2	
 ))^-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 VerificationCheckInstance

:param code: The 4-10 character string being verified.
:param to: The phone number or [email](https://www.twilio.com/docs/verify/email) to verify. Either this parameter or the `verification_sid` must be specified. Phone numbers must be in [E.164 format](https://www.twilio.com/docs/glossary/what-e164).
:param verification_sid: A SID that uniquely identifies the Verification Check. Either this parameter or the `to` phone number/[email](https://www.twilio.com/docs/verify/email) must be specified.
:param amount: The amount of the associated PSD2 compliant transaction. Requires the PSD2 Service flag enabled.
:param payee: The payee of the associated PSD2 compliant transaction. Requires the PSD2 Service flag enabled.
:param sna_client_token: A sna client token received in sna url invocation response needs to be passed in Verification Check request and should match to get successful response.

:returns: The created VerificationCheckInstance
r\   rc   rd   re   rf   rg   rh   Nr)   rm   )r
   rn   ro   create_asyncrV   r   r:   rq   s
             r%   rt   "VerificationCheckList.create_async   s     , yy#3 "2	
 ))^-PQR"E.22tyyt 3 
 
 )MM7}0M
 	
	
s   A(B*B+&Bc                     g)r@   z(<Twilio.Verify.V2.VerificationCheckList>r   )r;   s    r%   rL   VerificationCheckList.__repr__   s     :r$   )r:   rV   )r   r   r   r   r   rO   r7   r
   unsetr   rN   r   rp   rt   rL   r#   rP   rQ   s   @r%   rS   rS   V   s   Y Yc Y$ $*<<!'/5||%+\\$*LL/5||,
CK ,
 #v+,
  V,	,

 c6k",
 S&[!,
  V,,
 
#,
` $*<<!'/5||%+\\$*LL/5||,
CK ,
 #v+,
  V,	,

 c6k",
 S&[!,
  V,,
 
#,
\:# : :r$   rS   N)__doc__r   typingr   r   r   r   r   twilio.baser	   r
   twilio.base.instance_resourcer   twilio.base.list_resourcer   twilio.base.versionr   r   rS   r   r$   r%   <module>r      s?     3 3 + : 2 ';Q 0 ;Q|t:L t:r$   