a
    ž˜ëjÌ	  ã                   @  s|   d Z ddlm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mZ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)Úmodel_serializer)ÚListÚOptional)ÚNotRequiredÚ	TypedDict)Ú	BaseModelÚNullableÚOptionalNullableÚUNSETÚUNSET_SENTINELc                   @  sf   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ed< ded< dS )Ú-ConfluenceSourceConnectorConfigInputTypedDictÚstrÚurlÚusernamezNotRequired[Nullable[str]]Ú	api_tokenzNotRequired[bool]ÚcloudÚextract_filesÚextract_imageszNotRequired[int]Úmax_num_of_docs_from_each_spaceÚmax_num_of_spacesÚpasswordz NotRequired[Nullable[List[str]]]ÚspacesÚtokenN)Ú__name__Ú
__module__Ú__qualname__Ú__annotations__© r   r   ú…/mnt/bigstor/www/usecases/.venv/lib/python3.9/site-packages/unstructured_client/models/shared/confluencesourceconnectorconfiginput.pyr      s   
r   c                   @  sœ   e Zd ZU ded< ded< eZded< dZded< dZded	< dZded
< dZ	ded< dZ
ded< eZded< eZded< eZded< edd�dd„ ƒZdS )Ú$ConfluenceSourceConnectorConfigInputr   r   r   zOptionalNullable[str]r   FzOptional[bool]r   r   r   é–   zOptional[int]r   iô  r   r   zOptionalNullable[List[str]]r   r   Úwrap)Úmodec                 C  s¼   g d¢}g d¢}g }|| ƒ}i }t | ƒj ¡ D ]ˆ\}}|jp>|}	| |	¡}
| |	d ¡ |	|v od|	|v }| j |h¡pz|	|v }|
d ur–|
tkr–|
||	< q.|
tkr.|	|vs®|r.|r.|
||	< q.|S )N)	r   r   r   r   r   r   r   r   r   )r   r   r   r   )	ÚtypeZmodel_fieldsÚitemsÚaliasÚgetÚpopZ__pydantic_fields_set__Úintersectionr   )ÚselfÚhandlerZoptional_fieldsZnullable_fieldsZnull_default_fieldsZ
serializedÚmÚnÚfÚkÚvalZoptional_nullableÚis_setr   r   r   Úserialize_model5   s0    

þ
ÿÿÿ
z4ConfluenceSourceConnectorConfigInput.serialize_modelN)r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r2   r   r   r   r   r       s   
r    N)Ú__doc__Ú
__future__r   Zpydanticr   Útypingr   r   Ztyping_extensionsr   r   Zunstructured_client.typesr   r	   r
   r   r   r   r    r   r   r   r   Ú<module>   s   	