
    i?1iI                         d Z ddlmZ ddlmZmZmZmZmZmZm	Z	 ddl
mZmZmZ ddlmZ ddlmZ ddlmZ ddlmZ dd	lmZ  G d
 de      Z G d de      Z G d de      Z G d de      Zy)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            -           e Zd Z G d de      Z G d de      Z	 	 d(dedeee	f   de
e   f fdZed)d
       Zd	efdZd	efdZd*dZd*dZej(                  ej(                  ej(                  ej(                  ej(                  ej(                  ej(                  ej(                  ej(                  ej(                  ej(                  ej(                  ej(                  ej(                  ej(                  ej(                  ej(                  ej(                  ej(                  ej(                  ej(                  fdeeef   deeef   deeef   deee   ef   deeef   deeef   deee   ef   dedef   deeef   deeef   deeef   deeef   deeef   deeef   deeef   deeef   d eeef   d!eeef   d"eeef   d#eeef   d$eeef   d	d f,d%Zej(                  ej(                  ej(                  ej(                  ej(                  ej(                  ej(                  ej(                  ej(                  ej(                  ej(                  ej(                  ej(                  ej(                  ej(                  ej(                  ej(                  ej(                  ej(                  ej(                  ej(                  fdeeef   deeef   deeef   deee   ef   deeef   deeef   deee   ef   dedef   deeef   deeef   deeef   deeef   deeef   deeef   deeef   deeef   d eeef   d!eeef   d"eeef   d#eeef   d$eeef   d	d f,d&Zd	efd'Z xZS )+TollfreeVerificationInstancec                        e Zd ZdZdZdZdZdZy)&TollfreeVerificationInstance.OptInTypeVERBALWEB_FORM
PAPER_FORMVIA_TEXTMOBILE_QR_CODEN)__name__
__module____qualname__r   r   r   r   r        x/home/www/therecruiter.miabetepe.com/venv/lib/python3.12/site-packages/twilio/rest/messaging/v1/tollfree_verification.py	OptInTyper      s    !
)r    r"   c                       e Zd ZdZdZdZdZy)#TollfreeVerificationInstance.StatusPENDING_REVIEW	IN_REVIEWTWILIO_APPROVEDTWILIO_REJECTEDN)r   r   r   r%   r&   r'   r(   r   r    r!   Statusr$   "   s    )	++r    r)   versionpayloadsidc                 (   t         |   |       |j                  d      | _        |j                  d      | _        |j                  d      | _        |j                  d      | _        t        j                  |j                  d            | _	        t        j                  |j                  d            | _
        |j                  d      | _        |j                  d      | _        |j                  d	      | _        |j                  d
      | _        |j                  d      | _        |j                  d      | _        |j                  d      | _        |j                  d      | _        |j                  d      | _        |j                  d      | _        |j                  d      | _        |j                  d      | _        |j                  d      | _        |j                  d      | _        |j                  d      | _        |j                  d      | _        |j                  d      | _        |j                  d      | _        |j                  d      | _        |j                  d      | _        |j                  d      | _        |j                  d      | _         |j                  d      | _!        |j                  d      | _"        |j                  d      | _#        t        jH                  |j                  d             | _%        t        j                  |j                  d!            | _&        |j                  d"      | _'        |j                  d#      | _(        |j                  d$      | _)        d|xs | j                  i| _*        d | _+        y )%Nr,   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resource_linksexternal_reference_id),super__init__getr,   r.   r/   r0   r   iso8601_datetimer1   r2   r3   r4   r5   r6   r7   r8   r9   r:   r;   r<   r=   r>   r?   r@   rA   rB   rC   rD   rE   rF   rG   rH   rI   rJ   rK   integerrL   rM   rN   rO   rP   	_solution_context)selfr*   r+   r,   	__class__s       r!   rR   z%TollfreeVerificationInstance.__init__O   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;B;;GW;X4;KK@W4X" 3?$((
 @Dr    returnc                     | j                   )t        | j                  | j                  d         | _         | j                   S )a  
        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
        r,   r,   )rW   TollfreeVerificationContext_versionrV   rX   s    r!   _proxyz#TollfreeVerificationInstance._proxy   s9     == 7NN5)DM }}r    c                 6    | j                   j                         S )w
        Deletes the TollfreeVerificationInstance


        :returns: True if delete succeeds, False otherwise
        )r`   deleter_   s    r!   rc   z#TollfreeVerificationInstance.delete   s     {{!!##r    c                 R   K   | j                   j                          d{   S 7 w)
        Asynchronous coroutine that deletes the TollfreeVerificationInstance


        :returns: True if delete succeeds, False otherwise
        N)r`   delete_asyncr_   s    r!   rf   z)TollfreeVerificationInstance.delete_async   s!      [[--////   '%'c                 6    | j                   j                         S )u
        Fetch the TollfreeVerificationInstance


        :returns: The fetched TollfreeVerificationInstance
        )r`   fetchr_   s    r!   rj   z"TollfreeVerificationInstance.fetch   s     {{  ""r    c                 R   K   | j                   j                          d{   S 7 w)
        Asynchronous coroutine to fetch the TollfreeVerificationInstance


        :returns: The fetched TollfreeVerificationInstance
        N)r`   fetch_asyncr_   s    r!   rm   z(TollfreeVerificationInstance.fetch_async   s!      [[,,....rg   r4   r;   r@   rA   rB   rC   rD   rE   r   rF   r5   r6   r7   r8   r9   r:   rG   r<   r=   r>   r?   edit_reasonc                 b    | j                   j                  |||||||||	|
|||||||||||      S )"
  
        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 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
        r4   r;   r@   rA   rB   rC   rD   rE   rF   r5   r6   r7   r8   r9   r:   rG   r<   r=   r>   r?   rn   )r`   updaterX   r4   r;   r@   rA   rB   rC   rD   rE   rF   r5   r6   r7   r8   r9   r:   rG   r<   r=   r>   r?   rn   s                         r!   rr   z#TollfreeVerificationInstance.update   s`    j {{!!'-1 3-&?/#)$;%='+I!5-#9(C'A#9#9#+ " 
 	
r    c                 ~   K   | j                   j                  |||||||||	|
|||||||||||       d{   S 7 w)<
  
        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 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
        rq   N)r`   update_asyncrs   s                         r!   rv   z)TollfreeVerificationInstance.update_async  sn     j [[--'-1 3-&?/#)$;%='+I!5-#9(C'A#9#9#+ . 
 
 	
 
s   4=;=c                     dj                  d | j                  j                         D              }dj                  |      S )f
        Provide a friendly representation

        :returns: Machine friendly representation
         c              3   F   K   | ]  \  }}d j                  ||        ywz{}={}Nformat.0kvs      r!   	<genexpr>z8TollfreeVerificationInstance.__repr__.<locals>.<genexpr>q       SDAq7>>!Q/S   !z5<Twilio.Messaging.V1.TollfreeVerificationInstance {}>joinrV   itemsr}   rX   contexts     r!   __repr__z%TollfreeVerificationInstance.__repr__k  s6     ((SDNN<P<P<RSSFMMgVVr    N)rZ   r]   )rZ   r   )r   r   r   objectr"   r)   r   r   strr   r   rR   propertyr`   boolrc   rf   rj   rm   r   unsetr   r   rr   rv   r   __classcell__rY   s   @r!   r   r      sP   *F *, ,%P OSMDMD)-c3hMD>FsmM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r    r   c            -           e Zd Zdedef fdZdefdZdefdZde	fdZ
de	fdZej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  fd	eeef   d
eeef   deeef   deee   ef   deeef   deeef   deee   ef   dedef   deeef   deeef   deeef   deeef   deeef   deeef   deeef   deeef   deeef   deeef   deeef   deeef   deeef   de	f,dZej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  fd	eeef   d
eeef   deeef   deee   ef   deeef   deeef   deee   ef   dedef   deeef   deeef   deeef   deeef   deeef   deeef   deeef   deeef   deeef   deeef   deeef   deeef   deeef   de	f,d Zdefd!Z xZS )"r]   r*   r,   c                 x    t         |   |       d|i| _         dj                  di | j                  | _        y)z
        Initialize the TollfreeVerificationContext

        :param version: Version that contains the resource
        :param sid: The unique string to identify Tollfree Verification.
        r,   z/Tollfree/Verifications/{sid}Nr   )rQ   rR   rV   r}   _uri)rX   r*   r,   rY   s      r!   rR   z$TollfreeVerificationContext.__init__v  s@     	! 3
 ;3::LT^^L	r    rZ   c                 P    | j                   j                  d| j                        S )rb   DELETEmethoduri)r^   rc   r   r_   s    r!   rc   z"TollfreeVerificationContext.delete  s*     }}##		 $ 
 	
r    c                 l   K   | j                   j                  d| j                         d{   S 7 w)re   r   r   N)r^   rf   r   r_   s    r!   rf   z(TollfreeVerificationContext.delete_async  s8      ]]//		 0 
 
 	
 
s   +424c                     | j                   j                  d| j                        }t        | j                   || j                  d         S )ri   GETr   r,   r\   )r^   rj   r   r   rV   rX   r+   s     r!   rj   z!TollfreeVerificationContext.fetch  sL     --%%		 & 

 ,MMu%
 	
r    c                    K   | j                   j                  d| j                         d{   }t        | j                   || j                  d         S 7 )w)rl   r   r   Nr,   r\   )r^   rm   r   r   rV   r   s     r!   rm   z'TollfreeVerificationContext.fetch_async  sZ      11		 2 
 

 ,MMu%
 	

s   +AA*Ar4   r;   r@   rA   rB   rC   rD   rE   r   rF   r5   r6   r7   r8   r9   r:   rG   r<   r=   r>   r?   rn   c                    t        j                  i d|d|d|dt        j                  |d       d|d|dt        j                  |d	       d
|d|	d|
d|d|d|d|d|d|d|||||d      }| j                  j                  d| j                  |      }t        | j                  || j                  d         S )rp   BusinessNameBusinessWebsiteNotificationEmailUseCaseCategoriesc                     | S r   r   es    r!   <lambda>z4TollfreeVerificationContext.update.<locals>.<lambda>      RS r    UseCaseSummaryProductionMessageSampleOptInImageUrlsc                     | S r   r   r   s    r!   r   z4TollfreeVerificationContext.update.<locals>.<lambda>       Q r    r"   MessageVolumeBusinessStreetAddressBusinessStreetAddress2BusinessCityBusinessStateProvinceRegionBusinessPostalCodeBusinessCountryAdditionalInformationBusinessContactFirstNameBusinessContactLastNameBusinessContactEmailBusinessContactPhone
EditReasonPOSTr   r   datar,   r\   )	r   ofr   mapr^   rr   r   r   rV   rX   r4   r;   r@   rA   rB   rC   rD   rE   rF   r5   r6   r7   r8   r9   r:   rG   r<   r=   r>   r?   rn   r   r+   s                           r!   rr   z"TollfreeVerificationContext.update  sb   j yy!#3 $%7 $Y]]3F%T	
 !"2 *+D !)--0A;"O [   ()@ )*B  ./M %&: "#3  ()?!" +,G#$ ,F(>(>)+
