
    g                         S r SSKJr  SSKJrJrJr  SSK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 " S S\5      rg)a  
 This code was generated by
___ _ _ _ _ _    _ ____    ____ ____ _    ____ ____ _  _ ____ ____ ____ ___ __   __
 |  | | | | |    | |  | __ |  | |__| | __ | __ |___ |\ | |___ |__/ |__|  | |  | |__/
 |  |_|_| | |___ | |__|    |__| |  | |    |__] |___ | \| |___ |  \ |  |  | |__| |  \

 Twilio - Accounts
 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Optional)deserializevalues)InstanceContext)InstanceResource)ListResource)Versionc                      ^  \ rS rSrSrS\S\\\4   4U 4S jjr	\
SS j5       rSS jrSS	 jrS\4S
 jrS\4S jrS\4S jrSrU =r$ )SecondaryAuthTokenInstance   ay  
:ivar account_sid: The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that the secondary Auth Token was created for.
:ivar date_created: The date and time in UTC when the resource was created specified in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format.
:ivar date_updated: The date and time in UTC when the resource was last updated specified in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format.
:ivar secondary_auth_token: The generated secondary Auth Token that can be used to authenticate future API requests.
:ivar url: The URI for this resource, relative to `https://accounts.twilio.com`
versionpayloadc                 ^  > [         TU ]  U5        UR                  S5      U l        [        R
                  " UR                  S5      5      U l        [        R
                  " UR                  S5      5      U l        UR                  S5      U l        UR                  S5      U l	        S U l
        g )Naccount_siddate_createddate_updatedsecondary_auth_tokenurl)super__init__getr   r   iso8601_datetimer   r   r   r   _context)selfr   r   	__class__s      t/Users/Alptekin/Desktop/izin_takip/venv/lib/python3.13/site-packages/twilio/rest/accounts/v1/secondary_auth_token.pyr   #SecondaryAuthTokenInstance.__init__!   s    !*1++m*D0;0L0LKK'1
 1<0L0LKK'1
 4;;;?U3V!")++e"4=A    returnc                 h    U R                   c  [        U R                  5      U l         U R                   $ )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: SecondaryAuthTokenContext for this SecondaryAuthTokenInstance
)r   SecondaryAuthTokenContext_versionr   s    r   _proxy!SecondaryAuthTokenInstance._proxy0   s-     == 5DM }}r!   c                 6    U R                   R                  5       $ )Z
Create the SecondaryAuthTokenInstance


:returns: The created SecondaryAuthTokenInstance
)r'   creater&   s    r   r+   !SecondaryAuthTokenInstance.create>        {{!!##r!   c                 R   #    U R                   R                  5       I Sh  vN $  N7f)t
Asynchronous coroutine to create the SecondaryAuthTokenInstance


:returns: The created SecondaryAuthTokenInstance
N)r'   create_asyncr&   s    r   r0   'SecondaryAuthTokenInstance.create_asyncG          [[--////   '%'c                 6    U R                   R                  5       $ )]
Deletes the SecondaryAuthTokenInstance


:returns: True if delete succeeds, False otherwise
)r'   deleter&   s    r   r6   !SecondaryAuthTokenInstance.deleteP   r-   r!   c                 R   #    U R                   R                  5       I Sh  vN $  N7f)y
Asynchronous coroutine that deletes the SecondaryAuthTokenInstance


:returns: True if delete succeeds, False otherwise
N)r'   delete_asyncr&   s    r   r:   'SecondaryAuthTokenInstance.delete_asyncY   r2   r3   c                     g)N
Provide a friendly representation

