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

 Twilio - Messaging
 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	serializevalues)InstanceContext)InstanceResource)ListResource)Version)Pagec            -         ^  \ rS rSr " S S\5      r " S S\5      r  S*S\S\\	\
4   S\\	   4U 4S	 jjjr\S+S j5       rS
\4S jrS
\4S jrS,S jrS,S jr\R*                  \R*                  \R*                  \R*                  \R*                  \R*                  \R*                  \R*                  \R*                  \R*                  \R*                  \R*                  \R*                  \R*                  \R*                  \R*                  \R*                  \R*                  \R*                  \R*                  \R*                  4S\\	\4   S\\	\4   S\\	\4   S\\\	   \4   S\\	\4   S\\	\4   S\\\	   \4   S\S\4   S\\	\4   S\\	\4   S\\	\4   S\\	\4   S\\	\4   S\\	\4   S\\	\4   S \\	\4   S!\\	\4   S"\\	\4   S#\\	\4   S$\\	\4   S%\\	\4   S
S 4,S& jjr\R*                  \R*                  \R*                  \R*                  \R*                  \R*                  \R*                  \R*                  \R*                  \R*                  \R*                  \R*                  \R*                  \R*                  \R*                  \R*                  \R*                  \R*                  \R*                  \R*                  \R*                  4S\\	\4   S\\	\4   S\\	\4   S\\\	   \4   S\\	\4   S\\	\4   S\\\	   \4   S\S\4   S\\	\4   S\\	\4   S\\	\4   S\\	\4   S\\	\4   S\\	\4   S\\	\4   S \\	\4   S!\\	\4   S"\\	\4   S#\\	\4   S$\\	\4   S%\\	\4   S
S 4,S' jjrS
\	4S( jrS)rU =r$ )-TollfreeVerificationInstance   c                   ,    \ rS rSrSrSrSrSrSrSr	Sr
g	)
&TollfreeVerificationInstance.OptInType   VERBALWEB_FORM
PAPER_FORMVIA_TEXTMOBILE_QR_CODEIMPORT N)__name__
__module____qualname____firstlineno__r   r   r   r   r   r   __static_attributes__r       v/Users/Alptekin/Desktop/izin_takip/venv/lib/python3.13/site-packages/twilio/rest/messaging/v1/tollfree_verification.py	OptInTyper      s     !
)r%   r'   c                   $    \ rS rSrSrSrSrSrSrg)#TollfreeVerificationInstance.Status#   PENDING_REVIEW	IN_REVIEWTWILIO_APPROVEDTWILIO_REJECTEDr   N)	r    r!   r"   r#   r+   r,   r-   r.   r$   r   r%   r&   Statusr)   #   s    )	++r%   r/   versionpayloadsidc                 f  > [         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        [        R                  " UR                  S5      5      U l	        [        R                  " UR                  S5      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        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        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#        [        RH                  " UR                  S 5      5      U l%        [        R                  " UR                  S!5      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=(       d    U R                  0U l+        S U l,        g )&Nr2   account_sidcustomer_profile_sidtrust_product_siddate_createddate_updatedregulated_item_sidbusiness_namebusiness_street_addressbusiness_street_address2business_citybusiness_state_province_regionbusiness_postal_codebusiness_countrybusiness_websitebusiness_contact_first_namebusiness_contact_last_namebusiness_contact_emailbusiness_contact_phonenotification_emailuse_case_categoriesuse_case_summaryproduction_message_sampleopt_in_image_urlsopt_in_typemessage_volumeadditional_informationtollfree_phone_number_sidstatusurlrejection_reason
error_codeedit_expirationedit_allowedrejection_reasonsresource_linksexternal_reference_id)-super__init__getr2   r4   r5   r6   r   iso8601_datetimer7   r8   r9   r:   r;   r<   r=   r>   r?   r@   rA   rB   rC   rD   rE   rF   rG   rH   rI   rJ   rK   rL   rM   rN   rO   rP   rQ   integerrR   rS   rT   rU   rV   rW   	_solution_context)selfr0   r1   r2   	__class__s       r&   rY   %TollfreeVerificationInstance.__init__Q   s<    	!")++e"4*1++m*D3:;;?U3V!07<O0P0;0L0LKK'1
 1<0L0LKK'1
 29=Q1R,3KK,H6=kk%7