4 --&&		 ' 
 ,MM7u(=
 	
r    c                   K   t        j                  i d|d|d|dt        j                  |d       d|d|dt        j                  |d	       d
|d|	d|
d|d|d|d|d|d|d|||||d      }| j                  j                  d| j                  |       d{   }t        | j                  || j                  d         S 7 )w)ru   r   r   r   r   c                     | S r   r   r   s    r!   r   z:TollfreeVerificationContext.update_async.<locals>.<lambda>V  r   r    r   r   r   c                     | S r   r   r   s    r!   r   z:TollfreeVerificationContext.update_async.<locals>.<lambda>Y  r   r    r"   r   r   r   r   r   r   r   r   r   r   r   r   Nr,   r\   )	r   r   r   r   r^   rv   r   r   rV   r   s                           r!   rv   z(TollfreeVerificationContext.update_async  sp    j yy!#3 $%7 $Y]]3F%T	
 !"2 *+D !)--0A;"O [   ()@ )*B  ./M %&: "#3  ()?!" +,G#$ ,F(>(>)+
4 22		 3 
 
 ,MM7u(=
 	

s   B%C'C(*Cc                     dj                  d | j                  j                         D              }dj                  |      S )rx   ry   c              3   F   K   | ]  \  }}d j                  ||        ywr{   r|   r~   s      r!   r   z7TollfreeVerificationContext.__repr__.<locals>.<genexpr>{  r   r   z4<Twilio.Messaging.V1.TollfreeVerificationContext {}>r   r   s     r!   r   z$TollfreeVerificationContext.__repr__u  s6     ((SDNN<P<P<RSSELLWUUr    )r   r   r   r   r   rR   r   rc   rf   r   rj   rm   r   r   r   r   r   rr   rv   r   r   r   s   @r!   r]   r]   u  s   M Mc M

 



D 


3 
&
#? 
* -3LL/5||178>/5||8>6<ll LL-3\\6<ll7=||,2LL=C\\39<</5||5;\\:@,,9?5;\\5;\\*0,,1W
S&[)W
  V,W
 "#v+.	W

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

 #49f#45W
  V,W
 $)f#5W
 !cF!23W
 4f<