:returns: Machine friendly representation
z/<Twilio.Accounts.V1.SecondaryAuthTokenInstance> r&   s    r   __repr__#SecondaryAuthTokenInstance.__repr__b   s     Ar!   )r   r   r   r   r   r   )r"   r$   )r"   r   )__name__
__module____qualname____firstlineno____doc__r   r   strr   r   propertyr'   r+   r0   boolr6   r:   r?   __static_attributes____classcell__r   s   @r   r   r      sp    B B$sCx. B  $0$ $0D 0A# A Ar!   r   c                   v   ^  \ rS rSrS\4U 4S jjrS\4S jrS\4S jrS\	4S jr
S\	4S jrS\4S	 jrS
rU =r$ )r$   l   r   c                 2   > [         TU ]  U5        SU l        g)z^
Initialize the SecondaryAuthTokenContext

:param version: Version that contains the resource
z/AuthTokens/SecondaryN)r   r   _urir   r   r   s     r   r   "SecondaryAuthTokenContext.__init__n   s     	!+	r!   r"   c                     [         R                  " 0 5      nU R                  R                  SU R                  US9n[        U R                  U5      $ )r*   POSTmethoduridata)r   ofr%   r+   rO   r   r   rW   r   s      r   r+    SecondaryAuthTokenContext.createx   sA     yy}--&&f$))$&O)$--AAr!   c                    #    [         R                  " 0 5      nU R                  R                  SU R                  US9I Sh  vN n[        U R                  U5      $  N7f)r/   rS   rT   N)r   rX   r%   r0   rO   r   rY   s      r   r0   &SecondaryAuthTokenContext.create_async   sU      yy}22tyyt 3 
 
 *$--AA	
s   ?AAAc                 x    [         R                  " 0 5      nU R                  R                  SU R                  US9$ )r5   DELETErU   rV   headers)r   rX   r%   r6   rO   r   r`   s     r   r6    SecondaryAuthTokenContext.delete   s1     ))B-}}##8G#TTr!   c                    #    [         R                  " 0 5      nU R                  R                  SU R                  US9I Sh  vN $  N7f)r9   r^   r_   N)r   rX   r%   r:   rO   ra   s     r   r:   &SecondaryAuthTokenContext.delete_async   sE      ))B-]]//G 0 
 
 	
 
s   ?AAAc                     g)r=   z.<Twilio.Accounts.V1.SecondaryAuthTokenContext>r>   r&   s    r   r?   "SecondaryAuthTokenContext.__repr__   s     @r!   )rO   )rA   rB   rC   rD   r   r   r   r+   r0   rH   r6   r:   rF   r?   rI   rJ   rK   s   @r   r$   r$   l   s[    , ,B2 BB$> B
U 
U
D 
@# @ @r!   r$   c                   Z   ^  \ rS rSrS\4U 4S jjrS\4S jrS\4S jrS\	4S jr
SrU =r$ )	SecondaryAuthTokenList   r   c                 $   > [         TU ]  U5        g)z\
Initialize the SecondaryAuthTokenList

:param version: Version that contains the resource

N)r   r   rP   s     r   r   SecondaryAuthTokenList.__init__   s     	!r!   r"   c                 ,    [        U R                  5      $ z)
Constructs a SecondaryAuthTokenContext

r$   r%   r&   s    r   r   SecondaryAuthTokenList.get       
 )77r!   c                 ,    [        U R                  5      $ rm   rn   r&   s    r   __call__SecondaryAuthTokenList.__call__   rp   r!   c                     g)r=   z+<Twilio.Accounts.V1.SecondaryAuthTokenList>r>   r&   s    r   r?   SecondaryAuthTokenList.__repr__   s     =r!   r>   )rA   rB   rC   rD   r   r   r$   r   rr   rF   r?   rI   rJ   rK   s   @r   rh   rh      s:    " "8. 883 8=# = =r!   rh   N)rE   r   typingr   r   r   twilio.baser   r   twilio.base.instance_contextr	   twilio.base.instance_resourcer
   twilio.base.list_resourcer   twilio.base.versionr   r   r$   rh   r>   r!   r   <module>r|      sS     & & + 8 : 2 'QA!1 QAhI@ I@X=\ =r!   