
    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  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 - Assistants
 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values)InstanceContext)InstanceResource)ListResource)Version)Pagec                   P  ^  \ rS rSr " S S\5      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,                  4S\\\4   SS 4S jjr\R,                  4S\\\4   SS 4S jjrS\
4S jrSrU =r$ )ToolInstance   c                   6    \ rS rSrSrS\\\4   4S jrS r	Sr
g)3ToolInstance.AssistantsV1ServiceCreatePolicyRequest   
:ivar description: The description of the policy.
:ivar id: The Policy ID.
:ivar name: The name of the policy.
:ivar policy_details:
:ivar type: The description of the policy.
payloadc                     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        g Ndescriptionidnamepolicy_detailstypegetr   r   r   r   r    selfr   s     f/Users/Alptekin/Desktop/izin_takip/venv/lib/python3.13/site-packages/twilio/rest/assistants/v1/tool.py__init__<ToolInstance.AssistantsV1ServiceCreatePolicyRequest.__init__$   Z    .5kk-.HD%,[[%6DG'.{{6':DI?F{{ @D (/{{6':DI    c                 v    U R                   U R                  U R                  U R                  U R                  S.$ Nr   r   r   r   r    r,   r$   s    r%   to_dict;ToolInstance.AssistantsV1ServiceCreatePolicyRequest.to_dict.   3    #//gg		"&"5"5		 r)   r,   N__name__
__module____qualname____firstlineno____doc__r   strr   r&   r.   __static_attributes__ r)   r%   &AssistantsV1ServiceCreatePolicyRequestr           		;DcN 	;	r)   r:   c                   6    \ rS rSrSrS\\\4   4S jrS r	Sr
g)1ToolInstance.AssistantsV1ServiceCreateToolRequest7   1  
:ivar assistant_id: The Assistant ID.
:ivar description: The description of the tool.
:ivar enabled: True if the tool is enabled.
:ivar meta: The metadata related to method, url, input_schema to used with the Tool.
:ivar name: The name of the tool.
:ivar policy:
:ivar type: The description of the tool.
r   c                 8   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        g Nassistant_idr   enabledmetar   policyr    r"   rB   r   rC   rD   r   rE   r    r#   s     r%   r&   :ToolInstance.AssistantsV1ServiceCreateToolRequest.__init__B   y    /6{{>/JD.5kk-.HD+2;;y+ADL5<[[5HDI'.{{6':DIH% K (/{{6':DIr)   c                     U R                   U R                  U R                  U R                  U R                  U R
                  b  U R
                  R                  5       OS U R                  S.$ NrB   r   rC   rD   r   rE   r    rB   r   rC   rD   r   rE   r.   r    r-   s    r%   r.   9ToolInstance.AssistantsV1ServiceCreateToolRequest.to_dictN   V     $ 1 1#//<<				37;;3J$++--/PT		 r)   rK   Nr1   r9   r)   r%   $AssistantsV1ServiceCreateToolRequestr=   7        	
	;DcN 
	;		r)   rO   c                   6    \ rS rSrSrS\\\4   4S jrS r	Sr
g)1ToolInstance.AssistantsV1ServiceUpdateToolRequestY   *  
:ivar assistant_id: The Assistant ID.
:ivar description: The description of the tool.
:ivar enabled: True if the tool is enabled.
:ivar meta: The metadata related to method, url, input_schema to used with the Tool.
:ivar name: The name of the tool.
:ivar policy:
:ivar type: The type of the tool.
r   c                 8   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        g rA   rF   r#   s     r%   r&   :ToolInstance.AssistantsV1ServiceUpdateToolRequest.__init__d   rH   r)   c                     U R                   U R                  U R                  U R                  U R                  U R
                  b  U R
                  R                  5       OS U R                  S.$ rJ   rL   r-   s    r%   r.   9ToolInstance.AssistantsV1ServiceUpdateToolRequest.to_dictp   rN   r)   rK   Nr1   r9   r)   r%   $AssistantsV1ServiceUpdateToolRequestrR   Y   rP   r)   rY   versionr   r   c                   > [         TU ]  U5        UR                  S5      U l        UR                  S5      U l        UR                  S5      U l        UR                  S5      U l        UR                  S5      U l        UR                  S5      U l        UR                  S5      U l	        UR                  S5      U l
        UR                  S	5      U l        [        R                  " UR                  S
5      5      U l        [        R                  " UR                  S5      5      U l        UR                  S5      U l        SU=(       d    U R                  0U l        S U l        g )Naccount_sidr   rC   r   rD   r   requires_authr    urldate_createddate_updatedpolicies)superr&   r"   r\   r   rC   r   rD   r   r]   r    r^   r   iso8601_datetimer_   r`   ra   	_solution_context)r$   rZ   r   r   	__class__s       r%   r&   ToolInstance.__init__   s    	!*1++m*D*1++m*D'.{{9'=!(T!218V1D	#*;;v#6	-4[[-I#*;;v#6	")++e"40;0L0LKK'1
 1<0L0LKK'1
 .5[[-D "-
 04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: ToolContext for this ToolInstance
r   r   )re   ToolContext_versionrd   r-   s    r%   _proxyToolInstance._proxy   s9     == '>>$'DM }}r)   c                 6    U R                   R                  5       $ )O
Deletes the ToolInstance


:returns: True if delete succeeds, False otherwise
)rm   deleter-   s    r%   rq   ToolInstance.delete   s     {{!!##r)   c                 R   #    U R                   R                  5       I Sh  vN $  N7f)k
Asynchronous coroutine that deletes the ToolInstance


:returns: True if delete succeeds, False otherwise
N)rm   delete_asyncr-   s    r%   ru   ToolInstance.delete_async   s       [[--////   '%'c                 6    U R                   R                  5       $ )=
Fetch the ToolInstance


:returns: The fetched ToolInstance
)rm   fetchr-   s    r%   rz   ToolInstance.fetch   s     {{  ""r)   c                 R   #    U R                   R                  5       I Sh  vN $  N7f)W
Asynchronous coroutine to fetch the ToolInstance


:returns: The fetched ToolInstance
N)rm   fetch_asyncr-   s    r%   r~   ToolInstance.fetch_async   s       [[,,....rw   )assistants_v1_service_update_tool_requestc                 4    U R                   R                  US9$ )p
Update the ToolInstance

:param assistants_v1_service_update_tool_request:

:returns: The updated ToolInstance
r   )rm   updater$   r   s     r%   r   ToolInstance.update   s#     {{!!6_ " 
 	
r)   c                 P   #    U R                   R                  US9I Sh  vN $  N7f)
Asynchronous coroutine to update the ToolInstance

:param assistants_v1_service_update_tool_request:

:returns: The updated ToolInstance
r   N)rm   update_asyncr   s     r%   r   ToolInstance.update_async   s0      [[--6_ . 
 
 	
 
s   &$&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>(ToolInstance.__repr__.<locals>.<genexpr>         S<RDA7>>!//<R    "z&<Twilio.Assistants.V1.ToolInstance {}>joinrd   itemsr   r$   contexts     r%   __repr__ToolInstance.__repr__   s6     ((SDNN<P<P<RSS7>>wGGr)   )re   rd   r\   r_   r`   r   rC   r   rD   r   ra   r]   r    r^   )N)rh   rk   )rh   r   )r2   r3   r4   r5   objectr:   rO   rY   r   r   r7   r   r   r&   propertyrm   boolrq   ru   rz   r~   r   unsetr   r   r   r   r8   __classcell__rf   s   @r%   r   r      s    8 v  D v  D  NR44)-c3h4=Ec]4 46  $ $0D 0#/ LL	
380&84


 