W
 c6k*W
 "'sF{!3W
 #(V"4W
 S&[)W
  ).c6k(:!W
" $CK0#W
$  V,%W
& !&c6k 2'W
( &+3;%7)W
* %*#v+$6+W
, !&c6k 2-W
. !&c6k 2/W
0 3;'1W
2 
&3W
rV# Vr    r]   c                   2    e Zd Zdeeef   defdZdefdZy)TollfreeVerificationPager+   rZ   c                 .    t        | j                  |      S )zz
        Build an instance of TollfreeVerificationInstance

        :param payload: Payload response from the API
        )r   r^   r   s     r!   get_instancez%TollfreeVerificationPage.get_instance  s     ,DMM7CCr    c                      y)rx   z.<Twilio.Messaging.V1.TollfreeVerificationPage>r   r_   s    r!   r   z!TollfreeVerificationPage.__repr__       @r    N)	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           e Zd Zdef fdZej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  fdedededee   deded	ee   d
ddedede	ee
f   de	ee
f   de	ee
f   de	ee
f   de	ee
f   de	ee
f   de	ee
f   de	ee
f   de	ee
f   de	ee
f   de	ee
f   de	ee
f   de	ee
f   def0dZej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  fdedededee   deded	ee   d
ddedede	ee
f   de	ee
f   de	ee
f   de	ee
f   de	ee
f   de	ee
f   de	ee
f   de	ee
f   de	ee
f   de	ee
f   de	ee
f   de	ee
f   de	ee
f   def0dZej                  ej                  ddfde	ee
f   de	d e
f   d!ee   d"ee   dee   f
d#Zej                  ej                  ddfde	ee
f   de	d e
f   d!ee   d"ee   dee   f
d$Zej                  ej                  ddfde	ee
f   de	d e
f   d!ee   d"ee   dee   f
d%Zej                  ej                  ddfde	ee
f   de	d e
f   d!ee   d"ee   dee   f
d&Zej                  ej                  ej                  ej                  ej                  fde	ee
f   de	d e
f   d'e	ee
f   d(e	ee
f   d"e	ee
f   defd)Zej                  ej                  ej                  ej                  ej                  fde	ee
f   de	d e
f   d'e	ee
f   d(e	ee
f   d"e	ee
f   defd*Zd+edefd,Zd+edefd-Zd.edefd/Zd.edefd0Zdefd1Z xZS )2TollfreeVerificationListr*   c                 2    t         |   |       d| _        y)zv
        Initialize the TollfreeVerificationList

        :param version: Version that contains the resource

        z/Tollfree/VerificationsN)rQ   rR   r   )rX   r*   rY   s     r!   rR   z!TollfreeVerificationList.__init__  s     	!-	r    r4   r;   r@   rA   rB   rC   rD   rE   r   rF   rH   r/   r5   r6   r7   r8   r9   r:   rG   r<   r=   r>   r?   rP   rZ   c           
      t   t        j                  i d|d|d|dt        j                  |d       d|d|dt        j                  |d	       d
