U
    ^g%i   ã                   @   sT   d 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„ deƒZd	S )
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.
é    )ÚOptional)ÚVersion)ÚDomain)ÚAuthorizeList)Ú	TokenListc                       sT   e Zd Zedœ‡ fdd„Zeedœdd„ƒZeedœdd„ƒZ	e
dœd	d
„Z‡  ZS )ÚV1)Údomainc                    s   t ƒ  |d¡ d| _d| _dS )zd
        Initialize the V1 version of Oauth

        :param domain: The Twilio.oauth domain
        Zv1N)ÚsuperÚ__init__Ú
_authorizeÚ_token)Úselfr   ©Ú	__class__© ú\/var/www/html/api-medvista/venv/lib/python3.8/site-packages/twilio/rest/oauth/v1/__init__.pyr
      s    zV1.__init__)Úreturnc                 C   s   | j d krt| ƒ| _ | j S ©N)r   r   ©r   r   r   r   Ú	authorize"   s    

zV1.authorizec                 C   s   | j d krt| ƒ| _ | j S r   )r   r   r   r   r   r   Útoken(   s    

zV1.tokenc                 C   s   dS )ze
        Provide a friendly representation
        :returns: Machine friendly representation
        z<Twilio.Oauth.V1>r   r   r   r   r   Ú__repr__.   s    zV1.__repr__)Ú__name__Ú
__module__Ú__qualname__r   r
   Úpropertyr   r   r   r   Ústrr   Ú__classcell__r   r   r   r   r      s   
r   N)Ú__doc__Útypingr   Ztwilio.base.versionr   Ztwilio.base.domainr   Ztwilio.rest.oauth.v1.authorizer   Ztwilio.rest.oauth.v1.tokenr   r   r   r   r   r   Ú<module>   s   