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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)ÚcreatedestinationconnectorÚdestinationconnectorinformation)Ú	BaseModelÚNullableÚOptionalNullableÚUNSETÚUNSET_SENTINEL)ÚFieldMetadataÚHeaderMetadataÚRequestMetadatac                   @  s   e Zd ZU ded< ded< dS )Ú!CreateDestinationRequestTypedDictzEshared_createdestinationconnector.CreateDestinationConnectorTypedDictÚcreate_destination_connectorz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/create_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 )
ÚCreateDestinationRequestzŽAnnotated[shared_createdestinationconnector.CreateDestinationConnector, FieldMetadata(request=RequestMetadata(media_type='application/json'))]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(CreateDestinationRequest.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 )
Ú"CreateDestinationResponseTypedDictÚstrÚcontent_typeÚintÚstatus_codeúhttpx.ResponseÚraw_responsez\NotRequired[shared_destinationconnectorinformation.DestinationConnectorInformationTypedDict]Ú!destination_connector_informationNr   r   r   r   r   r.   I   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 )
ÚCreateDestinationResponser/   r0   r1   r2   r3   r4   NzPOptional[shared_destinationconnectorinformation.DestinationConnectorInformation]r5   )r   r   r   r   r5   r   r   r   r   r6   V   s   
þ
r6   )Ú__doc__Ú
__future__r   ZhttpxZpydanticr   Útypingr   Ztyping_extensionsr   r   r   Z!unstructured_client.models.sharedr   Z!shared_createdestinationconnectorr	   Z&shared_destinationconnectorinformationZunstructured_client.typesr
   r   r   r   r   Zunstructured_client.utilsr   r   r   r   r   r.   r6   r   r   r   r   Ú<module>   s   +