|d|	d|
d|d|d|d|d|d|d|||||||d      }| j                  j                  d| j                  |      }t        | j                  |      S )aO
  
        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 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                     | S r   r   r   s    r!   r   z1TollfreeVerificationList.create.<locals>.<lambda>  r   r    r   r   r   c                     | S r   r   r   s    r!   r   z1TollfreeVerificationList.create.<locals>.<lambda>  r   r    r"   r   TollfreePhoneNumberSidCustomerProfileSidr   r   r   r   r   r   r   r   r   r   r   ExternalReferenceIdr   r   )r   r   r   r   r^   creater   r   rX   r4   r;   r@   rA   rB   rC   rD   rE   rF   rH   r/   r5   r6   r7   r8   r9   r:   rG   r<   r=   r>   r?   rP   r   r+   s                             r!   r   zTollfreeVerificationList.create  sX   n yy!#3 $%7 $Y]]3F%T	
 !"2 *+D !)--0A;"O [   )*C %&: ()@ )*B  ./M  %&:!" "#3#$ *@,G+E(>(>'</
8 --&&		 ' 
 ,DMM7CCr    c           
        K   t        j                  i d|d|d|dt        j                  |d       d|d|dt        j                  |d	       d
|d|	d|
d|d|d|d|d|d|d|||||||d      }| j                  j                  d| j                  |       d{   }t        | j                  |      S 7 w)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 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                     | S r   r   r   s    r!   r   z7TollfreeVerificationList.create_async.<locals>.<lambda>4  r   r    r   r   r   c                     | S r   r   r   s    r!   r   z7TollfreeVerificationList.create_async.<locals>.<lambda>7  r   r    r"   r   r   r   r   r   r   r   r   r   r   r   r   N)r   r   r   r   r^   create_asyncr   r   r   s                             r!   r   z%TollfreeVerificationList.create_async  sf    n yy!#3 $%7 $Y]]3F%T	
 !"2 *+D !)--0A;"O [   )*C %&: ()@ )*B  ./M  %&:!" "#3#$ *@,G+E(>(>'</
