Ë
    dQêjZ  ã                  óê   — d Z ddlmZ ddlZddlZddl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 ddlmZ ddlmZ dd	l	mZmZ dd
lmZ  G d„ de«      ZddlmZ ddlmZ ej;                  d¬«       y)a'  
    Lance Namespace Specification

    This OpenAPI specification is a part of the Lance namespace specification. It contains 2 parts:  The `components/schemas`, `components/responses`, `components/examples`, `tags` sections define the request and response shape for each operation in a Lance Namespace across all implementations. See https://lance.org/format/namespace/operations for more details.  The `servers`, `security`, `paths`, `components/parameters` sections are for the Lance REST Namespace implementation, which defines a complete REST server that can work with Lance datasets. See https://lance.org/format/namespace/rest for more details. 

    The version of the OpenAPI document: 1.0.0
    Generated by OpenAPI Generator (https://openapi-generator.tech)

    Do not edit the class manually.
é    )ÚannotationsN)Ú	BaseModelÚ
ConfigDict)ÚAnyÚClassVarÚDictÚListÚOptional)Ú
MatchQuery)ÚMultiMatchQuery)ÚPhraseQuery)r
   ÚSet)ÚSelfc                  ó¼   — e Zd ZU dZ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<   g d¢Z
ded<    eddd¬«      Zdd„Zdd„Zedd„«       Zdd„Zedd„«       Zy)ÚFtsQueryzë
    Full-text search query. Exactly one query type field must be provided. This structure follows the same pattern as AlterTransactionAction to minimize differences and compatibility issues across codegen in different languages. 
    NzOptional[MatchQuery]ÚmatchzOptional[PhraseQuery]ÚphrasezOptional[BoostQuery]ÚboostzOptional[MultiMatchQuery]Úmulti_matchzOptional[BooleanQuery]Úboolean©r   r   r   r   r   zClassVar[List[str]]Ú_FtsQuery__propertiesT© )Úpopulate_by_nameÚvalidate_assignmentÚprotected_namespacesc                óL   — t        j                  | j                  d¬«      «      S )z:Returns the string representation of the model using aliasT)Úby_alias)ÚpprintÚpformatÚ
model_dump©Úselfs    út/home/oem/CyberBrain26-unified/.venv/lib/python3.12/site-packages/lance_namespace_urllib3_client/models/fts_query.pyÚto_strzFtsQuery.to_str.   s   € ä�~‰~˜dŸo™o°t˜oÓ<Ó=Ð=ó    c                óH   — t        j                  | j                  «       «      S )z8Returns the JSON representation of the model using alias)ÚjsonÚdumpsÚto_dictr"   s    r$   Úto_jsonzFtsQuery.to_json2   s   € ô �z‰z˜$Ÿ,™,›.Ó)Ð)r&   c                óJ   — | j                  t        j                  |«      «      S )z1Create an instance of FtsQuery from a JSON string)Ú	from_dictr(   Úloads)ÚclsÚjson_strs     r$   Ú	from_jsonzFtsQuery.from_json7   s   € ð �}‰}œTŸZ™Z¨Ó1Ó2Ð2r&   c                óÞ  — t        g «      }| j                  d|d¬«      }| j                  r| j                  j                  «       |d<   | j                  r| j                  j                  «       |d<   | j
                  r| j
                  j                  «       |d<   | j                  r| j                  j                  «       |d<   | j                  r| j                  j                  «       |d<   |S )ac  Return the dictionary representation of the model using alias.

        This has the following differences from calling pydantic's
        `self.model_dump(by_alias=True)`:

        * `None` is only added to the output dict for nullable fields that
          were set at model initialization. Other fields with value `None`
          are ignored.
        T)r   ÚexcludeÚexclude_noner   r   r   r   r   )Úsetr!   r   r*   r   r   r   r   )r#   Úexcluded_fieldsÚ_dicts      r$   r*   zFtsQuery.to_dict<   sÏ   € ô %(ð )
ó %ˆð —‘ØØ#Øð  ó 
ˆð �:Š:Ø!ŸZ™Z×/Ñ/Ó1ˆE�'‰Nà�;Š;Ø"Ÿk™k×1Ñ1Ó3ˆE�(‰Oà�:Š:Ø!ŸZ™Z×/Ñ/Ó1ˆE�'‰Nà×ÒØ#'×#3Ñ#3×#;Ñ#;Ó#=ˆE�-Ñ à�<Š<Ø#Ÿ|™|×3Ñ3Ó5ˆE�)ÑØˆr&   c           
     ó  — |€yt        |t        «      s| j                  |«      S | j                  |j                  d«      �t	        j
                  |d   «      nd|j                  d«      �t        j
                  |d   «      nd|j                  d«      �t        j
                  |d   «      nd|j                  d«      �t        j
                  |d   «      nd|j                  d«      �t        j
                  |d   «      nddœ«      }|S )z*Create an instance of FtsQuery from a dictNr   r   r   r   r   r   )
Ú
isinstanceÚdictÚmodel_validateÚgetr   r-   r   Ú
BoostQueryr   ÚBooleanQuery)r/   ÚobjÚ_objs      r$   r-   zFtsQuery.from_dict_   sô   € ð ˆ;Øä˜#œtÔ$Ø×%Ñ% cÓ*Ð*à×!Ñ!Ø;>¿7¹7À7Ó;KÐ;W”Z×)Ñ)¨#¨g©,Ô7Ð]aØ>A¿g¹gÀhÓ>OÐ>[”k×+Ñ+¨C°©MÔ:ÐaeØ;>¿7¹7À7Ó;KÐ;W”Z×)Ñ)¨#¨g©,Ô7Ð]aØLOÏGÉGÐTaÓLbÐLnœ?×4Ñ4°S¸Ñ5GÔHÐtxØADÇÁÈÓASÐA_”|×-Ñ-¨c°)©nÔ=Ðeiñ#
ó ˆð ˆr&   )ÚreturnÚstr)r0   rB   rA   úOptional[Self])rA   zDict[str, Any])r?   zOptional[Dict[str, Any]]rA   rC   )Ú__name__Ú
__module__Ú__qualname__Ú__doc__r   Ú__annotations__r   r   r   r   r   r   Úmodel_configr%   r+   Úclassmethodr1   r*   r-   r   r&   r$   r   r      s–   … ñð #'€EÐÓ&Ø$(€FÐ!Ó(Ø"&€EÐÓ&Ø-1€KÐ*Ó1Ø&*€GÐ#Ó*Ú(^€LÐ%Ó^áØØ Øô€Ló>ó*ð
 ò3ó ð3ó!ðF òó ñr&   r   )r>   )r=   F)Úraise_errors)rG   Ú
__future__r   r   Úrer(   Úpydanticr   r   Útypingr   r   r   r	   r
   Ú1lance_namespace_urllib3_client.models.match_queryr   Ú7lance_namespace_urllib3_client.models.multi_match_queryr   Ú2lance_namespace_urllib3_client.models.phrase_queryr   r   Útyping_extensionsr   r   Ú3lance_namespace_urllib3_client.models.boolean_queryr>   Ú1lance_namespace_urllib3_client.models.boost_queryr=   Úmodel_rebuildr   r&   r$   ú<module>rW      sY   ðñ	õ #Û Û 	Û ç *ß 6Õ 6Ý HÝ SÝ Jß  Ý "ôSˆyô Sõj MÝ Hà × Ñ  EÐ Õ *r&   