o
    il                     @  s   d Z ddlmZ ddlmZ ddlmZmZmZmZm	Z	 ddl
mZ ddlmZmZ ddlmZmZ ed Zed	 ZG d
d deZG dd deZdS )zACode generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.    )annotations)datetime)	BaseModelNullableOptionalNullableUNSETUNSET_SENTINEL)model_serializer)LiteralOptional)NotRequired	TypedDictentryagent.handoffc                   @  sV   e Zd ZU ded< ded< ded< ded< ded< ded	< d
ed< ded< ded< dS )AgentHandoffEntryTypedDictstrprevious_agent_idprevious_agent_namenext_agent_idnext_agent_namez$NotRequired[AgentHandoffEntryObject]objectz"NotRequired[AgentHandoffEntryType]typezNotRequired[datetime]
created_atzNotRequired[Nullable[datetime]]completed_atzNotRequired[str]idN)__name__
__module____qualname____annotations__ r   r   h/var/www/html/karishye-ai-python/venv/lib/python3.10/site-packages/mistralai/models/agenthandoffentry.pyr      s   
 r   c                   @  s|   e Zd ZU ded< ded< ded< ded< dZded< d	Zd
ed< dZded< eZded< dZ	ded< e
dddd ZdS )AgentHandoffEntryr   r   r   r   r   r   z!Optional[AgentHandoffEntryObject]r   r   zOptional[AgentHandoffEntryType]r   NzOptional[datetime]r   zOptionalNullable[datetime]r   zOptional[str]r   wrap)modec                 C  s   g d}dg}g }|| }i }t | j D ]D\}}|jp|}	||	}
||	d  |	|v o1|	|v }| j|hp<|	|v }|
d urJ|
tkrJ|
||	< q|
tkrZ|	|vsV|rZ|rZ|
||	< q|S )N)r   r   r   r   r   r   )	r   model_fieldsitemsaliasgetpop__pydantic_fields_set__intersectionr   )selfhandleroptional_fieldsnullable_fieldsnull_default_fields
serializedmnfkvaloptional_nullableis_setr   r   r    serialize_model/   s(   


z!AgentHandoffEntry.serialize_model)r   r   r   r   r   r   r   r   r   r   r	   r8   r   r   r   r    r!      s   
 r!   N)__doc__
__future__r   r   mistralai.typesr   r   r   r   r   pydanticr	   typingr
   r   typing_extensionsr   r   AgentHandoffEntryObjectAgentHandoffEntryTyper   r!   r   r   r   r    <module>   s    