
    gI                     |    S r SSKJrJrJrJr  SSKJr  SSKJ	r	  SSK
Jr  SSKJr   " S S\	5      r " S	 S
\5      rg)a  
 This code was generated by
___ _ _ _ _ _    _ ____    ____ ____ _    ____ ____ _  _ ____ ____ ____ ___ __   __
 |  | | | | |    | |  | __ |  | |__| | __ | __ |___ |\ | |___ |__/ |__|  | |  | |__/
 |  |_|_| | |___ | |__|    |__| |  | |    |__] |___ | \| |___ |  \ |  |  | |__| |  \

 Organization Public API
 No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)

 NOTE: This class is auto generated by OpenAPI Generator.
 https://openapi-generator.tech
 Do not edit the class manually.
    )AnyDictOptionalUnion)values)InstanceResource)ListResource)Versionc                   P   ^  \ rS rSrSrS\S\\\4   4U 4S jjr	S\4S jr
SrU =r$ )	AuthorizeInstance   z%
:ivar redirect_to: The callback URL
versionpayloadc                 P   > [         TU ]  U5        UR                  S5      U l        g )Nredirect_to)super__init__getr   )selfr   r   	__class__s      l/Users/Alptekin/Desktop/izin_takip/venv/lib/python3.13/site-packages/twilio/rest/preview_iam/v1/authorize.pyr   AuthorizeInstance.__init__   s!    !*1++m*D    returnc                     g)N
Provide a friendly representation

:returns: Machine friendly representation
z(<Twilio.PreviewIam.V1.AuthorizeInstance> r   s    r   __repr__AuthorizeInstance.__repr__!   s     :r   )r   )__name__
__module____qualname____firstlineno____doc__r
   r   strr   r   r   __static_attributes____classcell__r   s   @r   r   r      s7    E E$sCx. E
:# : :r   r   c                     ^  \ rS rSrS\4U 4S jjr\R                  \R                  \R                  \R                  \R                  4S\\	\
4   S\\	\
4   S\\	\
4   S\\	\
4   S\\	\
4   S	\4S
 jjr\R                  \R                  \R                  \R                  \R                  4S\\	\
4   S\\	\
4   S\\	\
4   S\\	\
4   S\\	\
4   S	\4S jjrS	\	4S jrSrU =r$ )AuthorizeList+   r   c                 2   > [         TU ]  U5        SU l        g)zS
Initialize the AuthorizeList

:param version: Version that contains the resource

z
/authorizeN)r   r   _uri)r   r   r   s     r   r   AuthorizeList.__init__-   s     	! 	r   response_type	client_idredirect_uriscopestater   c                     [         R                  " SS05      nSUS'   [         R                  " UUUUUS.5      nU R                  R                  SU R                  XgS9n[        U R                  U5      $ )s  
Asynchronously fetch the AuthorizeInstance

:param response_type: Response Type:param client_id: The Client Identifier:param redirect_uri: The url to which response will be redirected to:param scope: The scope of the access request:param state: An opaque value which can be used to maintain state between the request and callback
:returns: The fetched AuthorizeInstance
Content-Type!application/x-www-form-urlencodedapplication/jsonAcceptr0   r1   r2   r3   r4   GETmethoduriheadersparams)r   of_versionfetchr.   r   	r   r0   r1   r2   r3   r4   r@   rA   r   s	            r   rD   AuthorizeList.fetch8   s}     ))^-PQR.!.& ,
 --%%dii & 
 !88r   c                   #    [         R                  " SS05      nSUS'   [         R                  " UUUUUS.5      nU R                  R                  SU R                  XgS9I Sh  vN n[        U R                  U5      $  N7f)	r6   r7   r8   r9   r:   r;   r<   r=   N)r   rB   rC   fetch_asyncr.   r   rE   s	            r   rH   AuthorizeList.fetch_asyncZ   s      ))^-PQR.!.& ,
 11dii 2 
 
 !88	
s   A"B$A?%Bc                     g)r   z$<Twilio.PreviewIam.V1.AuthorizeList>r   r   s    r   r   AuthorizeList.__repr__|   s     6r   )r.   )r!   r"   r#   r$   r
   r   r   unsetr   r&   objectr   rD   rH   r   r'   r(   r)   s   @r   r+   r+   +   sD   	! 	! -3LL(.+1<<$*LL$*LL 9S&[) 9 f% 9 CK(	 9
 S&[! 9 S&[! 9 
 9H -3LL(.+1<<$*LL$*LL 9S&[) 9 f% 9 CK(	 9
 S&[! 9 S&[! 9 
 9D6# 6 6r   r+   N)r%   typingr   r   r   r   twilio.baser   twilio.base.instance_resourcer   twilio.base.list_resourcer	   twilio.base.versionr
   r   r+   r   r   r   <module>rS      s9    . -  : 2 ':( :(W6L W6r   