
    d{in                         d Z ddlmZ ddl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y)a  
    This code was generated by
   ___ _ _ _ _ _    _ ____    ____ ____ _    ____ ____ _  _ ____ ____ ____ ___ __   __
    |  | | | | |    | |  | __ |  | |__| | __ | __ |___ |\ | |___ |__/ |__|  | |  | |__/
    |  |_|_| | |___ | |__|    |__| |  | |    |__] |___ | \| |___ |  \ |  |  | |__| |  \

    Twilio - Iam
    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)deserializevalues)ApiResponse)InstanceContext)InstanceResource)ListResource)Versionc                   (    e Zd Z G d de      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efdZdefdZdedd fdZdedd 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 )OAuthAppInstancec                   ,    e Zd ZdZdeeef   fdZd Zy)8OAuthAppInstance.IamV1AccountVendorOauthAppCreateRequest
        :ivar type:
        :ivar friendly_name:
        :ivar owner_sid:
        :ivar description:
        :ivar client_sid:
        :ivar policy:
        :ivar access_token_ttl:
        payloadc                 8   |j                  d      | _        |j                  d      | _        |j                  d      | _        |j                  d      | _        |j                  d      | _        |j                  d      | _        |j                  d      | _        y Ntypefriendly_name	owner_siddescription
client_sidpolicyaccess_token_ttlgetr   r   r   r   r   r   r   selfr   s     [/home/sas/my/fyp/ringai/.venv/lib/python3.12/site-packages/twilio/rest/iam/v1/o_auth_app.py__init__zAOAuthAppInstance.IamV1AccountVendorOauthAppCreateRequest.__init__&   }    '.{{6':DI07O0LD,3KK,DDN.5kk-.HD-4[[-FDO H% K 4;;;?Q3RD!    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   to_dictr   r!   s    r"   r)   z@OAuthAppInstance.IamV1AccountVendorOauthAppCreateRequest.to_dict2   X    		!%!3!3!^^#//"oo37;;3J$++--/PT$($9$9 r%   N	__name__
__module____qualname____doc__r   strr   r#   r)    r%   r"   'IamV1AccountVendorOauthAppCreateRequestr      "    	
	SDcN 
	S		r%   r3   c                   ,    e Zd ZdZdeeef   fdZd Zy)8OAuthAppInstance.IamV1AccountVendorOauthAppUpdateRequest
        :ivar type:
        :ivar friendly_name:
        :ivar description:
        :ivar policy:
        :ivar access_token_ttl:
        r   c                     |j                  d      | _        |j                  d      | _        |j                  d      | _        |j                  d      | _        |j                  d      | _        y Nr   r   r   r   r   r   r   r   r   r   r   r    s     r"   r#   zAOAuthAppInstance.IamV1AccountVendorOauthAppUpdateRequest.__init__F   ]    '.{{6':DI07O0LD.5kk-.HD H% K 4;;;?Q3RD!r%   c                     | j                   | j                  | j                  | j                  | j                  j	                         nd | j
                  dS N)r   r   r   r   r   r   r   r   r   r)   r   r*   s    r"   r)   z@OAuthAppInstance.IamV1AccountVendorOauthAppUpdateRequest.to_dictP   J    		!%!3!3#//37;;3J$++--/PT$($9$9 r%   Nr,   r2   r%   r"   'IamV1AccountVendorOauthAppUpdateRequestr6   =   "    		SDcN 	S	r%   r@   c                   ,    e Zd ZdZdeeef   fdZd Zy)COAuthAppInstance.IamV1OrganizationVendorOauthAppUpdateRequestPolicy}
        :ivar allow: Set of permissions explicitly allowed
        :ivar deny: Set of permissions explicitly denied
        r   c                 \    |j                  d      | _        |j                  d      | _        y Nallowdenyr   rG   rH   r    s     r"   r#   zLOAuthAppInstance.IamV1OrganizationVendorOauthAppUpdateRequestPolicy.__init___   "    .5kk'.BDJ-4[[-@DIr%   c                 4    | j                   | j                  dS NrG   rH   rM   r*   s    r"   r)   zKOAuthAppInstance.IamV1OrganizationVendorOauthAppUpdateRequestPolicy.to_dictd       		 r%   Nr,   r2   r%   r"   2IamV1OrganizationVendorOauthAppUpdateRequestPolicyrC   Y   "    	
	ADcN 	A
	r%   rO   c                   ,    e Zd ZdZdeeef   fdZd Zy)6OAuthAppInstance.IamV1OrganizationVendoroauthappPolicyrD   r   c                 \    |j                  d      | _        |j                  d      | _        y rF   rI   r    s     r"   r#   z?OAuthAppInstance.IamV1OrganizationVendoroauthappPolicy.__init__p   rJ   r%   c                 4    | j                   | j                  dS rL   rM   r*   s    r"   r)   z>OAuthAppInstance.IamV1OrganizationVendoroauthappPolicy.to_dictu   rN   r%   Nr,   r2   r%   r"   %IamV1OrganizationVendoroauthappPolicyrR   j   rP   r%   rU   versionr   sidc                    t         |   |       |j                  d      | _        |j                  d      | _        |j                  d      | _        |j                  d      | _        t        j                  |j                  d            | _	        |j                  d      | _
        |j                  d      | _        |j                  d      | _        |j                  d	      | _        t        j                  |j                  d
            | _        |j                  d      | _        |j                  d      | _        |j                  d      | _        d|xs | j                  i| _        d | _        y )Nr   rW   r   r   date_created
