
    )jh                         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 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)init   )MessageErrorc                   B    e Zd ZeeeeeeedZddZedd            Z	dS )	Intent)id
created_at
session_idstatus
sub_statuschannel_typeerrorNc                     d | _         d | _        d | _        d | _        d | _        d | _        d | _        t          | || j                   d S N)	r   r   r   r   r   r   r   r   _types)selfds     c/usr/local/lib/hermes-agent/venv/lib/python3.11/site-packages/lark_oapi/api/aily/v1/model/intent.py__init__zIntent.__init__   sN    !%)-)-%))-+/-1
T1dk"""""    returnIntentBuilderc                      t                      S r   )r!    r   r   builderzIntent.builder   s    r   r   )r    r!   )
__name__
__module____qualname__intstrr   r   r   staticmethodr$   r#   r   r   r   r      si         F# # # #    \  r   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dZdS )r!   r    Nc                 ,    t                      | _        d S r   )r   _intentr   s    r   r   zIntentBuilder.__init__#   s    xxr   r   c                     || j         _        | S r   )r-   r   )r   r   s     r   r   zIntentBuilder.id&   s    r   r   c                     || j         _        | S r   )r-   r   )r   r   s     r   r   zIntentBuilder.created_at*       ",r   r   c                     || j         _        | S r   )r-   r   )r   r   s     r   r   zIntentBuilder.session_id.   r1   r   r   c                     || j         _        | S r   )r-   r   )r   r   s     r   r   zIntentBuilder.status2   s    $r   r   c                     || j         _        | S r   )r-   r   )r   r   s     r   r   zIntentBuilder.sub_status6   r1   r   r   c                     || j         _        | S r   )r-   r   )r   r   s     r   r   zIntentBuilder.channel_type:   s    $0!r   r   c                     || j         _        | S r   )r-   r   )r   r   s     r   r   zIntentBuilder.error>   s    "r   r   c                     | j         S r   )r-   r.   s    r   buildzIntentBuilder.buildB   s
    |r   )r    N)r    r   )r%   r&   r'   r   r(   r   r   r   r)   r   r   r   r   r   r8   r#   r   r   r!   r!   "   s*              S _    S _    S _    S _    S _         < O         r   r!   N)typingr   r   r   r   r   r   r	   r
   r   lark_oapi.core.constructr   message_errorr   objectr   r!   r#   r   r   <module>r=      s    M L L L L L L L L L L L L L L L L L L L L L ) ) ) ) ) ) ' ' ' ' ' '    V   4! ! ! ! !F ! ! ! ! !r   