* LL	
380&84


 

"H# H Hr)   r   c                   (  ^  \ rS rSr " S S\5      r " S S\5      r " S S\5      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$                  4S\\\4   S\4S jjr\R$                  4S\\\4   S\4S jjrS\	4S jrSrU =r$ )rk   i  c                   6    \ rS rSrSrS\\\4   4S jrS r	Sr
g)2ToolContext.AssistantsV1ServiceCreatePolicyRequesti  r   r   c                     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        g r   r!   r#   s     r%   r&   ;ToolContext.AssistantsV1ServiceCreatePolicyRequest.__init__  r(   r)   c                 v    U R                   U R                  U R                  U R                  U R                  S.$ r+   r,   r-   s    r%   r.   :ToolContext.AssistantsV1ServiceCreatePolicyRequest.to_dict  r0   r)   r,   Nr1   r9   r)   r%   r:   r     r;   r)   r:   c                   6    \ rS rSrSrS\\\4   4S jrS r	Sr
g)0ToolContext.AssistantsV1ServiceCreateToolRequesti"  r?   r   c                 8   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        g rA   rF   r#   s     r%   r&   9ToolContext.AssistantsV1ServiceCreateToolRequest.__init__-  rH   r)   c                     U R                   U R                  U R                  U R                  U R                  U R
                  b  U R
                  R                  5       OS U R                  S.$ rJ   rL   r-   s    r%   r.   8ToolContext.AssistantsV1ServiceCreateToolRequest.to_dict9  rN   r)   rK   Nr1   r9   r)   r%   rO   r   "  rP   r)   rO   c                   6    \ rS rSrSrS\\\4   4S jrS r	Sr