$ 8?{{&8
% -4KK,H=D[[,>
+ 4;;;?U3V!/6{{;M/N/6{{;M/N:A++);
( :A(:
' 6=[[$6
# 6=[[$6
# 29=Q1R8?!9
  07{{;M/N8?'9
& 7>kkBU6VKK& 	 .5[[9I-J5<[[$6
# 9@'9
& HO{{H
 #*++e"4/6{{;M/N)4)<)<W[[=V)W3>3O3OKK)*4
 -4KK,GDKKKE
 <C;;GW;X4;KK@W4X" 3?$((
 @Dr%   returnc                     U R                   c&  [        U R                  U R                  S   S9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: TollfreeVerificationContext for this TollfreeVerificationInstance
r2   r2   )r^   TollfreeVerificationContext_versionr]   r_   s    r&   _proxy#TollfreeVerificationInstance._proxy   s9     == 7NN5)DM }}r%   c                 6    U R                   R                  5       $ )_
Deletes the TollfreeVerificationInstance


:returns: True if delete succeeds, False otherwise
)rh   deleterg   s    r&   rl   #TollfreeVerificationInstance.delete   s     {{!!##r%   c                 R   #    U R                   R                  5       I Sh  vN $  N7f){
Asynchronous coroutine that deletes the TollfreeVerificationInstance


:returns: True if delete succeeds, False otherwise
N)rh   delete_asyncrg   s    r&   rp   )TollfreeVerificationInstance.delete_async   s       [[--////   '%'c                 6    U R                   R                  5       $ )]
Fetch the TollfreeVerificationInstance


:returns: The fetched TollfreeVerificationInstance
)rh   fetchrg   s    r&   ru   "TollfreeVerificationInstance.fetch   s     {{  ""r%   c                 R   #    U R                   R                  5       I Sh  vN $  N7f)w
Asynchronous coroutine to fetch the TollfreeVerificationInstance


:returns: The fetched TollfreeVerificationInstance
N)rh   fetch_asyncrg   s    r&   ry   (TollfreeVerificationInstance.fetch_async   s       [[,,....rr   r:   rA   rF   rG   rH   rI   rJ   rK   r   rL   r;   r<   r=   r>   r?   r@   rM   rB   rC   rD   rE   edit_reasonc                 \    U R                   R                  UUUUUUUUU	U
UUUUUUUUUUUS9$ )r	  
Update the TollfreeVerificationInstance

:param business_name: The name of the business or organization using the Tollfree number.
:param business_website: The website of the business or organization using the Tollfree number.
:param notification_email: The email address to receive the notification about the verification result. .
:param use_case_categories: The category of the use case for the Tollfree Number. List as many are applicable..
:param use_case_summary: Use this to further explain how messaging is used by the business or organization.
:param production_message_sample: An example of message content, i.e. a sample message.
:param opt_in_image_urls: Link to an image that shows the opt-in workflow. Multiple images allowed and must be a publicly hosted URL.
:param opt_in_type:
:param message_volume: Estimate monthly volume of messages from the Tollfree Number.
:param business_street_address: The address of the business or organization using the Tollfree number.
:param business_street_address2: The address of the business or organization using the Tollfree number.
:param business_city: The city of the business or organization using the Tollfree number.
:param business_state_province_region: The state/province/region of the business or organization using the Tollfree number.
:param business_postal_code: The postal code of the business or organization using the Tollfree number.
:param business_country: The country of the business or organization using the Tollfree number.
:param additional_information: Additional information to be provided for verification.
:param business_contact_first_name: The first name of the contact for the business or organization using the Tollfree number.
:param business_contact_last_name: The last name of the contact for the business or organization using the Tollfree number.
:param business_contact_email: The email address of the contact for the business or organization using the Tollfree number.
:param business_contact_phone: The E.164 formatted phone number of the contact for the business or organization using the Tollfree number.
:param edit_reason: Describe why the verification is being edited. If the verification was rejected because of a technical issue, such as the website being down, and the issue has been resolved this parameter should be set to something similar to 'Website fixed'.

:returns: The updated TollfreeVerificationInstance
r:   rA   rF   rG   rH   rI   rJ   rK   rL   r;   r<   r=   r>   r?   r@   rM   rB   rC   rD   rE   r{   )rh   updater_   r:   rA   rF   rG   rH   rI   rJ   rK   rL   r;   r<   r=   r>   r?   r@   rM   rB   rC   rD   rE   r{   s                         r&   r   #TollfreeVerificationInstance.update   s`    j {{!!'-1 3-&?/#)$;%='+I!5-#9(C'A#9#9#+ " 
 	
r%   c                 x   #    U R                   R                  UUUUUUUUU	U
UUUUUUUUUUUS9I Sh  vN $  N7f)	  
Asynchronous coroutine to update the TollfreeVerificationInstance

:param business_name: The name of the business or organization using the Tollfree number.
:param business_website: The website of the business or organization using the Tollfree number.
:param notification_email: The email address to receive the notification about the verification result. .
:param use_case_categories: The category of the use case for the Tollfree Number. List as many are applicable..
:param use_case_summary: Use this to further explain how messaging is used by the business or organization.
:param production_message_sample: An example of message content, i.e. a sample message.
:param opt_in_image_urls: Link to an image that shows the opt-in workflow. Multiple images allowed and must be a publicly hosted URL.
:param opt_in_type:
:param message_volume: Estimate monthly volume of messages from the Tollfree Number.
:param business_street_address: The address of the business or organization using the Tollfree number.
:param business_street_address2: The address of the business or organization using the Tollfree number.
:param business_city: The city of the business or organization using the Tollfree number.
:param business_state_province_region: The state/province/region of the business or organization using the Tollfree number.
:param business_postal_code: The postal code of the business or organization using the Tollfree number.
:param business_country: The country of the business or organization using the Tollfree number.
:param additional_information: Additional information to be provided for verification.
:param business_contact_first_name: The first name of the contact for the business or organization using the Tollfree number.
:param business_contact_last_name: The last name of the contact for the business or organization using the Tollfree number.
:param business_contact_email: The email address of the contact for the business or organization using the Tollfree number.
:param business_contact_phone: The E.164 formatted phone number of the contact for the business or organization using the Tollfree number.
:param edit_reason: Describe why the verification is being edited. If the verification was rejected because of a technical issue, such as the website being down, and the issue has been resolved this parameter should be set to something similar to 'Website fixed'.

:returns: The updated TollfreeVerificationInstance
r~   N)rh   update_asyncr   s                         r&   r   )TollfreeVerificationInstance.update_async#  sm     j [[--'-1 3-&?/#)$;%='+I!5-#9(C'A#9#9#+ . 
 
 	
 
s   1:8:c                     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>8TollfreeVerificationInstance.__repr__.<locals>.<genexpr>v        S<RDA7>>!//<R    "z5<Twilio.Messaging.V1.TollfreeVerificationInstance {}>joinr]   itemsr   r_   contexts     r&   __repr__%TollfreeVerificationInstance.__repr__p  s6     ((SDNN<P<P<RSSFMMgVVr%   )'r^   r]   r4   rM   r=   rD   rB   rC   rE   r@   r:   r?   r>   r;   r<   rA   r5   r7   r8   rT   rS   rR   rW   rL   rF   rJ   rK   rI   r9   rQ   rU   rV   r2   rO   rN   r6   rP   rG   rH   N)rb   re   )rb   r   )r    r!   r"   r#   objectr'   r/   r   r   strr   r   rY   propertyrh   boolrl   rp   ru   ry   r   unsetr   r   r   r   r   r$   __classcell__r`   s   @r&   r   r      s]   F , ,&R OSPDPD)-c3hPD>FsmPD PDd  $ $0D 0#/ -3LL/5||178>/5||8>6<ll LL-3\\6<ll7=||,2LL=C\\39<</5||5;\\:@,,9?5;\\5;\\*0,,1K
S&[)K
  V,K
 "#v+.	K

 #49f#45K
  V,K
 $)f#5K
 !cF!23K
 4f<
K
 c6k*K
 "'sF{!3K
 #(V"4K
 S&[)K
  ).c6k(:!K
" $CK0#K
$  V,%K
& !&c6k 2'K
( &+3;%7)K
* %*#v+$6+K
, !&c6k 2-K
. !&c6k 2/K
0 3;'1K
2 
(3K
^ -3LL/5||178>/5||8>6<ll LL-3\\6<ll7=||,2LL=C\\39<</5||5;\\:@,,9?5;\\5;\\*0,,1K
S&[)K
  V,K
 "#v+.	K

 #49f#45K
  V,K
 $)f#5K
 !cF!23K
 4f<
K
 c6k*K
 "'sF{!3K
 #(V"4K
 S&[)K
  ).c6k(:!K
" $CK0#K
$  V,%K
& !&c6k 2'K
( &+3;%7)K
* %*#v+$6+K
, !&c6k 2-K
. !&c6k 2/K
0 3;'1K
2 
(3K
ZW# W Wr%   r   c            -         ^  \ rS rSrS\S\4U 4S jjrS\4S jrS\4S jr	S\
4S jrS\
4S	 jr\R                  \R                  \R                  \R                  \R                  \R                  \R                  \R                  \R                  \R                  \R                  \R                  \R                  \R                  \R                  \R                  \R                  \R                  \R                  \R                  \R                  4S
\\\4   S\\\4   S\\\4   S\\\   \4   S\\\4   S\\\4   S\\\   \4   S\S\4   S\\\4   S\\\4   S\\\4   S\\\4   S\\\4   S\\\4   S\\\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                  \R                  \R                  \R                  \R                  \R                  \R                  \R                  \R                  \R                  \R                  \R                  \R                  \R                  \R                  \R                  4S
\\\4   S\\\4   S\\\4   S\\\   \4   S\\\4   S\\\4   S\\\   \4   S\S\4   S\\\4   S\\\4   S\\\4   S\\\4   S\\\4   S\\\4   S\\\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$ )$re   iz  r0   r2   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 TollfreeVerificationContext

:param version: Version that contains the resource
:param sid: The unique string to identify Tollfree Verification.
r2   z/Tollfree/Verifications/{sid}Nr   )rX   rY   r]   r   _uri)r_   r0   r2   r`   s      r&   rY   $TollfreeVerificationContext.__init__|  s=     	! 3
 4::LT^^L	r%   rb   c                 x    [         R                  " 0 5      nU R                  R                  SU R                  US9$ )rk   DELETEmethoduriheaders)r   ofrf   rl   r   r_   r   s     r&   rl   "TollfreeVerificationContext.delete  s1     ))B-}}##8G#TTr%   c                    #    [         R                  " 0 5      nU R                  R                  SU R                  US9I Sh  vN $  N7f)ro   r   r   N)r   r   rf   rp   r   r   s     r&   rp   (TollfreeVerificationContext.delete_async  sE      ))B-]]//G 0 
 
 	
 
s   ?AAAc                     [         R                  " 0 5      nSUS'   U R                  R                  SU R                  US9n[        U R                  UU R                  S   S9$ )rt   application/jsonAcceptGETr   r2   rd   )r   r   rf   ru   r   r   r]   r_   r   r1   s      r&   ru   !TollfreeVerificationContext.fetch  s]     ))B-.--%%U		7%S+MMu%
 	
r%   c                    #    [         R                  " 0 5      nSUS'   U R                  R                  SU R                  US9I Sh  vN n[        U R                  UU R                  S   S9$  N&7f)rx   r   r   r   r   Nr2   rd   )r   r   rf   ry   r   r   r]   r   s      r&   ry   'TollfreeVerificationContext.fetch_async  sq      ))B-.11dii 2 
 
 ,MMu%
 	
	
s   AA/A-'A/r:   rA   rF   rG   rH   rI   rJ   rK   r   rL   r;   r<   r=   r>   r?   r@   rM   rB   rC   rD   rE   r{   c                    [         R                  " 0 SU_SU_SU_S[        R                  " US 5      _SU_SU_S[        R                  " US	 5      _S
U_SU	_SU
_SU_SU_SU_SU_SU_SU_SU_UUUUS.E5      n[         R                  " 0 5      nSUS'   SUS'   U R                  R                  SU R                  UUS9n[        U R                  UU R                  S   S9$ )r}   BusinessNameBusinessWebsiteNotificationEmailUseCaseCategoriesc                     U $ r   r   es    r&   <lambda>4TollfreeVerificationContext.update.<locals>.<lambda>
      RSr%   UseCaseSummaryProductionMessageSampleOptInImageUrlsc                     U $ r   r   r   s    r&   r   r         Qr%   r'   MessageVolumeBusinessStreetAddressBusinessStreetAddress2BusinessCityBusinessStateProvinceRegionBusinessPostalCodeBusinessCountryAdditionalInformationBusinessContactFirstNameBusinessContactLastNameBusinessContactEmailBusinessContactPhone
EditReason!application/x-www-form-urlencodedContent-Typer   r   POSTr   r   datar   r2   rd   )	r   r   r   maprf   r   r   r   r]   r_   r:   rA   rF   rG   rH   rI   rJ   rK   rL   r;   r<   r=   r>   r?   r@   rM   rB   rC   rD   rE   r{   r   r   r1   s                            r&   r   "TollfreeVerificationContext.update  s   l yy!#3 $%7 $Y]]3F%T	
 !"2 *+D !)--0A;"O [   ()@ )*B  ./M %&: "#3  ()?!" +,G#$ ,F(>(>)+
2 ))B-"E.--&&tyytW ' 
 ,MM7u(=
 	
r%   c                   #    [         R                  " 0 SU_SU_SU_S[        R                  " US 5      _SU_SU_S[        R                  " US	 5      _S
U_SU	_SU
_SU_SU_SU_SU_SU_SU_SU_UUUUS.E5      n[         R                  " 0 5      nSUS'   SUS'   U R                  R                  SU R                  UUS9I Sh  vN n[        U R                  UU R                  S   S9$  N&7f)r   r   r   r   r   c                     U $ r   r   r   s    r&   r   :TollfreeVerificationContext.update_async.<locals>.<lambda>g  r   r%   r   r   r   c                     U $ r   r   r   s    r&   r   r   j  r   r%   r'   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   Nr2   rd   )	r   r   r   r   rf   r   r   r   r]   r   s                            r&   r   (TollfreeVerificationContext.update_async,  s    l yy!#3 $%7 $Y]]3F%T	
 !"2 *+D !)--0A;"O [   ()@ )*B  ./M %&: "#3  ()?!" +,G#$ ,F(>(>)+
2 ))B-"E.22tyytW 3 
 
 ,MM7u(=
 	
	
s   CC1C/	'C1c                     SR                  S U R                  R                  5        5       5      nSR                  U5      $ )r   r   c              3   H   #    U  H  u  pS R                  X5      v   M     g7fr   r   r   s      r&   r   7TollfreeVerificationContext.__repr__.<locals>.<genexpr>  r   r   z4<Twilio.Messaging.V1.TollfreeVerificationContext {}>r   r   s     r&   r   $TollfreeVerificationContext.__repr__  s6     ((SDNN<P<P<RSSELLWUUr%   )r]   r   )r    r!   r"   r#   r   r   rY   r   rl   rp   r   ru   ry   r   r   r   r   r   r   r   r   r$   r   r   s   @r&   re   re   z  s   M Mc M
U 
U
D 

3 
(
#? 
0 -3LL/5||178>/5||8>6<ll LL-3\\6<ll7=||,2LL=C\\39<</5||5;\\:@,,9?5;\\5;\\*0,,1[
S&[)[
  V,[
 "#v+.	[

 #49f#45[
  V,[
 $)f#5[
 !cF!23[
 4f<
[
 c6k*[
 "'sF{!3[
 #(V"4[
 S&[)[
  ).c6k(:![
" $CK0#[
$  V,%[
& !&c6k 2'[
( &+3;%7)[
* %*#v+$6+[
, !&c6k 2-[
. !&c6k 2/[
0 3;'1[
2 
&3[
~ -3LL/5||178>/5||8>6<ll LL-3\\6<ll7=||,2LL=C\\39<</5||5;\\:@,,9?5;\\5;\\*0,,1[
S&[)[
  V,[
 "#v+.	[

 #49f#45[
  V,[
 $)f#5[
 !cF!23[
 4f<
[
 c6k*[
 "'sF{!3[
 #(V"4[
 S&[)[
  ).c6k(:![
" $CK0#[
$  V,%[
& !&c6k 2'[
( &+3;%7)[
* %*#v+$6+[
, !&c6k 2-[
. !&c6k 2/[
0 3;'1[
2 
&3[
zV# V Vr%   re   c                   >    \ rS rSrS\\\4   S\4S jrS\4S jr	Sr
g)TollfreeVerificationPagei  r1   rb   c                 .    [        U R                  U5      $ )zb
Build an instance of TollfreeVerificationInstance

:param payload: Payload response from the API
)r   rf   )r_   r1   s     r&   get_instance%TollfreeVerificationPage.get_instance  s     ,DMM7CCr%   c                     g)r   z.<Twilio.Messaging.V1.TollfreeVerificationPage>r   rg   s    r&   r   !TollfreeVerificationPage.__repr__       @r%   r   N)r    r!   r"   r#   r   r   r   r   r   r   r$   r   r%   r&   r   r     s/    DDcN D7S D@# @r%   r   c            1       	  ^  \ rS rSrS\4U 4S jjr\R                  \R                  \R                  \R                  \R                  \R                  \R                  \R                  \R                  \R                  \R                  \R                  \R                  4S\S\S\S\	\   S\S	\S
\	\   SSS\S\S\
\\4   S\
\\4   S\
\\4   S\
\\4   S\
\\4   S\
\\4   S\
\\4   S\
\\4   S\
\\4   S\
\\4   S\
\\4   S\
\\4   S\
\\4   S\40S jjr\R                  \R                  \R                  \R                  \R                  \R                  \R                  \R                  \R                  \R                  \R                  \R                  \R                  4S\S\S\S\	\   S\S	\S
\	\   SSS\S\S\
\\4   S\
\\4   S\
\\4   S\
\\4   S\
\\4   S\
\\4   S\
\\4   S\
\\4   S\
\\4   S\
\\4   S\
\\4   S\
\\4   S\
\\4   S\40S jjr\R                  \R                  \R                  \R                  SS4S\
\\4   S \
S!\4   S\
\\4   S"\
\\4   S#\\   S$\\   S\\   4S% jjr\R                  \R                  \R                  \R                  SS4S\
\\4   S \
S!\4   S\
\\4   S"\
\\4   S#\\   S$\\   S\\   4S& jjr\R                  \R                  \R                  \R                  SS4S\
\\4   S \
S!\4   S\
\\4   S"\
\\4   S#\\   S$\\   S\	\   4S' jjr\R                  \R                  \R                  \R                  SS4S\
\\4   S \
S!\4   S\
\\4   S"\
\\4   S#\\   S$\\   S\	\   4S( jjr\R                  \R                  \R                  \R                  \R                  \R                  \R                  4S\
\\4   S \
S!\4   S\
\\4   S"\
\\4   S)\
\\4   S*\
\\4   S$\
\\4   S\4S+ jjr\R                  \R                  \R                  \R                  \R                  \R                  \R                  4S\
\\4   S \
S!\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S0\S\4S1 jrS0\S\4S2 jrS\4S3 jr S4r!U =r"$ )5TollfreeVerificationListi  r0   c                 2   > [         TU ]  U5        SU l        g)z^
Initialize the TollfreeVerificationList

:param version: Version that contains the resource

z/Tollfree/VerificationsN)rX   rY   r   )r_   r0   r`   s     r&   rY   !TollfreeVerificationList.__init__  s     	!-	r%   r:   rA   rF   rG   rH   rI   rJ   rK   r   rL   rN   r5   r;   r<   r=   r>   r?   r@   rM   rB   rC   rD   rE   rW   rb   c           
         [         R                  " 0 SU_SU_SU_S[        R                  " US 5      _SU_SU_S[        R                  " US	 5      _S
U_SU	_SU
_SU_SU_SU_SU_SU_SU_SU_UUUUUUS.E5      n[         R                  " SS05      nSUS'   SUS'   U R                  R                  SU R                  UUS9n[        U R                  U5      $ )a	  
Create the TollfreeVerificationInstance

:param business_name: The name of the business or organization using the Tollfree number.
:param business_website: The website of the business or organization using the Tollfree number.
:param notification_email: The email address to receive the notification about the verification result. .
:param use_case_categories: The category of the use case for the Tollfree Number. List as many are applicable..
:param use_case_summary: Use this to further explain how messaging is used by the business or organization.
:param production_message_sample: An example of message content, i.e. a sample message.
:param opt_in_image_urls: Link to an image that shows the opt-in workflow. Multiple images allowed and must be a publicly hosted URL.
:param opt_in_type:
:param message_volume: Estimate monthly volume of messages from the Tollfree Number.
:param tollfree_phone_number_sid: The SID of the Phone Number associated with the Tollfree Verification.
:param customer_profile_sid: Customer's Profile Bundle BundleSid.
:param business_street_address: The address of the business or organization using the Tollfree number.
:param business_street_address2: The address of the business or organization using the Tollfree number.
:param business_city: The city of the business or organization using the Tollfree number.
:param business_state_province_region: The state/province/region of the business or organization using the Tollfree number.
:param business_postal_code: The postal code of the business or organization using the Tollfree number.
:param business_country: The country of the business or organization using the Tollfree number.
:param additional_information: Additional information to be provided for verification.
:param business_contact_first_name: The first name of the contact for the business or organization using the Tollfree number.
:param business_contact_last_name: The last name of the contact for the business or organization using the Tollfree number.
:param business_contact_email: The email address of the contact for the business or organization using the Tollfree number.
:param business_contact_phone: The E.164 formatted phone number of the contact for the business or organization using the Tollfree number.
:param external_reference_id: An optional external reference ID supplied by customer and echoed back on status retrieval.

:returns: The created TollfreeVerificationInstance
r   r   r   r   c                     U $ r   r   r   s    r&   r   1TollfreeVerificationList.create.<locals>.<lambda>  r   r%   r   r   r   c                     U $ r   r   r   s    r&   r   r     r   r%   r'   r   TollfreePhoneNumberSidCustomerProfileSidr   r   r   r   r   r   r   r   r   r   r   ExternalReferenceIdr   r   r   r   r   r   )r   r   r   r   rf   creater   r   r_   r:   rA   rF   rG   rH   rI   rJ   rK   rL   rN   r5   r;   r<   r=   r>   r?   r@   rM   rB   rC   rD   rE   rW   r   r   r1   s                              r&   r   TollfreeVerificationList.create  s   p yy!#3 $%7 $Y]]3F%T	
 !"2 *+D !)--0A;"O [   )*C %&: ()@ )*B  ./M  %&:!" "#3#$ *@,G+E(>(>'</
6 ))^-PQR"E.--&&tyytW ' 
 ,DMM7CCr%   c           
        #    [         R                  " 0 SU_SU_SU_S[        R                  " US 5      _SU_SU_S[        R                  " US	 5      _S
U_SU	_SU
_SU_SU_SU_SU_SU_SU_SU_UUUUUUS.E5      n[         R                  " SS05      nSUS'   SUS'   U R                  R                  SU R                  UUS9I Sh  vN n[        U R                  U5      $  N7f)a	  
Asynchronously create the TollfreeVerificationInstance

:param business_name: The name of the business or organization using the Tollfree number.
:param business_website: The website of the business or organization using the Tollfree number.
:param notification_email: The email address to receive the notification about the verification result. .
:param use_case_categories: The category of the use case for the Tollfree Number. List as many are applicable..
:param use_case_summary: Use this to further explain how messaging is used by the business or organization.
:param production_message_sample: An example of message content, i.e. a sample message.
:param opt_in_image_urls: Link to an image that shows the opt-in workflow. Multiple images allowed and must be a publicly hosted URL.
:param opt_in_type:
:param message_volume: Estimate monthly volume of messages from the Tollfree Number.
:param tollfree_phone_number_sid: The SID of the Phone Number associated with the Tollfree Verification.
:param customer_profile_sid: Customer's Profile Bundle BundleSid.
:param business_street_address: The address of the business or organization using the Tollfree number.
:param business_street_address2: The address of the business or organization using the Tollfree number.
:param business_city: The city of the business or organization using the Tollfree number.
:param business_state_province_region: The state/province/region of the business or organization using the Tollfree number.
:param business_postal_code: The postal code of the business or organization using the Tollfree number.
:param business_country: The country of the business or organization using the Tollfree number.
:param additional_information: Additional information to be provided for verification.
:param business_contact_first_name: The first name of the contact for the business or organization using the Tollfree number.
:param business_contact_last_name: The last name of the contact for the business or organization using the Tollfree number.
:param business_contact_email: The email address of the contact for the business or organization using the Tollfree number.
:param business_contact_phone: The E.164 formatted phone number of the contact for the business or organization using the Tollfree number.
:param external_reference_id: An optional external reference ID supplied by customer and echoed back on status retrieval.

:returns: The created TollfreeVerificationInstance
r   r   r   r   c                     U $ r   r   r   s    r&   r   7TollfreeVerificationList.create_async.<locals>.<lambda>O  r   r%   r   r   r   c                     U $ r   r   r   s    r&   r   r  R  r   r%   r'   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   N)r   r   r   r   rf   create_asyncr   r   r   s                              r&   r  %TollfreeVerificationList.create_async  s    p yy!#3 $%7 $Y]]3F%T	
 !"2 *+D !)--0A;"O [   )*C %&: ()@ )*B  ./M  %&:!" "#3#$ *@,G+E(>(>'</
6 ))^-PQR"E.22tyytW 3 
 
 ,DMM7CC	
s   C
C)C'C)NrO   r)   include_sub_accountslimit	page_sizec                     U R                   R                  XV5      nU R                  UUUUUS   S9nU R                   R                  XS   5      $ )a  
Streams TollfreeVerificationInstance 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 tollfree_phone_number_sid: The SID of the Phone Number associated with the Tollfree Verification.
:param &quot;TollfreeVerificationInstance.Status&quot; status: The compliance status of the Tollfree Verification record.
:param str external_reference_id: Customer supplied reference id for the Tollfree Verification record.
:param bool include_sub_accounts: Whether to include Tollfree Verifications from sub accounts in list response.
: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
r	  rN   rO   rW   r  r	  r  )rf   read_limitspagestream	r_   rN   rO   rW   r  r  r	  limitsr  s	            r&   r  TollfreeVerificationList.streamq  sZ    8 **5<yy&?"7!5[)  
 }}##D/::r%   c                    #    U R                   R                  XV5      nU R                  UUUUUS   S9I Sh  vN nU R                   R                  XS   5      $  N"7f)a  
Asynchronously streams TollfreeVerificationInstance 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 tollfree_phone_number_sid: The SID of the Phone Number associated with the Tollfree Verification.
:param &quot;TollfreeVerificationInstance.Status&quot; status: The compliance status of the Tollfree Verification record.
:param str external_reference_id: Customer supplied reference id for the Tollfree Verification record.
:param bool include_sub_accounts: Whether to include Tollfree Verifications from sub accounts in list response.
: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
r	  r  Nr  )rf   r  
page_asyncstream_asyncr  s	            r&   r  %TollfreeVerificationList.stream_async  sg     8 **5<__&?"7!5[) % 
 
 }}))$w@@
