a
    ž˜ëju  ã                   @  sÔ   d Z ddlmZ ddlZddlZddlmZ ddlmZ ddlm	Z	m
Z
mZ ddlmZmZ ddlmZmZmZmZmZ dd	lmZmZmZmZ G d
d„ deƒZG dd„ deƒ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.é    )ÚannotationsN)Úmodel_serializer)ÚOptional)Ú	AnnotatedÚNotRequiredÚ	TypedDict)ÚdestinationconnectorinformationÚupdatedestinationconnector)Ú	BaseModelÚNullableÚOptionalNullableÚUNSETÚUNSET_SENTINEL)ÚFieldMetadataÚHeaderMetadataÚPathParamMetadataÚRequestMetadatac                   @  s&   e Zd ZU ded< ded< ded< dS )Ú!UpdateDestinationRequestTypedDictzEshared_updatedestinationconnector.UpdateDestinationConnectorTypedDictÚupdate_destination_connectorÚstrÚdestination_idzNotRequired[Nullable[str]]Úunstructured_api_keyN©Ú__name__Ú
__module__Ú__qualname__Ú__annotations__© r   r   úw/mnt/bigstor/www/usecases/.venv/lib/python3.9/site-packages/unstructured_client/models/operations/update_destination.pyr      s   
r   c                   @  s<   e Zd ZU ded< ded< eZded< edd�d	d
„ ƒZdS )ÚUpdateDestinationRequestzŽAnnotated[shared_updatedestinationconnector.UpdateDestinationConnector, FieldMetadata(request=RequestMetadata(media_type='application/json'))]r   zTAnnotated[str, FieldMetadata(path=PathParamMetadata(style='simple', explode=False))]r   z“Annotated[OptionalNullable[str], pydantic.Field(alias='unstructured-api-key'), FieldMetadata(header=HeaderMetadata(style='simple', explode=False))]r   Úwrap)Úmodec                 C  s¸   dg}dg}g }|| ƒ}i }t | ƒj ¡ D ]ˆ\}}|jp:|}	| |	¡}
| |	d ¡ |	|v o`|	|v }| j |h¡pv|	|v }|
d ur’|
tkr’|
||	< q*|
tkr*|	|vsª|r*|r*|
||	< q*|S )Nzunstructured-api-key)	Ú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_model4   s0    

þ
ÿÿÿ
z(UpdateDestinationRequest.serialize_modelN)r   r   r   r   r   r   r   r0   r   r   r   r   r   $   s   
ü
r   c                   @  s.   e Zd ZU ded< ded< ded< ded< d	S )
Ú"UpdateDestinationResponseTypedDictr   Úcontent_typeÚintÚstatus_codeúhttpx.ResponseÚraw_responsez\NotRequired[shared_destinationconnectorinformation.DestinationConnectorInformationTypedDict]Ú!destination_connector_informationNr   r   r   r   r   r1   S   s
   
r1   c                   @  s2   e Zd ZU ded< ded< ded< dZded	< dS )
ÚUpdateDestinationResponser   r2   r3   r4   r5   r6   NzPOptional[shared_destinationconnectorinformation.DestinationConnectorInformation]r7   )r   r   r   r   r7   r   r   r   r   r8   `   s   
þ
r8   ) Ú__doc__Ú
__future__r   ZhttpxZpydanticr   Útypingr   Ztyping_extensionsr   r   r   Z!unstructured_client.models.sharedr   Z&shared_destinationconnectorinformationr	   Z!shared_updatedestinationconnectorZunstructured_client.typesr
   r   r   r   r   Zunstructured_client.utilsr   r   r   r   r   r   r1   r8   r   r   r   r   Ú<module>   s   /