a
    ž˜ëj½  ã                   @  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 ddlmZmZmZmZmZ dd	l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)Ú	BaseModelÚNullableÚOptionalNullableÚUNSETÚUNSET_SENTINEL)ÚFieldMetadataÚHeaderMetadataÚPathParamMetadatac                   @  s   e Zd ZU ded< ded< dS )ÚGetDestinationRequestTypedDictÚstrÚdestination_idzNotRequired[Nullable[str]]Úunstructured_api_keyN©Ú__name__Ú
__module__Ú__qualname__Ú__annotations__© r   r   út/mnt/bigstor/www/usecases/.venv/lib/python3.9/site-packages/unstructured_client/models/operations/get_destination.pyr      s   
r   c                   @  s4   e Zd ZU ded< eZded< edd�dd„ ƒZd	S )
ÚGetDestinationRequestzTAnnotated[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_model&   s0    

þ
ÿÿÿ
z%GetDestinationRequest.serialize_modelN)r   r   r   r   r   r   r   r-   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 )
ÚGetDestinationResponseTypedDictr   Úcontent_typeÚintÚstatus_codeúhttpx.ResponseÚraw_responsez\NotRequired[shared_destinationconnectorinformation.DestinationConnectorInformationTypedDict]Ú!destination_connector_informationNr   r   r   r   r   r.   E   s
   
r.   c                   @  s2   e Zd ZU ded< ded< ded< dZded	< dS )
ÚGetDestinationResponser   r/   r0   r1   r2   r3   NzPOptional[shared_destinationconnectorinformation.DestinationConnectorInformation]r4   )r   r   r   r   r4   r   r   r   r   r5   R   s   
þ
r5   )Ú__doc__Ú
__future__r   ZhttpxZpydanticr   Útypingr   Ztyping_extensionsr   r   r   Z!unstructured_client.models.sharedr   Z&shared_destinationconnectorinformationZunstructured_client.typesr	   r
   r   r   r   Zunstructured_client.utilsr   r   r   r   r   r.   r5   r   r   r   r   Ú<module>   s   *