
    g                     |    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
___ _ _ _ _ _    _ ____    ____ ____ _    ____ ____ _  _ ____ ____ ____ ___ __   __
 |  | | | | |    | |  | __ |  | |__| | __ | __ |___ |\ | |___ |__/ |__|  | |  | |__/
 |  |_|_| | |___ | |__|    |__| |  | |    |__] |___ | \| |___ |  \ |  |  | |__| |  \

 Twilio - Oauth
 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.
    )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      f/Users/Alptekin/Desktop/izin_takip/venv/lib/python3.13/site-packages/twilio/rest/oauth/v1/authorize.pyr   AuthorizeInstance.__init__   s!    !*1++m*D    returnc                     g)N
Provide a friendly representation

:returns: Machine friendly representation
z#<Twilio.Oauth.V1.AuthorizeInstance> r   s    r   __repr__AuthorizeInstance.__repr__!   s     5r   )r   )__name__
__module____qualname____firstlineno____doc__r
   r   strr   r   r   __static_attributes____classcell__r   s   @r   r   r      s7    E E$sCx. E
5# 5 5r   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ResponseTypeClientIdRedirectUriScopeStateGETmethoduriheadersparams)r   of_versionfetchr.   r   	r   r0   r1   r2   r3   r4   rE   rF   r   s	            r   rI   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;   rA   rB   N)r   rG   rH   fetch_asyncr.   r   rJ   s	            r   rM   AuthorizeList.fetch_asyncZ   s      ))^-PQR. -%+
 11dii 2 
 
 !88	
s   A"B$A?%Bc                     g)r   z<Twilio.Oauth.V1.AuthorizeList>r   r   s    r   r   AuthorizeList.__repr__|   s     1r   )r.   )r!   r"   r#   r$   r
   r   r   unsetr   r&   objectr   rI   rM   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1# 1 1r   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>rX      s9    . -  : 2 '5( 5(W1L W1r   