s   5AA#Ac                 <    [        U R                  UUUUUUS95      $ )am  
Lists TollfreeVerificationInstance records from the API as a list.
Unlike stream(), this operation is eager and will load `limit` records into
memory before returning.

:param str tollfree_phone_number_sid: The SID of the Phone Number associated with the Tollfree Verification.
:param &quot;TollfreeVerificationInstance.Status&quot; status: The compliance status of the Tollfree Verification record.
:param str external_reference_id: Customer supplied reference id for the Tollfree Verification record.
:param bool include_sub_accounts: Whether to include Tollfree Verifications from sub accounts in list response.
: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
rN   rO   rW   r  r  r	  )listr  )r_   rN   rO   rW   r  r  r	  s          r&   r  TollfreeVerificationList.list  s4    6 KK*C&;%9#  	
 		
r%   c           	      ~   #    U R                  UU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 TollfreeVerificationInstance records from the API as a list.
Unlike stream(), this operation is eager and will load `limit` records into
memory before returning.

:param str tollfree_phone_number_sid: The SID of the Phone Number associated with the Tollfree Verification.
:param &quot;TollfreeVerificationInstance.Status&quot; status: The compliance status of the Tollfree Verification record.
:param str external_reference_id: Customer supplied reference id for the Tollfree Verification record.
:param bool include_sub_accounts: Whether to include Tollfree Verifications from sub accounts in list response.
: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  N)r  )r_   rN   rO   rW   r  r  r	  records           r&   
list_async#TollfreeVerificationList.list_async  s]     : '+&7&7*C&;%9# '8 ' ! !

 

 !

 
	
 

