o
    i1                     @  s   d Z ddlmZ ddlmZmZ ddlmZmZ ddl	m
Z
mZmZ ddlmZ ddlmZ dd	lm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   )OCRImageObjectOCRImageObjectTypedDict)OCRPageDimensionsOCRPageDimensionsTypedDict)	BaseModelNullableUNSET_SENTINEL)model_serializer)List)	TypedDictc                   @  s4   e Zd ZU ded< 	 ded< 	 ded< 	 ded< d	S )
OCRPageObjectTypedDictintindexstrmarkdownzList[OCRImageObjectTypedDict]imagesz$Nullable[OCRPageDimensionsTypedDict]
dimensionsN)__name__
__module____qualname____annotations__ r   r   j/var/www/html/karishye-ai-python/venv/lib/python3.10/site-packages/mistralai_azure/models/ocrpageobject.pyr      s   
 r   c                   @  sH   e Zd ZU ded< 	 ded< 	 ded< 	 ded< 	 ed	d
dd ZdS )OCRPageObjectr   r   r   r   zList[OCRImageObject]r   zNullable[OCRPageDimensions]r   wrap)modec                 C  s   g }dg}g }|| }i }t | j D ]D\}}|jp|}	||	}
||	d  |	|v o/|	|v }| j|hp:|	|v }|
d urH|
tkrH|
||	< q|
tkrX|	|vsT|rX|rX|
||	< q|S )Nr   )	type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OCRPageObject.serialize_modelN)r   r   r   r   r   r3   r   r   r   r   r      s   
 r   N)__doc__
__future__r   ocrimageobjectr   r   ocrpagedimensionsr   r   mistralai_azure.typesr   r	   r
   pydanticr   typingr   typing_extensionsr   r   r   r   r   r   r   <module>   s    