
    gu                         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 - Video
 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 S\5      r S\S\\\	4   S\S\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rU =r$ )AnonymizeInstance   c                       \ rS rSrSrSrSrg)AnonymizeInstance.Status   	connecteddisconnected N)__name__
__module____qualname____firstlineno__	CONNECTEDDISCONNECTED__static_attributes__r       w/Users/Alptekin/Desktop/izin_takip/venv/lib/python3.13/site-packages/twilio/rest/video/v1/room/participant/anonymize.pyStatusr      s    	%r   r   versionpayloadroom_sidsidc                   > [         TU ]  U5        UR                  S5      U l        UR                  S5      U l        UR                  S5      U l        UR                  S5      U l        UR                  S5      U l        [        R                  " UR                  S5      5      U l
        [        R                  " UR                  S5      5      U l        [        R                  " UR                  S5      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US.U l        S U l        g )Nr#   r"   account_sidstatusidentitydate_createddate_updated
start_timeend_timedurationurlr"   r#   )super__init__getr#   r"   r%   r&   r'   r   iso8601_datetimer(   r)   r*   r+   integerr,   r-   	_solution_context)selfr    r!   r"   r#   	__class__s        r   r0   AnonymizeInstance.__init__,   s*    	!")++e"4'.{{:'>*1++m*D<CKK<Q'.{{:'>0;0L0LKK'1
 1<0L0LKK'1
 /:.J.JKK%/
 -8,H,HKK
#-
 (3':':7;;z;R'S")++e"4 !
 59r   returnc                     U R                   c4  [        U R                  U R                  S   U R                  S   S9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: AnonymizeContext for this AnonymizeInstance
r"   r#   r.   )r5   AnonymizeContext_versionr4   r6   s    r   _proxyAnonymizeInstance._proxyK   sE     == ,
3NN5)DM
 }}r   c                 6    U R                   R                  5       $ )H
Update the AnonymizeInstance


:returns: The updated AnonymizeInstance
)r>   updater=   s    r   rB   AnonymizeInstance.update[   s     {{!!##r   c                 R   #    U R                   R                  5       I Sh  vN $  N7f)b
Asynchronous coroutine to update the AnonymizeInstance


:returns: The updated AnonymizeInstance
N)r>   update_asyncr=   s    r   rF   AnonymizeInstance.update_asyncd   s       [[--////s   '%'c                     SR                  S U R                  R                  5        5       5      nSR                  U5      $ )N
Provide a friendly representation

:returns: Machine friendly representation
 c              3   H   #    U  H  u  pS R                  X5      v   M     g7fz{}={}Nformat.0kvs      r   	<genexpr>-AnonymizeInstance.__repr__.<locals>.<genexpr>s         S<RDA7>>!//<R    "z&<Twilio.Video.V1.AnonymizeInstance {}>joinr4   itemsrN   r6   contexts     r   __repr__AnonymizeInstance.__repr__m   s6     ((SDNN<P<P<RSS7>>wGGr   )r5   r4   r%   r(   r)   r,   r+   r'   r"   r#   r*   r&   r-   )r9   r;   )r9   r   )r   r   r   r   objectr   r   r   strr   r0   propertyr>   rB   rF   r\   r   __classcell__r7   s   @r   r   r      ss    & &99)-c3h9CF9MP9>  $0H# H Hr   r   c                   b   ^  \ rS rSrS\S\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$ )r;   w   r    r"   r#   c                 z   > [         TU ]  U5        UUS.U l        SR                  " S0 U R                  D6U l        g)z
Initialize the AnonymizeContext

:param version: Version that contains the resource
:param room_sid: The SID of the room with the participant to update.
:param sid: The SID of the RoomParticipant resource to update.
r.   z./Rooms/{room_sid}/Participants/{sid}/AnonymizeNr   )r/   r0   r4   rN   _urir6   r    r"   r#   r7   s       r   r0   AnonymizeContext.__init__y   sD     	! !
 EKK 
nn
	r   r9   c                    [         R                  " 0 5      n[         R                  " 0 5      nSUS'   U R                  R                  SU R                  XS9n[        U R                  UU R                  S   U R                  S   S9$ )rA   application/jsonAcceptPOSTmethoduridataheadersr"   r#   r.   )r   ofr<   rB   rf   r   r4   r6   rp   rq   r!   s       r   rB   AnonymizeContext.update   s}     yy}))B-.--&&tyyt ' 
 !MM^^J/u%	
 	
r   c                 *  #    [         R                  " 0 5      n[         R                  " 0 5      nSUS'   U R                  R                  SU R                  XS9I Sh  vN n[        U R                  UU R                  S   U R                  S   S9$  N47f)	rE   rj   rk   rl   rm   Nr"   r#   r.   )r   rr   r<   rF   rf   r   r4   rs   s       r   rF   AnonymizeContext.update_async   s      yy}))B-.22tyyt 3 
 
 !MM^^J/u%	
 	
	
s   ABB5Bc                     SR                  S U R                  R                  5        5       5      nSR                  U5      $ )rI   rJ   c              3   H   #    U  H  u  pS R                  X5      v   M     g7frL   rM   rO   s      r   rS   ,AnonymizeContext.__repr__.<locals>.<genexpr>   rU   rV   z%<Twilio.Video.V1.AnonymizeContext {}>rW   rZ   s     r   r\   AnonymizeContext.__repr__   s6     ((SDNN<P<P<RSS6==gFFr   )r4   rf   )r   r   r   r   r   r_   r0   r   rB   rF   r\   r   ra   rb   s   @r   r;   r;   w   sK    
 
3 
S 
&
) 
0
$5 
0G# G Gr   r;   c                   b   ^  \ rS rSrS\S\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$ )AnonymizeList   r    r"   r#   c                 8   > [         TU ]  U5        UUS.U l        g)z
Initialize the AnonymizeList

:param version: Version that contains the resource
:param room_sid: The SID of the room with the participant to update.
:param sid: The SID of the RoomParticipant resource to update.

r.   N)r/   r0   r4   rg   s       r   r0   AnonymizeList.__init__   s#     	! !
r   r9   c                 `    [        U R                  U R                  S   U R                  S   S9$ z 
Constructs a AnonymizeContext

r"   r#   r.   r;   r<   r4   r=   s    r   r1   AnonymizeList.get   0    
  MM^^J/u%
 	
r   c                 `    [        U R                  U R                  S   U R                  S   S9$ r   r   r=   s    r   __call__AnonymizeList.__call__   r   r   c                     g)rI   z<Twilio.Video.V1.AnonymizeList>r   r=   s    r   r\   AnonymizeList.__repr__   s     1r   )r4   )r   r   r   r   r   r_   r0   r;   r1   r   r\   r   ra   rb   s   @r   r|   r|      sH    
 
3 
S 
"	
% 	
	
* 	
1# 1 1r   r|   N)__doc__r   typingr   r   r   twilio.baser   r   twilio.base.instance_contextr	   twilio.base.instance_resourcer
   twilio.base.list_resourcer   twilio.base.versionr   r   r;   r|   r   r   r   <module>r      sS     & & + 8 : 2 '\H( \H~LG LG^/1L /1r   