g)0ToolContext.AssistantsV1ServiceUpdateToolRequestiD  rT   r   c                 8   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        g rA   rF   r#   s     r%   r&   9ToolContext.AssistantsV1ServiceUpdateToolRequest.__init__O  rH   r)   c                     U R                   U R                  U R                  U R                  U R                  U R
                  b  U R
                  R                  5       OS U R                  S.$ rJ   rL   r-   s    r%   r.   8ToolContext.AssistantsV1ServiceUpdateToolRequest.to_dict[  rN   r)   rK   Nr1   r9   r)   r%   rY   r   D  rP   r)   rY   rZ   r   c                 x   > [         TU ]  U5        SU0U l        SR                  " S0 U R                  D6U l        g)z[
Initialize the ToolContext

:param version: Version that contains the resource
:param id:
r   z/Tools/{id}Nr9   )rb   r&   rd   r   _uri)r$   rZ   r   rf   s      r%   r&   ToolContext.__init__f  s=     	! "
 "((:4>>:	r)   rh   c                 x    [         R                  " 0 5      nU R                  R                  SU R                  US9$ )rp   DELETEmethoduriheaders)r   ofrl   rq   r   r$   r   s     r%   rq   ToolContext.deleteu  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)rt   r   r   N)r   r   rl   ru   r   r   s     r%   ru   ToolContext.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$ )ry   application/jsonAcceptGETr   r   rj   )r   r   rl   rz   r   r   rd   r$   r   r   s      r%   rz   ToolContext.fetch  s]     ))B-.--%%U		7%SMM~~d#
 	
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)r}   r   r   r   r   Nr   rj   )r   r   rl   r~   r   r   rd   r   s      r%   r~   ToolContext.fetch_async  sq      ))B-.11dii 2 
 
 MM~~d#
 	
	
s   AA/A-'A/r   c                     UR                  5       n[        R                  " 0 5      nSUS'   SUS'   U R                  R	                  SU R
                  X#S9n[        U R                  X@R                  S   S9$ )r   r   Content-Typer   PUTr   r   datar   r   rj   )r.   r   r   rl   r   r   r   rd   r$   r   r   r   r   s        r%   r   ToolContext.update  ss     9@@B))B-"4.--&&diid ' 
 DMM7~~d7KLLr)   c                 
  #    UR                  5       n[        R                  " 0 5      nSUS'   SUS'   U R                  R	                  SU R
                  X#S9I Sh  vN n[        U R                  X@R                  S   S9$  N%7f)	r   r   r   r   r   r   Nr   rj   )r.   r   r   rl   r   r   r   rd   r   s        r%   r   ToolContext.update_async  s      9@@B))B-"4.22diid 3 
 
 DMM7~~d7KLL	
s   ABB&B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   'ToolContext.__repr__.<locals>.<genexpr>  r   r   z%<Twilio.Assistants.V1.ToolContext {}>r   r   s     r%   r   ToolContext.__repr__  s6     ((SDNN<P<P<RSS6==gFFr)   )rd   r   )r2   r3   r4   r5   r   r:   rO   rY   r   r7   r&   r   rq   ru   r   rz   r~   r   r   r   r   r   r   r8   r   r   s   @r%   rk   rk     s     8 v  D v  D; ;S ;
U 
U
D 

| 
(
< 
4 LL	M380&84
M
 
M> LL	M380&84
M
 
M6G# G Gr)   rk   c                   >    \ rS rSrS\\\4   S\4S jrS\4S jr	Sr
g)ToolPagei  r   rh   c                 .    [        U R                  U5      $ )zR
Build an instance of ToolInstance

:param payload: Payload response from the API
)r   rl   r#   s     r%   get_instanceToolPage.get_instance  s     DMM733r)   c                     g)r   z<Twilio.Assistants.V1.ToolPage>r9   r-   s    r%   r   ToolPage.__repr__       1r)   r9   N)r2   r3   r4   r5   r   r7   r   r   r   r   r8   r9   r)   r%   r   r     s)    4DcN 4| 41# 1r)   r   c                     ^  \ rS rSr " S S\5      r " S S\5      r " S S\5      rS\4U 4S	 jjr	S
\S\
4S jrS
\S\
4S jr\R                  SS4S\\\4   S\\   S\\   S\\
   4S jjr\R                  SS4S\\\4   S\\   S\\   S\\
   4S jjr\R                  SS4S\\\4   S\\   S\\   S\\
   4S jjr\R                  SS4S\\\4   S\\   S\\   S\\
   4S jjr\R                  \R                  \R                  \R                  4S\\\4   S\\\4   S\\\4   S\\\4   S\4
