
    g=5                         S r SSKJr  SSKJrJrJrJr  SSK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 " 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OptionalUnion)deserialize	serializevalues)InstanceContext)InstanceResource)ListResource)Versionc                   L  ^  \ rS rSr " S S\5      r S\S\\\	4   4U 4S jjr
\SS j5       r\R                  \R                  \R                  \R                  \R                  \R                  4S	\\\4   S
\\\4   S\\\4   S\\\4   S\S\4   S\\\4   SS 4S jjr\R                  \R                  \R                  \R                  \R                  \R                  4S	\\\4   S
\\\4   S\\\4   S\\\4   S\S\4   S\\\4   SS 4S jjrS\4S jrSrU =r$ )#VerificationAttemptsSummaryInstance   c                   $    \ rS rSrSrSrSrSrSrg),VerificationAttemptsSummaryInstance.Channels   smscallemailwhatsapp N)	__name__
__module____qualname____firstlineno__SMSCALLEMAILWHATSAPP__static_attributes__r       {/Users/Alptekin/Desktop/izin_takip/venv/lib/python3.13/site-packages/twilio/rest/verify/v2/verification_attempts_summary.pyChannelsr      s    r#   r%   versionpayloadc                   > [         TU ]  U5        [        R                  " UR	                  S5      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	        UR	                  S5      U l
        S U l        g )Ntotal_attemptstotal_convertedtotal_unconvertedconversion_rate_percentageurl)super__init__r   integergetr)   r*   r+   decimalr,   r-   _context)selfr&   r'   	__class__s      r$   r/   ,VerificationAttemptsSummaryInstance.__init__(   s    !-8-@-@KK().
 /:.A.AKK)*/
 1<0C0CKK+,1
 <G;N;NKK45<
' #*++e"4FJr#   returnc                 h    U R                   c  [        U R                  5      U l         U R                   $ )z
Generate an instance context for the instance, the context is capable of
performing various actions. All instance actions are proxied to the context

:returns: VerificationAttemptsSummaryContext for this VerificationAttemptsSummaryInstance
)r3   "VerificationAttemptsSummaryContext_versionr4   s    r$   _proxy*VerificationAttemptsSummaryInstance._proxy;   s-     == >DM }}r#   verify_service_siddate_created_afterdate_created_beforecountrychannelr   destination_prefixc           	      >    U R                   R                  UUUUUUS9$ )|  
Fetch the VerificationAttemptsSummaryInstance

:param verify_service_sid: Filter used to consider only Verification Attempts of the given verify service on the summary aggregation.
:param date_created_after: Datetime filter used to consider only Verification Attempts created after this datetime on the summary aggregation. Given as GMT in ISO 8601 formatted datetime string: yyyy-MM-dd'T'HH:mm:ss'Z.
:param date_created_before: Datetime filter used to consider only Verification Attempts created before this datetime on the summary aggregation. Given as GMT in ISO 8601 formatted datetime string: yyyy-MM-dd'T'HH:mm:ss'Z.
:param country: Filter used to consider only Verification Attempts sent to the specified destination country on the summary aggregation.
:param channel: Filter Verification Attempts considered on the summary aggregation by communication channel. Valid values are `SMS`, `CALL` and `WHATSAPP`
:param destination_prefix: Filter the Verification Attempts considered on the summary aggregation by Destination prefix. It is the prefix of a phone number in E.164 format.