created_bysecretstatusr   r   codemessage	more_info)superr#   r   r   rW   r   r   r   iso8601_datetimerY   rZ   r[   r\   r   integerr   r]   r^   r_   	_solution_context)r!   rV   r   rW   	__class__s       r"   r#   zOAuthAppInstance.__init__   s(    	!#*;;v#6	")++e"4,3KK,H*1++m*D0;0L0LKK'1
 *1\)B%,[[%:%,[[%:%,[[%:/:/B/BKK*+0
 $+;;v#6	&-kk)&<(/K(@ 3?$((
 48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: OAuthAppContext for this OAuthAppInstance
        rW   rW   )rd   OAuthAppContext_versionrc   r*   s    r"   _proxyzOAuthAppInstance._proxy   s9     == +NN5)DM }}r%   c                 6    | j                   j                         S zk
        Deletes the OAuthAppInstance


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


        :returns: True if delete succeeds, False otherwise
        N)rk   delete_asyncr*   s    r"   rq   zOAuthAppInstance.delete_async   s!      [[--////   '%'c                 6    | j                   j                         S )z
        Deletes the OAuthAppInstance with HTTP info


        :returns: ApiResponse with success boolean, status code, and headers
        )rk   delete_with_http_infor*   s    r"   rt   z&OAuthAppInstance.delete_with_http_info   s     {{0022r%   c                 R   K   | j                   j                          d{   S 7 w)z
        Asynchronous coroutine that deletes the OAuthAppInstance with HTTP info


        :returns: ApiResponse with success boolean, status code, and headers
        N)rk   delete_with_http_info_asyncr*   s    r"   rv   z,OAuthAppInstance.delete_with_http_info_async   s!      [[<<>>>>rr   .iam_v1_account_vendor_oauth_app_update_requestc                 :    | j                   j                  |      S )
        Update the OAuthAppInstance

        :param iam_v1_account_vendor_oauth_app_update_request:

        :returns: The updated OAuthAppInstance
        rw   )rk   updater!   rw   s     r"   r{   zOAuthAppInstance.update   s#     {{!!;i " 
 	
r%   c                 V   K   | j                   j                  |       d{   S 7 w)
        Asynchronous coroutine to update the OAuthAppInstance

        :param iam_v1_account_vendor_oauth_app_update_request:

        :returns: The updated OAuthAppInstance
        rz   N)rk   update_asyncr|   s     r"   r   zOAuthAppInstance.update_async   s1      [[--;i . 
 
 	
 
    )')c                 :    | j                   j                  |      S )z
        Update the OAuthAppInstance with HTTP info

        :param iam_v1_account_vendor_oauth_app_update_request:

        :returns: ApiResponse with instance, status code, and headers
        rz   )rk   update_with_http_infor|   s     r"   r   z&OAuthAppInstance.update_with_http_info   s#     {{00;i 1 
 	