S jjr\R                  \R                  \R                  \R                  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S\S\4S jr S\S\4S jr!S\4S  jr"S!r#U =r$$ )"ToolListi  c                   6    \ rS rSrSrS\\\4   4S jrS r	Sr
g)/ToolList.AssistantsV1ServiceCreatePolicyRequesti  r   r   c                     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        g r   r!   r#   s     r%   r&   8ToolList.AssistantsV1ServiceCreatePolicyRequest.__init__  r(   r)   c                 v    U R                   U R                  U R                  U R                  U R                  S.$ r+   r,   r-   s    r%   r.   7ToolList.AssistantsV1ServiceCreatePolicyRequest.to_dict!  r0   r)   r,   Nr1   r9   r)   r%   r:   r     r;   r)   r:   c                   6    \ rS rSrSrS\\\4   4S jrS r	Sr
g)-ToolList.AssistantsV1ServiceCreateToolRequesti*  r?   r   c                 8   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        g rA   rF   r#   s     r%   r&   6ToolList.AssistantsV1ServiceCreateToolRequest.__init__5  rH   r)   c                     U R                   U R                  U R                  U R                  U R                  U R
                  b  U R
                  R                  5       OS U R                  S.$ rJ   rL   r-   s    r%   r.   5ToolList.AssistantsV1ServiceCreateToolRequest.to_dictA  rN   r)   rK   Nr1   r9   r)   r%   rO   r   *  rP   r)   rO   c                   6    \ rS rSrSrS\\\4   4S jrS r	Sr
g)-ToolList.AssistantsV1ServiceUpdateToolRequestiL  rT   r   c                 8   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        g rA   rF   r#   s     r%   r&   6ToolList.AssistantsV1ServiceUpdateToolRequest.__init__W  rH   r)   c                     U R                   U R                  U R                  U R                  U R                  U R
                  b  U R
                  R                  5       OS U R                  S.$ rJ   rL   r-   s    r%   r.   5ToolList.AssistantsV1ServiceUpdateToolRequest.to_dictc  rN   r)   rK   Nr1   r9   r)   r%   rY   r   L  rP   r)   rY   rZ   c                 2   > [         TU ]  U5        SU l        g)zN
Initialize the ToolList

:param version: Version that contains the resource

z/ToolsN)rb   r&   r   )r$   rZ   rf   s     r%   r&   ToolList.__init__n  s     	!	r)   )assistants_v1_service_create_tool_requestrh   c                     UR                  5       n[        R                  " SS05      nSUS'   SUS'   U R                  R	                  SU R
                  X#S9n[        U R                  U5      $ )zp
Create the ToolInstance

:param assistants_v1_service_create_tool_request:

:returns: The created ToolInstance
r   !application/x-www-form-urlencodedr   r   POSTr   )r.   r   r   rl   creater   r   r$   r   r   r   r   s        r%   r   ToolList.createy  sq     9@@B))^-PQR"4.--&&tyyt ' 
 DMM733r)   c                    #    UR                  5       n[        R                  " SS05      nSUS'   SUS'   U R                  R	                  SU R
                  X#S9I Sh  vN n[        U R                  U5      $  N7f)z
Asynchronously create the ToolInstance

:param assistants_v1_service_create_tool_request:

:returns: The created ToolInstance
r   r   r   r   r   r   N)r.   r   r   rl   create_asyncr   r   r   s        r%   r  ToolList.create_async  s~      9@@B))^-PQR"4.22tyyt 3 
 
 DMM733	
s   AA:A8A:NrB   limit	page_sizec                     U R                   R                  X#5      nU R                  XS   S9nU R                   R                  XTS   5      $ )a  
Streams ToolInstance 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 assistant_id:
: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  rB   r  r  )rl   read_limitspagestreamr$   rB   r  r  limitsr
  s         r%   r  ToolList.stream  sF    , **5<yyl[>QyR}}##D/::r)   c                    #    U R                   R                  X#5      nU R                  XS   S9I Sh  vN nU R                   R                  XTS   5      $  N"7f)a"  