s0   =0=842
48=48=
page_tokenpage_numberc           
         [         R                  " UUU[        R                  " U5      UUUS.5      n[         R                  " SS05      n	SU	S'   U R                  R                  SU R                  XS9n
[        U R                  U
5      $ )a  
Retrieve a single page of TollfreeVerificationInstance records from the API.
Request is executed immediately

:param tollfree_phone_number_sid: The SID of the Phone Number associated with the Tollfree Verification.
:param status: The compliance status of the Tollfree Verification record.
:param external_reference_id: Customer supplied reference id for the Tollfree Verification record.
:param include_sub_accounts: Whether to include Tollfree Verifications from sub accounts in list response.
: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 TollfreeVerificationInstance
r   r/   r   IncludeSubAccounts	PageTokenr   PageSizer   r   r   r   r   r   r   paramsr   )r   r   r   boolean_to_stringrf   r  r   r   r_   rN   rO   rW   r  r  r  r	  r   r   responses              r&   r  TollfreeVerificationList.page  s    0 yy*C '<&/&A&ABV&W'#%

 ))^-PQR.==%%dii & 
 (x@@r%   c           
      2  #    [         R                  " UUU[        R                  " U5      UUUS.5      n[         R                  " SS05      n	SU	S'   U R                  R                  SU R                  XS9I Sh  vN n
[        U R                  U
5      $  N7f)	a  
Asynchronously retrieve a single page of TollfreeVerificationInstance records from the API.
Request is executed immediately

:param tollfree_phone_number_sid: The SID of the Phone Number associated with the Tollfree Verification.
:param status: The compliance status of the Tollfree Verification record.
:param external_reference_id: Customer supplied reference id for the Tollfree Verification record.
:param include_sub_accounts: Whether to include Tollfree Verifications from sub accounts in list response.
: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 TollfreeVerificationInstance
r!  r   r   r   r   r   r%  N)r   r   r   r'  rf   r  r   r   r(  s              r&   r  #TollfreeVerificationList.page_async9  s     0 yy*C '<&/&A&ABV&W'#%

 ))^-PQR.11dii 2 
 
 (x@@
s   A8B:B;B
target_urlc                     U R                   R                  R                  R                  SU5      n[	        U R                   U5      $ )z
Retrieve a specific page of TollfreeVerificationInstance records from the API.
Request is executed immediately

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

:returns: Page of TollfreeVerificationInstance
r   )rf   domaintwiliorequestr   r_   r-  r)  s      r&   get_page!TollfreeVerificationList.get_pagef  s7     ==''..66ujI'x@@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 TollfreeVerificationInstance records from the API.
Request is executed immediately

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