r%   c                 V   K   | j                   j                  |       d{   S 7 w)z
        Asynchronous coroutine to update the OAuthAppInstance with HTTP info

        :param iam_v1_account_vendor_oauth_app_update_request:

        :returns: ApiResponse with instance, status code, and headers
        rz   N)rk   update_with_http_info_asyncr|   s     r"   r   z,OAuthAppInstance.update_with_http_info_async  s1      [[<<;i = 
 
 	
 
r   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,OAuthAppInstance.__repr__.<locals>.<genexpr>       SDAq7>>!Q/S   !z#<Twilio.Iam.V1.OAuthAppInstance {}>joinrc   itemsr   r!   contexts     r"   __repr__zOAuthAppInstance.__repr__  s6     ((SDNN<P<P<RSS4;;GDDr%   )N)rf   ri   )r-   r.   r/   objectr3   r@   rO   rU   r   r   r1   r   r   r#   propertyrk   boolrn   rq   r
   rt   rv   r{   r   r   r   r   __classcell__re   s   @r"   r   r      s    &  D& 8V " "" OS88)-c3h8>Fsm88  $ $0D 03{ 3?; ?
8_
 


8_
 


8_
 


8_
 

E# Er%   r   c                   4    e Zd Z G d de      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defdZ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defdZdedefdZde	fdZ xZS )ri   c                   ,    e Zd ZdZdeeef   fdZd Zy)7OAuthAppContext.IamV1AccountVendorOauthAppCreateRequestr   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@OAuthAppContext.IamV1AccountVendorOauthAppCreateRequest.__init__-  r$   r%   c                     | j                   | j                  | j                  | j                  | j                  | j
                  | j
                  j                         nd | j                  dS r'   r(   r*   s    r"   r)   z?OAuthAppContext.IamV1AccountVendorOauthAppCreateRequest.to_dict9  r+   r%   Nr,   r2   r%   r"   r3   r   "  r4   r%   r3   c                   ,    e Zd ZdZdeeef   fdZd Zy)7OAuthAppContext.IamV1AccountVendorOauthAppUpdateRequestr7   r   c                     |j                  d      | _        |j                  d      | _        |j                  d      | _        |j                  d      | _        |j                  d      | _        y r9   r:   r    s     r"   r#   z@OAuthAppContext.IamV1AccountVendorOauthAppUpdateRequest.__init__M  r;   r%   c                     | j                   | j                  | j                  | j                  | j                  j	                         nd | j
                  dS r=   r>   r*   s    r"   r)   z?OAuthAppContext.IamV1AccountVendorOauthAppUpdateRequest.to_dictW  r?   r%   Nr,   r2   r%   r"   r@   r   D  rA   r%   r@   c                   ,    e Zd ZdZdeeef   fdZd Zy)BOAuthAppContext.IamV1OrganizationVendorOauthAppUpdateRequestPolicyrD   r   c                 \    |j                  d      | _        |j                  d      | _        y rF   rI   r    s     r"   r#   zKOAuthAppContext.IamV1OrganizationVendorOauthAppUpdateRequestPolicy.__init__f  rJ   r%   c                 4    | j                   | j                  dS rL   rM   r*   s    r"   r)   zJOAuthAppContext.IamV1OrganizationVendorOauthAppUpdateRequestPolicy.to_dictk  rN   r%   Nr,   r2   r%   r"   rO   r   `  rP   r%   rO   c                   ,    e Zd ZdZdeeef   fdZd Zy)5OAuthAppContext.IamV1OrganizationVendoroauthappPolicyrD   r   c                 \    |j                  d      | _        |j                  d      | _        y rF   rI   r    s     r"   r#   z>OAuthAppContext.IamV1OrganizationVendoroauthappPolicy.__init__w  rJ   r%   c                 4    | j                   | j                  dS rL   rM   r*   s    r"   r)   z=OAuthAppContext.IamV1OrganizationVendoroauthappPolicy.to_dict|  rN   r%   Nr,   r2   r%   r"   rU   r   q  rP   r%   rU   rV   rW   c                 x    t         |   |       d|i| _         dj                  di | j                  | _        y)z
        Initialize the OAuthAppContext

        :param version: Version that contains the resource
        :param sid: Unique ID (sid) of the OAuth app
        rW   z/Account/OAuthApps/{sid}Nr2   )r`   r#   rc   r   _uri)r!   rV   rW   re   s      r"   r#   zOAuthAppContext.__init__  s@     	! 3
 6.55GG	r%   rf   c                     t        j                  i       }d|d<   | j                  j                  d| j                  |      S )z
        Internal helper for delete operation

        Returns:
            tuple: (success_boolean, status_code, headers)
        application/jsonAcceptDELETEmethoduriheaders)r	   ofrj   delete_with_response_infor   r!   r   s     r"   _deletezOAuthAppContext._delete  sB     ))B-.}}66G 7 
 	
r%   c                 .    | j                         \  }}}|S rm   )r   r!   success_s      r"   rn   zOAuthAppContext.delete  s     Ar%   c                 F    | j                         \  }}}t        |||      S )z
        Deletes the OAuthAppInstance and return response metadata


        :returns: ApiResponse with success boolean, status code, and headers
        datastatus_coder   )r   r
   r!   r   r   r   s       r"   rt   z%OAuthAppContext.delete_with_http_info  s%     )-%g['RRr%   c                    K   t        j                  i       }d|d<   | j                  j                  d| j                  |       d{   S 7 w)z
        Internal async helper for delete operation

        Returns:
            tuple: (success_boolean, status_code, headers)
        r   r   r   r   N)r	   r   rj   delete_with_response_info_asyncr   r   s     r"   _delete_asynczOAuthAppContext._delete_async  sQ      ))B-.]]BBG C 
 
 	
 
s   AAA	Ac                 J   K   | j                          d{   \  }}}|S 7 
wrp   )r   r   s      r"   rq   zOAuthAppContext.delete_async  s)      #0022A 3s   #!#c                 b   K   | j                          d{   \  }}}t        |||      S 7 w)z
        Asynchronous coroutine that deletes the OAuthAppInstance and return response metadata


        :returns: ApiResponse with success boolean, status code, and headers
        Nr   )r   r
   r   s       r"   rv   z+OAuthAppContext.delete_with_http_info_async  s5      /3.@.@.B(B%g['RR )Cs   /-/rw   c                     |j                         }t        j                  i       }d|d<   d|d<   | j                  j	                  d| j
                  ||      S )z{
        Internal helper for update operation

        Returns:
            tuple: (payload, status_code, headers)
        r   Content-Typer   PUTr   r   r   r   )r)   r	   r   rj   update_with_response_infor   r!   rw   r   r   s       r"   _updatezOAuthAppContext._update  s\     >EEG))B-"4.}}66diidG 7 
 	
r%   c                 x    | j                  |      \  }}}t        | j                  || j                  d         S )ry   rz   rW   rh   )r   r   rj   rc   r!   rw   r   r   s       r"   r{   zOAuthAppContext.update  s>     ;i % 
A  wDNN5<QRRr%   c                     | j                  |      \  }}}t        | j                  || j                  d         }t	        |||      S )z
        Update the OAuthAppInstance and return response metadata

        :param iam_v1_account_vendor_oauth_app_update_request:

        :returns: ApiResponse with instance, status code, and headers
        rz   rW   rh   r   )r   r   rj   rc   r
   r!   rw   r   r   r   instances         r"   r   z%OAuthAppContext.update_with_http_info  sM     )-;i )5 )
%g $DMM7u@UVk7SSr%   c                    K   |j                         }t        j                  i       }d|d<   d|d<   | j                  j	                  d| j
                  ||       d{   S 7 w)z
        Internal async helper for update operation

        Returns:
            tuple: (payload, status_code, headers)
        r   r   r   r   r   N)r)   r	   r   rj   update_with_response_info_asyncr   r   s       r"   _update_asynczOAuthAppContext._update_async  sk      >EEG))B-"4.]]BBdiidG C 
 
 	
 
s   AA%A#A%c                    K   | j                  |       d{   \  }}}t        | j                  || j                  d         S 7 -w)r~   rz   NrW   rh   )r   r   rj   rc   r   s       r"   r   zOAuthAppContext.update_async&  sN      #00;i 1 
 
A  wDNN5<QRR
s   AA.Ac                    K   | j                  |       d{   \  }}}t        | j                  || j                  d         }t	        |||      S 7 ;w)z
        Asynchronous coroutine to update the OAuthAppInstance and return response metadata

        :param iam_v1_account_vendor_oauth_app_update_request:

        :returns: ApiResponse with instance, status code, and headers
        rz   NrW   rh   r   )r   r   rj   rc   r
   r   s         r"   r   z+OAuthAppContext.update_with_http_info_async6  s^      /3.@.@;i /A /
 )
%g $DMM7u@UVk7SS	)
s   AA<Ac                     dj                  d | j                  j                         D              }dj                  |      S )r   r   c              3   F   K   | ]  \  }}d j                  ||        ywr   r   r   s      r"   r   z+OAuthAppContext.__repr__.<locals>.<genexpr>M  r   r   z"<Twilio.Iam.V1.OAuthAppContext {}>r   r   s     r"   r   zOAuthAppContext.__repr__G  s6     ((SDNN<P<P<RSS3::7CCr%   )r-   r.   r/   r   r3   r@   rO   rU   r   r1   r#   tupler   r   rn   r
   rt   r   rq   rv   r   r   r{   r   r   r   r   r   r   r   s   @r"   ri   ri      s:    &  D& 8V " "H Hc H
 
  S{ S
U 
 D S; S
8_
 

,S8_S 
S T8_T 
T"
8_
 

,S8_S 
S T8_T 
T"D# Dr%   ri   c                       e Zd Z G d de      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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defdZdedefdZdefdZ xZS )OAuthAppListc                   ,    e Zd ZdZdeeef   fdZd Zy)4OAuthAppList.IamV1AccountVendorOauthAppCreateRequestr   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=OAuthAppList.IamV1AccountVendorOauthAppCreateRequest.__init__^  r$   r%   c                     | j                   | j                  | j                  | j                  | j                  | j
                  | j
                  j                         nd | j                  dS r'   r(   r*   s    r"   r)   z<OAuthAppList.IamV1AccountVendorOauthAppCreateRequest.to_dictj  r+   r%   Nr,   r2   r%   r"   r3   r   S  r4   r%   r3   c                   ,    e Zd ZdZdeeef   fdZd Zy)4OAuthAppList.IamV1AccountVendorOauthAppUpdateRequestr7   r   c                     |j                  d      | _        |j                  d      | _        |j                  d      | _        |j                  d      | _        |j                  d      | _        y r9   r:   r    s     r"   r#   z=OAuthAppList.IamV1AccountVendorOauthAppUpdateRequest.__init__~  r;   r%   c                     | j                   | j                  | j                  | j                  | j                  j	                         nd | j
                  dS r=   r>   r*   s    r"   r)   z<OAuthAppList.IamV1AccountVendorOauthAppUpdateRequest.to_dict  r?   r%   Nr,   r2   r%   r"   r@   r   u  rA   r%   r@   c                   ,    e Zd ZdZdeeef   fdZd Zy)?OAuthAppList.IamV1OrganizationVendorOauthAppUpdateRequestPolicyrD   r   c                 \    |j                  d      | _        |j                  d      | _        y rF   rI   r    s     r"   r#   zHOAuthAppList.IamV1OrganizationVendorOauthAppUpdateRequestPolicy.__init__  rJ   r%   c                 4    | j                   | j                  dS rL   rM   r*   s    r"   r)   zGOAuthAppList.IamV1OrganizationVendorOauthAppUpdateRequestPolicy.to_dict  rN   r%   Nr,   r2   r%   r"   rO   r     rP   r%   rO   c                   ,    e Zd ZdZdeeef   fdZd Zy)2OAuthAppList.IamV1OrganizationVendoroauthappPolicyrD   r   c                 \    |j                  d      | _        |j                  d      | _        y rF   rI   r    s     r"   r#   z;OAuthAppList.IamV1OrganizationVendoroauthappPolicy.__init__  rJ   r%   c                 4    | j                   | j                  dS rL   rM   r*   s    r"   r)   z:OAuthAppList.IamV1OrganizationVendoroauthappPolicy.to_dict  rN   r%   Nr,   r2   r%   r"   rU   r     rP   r%   rU   rV   c                 2    t         |   |       d| _        y)zj
        Initialize the OAuthAppList

        :param version: Version that contains the resource

        z/Account/OAuthAppsN)r`   r#   r   )r!   rV   re   s     r"   r#   zOAuthAppList.__init__  s     	!(	r%   .iam_v1_account_vendor_oauth_app_create_requestrf   c                     |j                         }t        j                  ddi      }d|d<   d|d<   | j                  j	                  d| j
                  ||      S )z{
        Internal helper for create operation

        Returns:
            tuple: (payload, status_code, headers)
        r   !application/x-www-form-urlencodedr   r   POSTr   )r)   r	   r   rj   create_with_response_infor   r!   r   r   r   s       r"   _createzOAuthAppList._create  sc     >EEG))^-PQR"4.}}66tyytW 7 
 	
