
    1j'                     v    d dl mZmZmZmZmZmZmZmZm	Z	 d dl
mZ  G d de          Z G d de          ZdS )    )	AnyOptionalUnionDictListSetIOCallableType)initc                       e Zd Zi dedededededededed	ed
edededededededeeeeeeeeeeeedZddZedd            Z	dS )Participantparticipant_name
departmentuser_idmeeting_room_idemployee_idphoneemaildeviceapp_version	public_ipinternal_ipuse_rtc_proxylocationnetwork_typeprotocol
microphonespeaker)cameraaudiovideosharing	join_time
leave_timetime_in_meetingleave_reasonaccept_statusis_externalwebinar_user_roleNc                    d | _         d | _        d | _        d | _        d | _        d | _        d | _        d | _        d | _        d | _	        d | _
        d | _        d | _        d | _        d | _        d | _        d | _        d | _        d | _        d | _        d | _        d | _        d | _        d | _        d | _        d | _        d | _        d | _        t9          | || j                   d S N)r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r    r!   r"   r#   r$   r%   r&   r'   r(   r)   r*   r   _types)selfds     f/usr/local/lib/hermes-agent/venv/lib/python3.11/site-packages/lark_oapi/api/vc/v1/model/participant.py__init__zParticipant.__init__'   s    /3)-&*.2*.$(
$(
%)*.(,*.-1'++/'+)-&*%)%)
%)
'+(,)-.2+/,0+/04T1dk"""""    returnParticipantBuilderc                      t                      S r,   )r4    r2   r0   builderzParticipant.builderF   s    !###r2   r,   )r3   r4   )
__name__
__module____qualname__strboolintr-   r1   staticmethodr7   r6   r2   r0   r   r      sI       Cc 	3 	3	
 	s 	 	 	# 	s 	S 	s 	 	C 	 	C  	c!" 	3#$  9  F># # # #> $ $ $ \$ $ $r2   r   c                      e Zd Zd>dZdedd fdZdedd fdZdedd fd	Zd