:returns: Page of TollfreeVerificationInstance
r   N)rf   r/  r0  request_asyncr   r2  s      r&   get_page_async'TollfreeVerificationList.get_page_asyncr  sC      --44BB5*UU'x@@ Vs   4AAAr2   c                 *    [        U R                  US9$ zl
Constructs a TollfreeVerificationContext

:param sid: The unique string to identify Tollfree Verification.
rd   re   rf   r_   r2   s     r&   rZ   TollfreeVerificationList.get~       +4==cBBr%   c                 *    [        U R                  US9$ r:  r;  r<  s     r&   __call__!TollfreeVerificationList.__call__  r>  r%   c                     g)r   z.<Twilio.Messaging.V1.TollfreeVerificationList>r   rg   s    r&   r   !TollfreeVerificationList.__repr__  r   r%   )r   )#r    r!   r"   r#   r   rY   r   r   r   r   r   r   r   r   r  r   r   intr	   r  r
   r  r  r  r   r  r  r3  r7  re   rZ   r@  r   r$   r   r   s   @r&   r   r     s   	. 	.. 4:<<6<ll7=||,2LL=C\\39<</5||5;\\:@,,9?5;\\5;\\4:LL1]D]D ]D  	]D
 "#Y]D ]D $']D  9]D >]D ]D $']D $CK0]D "'sF{!3]D #(V"4]D S&[)]D  ).c6k(:!]D" $CK0#]D$  V,%]D& !&c6k 2']D( &+3;%7)]D* %*#v+$6+]D, !&c6k 2-]D. !&c6k 2/]D0  %S&[11]D2 
