
    pi ~                         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 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 - 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                   .    e Zd Z G d de      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*                  fdeeef   dd fdZej*                  fdeeef   dd fdZde	fdZ xZS )ToolInstancec                   ,    e Zd ZdZdeeef   fdZd Zy)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                     |j                  d      | _        |j                  d      | _        |j                  d      | _        |j                  d      | _        |j                  d      | _        y Ndescriptionidnamepolicy_detailstypegetr   r   r   r   r   selfr   s     `/opt/services/ai/voice_agent/venv/lib/python3.12/site-packages/twilio/rest/assistants/v1/tool.py__init__z<ToolInstance.AssistantsV1ServiceCreatePolicyRequest.__init__$   Z    .5kk-.HD%,[[%6DG'.{{6':DI?F{{ @D (/{{6':DI    c                 v    | j                   | j                  | j                  | j                  | j                  dS Nr   r   r   r   r   r)   r"   s    r#   to_dictz;ToolInstance.AssistantsV1ServiceCreatePolicyRequest.to_dict.   3    #//gg		"&"5"5		 r&   N	__name__
__module____qualname____doc__r   strr   r$   r+    r&   r#   &AssistantsV1ServiceCreatePolicyRequestr           		;DcN 	;	r&   r4   c                   ,    e Zd ZdZdeeef   fdZd Zy)1ToolInstance.AssistantsV1ServiceCreateToolRequestq  
        :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   |j                  d      | _        |j                  d      | _        |j                  d      | _        |j                  d      | _        |j                  d      | _        |j                  d      | _        |j                  d      | _        y Nassistant_idr   enabledmetar   policyr   r    r;   r   r<   r=   r   r>   r   r!   s     r#   r$   z:ToolInstance.AssistantsV1ServiceCreateToolRequest.__init__B   y    /6{{>/JD.5kk-.HD+2;;y+ADL5<[[5HDI'.{{6':DIH% K (/{{6':DIr&   c                     | j                   | j                  | j                  | j                  | j                  | j
                  | j
                  j                         nd | j                  dS N)r;   r   r<   r=   r   r>   r   r;   r   r<   r=   r   r>   r+   r   r*   s    r#   r+   z9ToolInstance.AssistantsV1ServiceCreateToolRequest.to_dictN   V     $ 1 1#//<<				37;;3J$++--/PT		 r&   Nr-   r3   r&   r#   $AssistantsV1ServiceCreateToolRequestr7   7        	
	;DcN 
	;		r&   rE   c                   ,    e Zd ZdZdeeef   fdZd Zy)1ToolInstance.AssistantsV1ServiceUpdateToolRequestj  
        :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   |j                  d      | _        |j                  d      | _        |j                  d      | _        |j                  d      | _        |j                  d      | _        |j                  d      | _        |j                  d      | _        y r:   r?   r!   s     r#   r$   z:ToolInstance.AssistantsV1ServiceUpdateToolRequest.__init__d   r@   r&   c                     | j                   | j                  | j                  | j                  | j                  | j
                  | j
                  j                         nd | j                  dS rB   rC   r*   s    r#   r+   z9ToolInstance.AssistantsV1ServiceUpdateToolRequest.to_dictp   rD   r&   Nr-   r3   r&   r#   $AssistantsV1ServiceUpdateToolRequestrH   Y   rF   r&   rL   versionr   r   c                    t         |   |       |j                  d      | _        |j                  d      | _        |j                  d      | _        |j                  d      | _        |j                  d      | _        |j                  d      | _        |j                  d      | _	        |j                  d      | _
        |j                  d	      | _        t        j                  |j                  d
            | _        t        j                  |j                  d            | _        |j                  d      | _        d|xs | j                  i| _        d | _        y )Naccount_sidr   r<   r   r=   r   requires_authr   urldate_createddate_updatedpolicies)superr$   r    rO   r   r<   r   r=   r   rP   r   rQ   r   iso8601_datetimerR   rS   rT   	_solution_context)r"   rM   r   r   	__class__s       r#   r$   z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                     | j                   )t        | j                  | j                  d         | _         | j                   S )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   )rX   ToolContext_versionrW   r*   s    r#   _proxyzToolInstance._proxy   s9     == '>>$'DM }}r&   c                 6    | j                   j                         S )g
        Deletes the ToolInstance


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


        :returns: True if delete succeeds, False otherwise
        N)r_   delete_asyncr*   s    r#   re   zToolInstance.delete_async   s!      [[--////   '%'c                 6    | j                   j                         S )U
        Fetch the ToolInstance


        :returns: The fetched ToolInstance
        )r_   fetchr*   s    r#   ri   zToolInstance.fetch   s     {{  ""r&   c                 R   K   | j                   j                          d{   S 7 w)o
        Asynchronous coroutine to fetch the ToolInstance


        :returns: The fetched ToolInstance
        N)r_   fetch_asyncr*   s    r#   rl   zToolInstance.fetch_async   s!      [[,,....rf   )assistants_v1_service_update_tool_requestc                 :    | j                   j                  |      S )
        Update the ToolInstance

        :param assistants_v1_service_update_tool_request:

        :returns: The updated ToolInstance
        rm   )r_   updater"   rm   s     r#   rq   zToolInstance.update   s#     {{!!6_ " 
 	
r&   c                 V   K   | j                   j                  |       d{   S 7 w)
        Asynchronous coroutine to update the ToolInstance

        :param assistants_v1_service_update_tool_request:

        :returns: The updated ToolInstance
        rp   N)r_   update_asyncrr   s     r#   ru   zToolInstance.update_async   s1      [[--6_ . 
 
 	
 
s    )')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>z(ToolInstance.__repr__.<locals>.<genexpr>        SDAq7>>!Q/S   !z&<Twilio.Assistants.V1.ToolInstance {}>joinrW   itemsr|   r"   contexts     r#   __repr__zToolInstance.__repr__   s6     ((SDNN<P<P<RSS7>>wGGr&   )N)rZ   r]   )rZ   r   )r.   r/   r0   objectr4   rE   rL   r   r   r2   r   r   r$   propertyr_   boolrb   re   ri   rl   r   unsetr   rq   ru   r   __classcell__rY   s   @r#   r   r      s     8 v  D v  D  NR44)-c3h4=Ec]46  $ $0D 0#/ LL	
380&84


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

 

"H# Hr&   r   c                   
    e Zd Z G d de      Z G d de      Z G d de      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"                  fdeeef   d
efdZej"                  fdeeef   d
efdZd
efdZ xZS )r]   c                   ,    e Zd ZdZdeeef   fdZd Zy)2ToolContext.AssistantsV1ServiceCreatePolicyRequestr   r   c                     |j                  d      | _        |j                  d      | _        |j                  d      | _        |j                  d      | _        |j                  d      | _        y r   r   r!   s     r#   r$   z;ToolContext.AssistantsV1ServiceCreatePolicyRequest.__init__  r%   r&   c                 v    | j                   | j                  | j                  | j                  | j                  dS r(   r)   r*   s    r#   r+   z:ToolContext.AssistantsV1ServiceCreatePolicyRequest.to_dict  r,   r&   Nr-   r3   r&   r#   r4   r     r5   r&   r4   c                   ,    e Zd ZdZdeeef   fdZd Zy)0ToolContext.AssistantsV1ServiceCreateToolRequestr8   r   c                 8   |j                  d      | _        |j                  d      | _        |j                  d      | _        |j                  d      | _        |j                  d      | _        |j                  d      | _        |j                  d      | _        y r:   r?   r!   s     r#   r$   z9ToolContext.AssistantsV1ServiceCreateToolRequest.__init__-  r@   r&   c                     | j                   | j                  | j                  | j                  | j                  | j
                  | j
                  j                         nd | j                  dS rB   rC   r*   s    r#   r+   z8ToolContext.AssistantsV1ServiceCreateToolRequest.to_dict9  rD   r&   Nr-   r3   r&   r#   rE   r   "  rF   r&   rE   c                   ,    e Zd ZdZdeeef   fdZd Zy)0ToolContext.AssistantsV1ServiceUpdateToolRequestrI   r   c                 8   |j                  d      | _        |j                  d      | _        |j                  d      | _        |j                  d      | _        |j                  d      | _        |j                  d      | _        |j                  d      | _        y r:   r?   r!   s     r#   r$   z9ToolContext.AssistantsV1ServiceUpdateToolRequest.__init__O  r@   r&   c                     | j                   | j                  | j                  | j                  | j                  | j
                  | j
                  j                         nd | j                  dS rB   rC   r*   s    r#   r+   z8ToolContext.AssistantsV1ServiceUpdateToolRequest.to_dict[  rD   r&   Nr-   r3   r&   r#   rL   r   D  rF   r&   rL   rM   r   c                 x    t         |   |       d|i| _         dj                  di | j                  | _        y)z{
        Initialize the ToolContext

        :param version: Version that contains the resource
        :param id:
        r   z/Tools/{id}Nr3   )rU   r$   rW   r|   _uri)r"   rM   r   rY   s      r#   r$   zToolContext.__init__f  s?     	! "
 )M((:4>>:	r&   rZ   c                 |    t        j                  i       }| j                  j                  d| j                  |      S )ra   DELETEmethoduriheaders)r   ofr^   rb   r   r"   r   s     r#   rb   zToolContext.deleteu  s1     ))B-}}##8G#TTr&   c                    K   t        j                  i       }| j                  j                  d| j                  |       d{   S 7 w)rd   r   r   N)r   r   r^   re   r   r   s     r#   re   zToolContext.delete_async  sF      ))B-]]//G 0 
 
 	
 
s   AA
AA
c                     t        j                  i       }d|d<   | j                  j                  d| j                  |      }t        | j                  || j                  d         S )rh   application/jsonAcceptGETr   r   r\   )r   r   r^   ri   r   r   rW   r"   r   r   s      r#   ri   zToolContext.fetch  s]     ))B-.--%%U		7%SMM~~d#
 	
r&   c                    K   t        j                  i       }d|d<   | j                  j                  d| j                  |       d{   }t        | j                  || j                  d         S 7 )w)rk   r   r   r   r   Nr   r\   )r   r   r^   rl   r   r   rW   r   s      r#   rl   zToolContext.fetch_async  sr      ))B-.11dii 2 
 
 MM~~d#
 	
	
s   AA4A2	*A4rm   c                     |j                         }t        j                  i       }d|d<   d|d<   | j                  j	                  d| j
                  ||      }t        | j                  || j                  d         S )ro   r   Content-Typer   PUTr   r   datar   r   r\   )r+   r   r   r^   rq   r   r   rW   r"   rm   r   r   r   s        r#   rq   zToolContext.update  sw     9@@B))B-"4.--&&diidG ' 
 DMM7t~~d7KLLr&   c                   K   |j                         }t        j                  i       }d|d<   d|d<   | j                  j	                  d| j
                  ||       d{   }t        | j                  || j                  d         S 7 )w)	rt   r   r   r   r   r   Nr   r\   )r+   r   r   r^   ru   r   r   rW   r   s        r#   ru   zToolContext.update_async  s      9@@B))B-"4.22diidG 3 
 
 DMM7t~~d7KLL	
s   AB
B*B
c                     dj                  d | j                  j                         D              }dj                  |      S )rw   rx   c              3   F   K   | ]  \  }}d j                  ||        ywrz   r{   r}   s      r#   r   z'ToolContext.__repr__.<locals>.<genexpr>  r   r   z%<Twilio.Assistants.V1.ToolContext {}>r   r   s     r#   r   zToolContext.__repr__  s6     ((SDNN<P<P<RSS6==gFFr&   )r.   r/   r0   r   r4   rE   rL   r   r2   r$   r   rb   re   r   ri   rl   r   r   r   rq   ru   r   r   r   s   @r#   r]   r]     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r&   r]   c                   2    e Zd Zdeeef   defdZdefdZy)ToolPager   rZ   c                 .    t        | j                  |      S )zj
        Build an instance of ToolInstance

        :param payload: Payload response from the API
        )r   r^   r!   s     r#   get_instancezToolPage.get_instance  s     DMM733r&   c                      y)rw   z<Twilio.Assistants.V1.ToolPage>r3   r*   s    r#   r   zToolPage.__repr__       1r&   N)	r.   r/   r0   r   r2   r   r   r   r   r3   r&   r#   r   r     s)    4DcN 4| 41# 1r&   r   c                   N    e Zd Z G d de      Z G d de      Z G d de      Zdef fdZd	ed
e	fdZ
d	ed
e	fdZej                  ddfdeeef   dee   dee   d
ee	   fdZej                  ddfdeeef   dee   dee   d
ee	   fdZej                  ddfdeeef   dee   dee   d
ee	   fdZej                  ddfdeeef   dee   dee   d
ee	   fdZ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f   d
ef
dZ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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dZ d
efdZ! xZ"S ) ToolListc                   ,    e Zd ZdZdeeef   fdZd Zy)/ToolList.AssistantsV1ServiceCreatePolicyRequestr   r   c                     |j                  d      | _        |j                  d      | _        |j                  d      | _        |j                  d      | _        |j                  d      | _        y r   r   r!   s     r#   r$   z8ToolList.AssistantsV1ServiceCreatePolicyRequest.__init__  r%   r&   c                 v    | j                   | j                  | j                  | j                  | j                  dS r(   r)   r*   s    r#   r+   z7ToolList.AssistantsV1ServiceCreatePolicyRequest.to_dict!  r,   r&   Nr-   r3   r&   r#   r4   r     r5   r&   r4   c                   ,    e Zd ZdZdeeef   fdZd Zy)-ToolList.AssistantsV1ServiceCreateToolRequestr8   r   c                 8   |j                  d      | _        |j                  d      | _        |j                  d      | _        |j                  d      | _        |j                  d      | _        |j                  d      | _        |j                  d      | _        y r:   r?   r!   s     r#   r$   z6ToolList.AssistantsV1ServiceCreateToolRequest.__init__5  r@   r&   c                     | j                   | j                  | j                  | j                  | j                  | j
                  | j
                  j                         nd | j                  dS rB   rC   r*   s    r#   r+   z5ToolList.AssistantsV1ServiceCreateToolRequest.to_dictA  rD   r&   Nr-   r3   r&   r#   rE   r   *  rF   r&   rE   c                   ,    e Zd ZdZdeeef   fdZd Zy)-ToolList.AssistantsV1ServiceUpdateToolRequestrI   r   c                 8   |j                  d      | _        |j                  d      | _        |j                  d      | _        |j                  d      | _        |j                  d      | _        |j                  d      | _        |j                  d      | _        y r:   r?   r!   s     r#   r$   z6ToolList.AssistantsV1ServiceUpdateToolRequest.__init__W  r@   r&   c                     | j                   | j                  | j                  | j                  | j                  | j
                  | j
                  j                         nd | j                  dS rB   rC   r*   s    r#   r+   z5ToolList.AssistantsV1ServiceUpdateToolRequest.to_dictc  rD   r&   Nr-   r3   r&   r#   rL   r   L  rF   r&   rL   rM   c                 2    t         |   |       d| _        y)zf
        Initialize the ToolList

        :param version: Version that contains the resource

        z/ToolsN)rU   r$   r   )r"   rM   rY   s     r#   r$   zToolList.__init__n  s     	!	r&   )assistants_v1_service_create_tool_requestrZ   c                     |j                         }t        j                  ddi      }d|d<   d|d<   | j                  j	                  d| j
                  ||      }t        | j                  |      S )z
        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   r^   creater   r   r"   r   r   r   r   s        r#   r   zToolList.createy  ss     9@@B))^-PQR"4.--&&tyytW ' 
 DMM733r&   c                    K   |j                         }t        j                  ddi      }d|d<   d|d<   | j                  j	                  d| j
                  ||       d{   }t        | j                  |      S 7 w)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   r^   create_asyncr   r   r   s        r#   r   zToolList.create_async  s      9@@B))^-PQR"4.22tyytW 3 
 
 DMM733	
s   AA= A;!A=Nr;   limit	page_sizec                     | j                   j                  ||      }| j                  ||d         }| j                   j                  ||d         S )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   r;   r   r   )r^   read_limitspagestreamr"   r;   r   r   limitsr   s         r#   r   zToolList.stream  sL    , **5)<yylf[>QyR}}##D&/::r&   c                    K   | j                   j                  ||      }| j                  ||d          d{   }| j                   j                  ||d         S 7 #w)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   )r^   r   
page_asyncstream_asyncr   s         r#   r   zToolList.stream_async  sb     , **5)<__%1D % 
 
 }}))$w@@	
s   6AA$Ac                 <    t        | j                  |||            S )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
        r;   r   r   )listr   )r"   r;   r   r   s       r#   r   zToolList.list  s+    * KK)#  
 	
r&   c                 |   K   | j                  |||       d{   2 cg c3 d{   }|7 7 	6 c}S c c}w w)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"   r;   r   r   records        r#   
list_asynczToolList.list_async   sW     . '+&7&7)# '8 ' !
 
 !
 
 	
 
s0   </<731
37<37<
page_tokenpage_numberc                     t        j                  ||||d      }t        j                  ddi      }d|d<   | j                  j                  d| j                  ||      }t        | j                  |      S )a  
        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   r^   r   r   r   r"   r;   r   r   r   r   r   responses           r#   r   zToolList.page  s|    $ yy+'#%	
 ))^-PQR.==%%diig & 
 x00r&   c                   K   t        j                  ||||d      }t        j                  ddi      }d|d<   | j                  j                  d| j                  ||       d{   }t        | j                  |      S 7 w)	a  
        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   r^   r   r   r   r   s           r#   r   zToolList.page_asyncB  s     $ yy+'#%	
 ))^-PQR.11diig 2 
 
 x00
s   A#B%B &B
target_urlc                     | j                   j                  j                  j                  d|      }t	        | j                   |      S )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   )r^   domaintwiliorequestr   r"   r   r   s      r#   get_pagezToolList.get_pagef  s7     ==''..66ujIx00r&   c                    K   | j                   j                  j                  j                  d|       d{   }t	        | j                   |      S 7 w)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)r^   r   r   request_asyncr   r   s      r#   get_page_asynczToolList.get_page_asyncr  sD      --44BB5*UUx00 Vs   4AAAr   c                 0    t        | j                  |      S z>
        Constructs a ToolContext

        :param id:
        r\   r]   r^   r"   r   s     r#   r    zToolList.get~       4==R00r&   c                 0    t        | j                  |      S r   r   r   s     r#   __call__zToolList.__call__  r   r&   c                      y)rw   z<Twilio.Assistants.V1.ToolList>r3   r*   s    r#   r   zToolList.__repr__  r   r&   )#r.   r/   r0   r   r4   rE   rL   r   r$   r   r   r   r   r   r   r2   r   intr	   r   r
   r   r   r   r   r   r   r   r   r   r]   r    r  r   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# 1r&   r   N)r1   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   r]   r   r   r3   r&   r#   <module>r     sg     L L L + 8 : 2 ' !hH# hHVrG/ rGj1t 1&H1| H1r&   