r%   c                 Z    | j                  |      \  }}}t        | j                  |      S )z
        Create the OAuthAppInstance

        :param iam_v1_account_vendor_oauth_app_create_request:

        :returns: The created OAuthAppInstance
        r   )r   r   rj   r!   r   r   r   s       r"   createzOAuthAppList.create  s3     ;i % 
A  w77r%   c                 v    | j                  |      \  }}}t        | j                  |      }t        |||      S )z
        Create the OAuthAppInstance and return response metadata

        :param iam_v1_account_vendor_oauth_app_create_request:

        :returns: ApiResponse with instance, status code, and headers
        r   r   )r   r   rj   r
   r!   r   r   r   r   r   s         r"   create_with_http_infoz"OAuthAppList.create_with_http_info  sB     )-;i )5 )
%g $DMM7;k7SSr%   c                    K   |j                         }t        j                  ddi      }d|d<   d|d<   | j                  j	                  d| j
                  ||       d{   S 7 w)z
        Internal async helper for create operation

        Returns:
            tuple: (payload, status_code, headers)
        r   r   r   r   r   r   N)r)   r	   r   rj   create_with_response_info_asyncr   r   s       r"   _create_asynczOAuthAppList._create_async  sr      >EEG))^-PQR"4.]]BBtyytW C 
 
 	
 