8 22		 3 
 
 ,DMM7CC
s   B'C)C*CNrI   r$   limit	page_sizec                     | j                   j                  ||      }| j                  |||d         }| j                   j                  ||d         S )aa  
        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 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   rH   rI   r   r   )r^   read_limitspagestreamrX   rH   rI   r   r   limitsr   s          r!   r   zTollfreeVerificationList.streamS  sX    0 **5)<yy&?[)  
 }}##D&/::r    c                    K   | j                   j                  ||      }| j                  |||d          d{   }| j                   j                  ||d         S 7 #w)ap  
        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 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   )r^   r   
page_asyncstream_asyncr   s          r!   r   z%TollfreeVerificationList.stream_asynct  sf     0 **5)<__&?[) % 
 
 }}))$w@@
s   7AA$Ac                 >    t        | j                  ||||            S )a  
        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 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   rI   r   r   )listr   )rX   rH   rI   r   r   s        r!   r   zTollfreeVerificationList.list  s.    . KK*C#	  
 	
r    c                 ~   K   | j                  ||||       d{   2 cg c3 d{   }|7 7 	6 c}S c c}w w)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 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   )rX   rH   rI   r   r   records         r!   
list_asyncz#TollfreeVerificationList.list_async  sZ     2 '+&7&7*C#	 '8 ' !
 
 !
 
 	
 