Asynchronously streams ToolInstance 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 assistant_id:
: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  )rl   r	  
page_asyncstream_asyncr  s         r%   r  ToolList.stream_async  s[     , **5<__%1D % 
 
 }}))$w@@	
s   1AA#Ac                 6    [        U R                  UUUS95      $ )a  
Lists ToolInstance records from the API as a list.
Unlike stream(), this operation is eager and will load `limit` records into
memory before returning.

:param str assistant_id:
: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
rB   r  r  )listr  )r$   rB   r  r  s       r%   r  ToolList.list  s+    * KK)#  
 	
r)   c                 x   #    U R                  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 ToolInstance records from the API as a list.
Unlike stream(), this operation is eager and will load `limit` records into
memory before returning.

:param str assistant_id:
: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$   rB   r  r  records        r%   
list_asyncToolList.list_async   sT     . '+&7&7)# '8 ' ! !
 
 !
 	
 
s0   :-:51/
15:15:
page_tokenpage_numberc                     [         R                  " UUUUS.5      n[         R                  " SS05      nSUS'   U R                  R                  SU R                  XVS9n[        U R                  U5      $ )aJ  
Retrieve a single page of ToolInstance records from the API.
Request is executed immediately

:param assistant_id:
: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 ToolInstance
AssistantId	PageTokenr   PageSizer   r   r   r   r   r   r   paramsr   )r   r   rl   r
  r   r   r$   rB   r  r  r  r   r   responses           r%   r
  ToolList.page  sz    $ yy+'#%	
 ))^-PQR.==%%dii & 
 x00r)   c                   #    [         R                  " UUUUS.5      n[         R                  " SS05      nSUS'   U R                  R                  SU R                  XVS9I Sh  vN n[        U R                  U5      $  N7f)	aY  
Asynchronously retrieve a single page of ToolInstance records from the API.
Request is executed immediately

:param assistant_id:
: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 ToolInstance
r  r   r   r   r   r   r"  N)r   r   rl   r  r   r   r$  s           r%   r  ToolList.page_asyncB  s     $ yy+'#%	
 ))^-PQR.11dii 2 
 
 x00
s   A!B #A>$B 
target_urlc                     U R                   R                  R                  R                  SU5      n[	        U R                   U5      $ )z
Retrieve a specific page of ToolInstance records from the API.
Request is executed immediately

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

:returns: Page of ToolInstance
r   )rl   domaintwiliorequestr   r$   r)  r%  s      r%   get_pageToolList.get_pagef  s7     ==''..66ujIx00r)   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 ToolInstance records from the API.
Request is executed immediately

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

:returns: Page of ToolInstance
r   N)rl   r+  r,  request_asyncr   r.  s      r%   get_page_asyncToolList.get_page_asyncr  sC      --44BB5*UUx00 Vs   4AAAr   c                 *    [        U R                  US9$ z&
Constructs a ToolContext

:param id:
rj   rk   rl   r$   r   s     r%   r"   ToolList.get~       4==R00r)   c                 *    [        U R                  US9$ r6  r7  r8  s     r%   __call__ToolList.__call__  r:  r)   c                     g)r   z<Twilio.Assistants.V1.ToolList>r9   r-   s    r%   r   ToolList.__repr__  r   r)   )r   )%r2   r3   r4   r5   r   r:   rO   rY   r   r&   r   r   r  r   r   r   r7   r   intr	   r  r
   r  r   r  r  r   r
  r  r/  r3  rk   r"   r<  r   r8   r   r   s   @r%   r   r     s    8 v  D v  D	 	43W4 
4243W4 
46 ,2<<##'	;CK(; }; C=	;
 
,	;: ,2<<##'	ACK(A }A C=	A
 
|	$A> ,2<<##'	
CK(
 }
 C=	

 
l	
> ,2<<##'	
CK(
 }
 C=	

 
l	
@ ,2<<)/*0,,(."1CK("1 #v+&"1 3;'	"1
 f%"1 
"1L ,2<<)/*0,,(."1CK("1 #v+&"1 3;'	"1
 f%"1 
"1H
13 
18 
1
1s 
1x 
11c 1k 113 1; 11# 1 1r)   r   N)r6   r   typingr   r   r   r   r   r	   r
   twilio.baser   r   twilio.base.instance_contextr   twilio.base.instance_resourcer   twilio.base.list_resourcer   twilio.base.versionr   twilio.base.pager   r   rk   r   r   r9   r)   r%   <module>rH     sg     L L L + 8 : 2 ' !hH# hHVrG/ rGj1t 1&H1| H1r)   