s   AA' A%!A'c                 v   K   | j                  |       d{   \  }}}t        | j                  |      S 7 w)z
        Asynchronously create the OAuthAppInstance

        :param iam_v1_account_vendor_oauth_app_create_request:

        :returns: The created OAuthAppInstance
        r   N)r  r   rj   r   s       r"   create_asynczOAuthAppList.create_async  sC      #00;i 1 
 
A  w77
s   979c                    K   | j                  |       d{   \  }}}t        | j                  |      }t        |||      S 7 ,w)z
        Asynchronously create the OAuthAppInstance and return response metadata

        :param iam_v1_account_vendor_oauth_app_create_request:

        :returns: ApiResponse with instance, status code, and headers
        r   Nr   )r  r   rj   r
   r   s         r"   create_with_http_info_asyncz(OAuthAppList.create_with_http_info_async  sS      /3.@.@;i /A /
 )
%g $DMM7;k7SS	)
s   AA-ArW   c                 0    t        | j                  |      S zd
        Constructs a OAuthAppContext

        :param sid: Unique ID (sid) of the OAuth app
        rh   ri   rj   r!   rW   s     r"   r   zOAuthAppList.get,       t}}#66r%   c                 0    t        | j                  |      S r  r	  r
  s     r"   __call__zOAuthAppList.__call__4  r  r%   c                      y)r   z<Twilio.Iam.V1.OAuthAppList>r2   r*   s    r"   r   zOAuthAppList.__repr__<  s     .r%   )r-   r.   r/   r   r3   r@   rO   rU   r   r#   r   r   r   r   r
   r   r  r  r  r1   ri   r   r  r   r   r   s   @r"   r   r   Q  s    &  D& 8V " "	) 	)
8_
 

,88_8 
8 T8_T 
T"
8_
 

,88_8 
8 T8_T 
T"7s 7 77C 7O 7.# .r%   r   N)r0   r   typingr   r   r   r   twilio.baser   r	   twilio.base.api_responser
   twilio.base.instance_contextr   twilio.base.instance_resourcer   twilio.base.list_resourcer   twilio.base.versionr   r   ri   r   r2   r%   r"   <module>r     sX     , , + 0 8 : 2 'DE' DENnDo nDb	q.< q.r%   