s0   =0=842
48=48=
page_tokenpage_numberc                     t        j                  |||||d      }| j                  j                  d| j                  |      }t        | j                  |      S )aP  
        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 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)   	PageTokenr   PageSizer   r   r   params)r   r   r^   r   r   r   rX   rH   rI   r   r   r   r   responses           r!   r   zTollfreeVerificationList.page  sX    ( yy*C '#%
 ==%%U		$%O'x@@r    c                    K   t        j                  |||||d      }| j                  j                  d| j                  |       d{   }t        | j                  |      S 7 w)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 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   N)r   r   r^   r   r   r   r   s           r!   r   z#TollfreeVerificationList.page_async  sm     ( yy*C '#%
 11dii 2 
 
 (x@@
s   AA&	A$
A&
target_urlc                     | j                   j                  j                  j                  d|      }t	        | j                   |      S )a  
        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   )r^   domaintwiliorequestr   rX   r   r   s      r!   get_pagez!TollfreeVerificationList.get_page  s7     ==''..66ujI'x@@r    c                    K   | j                   j                  j                  j                  d|       d{   }t	        | j                   |      S 7 w)a  
        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)r^   r   r   request_asyncr   r   s      r!   get_page_asyncz'TollfreeVerificationList.get_page_async&  sD      --44BB5*UU'x@@ Vs   4AAAr,   c                 0    t        | j                  |      S z
        Constructs a TollfreeVerificationContext

        :param sid: The unique string to identify Tollfree Verification.
        r\   r]   r^   rX   r,   s     r!   rS   zTollfreeVerificationList.get2       +4==cBBr    c                 0    t        | j                  |      S r  r  r  s     r!   __call__z!TollfreeVerificationList.__call__:  r	  r    c                      y)rx   z.<Twilio.Messaging.V1.TollfreeVerificationList>r   r_   s    r!   r   z!TollfreeVerificationList.__repr__B  r   r    ) r   r   r   r   rR   r   r   r   r   r   r   r   r   r   r   intr	   r   r
   r   r   r   r   r   r   r  r  r]   rS   r  r   r   r   s   @r!   r   r     sm   	. 	.. 4:<<6<ll7=||,2LL=C\\39<</5||5;\\:@,,9?5;\\5;\\4:LL1YDYD YD  	YD
 "#YYD YD $'YD  9YD >YD YD $'YD $CK0YD "'sF{!3YD #(V"4YD S&[)YD  ).c6k(:!YD" $CK0#YD$  V,%YD& !&c6k 2'YD( &+3;%7)YD* %*#v+$6+YD, !&c6k 2-YD. !&c6k 2/YD0  %S&[11YD2 
&3YDN 4:<<6<ll7=||,2LL=C\\39<</5||5;\\:@,,9?5;\\5;\\4:LL1YDYD YD  	YD
 "#YYD YD $'YD  9YD >YD YD $'YD $CK0YD "'sF{!3YD #(V"4YD S&[)YD  ).c6k(:!YD" $CK0#YD$  V,%YD& !&c6k 2'YD( &+3;%7)YD* %*#v+$6+YD, !&c6k 2-YD. !&c6k 2/YD0  %S&[11YD2 
&3YDz 9?GM||##';#(f#5; ;VCD; }	;
 C=; 
.	/;F 9?GM||##'A#(f#5A ;VCDA }	A
 C=A 
3	4AF 9?GM||##'
#(f#5
 ;VCD
 }	

 C=
 
*	+
D 9?GM||##'
#(f#5
 ;VCD
 }	

 C=
 
*	+
F 9?GM||)/*0,,(.A#(f#5A ;VCDA #v+&	A
 3;'A f%A 
"AF 9?GM||)/*0,,(.!A#(f#5!A ;VCD!A #v+&	!A
 3;'!A f%!A 
"!AF
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   r]   r   r   r   r    r!   <module>r     sn     L L L 6 6 8 : 2 ' !XW#3 XWv
GV/ GVT@t @$w@| w@r    