a
    ž˜ëjÌ  ã                   @  s¸   d Z ddlmZ ddlmZmZ ddlmZ ddlm	Z	m
Z
mZ ddlmZmZmZ ddlmZmZmZmZmZ ed	eeef ƒZed
eeef ƒ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é   )ÚSecretReferenceÚSecretReferenceTypedDict)Úmodel_serializer)ÚListÚOptionalÚUnion)ÚNotRequiredÚTypeAliasTypeÚ	TypedDict)Ú	BaseModelÚNullableÚOptionalNullableÚUNSETÚUNSET_SENTINELÚ?GoogleDriveSourceConnectorConfigInputServiceAccountKeyTypedDictÚ6GoogleDriveSourceConnectorConfigInputServiceAccountKeyc                   @  s.   e Zd ZU ded< ded< ded< ded< d	S )
Ú.GoogleDriveSourceConnectorConfigInputTypedDictÚstrÚdrive_idr   Úservice_account_keyz NotRequired[Nullable[List[str]]]Ú
extensionszNotRequired[bool]Ú	recursiveN)Ú__name__Ú
__module__Ú__qualname__Ú__annotations__© r   r   ú†/mnt/bigstor/www/usecases/.venv/lib/python3.9/site-packages/unstructured_client/models/shared/googledrivesourceconnectorconfiginput.pyr      s   
r   c                   @  sH   e Zd ZU ded< ded< eZded< dZded	< ed
d�dd„ ƒZdS )Ú%GoogleDriveSourceConnectorConfigInputr   r   r   r   zOptionalNullable[List[str]]r   TzOptional[bool]r   Úwrap)Úmodec                 C  sº   ddg}dg}g }|| ƒ}i }t | ƒj ¡ D ]ˆ\}}|jp<|}	| |	¡}
| |	d ¡ |	|v ob|	|v }| j |h¡px|	|v }|
d ur”|
tkr”|
||	< q,|
tkr,|	|vs¬|r,|r,|
||	< q,|S )Nr   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_model-   s0    

þ
ÿÿÿ
z5GoogleDriveSourceConnectorConfigInput.serialize_modelN)	r   r   r   r   r   r   r   r   r1   r   r   r   r   r    $   s   
r    N)Ú__doc__Ú
__future__r   Zsecretreferencer   r   Zpydanticr   Útypingr   r   r	   Ztyping_extensionsr
   r   r   Zunstructured_client.typesr   r   r   r   r   r   r   r   r   r    r   r   r   r   Ú<module>   s    	
þ
þ