:returns: The fetched VerificationAttemptsSummaryInstance
r>   r?   r@   rA   rB   rC   )r<   fetchr4   r>   r?   r@   rA   rB   rC   s          r$   rG   )VerificationAttemptsSummaryInstance.fetchI   s2    . {{  11 31 ! 
 	
r#   c           	      Z   #    U R                   R                  UUUUUUS9I Sh  vN $  N7f)  
Asynchronous coroutine to fetch the VerificationAttemptsSummaryInstance

:param verify_service_sid: Filter used to consider only Verification Attempts of the given verify service on the summary aggregation.
:param date_created_after: Datetime filter used to consider only Verification Attempts created after this datetime on the summary aggregation. Given as GMT in ISO 8601 formatted datetime string: yyyy-MM-dd'T'HH:mm:ss'Z.
:param date_created_before: Datetime filter used to consider only Verification Attempts created before this datetime on the summary aggregation. Given as GMT in ISO 8601 formatted datetime string: yyyy-MM-dd'T'HH:mm:ss'Z.
:param country: Filter used to consider only Verification Attempts sent to the specified destination country on the summary aggregation.
:param channel: Filter Verification Attempts considered on the summary aggregation by communication channel. Valid values are `SMS`, `CALL` and `WHATSAPP`
:param destination_prefix: Filter the Verification Attempts considered on the summary aggregation by Destination prefix. It is the prefix of a phone number in E.164 format.

:returns: The fetched VerificationAttemptsSummaryInstance
rF   N)r<   fetch_asyncrH   s          r$   rL   /VerificationAttemptsSummaryInstance.fetch_asynci   s?     . [[,,11 31 - 
 
 	
 
s   "+)+c                     g)N
Provide a friendly representation

:returns: Machine friendly representation
z6<Twilio.Verify.V2.VerificationAttemptsSummaryInstance>r   r;   s    r$   __repr__,VerificationAttemptsSummaryInstance.__repr__   s     Hr#   )r3   r,   r)   r*   r+   r-   )r7   r9   )r   r   r   r   objectr%   r   r   strr   r/   propertyr<   r
   unsetr   r   rG   rL   rP   r"   __classcell__r5   s   @r$   r   r      s   6 K K$sCx. K&   286<ll7=||&,ll LL17
!#v+.
 "(F"23
 #8V#34	

 sF{#
 :FB

 "#v+.
 
/
D 286<ll7=||&,ll LL17
!#v+.
 "(F"23
 #8V#34	

 sF{#
 :FB

 "#v+.
 
/
@H# H Hr#   r   c                     ^  \ rS rSrS\4U 4S jjr\R                  \R                  \R                  \R                  \R                  \R                  4S\\	\
4   S\\\
4   S\\\
4   S\\	\
4   S\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\S	\
4   S
\\	\
4   S\4S jjrS\	4S jrSrU =r$ )r9      r&   c                 2   > [         TU ]  U5        SU l        g)zg
Initialize the VerificationAttemptsSummaryContext

:param version: Version that contains the resource
z/Attempts/SummaryN)r.   r/   _urir4   r&   r5   s     r$   r/   +VerificationAttemptsSummaryContext.__init__   s     	!'	r#   r>   r?   r@   rA   rB   r   rC   r7   c           	      8   [         R                  " U[        R                  " U5      [        R                  " U5      UUUS.5      n[         R                  " 0 5      nSUS'   U R                  R                  SU R                  XxS9n	[        U R                  U	5      $ )rE   VerifyServiceSidDateCreatedAfterDateCreatedBeforeCountryChannelDestinationPrefixapplication/jsonAcceptGETmethoduriparamsheaders)r
   ofr	   iso8601_datetimer:   rG   r[   r   
r4   r>   r?   r@   rA   rB   rC   datarm   r'   s
             r$   rG   (VerificationAttemptsSummaryContext.fetch   s    0 yy$6$-$>$>?Q$R%.%?%?@S%T""%7	
 ))B-.--%%dii & 
 3MM
 	
r#   c           	      T  #    [         R                  " U[        R                  " U5      [        R                  " U5      UUUS.5      n[         R                  " 0 5      nSUS'   U R                  R                  SU R                  XxS9I Sh  vN n	[        U R                  U	5      $  N7f)rK   r_   rf   rg   rh   ri   N)r
   rn   r	   ro   r:   rL   r[   r   rp   s
             r$   rL   .VerificationAttemptsSummaryContext.fetch_async   s     0 yy$6$-$>$>?Q$R%.%?%?@S%T""%7	
 ))B-.11dii 2 
 
 3MM
 	
	
s   B	B(B&B(c                     g)rO   z5<Twilio.Verify.V2.VerificationAttemptsSummaryContext>r   r;   s    r$   rP   +VerificationAttemptsSummaryContext.__repr__   s     Gr#   )r[   )r   r   r   r   r   r/   r
   rU   r   rS   rR   r   r   rG   rL   rP   r"   rV   rW   s   @r$   r9   r9      s   ( ( 286<ll7=||&,ll LL17.
!#v+..
 "(F"23.
 #8V#34	.

 sF{#.
 :FB
.
 "#v+..
 
-.
d 286<ll7=||&,ll LL17.
!#v+..
 "(F"23.
 #8V#34	.

 sF{#.
 :FB
.
 "#v+..
 
-.
`G# G Gr#   r9   c                   Z   ^  \ rS rSrS\4U 4S jjrS\4S jrS\4S jrS\	4S jr
SrU =r$ )	VerificationAttemptsSummaryListi	  r&   c                 $   > [         TU ]  U5        g)ze
Initialize the VerificationAttemptsSummaryList

:param version: Version that contains the resource

N)r.   r/   r\   s     r$   r/   (VerificationAttemptsSummaryList.__init__  s     	!r#   r7   c                 ,    [        U R                  5      $ z2
Constructs a VerificationAttemptsSummaryContext

r9   r:   r;   s    r$   r1   #VerificationAttemptsSummaryList.get      
 2$--@@r#   c                 ,    [        U R                  5      $ r|   r}   r;   s    r$   __call__(VerificationAttemptsSummaryList.__call__  r   r#   c                     g)rO   z2<Twilio.Verify.V2.VerificationAttemptsSummaryList>r   r;   s    r$   rP   (VerificationAttemptsSummaryList.__repr__"  s     Dr#   r   )r   r   r   r   r   r/   r9   r1   r   rS   rP   r"   rV   rW   s   @r$   rx   rx   	  sA    " "A7 AA< AD# D Dr#   rx   N)__doc__r   typingr   r   r   r   twilio.baser   r	   r
   twilio.base.instance_contextr   twilio.base.instance_resourcer   twilio.base.list_resourcer   twilio.base.versionr   r   r9   rx   r   r#   r$   <module>r      sX     - - 6 6 8 : 2 'xH*: xHvsG sGlDl Dr#   