&3]DV 4:<<6<ll7=||,2LL=C\\39<</5||5;\\:@,,9?5;\\5;\\4:LL1]D]D ]D  	]D
 "#Y]D ]D $']D  9]D >]D ]D $']D $CK0]D "'sF{!3]D #(V"4]D S&[)]D  ).c6k(:!]D" $CK0#]D$  V,%]D& !&c6k 2']D( &+3;%7)]D* %*#v+$6+]D, !&c6k 2-]D. !&c6k 2/]D0  %S&[11]D2 
&3]DB 9?GM||4:LL4:LL##'%;#(f#5%; ;VCD%;  %S&[1	%;
 $D&L1%; }%; C=%; 
.	/%;R 9?GM||4:LL4:LL##'%A#(f#5%A ;VCD%A  %S&[1	%A
 $D&L1%A }%A C=%A 
3	4%AR 9?GM||4:LL4:LL##'$
#(f#5$
 ;VCD$
  %S&[1	$

 $D&L1$
 }$
 C=$
 
*	+$
P 9?GM||4:LL4:LL##'%
#(f#5%
 ;VCD%
  %S&[1	%

 $D&L1%
 }%
 C=%
 
*	+%
R 9?GM||4:LL4:LL)/*0,,(.+A#(f#5+A ;VCD+A  %S&[1	+A
 $D&L1+A #v+&+A 3;'+A f%+A 
"+A^ 9?GM||4:LL4:LL)/*0,,(.+A#(f#5+A ;VCD+A  %S&[1	+A
 $D&L1+A #v+&+A 3;'+A f%+A 
"+AZ
A3 
A+C 
A
As 
A7O 
ACs C: CCC C$? C@# @ @r%   r   N)__doc__r   typingr   r   r   r   r   r	   r
   twilio.baser   r   r   twilio.base.instance_contextr   twilio.base.instance_resourcer   twilio.base.list_resourcer   twilio.base.versionr   twilio.base.pager   r   re   r   r   r   r%   r&   <module>rM     sn     L L L 6 6 8 : 2 ' !^W#3 ^WBVV/ VVr@t @&n@| n@r%   