edd fdZdedd fdZ	dedd fdZ
dedd fdZdedd fdZdedd fdZdedd fdZdedd fdZdedd fdZdedd fdZdedd fdZd edd fd!Zd"edd fd#Zd$edd fd%Zd&edd fd'Zd(edd fd)Zd*edd fd+Zd,edd fd-Zd.edd fd/Zd0edd fd1Zd2edd fd3Zd4edd fd5Zd6edd fd7Z d8edd fd9Z!d:edd fd;Z"d?d=Z#dS )@r4   r3   Nc                 ,    t                      | _        d S r,   )r   _participantr.   s    r0   r1   zParticipantBuilder.__init__L   s    'MMr2   r   c                     || j         _        | S r,   )rA   r   )r.   r   s     r0   r   z#ParticipantBuilder.participant_nameO   s    -=*r2   r   c                     || j         _        | S r,   )rA   r   )r.   r   s     r0   r   zParticipantBuilder.departmentS       '1$r2   r   c                     || j         _        | S r,   )rA   r   )r.   r   s     r0   r   zParticipantBuilder.user_idW       $+!r2   r   c                     || j         _        | S r,   )rA   r   )r.   r   s     r0   r   z"ParticipantBuilder.meeting_room_id[       ,;)r2   r   c                     || j         _        | S r,   )rA   r   )r.   r   s     r0   r   zParticipantBuilder.employee_id_       (3%r2   r   c                     || j         _        | S r,   )rA   r   )r.   r   s     r0   r   zParticipantBuilder.phonec       "'r2   r   c                     || j         _        | S r,   )rA   r   )r.   r   s     r0   r   zParticipantBuilder.emailg   rM   r2   r   c                     || j         _        | S r,   )rA   r   )r.   r   s     r0   r   zParticipantBuilder.devicek       #) r2   r   c                     || j         _        | S r,   )rA   r   )r.   r   s     r0   r   zParticipantBuilder.app_versiono   rK   r2   r   c                     || j         _        | S r,   )rA   r   )r.   r   s     r0   r   zParticipantBuilder.public_ips       &/#r2   r   c                     || j         _        | S r,   )rA   r   )r.   r   s     r0   r   zParticipantBuilder.internal_ipw   rK   r2   r   c                     || j         _        | S r,   )rA   r   )r.   r   s     r0   r   z ParticipantBuilder.use_rtc_proxy{       *7'r2   r   c                     || j         _        | S r,   )rA   r   )r.   r   s     r0   r   zParticipantBuilder.location       %-"r2   r   c                     || j         _        | S r,   )rA   r   )r.   r   s     r0   r   zParticipantBuilder.network_type       )5&r2   r   c                     || j         _        | S r,   )rA   r   )r.   r   s     r0   r   zParticipantBuilder.protocol   rX   r2   r   c                     || j         _        | S r,   )rA   r   )r.   r   s     r0   r   zParticipantBuilder.microphone   rE   r2   r   c                     || j         _        | S r,   )rA   r   )r.   r   s     r0   r   zParticipantBuilder.speaker   rG   r2   r    c                     || j         _        | S r,   )rA   r    )r.   r    s     r0   r    zParticipantBuilder.camera   rP   r2   r!   c                     || j         _        | S r,   )rA   r!   )r.   r!   s     r0   r!   zParticipantBuilder.audio   rM   r2   r"   c                     || j         _        | S r,   )rA   r"   )r.   r"   s     r0   r"   zParticipantBuilder.video   rM   r2   r#   c                     || j         _        | S r,   )rA   r#   )r.   r#   s     r0   r#   zParticipantBuilder.sharing   rG   r2   r$   c                     || j         _        | S r,   )rA   r$   )r.   r$   s     r0   r$   zParticipantBuilder.join_time   rS   r2   r%   c                     || j         _        | S r,   )rA   r%   )r.   r%   s     r0   r%   zParticipantBuilder.leave_time   rE   r2   r&   c                     || j         _        | S r,   )rA   r&   )r.   r&   s     r0   r&   z"ParticipantBuilder.time_in_meeting   rI   r2   r'   c                     || j         _        | S r,   )rA   r'   )r.   r'   s     r0   r'   zParticipantBuilder.leave_reason   rZ   r2   r(   c                     || j         _        | S r,   )rA   r(   )r.   r(   s     r0   r(   z ParticipantBuilder.accept_status   rV   r2   r)   c                     || j         _        | S r,   )rA   r)   )r.   r)   s     r0   r)   zParticipantBuilder.is_external   rK   r2   r*   c                     || j         _        | S r,   )rA   r*   )r.   r*   s     r0   r*   z$ParticipantBuilder.webinar_user_role   s    .?+r2   r   c                     | j         S r,   )rA   rB   s    r0   buildzParticipantBuilder.build   s      r2   )r3   N)r3   r   )$r8   r9   r:   r1   r;   r   r   r   r   r   r   r   r   r   r   r   r<   r   r   r   r   r   r   r    r!   r"   r#   r$   r%   r&   r'   r=   r(   r)   r*   rj   r6   r2   r0   r4   r4   K   s       * * * * 9M    S -A    s ';    s 7K    s /C    3 #7    3 #7    S %9    s /C    3 +?    s /C    4 4H     )=     1E     )=    S -A    s ';    S %9    4 $8    4 $8    t (<    3 +?    S -A    s 7K     1E    3 3G    t 0D    3 ;O    ! ! ! ! ! !r2   r4   N)typingr   r   r   r   r   r   r	   r
   r   lark_oapi.core.constructr   objectr   r4   r6   r2   r0   <module>rn      s    M L L L L L L L L L L L L L L L L L L L L L ) ) ) ) ) )A$ A$ A$ A$ A$& A$ A$ A$Hu! u! u! u! u! u! u! u! u! u!r2   