o
    6d6                    @   s  d Z ddlmZ ddlmZ ddlmZ G dd dejZ	ee	Z
G dd dejZeeZG d	d
 d
eZeeZG dd deZeeZG dd deZeeZG dd dejZeeZG dd deZeeZG dd dejZeeZG dd dejZeeZG dd deZeeZG dd dejZeeZG dd dejZ ee Z!G dd dejZ"ee"Z#G dd  d ejZ$ee$Z%G d!d" d"eZ&ee&Z'G d#d$ d$ejZ(ee(Z)G d%d& d&ejZ*ee*Z+G d'd( d(ejZ,ee,Z-G d)d* d*ejZ.ee.Z/G d+d, d,ejZ0ee0Z1G d-d. d.ejZ2ee2Z3G d/d0 d0ejZ4ee4Z5G d1d2 d2ejZ6ee6Z7G d3d4 d4ejZ8ee8Z9G d5d6 d6ejZ:ee:Z;G d7d8 d8ejZ<ee<Z=G d9d: d:ejZ>ee>Z?G d;d< d<ejZ@ee@ZAG d=d> d>ejZBeeBZCG d?d@ d@ejZDeeDZEG dAdB dBeZFeeFZGG dCdD dDejZHeeHZIG dEdF dFejZJeeJZKG dGdH dHeJZLeeLZMG dIdJ dJejZNeeNZOG dKdL dLejZPeePZQG dMdN dNeZReeRZSG dOdP dPejZTeeTZUG dQdR dRejZVeeVZWejXdSdTZYejXdUdVZZejXdSdTZ[ejXdSdWdXZ\eZe	j]_^e_e?e	j`_^eadYdZge	_bdYe	j]j^fdZe	j`j^fge	_ce\e_dee e_fee e_gejdejfejgd[e_hed\e_ied]e_je%e_kee e_lejkejld^e_hejhmejh ed_e_nee e_oee e_pee e_qejoejpejqd`e_hejhmejh edae_redbe_sedce_tee e_uddejuie_hejhmejh edde_veX ejw_^eX ejx_^e_e=ejy_^eag dee_bdfejwj^fdgejxj^fdhejyj^fge_cejbzeag e_bejcg  e_ce\ej{_^eadige_bdiej{j^fge_ce\ej{_^eadige_bdiej{j^fge_cejbzeag e_bejcg  e_ce_e\ej|_^eadjge_bdjej|j^fge_cee e _}ee e _ge j}e jgdke _he dle _~e d]e _jee e"_ee e"_ge"je"jgdme"_he"dne"_e"d]e"_jeX e$_ee e$_ee e$_ee e$_ee e$_fee e$_ge$je$je$je$je$jfe$jgdoe$_he$dpe$_e$dqe$_e$dre$_e$d\e$_ie$d]e$_jee e&_ee e&_ee e&_ee e&_e&je&je&je&jdse&_he&jhmejh e&dte&_e&due&_e&dve&_e&dwe&_eZe(j]_^ej_e?dSdxe(j`_^eadYdZge(_bdYe(j]j^fdZe(j`j^fge(_cej_e7dSdxe*j_^eMe*j_^eadydzge*_bdye*jj^fdze*jj^fge*_ce[e,j_^ead{ge,_bd{e,jj^fge,_cee e._ee e._ge.je.jgd|e._he.d}e._e.d]e._je#e0_ee e0_ge0je0jgd~e0_he0d]e0_jeYe2j_^eX e2j]_^e e2j_^e_e?e2j`_^eag de2_bde2jj^fdYe2j]j^fde2jj^fdZe2j`j^fge2_ceX e4_ee e4_ge4je4jgde4_he4d]e4_jeX e6j_^e5e6j_^e!e6j_^eag de6_bde6jj^fde6jj^fde6jj^fge6_ce_e3e8j_^ee[e8j_^eadd{ge8_bde8jj^fd{e8jj^fge8_ceX e:jw_^eX e:j_^eadfdge:_bdfe:jwj^fde:jj^fge:_ceX e<jw_^eX e<jx_^eCe<j_^eag de<_bdfe<jwj^fdge<jxj^fde<jj^fge<_ce\e>j{_^e_e;e>jy_^eadidhge>_bdie>j{j^fdhe>jyj^fge>_ce\e@j{_^ee_e;e@j_^ee_eX e@j_^eag de@_bdie@j{j^fde@jj^fde@jj^fge@_cee eB_ee eB_geBjeBjgdeB_heBdeB_eBd]eB_jeZeDj]_^e_e\eDj_^eadYdgeD_bdYeDj]j^fdeDjj^fgeD_ce#eF_deFjieF_heFjhmejh e\eHj{_^eadigeH_bdieHj{j^fgeH_cej_e\dSdxeJ_ee eJ_geJjeJjgdeJ_heJd]eJ_jee eL_deLjieL_heLjhmeJjh eLdeL_ee eN_ee eN_ee eN_geNjeNjeNjgdeN_heNdeN_eNdeN_eNd]eN_jeZePj]_^e_eAePj_^eadYdgeP_bdYePj]j^fdePjj^fgeP_ce#eR_deRjieR_heRjhmejh e\eTj{_^eeX eTjw_^eeX eTjx_^ee_e=eTj_^eag deT_bdieTj{j^fdfeTjwj^fdgeTjxj^fdeTjj^fgeT_ce\eVj{_^eadigeV_bdieVj{j^fgeV_ceLje*j_e j~e6j_eddSde
ee eddddZeddSde)ee eddddZeddSdeEee eGddddZeddSde+e9e1ddddZeddSde-e9e/ddddZeddSdeQee eSddddZeddSdeee'ddddZeddSdeee'ddddZeddSdeeeddddZeddSdeeeddddZeddSdee eeddddZeddSdee eeddddZeddSdeIee eddddZeddSdeIee eddddZeddSdeUeWe'ddddZeddSdeUeWe'ddddZi dedededededededededededededededeZdS )a  
This namespace contains helpers for property and template metadata endpoints.

These endpoints enable you to tag arbitrary key/value data to Dropbox files.

The most basic unit in this namespace is the :class:`PropertyField`. These fields encapsulate the actual key/value data.

Fields are added to a Dropbox file using a :class:`PropertyGroup`. Property groups contain a reference to a Dropbox file and a :class:`PropertyGroupTemplate`. Property groups are uniquely identified by the combination of their associated Dropbox file and template.

The :class:`PropertyGroupTemplate` is a way of restricting the possible key names and value types of the data within a property group. The possible key names and value types are explicitly enumerated using :class:`PropertyFieldTemplate` objects.

You can think of a property group template as a class definition for a particular key/value metadata object, and the property groups themselves as the instantiations of these objects.

Templates are owned either by a user/app pair or team/app pair. Templates and their associated properties can't be accessed by any app other than the app that created them, and even then, only when the app is linked with the owner of the template (either a user or team).

User-owned templates are accessed via the user-auth file_properties/templates/*_for_user endpoints, while team-owned templates are accessed via the team-auth file_properties/templates/*_for_team endpoints. Properties associated with either type of template can be accessed via the user-auth properties/* endpoints.

Finally, properties can be accessed from a number of endpoints that return metadata, including `files/get_metadata`, and `files/list_folder`. Properties can also be added during upload, using `files/upload`.
    )unicode_literals)
stone_base)stone_validatorsc                       N   e Zd ZdZddgZdZ		dddZedZ	ed	Z
 fd
dZ  ZS )AddPropertiesArga2  
    :ivar file_properties.AddPropertiesArg.path: A unique identifier for the
        file or folder.
    :ivar file_properties.AddPropertiesArg.property_groups: The property groups
        which are to be added to a Dropbox file. No two groups in the input
        should  refer to the same template.
    _path_value_property_groups_valueTNc                 C   4   t j| _t j| _|d ur|| _|d ur|| _d S d S NbbNOT_SETr   r   pathproperty_groupsselfr   r    r   nC:\Users\jesus\OneDrive\Desktop\erpjis_fastapi\backend\jisbackend\Lib\site-packages\dropbox/file_properties.py__init__.      
zAddPropertiesArg.__init__r   r   c                       t t| ||| d S r
   )superr   _process_custom_annotationsr   Zannotation_typeZ
field_path	processor	__class__r   r   r   >      z,AddPropertiesArg._process_custom_annotationsNN__name__
__module____qualname____doc__	__slots___has_required_fieldsr   r   	Attributer   r   r   __classcell__r   r   r   r   r          	


r   c                       sX   e Zd ZdZdZdZdZedd Zdd Z	dd	 Z
d
d Zdd Z fddZ  ZS )TemplateErrora  
    This class acts as a tagged union. Only one of the ``is_*`` methods will
    return true. To get the associated value of a tag (if one exists), use the
    corresponding ``get_*`` method.

    :ivar str file_properties.TemplateError.template_not_found: Template does
        not exist for the given identifier.
    :ivar file_properties.TemplateError.restricted_content: You do not have
        permission to modify this template.
    otherNc                 C   
   | d|S )z
        Create an instance of this class set to the ``template_not_found`` tag
        with value ``val``.

        :param str val:
        :rtype: TemplateError
        template_not_foundr   clsvalr   r   r   r,   U      
	z TemplateError.template_not_foundc                 C   
   | j dkS )zY
        Check if the union tag is ``template_not_found``.

        :rtype: bool
        r,   Z_tagr   r   r   r   is_template_not_found`      
z#TemplateError.is_template_not_foundc                 C   r1   zY
        Check if the union tag is ``restricted_content``.

        :rtype: bool
        restricted_contentr2   r3   r   r   r   is_restricted_contenth   r5   z#TemplateError.is_restricted_contentc                 C   r1   zL
        Check if the union tag is ``other``.

        :rtype: bool
        r*   r2   r3   r   r   r   is_otherp   r5   zTemplateError.is_otherc                 C      |   std| jS )z
        Template does not exist for the given identifier.

        Only call this if :meth:`is_template_not_found` is true.

        :rtype: str
        z tag 'template_not_found' not set)r4   AttributeError_valuer3   r   r   r   get_template_not_foundx      z$TemplateError.get_template_not_foundc                    r   r
   )r   r)   r   r   r   r   r   r      r   z)TemplateError._process_custom_annotations)r    r!   r"   r#   
_catch_allr7   r*   classmethodr,   r4   r8   r:   r>   r   r'   r   r   r   r   r)   C   s    

r)   c                       sH   e Zd ZdZdZedd Zdd Zdd Zd	d
 Z	 fddZ
  ZS )PropertiesErrorae  
    This class acts as a tagged union. Only one of the ``is_*`` methods will
    return true. To get the associated value of a tag (if one exists), use the
    corresponding ``get_*`` method.

    :ivar file_properties.PropertiesError.unsupported_folder: This folder cannot
        be tagged. Tagging folders is not supported for team-owned templates.
    Nc                 C   r+   )z
        Create an instance of this class set to the ``path`` tag with value
        ``val``.

        :param LookupError val:
        :rtype: PropertiesError
        r   r   r-   r   r   r   r      r0   zPropertiesError.pathc                 C   r1   )zK
        Check if the union tag is ``path``.

        :rtype: bool
        r   r2   r3   r   r   r   is_path   r5   zPropertiesError.is_pathc                 C   r1   )zY
        Check if the union tag is ``unsupported_folder``.

        :rtype: bool
        unsupported_folderr2   r3   r   r   r   is_unsupported_folder   r5   z%PropertiesError.is_unsupported_folderc                 C   r;   )zY
        Only call this if :meth:`is_path` is true.

        :rtype: LookupError
        ztag 'path' not set)rC   r<   r=   r3   r   r   r   get_path      zPropertiesError.get_pathc                    r   r
   )r   rB   r   r   r   r   r   r      r   z+PropertiesError._process_custom_annotations)r    r!   r"   r#   rD   rA   r   rC   rE   rF   r   r'   r   r   r   r   rB      s    



rB   c                       sD   e Zd ZdZdZdZdZdd Zdd Zdd Z	 fd	d
Z
  ZS )InvalidPropertyGroupErrora  
    This class acts as a tagged union. Only one of the ``is_*`` methods will
    return true. To get the associated value of a tag (if one exists), use the
    corresponding ``get_*`` method.

    :ivar file_properties.InvalidPropertyGroupError.property_field_too_large:
        One or more of the supplied property field values is too large.
    :ivar file_properties.InvalidPropertyGroupError.does_not_fit_template: One
        or more of the supplied property fields does not conform to the template
        specifications.
    :ivar file_properties.InvalidPropertyGroupError.duplicate_property_groups:
        There are 2 or more property groups referring to the same templates in
        the input.
    Nc                 C   r1   )z_
        Check if the union tag is ``property_field_too_large``.

        :rtype: bool
        property_field_too_larger2   r3   r   r   r   is_property_field_too_large   r5   z5InvalidPropertyGroupError.is_property_field_too_largec                 C   r1   )z\
        Check if the union tag is ``does_not_fit_template``.

        :rtype: bool
        does_not_fit_templater2   r3   r   r   r   is_does_not_fit_template   r5   z2InvalidPropertyGroupError.is_does_not_fit_templatec                 C   r1   )z`
        Check if the union tag is ``duplicate_property_groups``.

        :rtype: bool
        duplicate_property_groupsr2   r3   r   r   r   is_duplicate_property_groups   r5   z6InvalidPropertyGroupError.is_duplicate_property_groupsc                    r   r
   )r   rH   r   r   r   r   r   r      r   z5InvalidPropertyGroupError._process_custom_annotations)r    r!   r"   r#   rI   rK   rM   rJ   rL   rN   r   r'   r   r   r   r   rH      s    rH   c                       ,   e Zd ZdZdZdd Z fddZ  ZS )AddPropertiesErrorab  
    This class acts as a tagged union. Only one of the ``is_*`` methods will
    return true. To get the associated value of a tag (if one exists), use the
    corresponding ``get_*`` method.

    :ivar file_properties.AddPropertiesError.property_group_already_exists: A
        property group associated with this template and file already exists.
    Nc                 C   r1   )zd
        Check if the union tag is ``property_group_already_exists``.

        :rtype: bool
        property_group_already_existsr2   r3   r   r   r    is_property_group_already_exists  r5   z3AddPropertiesError.is_property_group_already_existsc                    r   r
   )r   rP   r   r   r   r   r   r   	  r   z.AddPropertiesError._process_custom_annotations)r    r!   r"   r#   rQ   rR   r   r'   r   r   r   r   rP      
    
rP   c                       sZ   e Zd ZdZg dZdZ			dddZedZ	edZ
ed	Z fd
dZ  ZS )PropertyGroupTemplatea  
    Defines how a property group may be structured.

    :ivar file_properties.PropertyGroupTemplate.name: Display name for the
        template. Template names can be up to 256 bytes.
    :ivar file_properties.PropertyGroupTemplate.description: Description for the
        template. Template descriptions can be up to 1024 bytes.
    :ivar file_properties.PropertyGroupTemplate.fields: Definitions of the
        property fields associated with this template. There can be up to 32
        properties in a single template.
    )_name_value_description_value_fields_valueTNc                 C   J   t j| _t j| _t j| _|d ur|| _|d ur|| _|d ur#|| _d S d S r
   )r   r   rU   rV   rW   namedescriptionfieldsr   rY   rZ   r[   r   r   r   r   #     
zPropertyGroupTemplate.__init__rY   rZ   r[   c                    r   r
   )r   rT   r   r   r   r   r   r   :  r   z1PropertyGroupTemplate._process_custom_annotationsNNN)r    r!   r"   r#   r$   r%   r   r   r&   rY   rZ   r[   r   r'   r   r   r   r   rT     s    



rT   c                       8   e Zd Zg ZdZ			d fdd	Z fddZ  ZS )AddTemplateArgTNc                    r   r
   )r   r`   r   r\   r   r   r   r   F     zAddTemplateArg.__init__c                    r   r
   )r   r`   r   r   r   r   r   r   N  r   z*AddTemplateArg._process_custom_annotationsr^   r    r!   r"   r$   r%   r   r   r'   r   r   r   r   r`   ?      r`   c                       @   e Zd ZdZdgZdZ	d
ddZedZ	 fdd	Z
  ZS )AddTemplateResulta'  
    :ivar file_properties.AddTemplateResult.template_id: An identifier for
        template added by  See
        :meth:`dropbox.dropbox_client.Dropbox.file_properties_templates_add_for_user`
        or
        :meth:`dropbox.dropbox_client.Dropbox.file_properties_templates_add_for_team`.
    _template_id_valueTNc                 C      t j| _|d ur|| _d S d S r
   r   r   rf   template_idr   ri   r   r   r   r   b     
zAddTemplateResult.__init__ri   c                    r   r
   )r   re   r   r   r   r   r   r   k  r   z-AddTemplateResult._process_custom_annotationsr
   r    r!   r"   r#   r$   r%   r   r   r&   ri   r   r'   r   r   r   r   re   S      	

re   c                       rd   )GetTemplateArga*  
    :ivar file_properties.GetTemplateArg.template_id: An identifier for template
        added by route  See
        :meth:`dropbox.dropbox_client.Dropbox.file_properties_templates_add_for_user`
        or
        :meth:`dropbox.dropbox_client.Dropbox.file_properties_templates_add_for_team`.
    rf   TNc                 C   rg   r
   rh   rj   r   r   r   r     rk   zGetTemplateArg.__init__ri   c                    r   r
   )r   rn   r   r   r   r   r   r     r   z*GetTemplateArg._process_custom_annotationsr
   rl   r   r   r   r   rn   p  rm   rn   c                       r_   )GetTemplateResultTNc                    r   r
   )r   ro   r   r\   r   r   r   r     ra   zGetTemplateResult.__init__c                    r   r
   )r   ro   r   r   r   r   r   r     r   z-GetTemplateResult._process_custom_annotationsr^   rb   r   r   r   r   ro     rc   ro   c                       rd   )ListTemplateResulta0  
    :ivar file_properties.ListTemplateResult.template_ids: List of identifiers
        for templates added by  See
        :meth:`dropbox.dropbox_client.Dropbox.file_properties_templates_add_for_user`
        or
        :meth:`dropbox.dropbox_client.Dropbox.file_properties_templates_add_for_team`.
    _template_ids_valueTNc                 C   rg   r
   )r   r   rq   template_ids)r   rr   r   r   r   r     rk   zListTemplateResult.__init__rr   c                    r   r
   )r   rp   r   r   r   r   r   r     r   z.ListTemplateResult._process_custom_annotationsr
   )r    r!   r"   r#   r$   r%   r   r   r&   rr   r   r'   r   r   r   r   rp     rm   rp   c                       <   e Zd ZdZdZdZdZdd Zdd Z fdd	Z	  Z
S )
LogicalOperatorab  
    Logical operator to join search queries together.

    This class acts as a tagged union. Only one of the ``is_*`` methods will
    return true. To get the associated value of a tag (if one exists), use the
    corresponding ``get_*`` method.

    :ivar file_properties.LogicalOperator.or_operator: Append a query with an
        "or" operator.
    r*   Nc                 C   r1   )zR
        Check if the union tag is ``or_operator``.

        :rtype: bool
        or_operatorr2   r3   r   r   r   is_or_operator  r5   zLogicalOperator.is_or_operatorc                 C   r1   r9   r2   r3   r   r   r   r:     r5   zLogicalOperator.is_otherc                    r   r
   )r   rt   r   r   r   r   r   r     r   z+LogicalOperator._process_custom_annotations)r    r!   r"   r#   r@   ru   r*   rv   r:   r   r'   r   r   r   r   rt         rt   c                       rs   )
LookUpPropertiesErrora5  
    This class acts as a tagged union. Only one of the ``is_*`` methods will
    return true. To get the associated value of a tag (if one exists), use the
    corresponding ``get_*`` method.

    :ivar file_properties.LookUpPropertiesError.property_group_not_found: No
        property group was found.
    r*   Nc                 C   r1   )z_
        Check if the union tag is ``property_group_not_found``.

        :rtype: bool
        property_group_not_foundr2   r3   r   r   r   is_property_group_not_found  r5   z1LookUpPropertiesError.is_property_group_not_foundc                 C   r1   r9   r2   r3   r   r   r   r:     r5   zLookUpPropertiesError.is_otherc                    r   r
   )r   rx   r   r   r   r   r   r     r   z1LookUpPropertiesError._process_custom_annotations)r    r!   r"   r#   r@   ry   r*   rz   r:   r   r'   r   r   r   r   rx     s    	rx   c                       s|   e Zd ZdZdZdZdZdZdZdZ	e
dd Zdd Zdd	 Zd
d Zdd Zdd Zdd Zdd Z fddZ  ZS )LookupErrora  
    This class acts as a tagged union. Only one of the ``is_*`` methods will
    return true. To get the associated value of a tag (if one exists), use the
    corresponding ``get_*`` method.

    :ivar file_properties.LookupError.not_found: There is nothing at the given
        path.
    :ivar file_properties.LookupError.not_file: We were expecting a file, but
        the given path refers to something that isn't a file.
    :ivar file_properties.LookupError.not_folder: We were expecting a folder,
        but the given path refers to something that isn't a folder.
    :ivar file_properties.LookupError.restricted_content: The file cannot be
        transferred because the content is restricted. For example, we might
        restrict a file due to legal requirements.
    r*   Nc                 C   r+   )z
        Create an instance of this class set to the ``malformed_path`` tag with
        value ``val``.

        :param str val:
        :rtype: LookupError
        malformed_pathr   r-   r   r   r   r|   '  r0   zLookupError.malformed_pathc                 C   r1   )zU
        Check if the union tag is ``malformed_path``.

        :rtype: bool
        r|   r2   r3   r   r   r   is_malformed_path2  r5   zLookupError.is_malformed_pathc                 C   r1   )zP
        Check if the union tag is ``not_found``.

        :rtype: bool
        	not_foundr2   r3   r   r   r   is_not_found:  r5   zLookupError.is_not_foundc                 C   r1   )zO
        Check if the union tag is ``not_file``.

        :rtype: bool
        not_filer2   r3   r   r   r   is_not_fileB  r5   zLookupError.is_not_filec                 C   r1   )zQ
        Check if the union tag is ``not_folder``.

        :rtype: bool
        
not_folderr2   r3   r   r   r   is_not_folderJ  r5   zLookupError.is_not_folderc                 C   r1   r6   r2   r3   r   r   r   r8   R  r5   z!LookupError.is_restricted_contentc                 C   r1   r9   r2   r3   r   r   r   r:   Z  r5   zLookupError.is_otherc                 C   r;   )z[
        Only call this if :meth:`is_malformed_path` is true.

        :rtype: str
        ztag 'malformed_path' not set)r}   r<   r=   r3   r   r   r   get_malformed_pathb  rG   zLookupError.get_malformed_pathc                    r   r
   )r   r{   r   r   r   r   r   r   l  r   z'LookupError._process_custom_annotations)r    r!   r"   r#   r@   r~   r   r   r7   r*   rA   r|   r}   r   r   r   r8   r:   r   r   r'   r   r   r   r   r{   
  s$    


r{   c                       sP   e Zd ZdZdZdZdZdZdd Zdd Z	dd Z
d	d
 Z fddZ  ZS )ModifyTemplateErroraC  
    This class acts as a tagged union. Only one of the ``is_*`` methods will
    return true. To get the associated value of a tag (if one exists), use the
    corresponding ``get_*`` method.

    :ivar file_properties.ModifyTemplateError.conflicting_property_names: A
        property field key with that name already exists in the template.
    :ivar file_properties.ModifyTemplateError.too_many_properties: There are too
        many properties in the changed template. The maximum number of
        properties per template is 32.
    :ivar file_properties.ModifyTemplateError.too_many_templates: There are too
        many templates for the team.
    :ivar file_properties.ModifyTemplateError.template_attribute_too_large: The
        template name, description or one or more of the property field keys is
        too large.
    Nc                 C   r1   )za
        Check if the union tag is ``conflicting_property_names``.

        :rtype: bool
        conflicting_property_namesr2   r3   r   r   r   is_conflicting_property_names  r5   z1ModifyTemplateError.is_conflicting_property_namesc                 C   r1   )zZ
        Check if the union tag is ``too_many_properties``.

        :rtype: bool
        too_many_propertiesr2   r3   r   r   r   is_too_many_properties  r5   z*ModifyTemplateError.is_too_many_propertiesc                 C   r1   )zY
        Check if the union tag is ``too_many_templates``.

        :rtype: bool
        too_many_templatesr2   r3   r   r   r   is_too_many_templates  r5   z)ModifyTemplateError.is_too_many_templatesc                 C   r1   )zc
        Check if the union tag is ``template_attribute_too_large``.

        :rtype: bool
        template_attribute_too_larger2   r3   r   r   r   is_template_attribute_too_large  r5   z3ModifyTemplateError.is_template_attribute_too_largec                    r   r
   )r   r   r   r   r   r   r   r     r   z/ModifyTemplateError._process_custom_annotations)r    r!   r"   r#   r   r   r   r   r   r   r   r   r   r'   r   r   r   r   r   q  s    r   c                       r   )OverwritePropertyGroupArga>  
    :ivar file_properties.OverwritePropertyGroupArg.path: A unique identifier
        for the file or folder.
    :ivar file_properties.OverwritePropertyGroupArg.property_groups: The
        property groups "snapshot" updates to force apply. No two groups in the
        input should  refer to the same template.
    r   r   TNc                 C   r	   r
   r   r   r   r   r   r     r   z"OverwritePropertyGroupArg.__init__r   r   c                    r   r
   )r   r   r   r   r   r   r   r     r   z5OverwritePropertyGroupArg._process_custom_annotationsr   r   r   r   r   r   r     r(   r   c                       R   e Zd ZdZddgZdZ		dddZedZ	ejd	dd
Z
 fddZ  ZS )PropertiesSearchArgz
    :ivar file_properties.PropertiesSearchArg.queries: Queries to search.
    :ivar file_properties.PropertiesSearchArg.template_filter: Filter results to
        contain only properties associated with these template IDs.
    _queries_value_template_filter_valueTNc                 C   r	   r
   )r   r   r   r   queriestemplate_filter)r   r   r   r   r   r   r     r   zPropertiesSearchArg.__init__r   r   Zuser_definedc                    r   r
   )r   r   r   r   r   r   r   r     r   z/PropertiesSearchArg._process_custom_annotationsr   )r    r!   r"   r#   r$   r%   r   r   r&   r   r   r   r'   r   r   r   r   r     s    

r   c                       rd   )PropertiesSearchContinueArga+  
    :ivar file_properties.PropertiesSearchContinueArg.cursor: The cursor
        returned by your last call to
        :meth:`dropbox.dropbox_client.Dropbox.file_properties_properties_search`
        or
        :meth:`dropbox.dropbox_client.Dropbox.file_properties_properties_search_continue`.
    _cursor_valueTNc                 C   rg   r
   )r   r   r   cursor)r   r   r   r   r   r     rk   z$PropertiesSearchContinueArg.__init__r   c                    r   r
   )r   r   r   r   r   r   r   r     r   z7PropertiesSearchContinueArg._process_custom_annotationsr
   )r    r!   r"   r#   r$   r%   r   r   r&   r   r   r'   r   r   r   r   r     rm   r   c                       rs   )
PropertiesSearchContinueErrora  
    This class acts as a tagged union. Only one of the ``is_*`` methods will
    return true. To get the associated value of a tag (if one exists), use the
    corresponding ``get_*`` method.

    :ivar file_properties.PropertiesSearchContinueError.reset: Indicates that
        the cursor has been invalidated. Call
        :meth:`dropbox.dropbox_client.Dropbox.file_properties_properties_search`
        to obtain a new cursor.
    r*   Nc                 C   r1   )zL
        Check if the union tag is ``reset``.

        :rtype: bool
        resetr2   r3   r   r   r   is_reset(  r5   z&PropertiesSearchContinueError.is_resetc                 C   r1   r9   r2   r3   r   r   r   r:   0  r5   z&PropertiesSearchContinueError.is_otherc                    r   r
   )r   r   r   r   r   r   r   r   8  r   z9PropertiesSearchContinueError._process_custom_annotations)r    r!   r"   r#   r@   r   r*   r   r:   r   r'   r   r   r   r   r     rw   r   c                       L   e Zd ZdZdZdZedd Zdd Zdd	 Z	d
d Z
 fddZ  ZS )PropertiesSearchError
    This class acts as a tagged union. Only one of the ``is_*`` methods will
    return true. To get the associated value of a tag (if one exists), use the
    corresponding ``get_*`` method.
    r*   Nc                 C   r+   )z
        Create an instance of this class set to the ``property_group_lookup``
        tag with value ``val``.

        :param LookUpPropertiesError val:
        :rtype: PropertiesSearchError
        property_group_lookupr   r-   r   r   r   r   H  r0   z+PropertiesSearchError.property_group_lookupc                 C   r1   z\
        Check if the union tag is ``property_group_lookup``.

        :rtype: bool
        r   r2   r3   r   r   r   is_property_group_lookupS  r5   z.PropertiesSearchError.is_property_group_lookupc                 C   r1   r9   r2   r3   r   r   r   r:   [  r5   zPropertiesSearchError.is_otherc                 C   r;   zt
        Only call this if :meth:`is_property_group_lookup` is true.

        :rtype: LookUpPropertiesError
        z#tag 'property_group_lookup' not setr   r<   r=   r3   r   r   r   get_property_group_lookupc  rG   z/PropertiesSearchError.get_property_group_lookupc                    r   r
   )r   r   r   r   r   r   r   r   m  r   z1PropertiesSearchError._process_custom_annotations)r    r!   r"   r#   r@   r*   rA   r   r   r:   r   r   r'   r   r   r   r   r   =  s    


r   c                       sf   e Zd ZdZg dZdZ				dddZedZ	edZ
ed	Zed
Z fddZ  ZS )PropertiesSearchMatcha  
    :ivar file_properties.PropertiesSearchMatch.id: The ID for the matched file
        or folder.
    :ivar file_properties.PropertiesSearchMatch.path: The path for the matched
        file or folder.
    :ivar file_properties.PropertiesSearchMatch.is_deleted: Whether the file or
        folder is deleted.
    :ivar file_properties.PropertiesSearchMatch.property_groups: List of custom
        property groups associated with the file.
    )	_id_valuer   _is_deleted_valuer   TNc                 C   `   t j| _t j| _t j| _t j| _|d ur|| _|d ur|| _|d ur%|| _|d ur.|| _	d S d S r
   )
r   r   r   r   r   r   idr   
is_deletedr   )r   r   r   r   r   r   r   r   r        
zPropertiesSearchMatch.__init__r   r   r   r   c                    r   r
   )r   r   r   r   r   r   r   r     r   z1PropertiesSearchMatch._process_custom_annotationsNNNN)r    r!   r"   r#   r$   r%   r   r   r&   r   r   r   r   r   r'   r   r   r   r   r   r  s    




r   c                       r   )PropertiesSearchModeaA  
    This class acts as a tagged union. Only one of the ``is_*`` methods will
    return true. To get the associated value of a tag (if one exists), use the
    corresponding ``get_*`` method.

    :ivar str file_properties.PropertiesSearchMode.field_name: Search for a
        value associated with this field name.
    r*   Nc                 C   r+   )z
        Create an instance of this class set to the ``field_name`` tag with
        value ``val``.

        :param str val:
        :rtype: PropertiesSearchMode
        
field_namer   r-   r   r   r   r     r0   zPropertiesSearchMode.field_namec                 C   r1   )zQ
        Check if the union tag is ``field_name``.

        :rtype: bool
        r   r2   r3   r   r   r   is_field_name  r5   z"PropertiesSearchMode.is_field_namec                 C   r1   r9   r2   r3   r   r   r   r:     r5   zPropertiesSearchMode.is_otherc                 C   r;   )z
        Search for a value associated with this field name.

        Only call this if :meth:`is_field_name` is true.

        :rtype: str
        ztag 'field_name' not set)r   r<   r=   r3   r   r   r   get_field_name  r?   z#PropertiesSearchMode.get_field_namec                    r   r
   )r   r   r   r   r   r   r   r     r   z0PropertiesSearchMode._process_custom_annotations)r    r!   r"   r#   r@   r*   rA   r   r   r:   r   r   r'   r   r   r   r   r     s    	

r   c                       b   e Zd ZdZg dZdZ			dddZedZ	ejddd	Z
ejd
dd	Z fddZ  ZS )PropertiesSearchQueryak  
    :ivar file_properties.PropertiesSearchQuery.query: The property field value
        for which to search across templates.
    :ivar file_properties.PropertiesSearchQuery.mode: The mode with which to
        perform the search.
    :ivar file_properties.PropertiesSearchQuery.logical_operator: The logical
        operator with which to append the query.
    )_query_value_mode_value_logical_operator_valueTNc                 C   rX   r
   )r   r   r   r   r   querymodelogical_operator)r   r   r   r   r   r   r   r     r]   zPropertiesSearchQuery.__init__r   r   r   r   c                    r   r
   )r   r   r   r   r   r   r   r     r   z1PropertiesSearchQuery._process_custom_annotationsr^   )r    r!   r"   r#   r$   r%   r   r   r&   r   r   r   r   r'   r   r   r   r   r     s    	

r   c                       r   )PropertiesSearchResulta  
    :ivar file_properties.PropertiesSearchResult.matches: A list (possibly
        empty) of matches for the query.
    :ivar file_properties.PropertiesSearchResult.cursor: Pass the cursor into
        :meth:`dropbox.dropbox_client.Dropbox.file_properties_properties_search_continue`
        to continue to receive search results. Cursor will be null when there
        are no more results.
    _matches_valuer   TNc                 C   r	   r
   )r   r   r   r   matchesr   )r   r   r   r   r   r   r   #  r   zPropertiesSearchResult.__init__r   r   Znullablec                    r   r
   )r   r   r   r   r   r   r   r   3  r   z2PropertiesSearchResult._process_custom_annotationsr   )r    r!   r"   r#   r$   r%   r   r   r&   r   r   r   r'   r   r   r   r   r     s    


r   c                       r   )PropertyFielda  
    Raw key/value data to be associated with a Dropbox file. Property fields are
    added to Dropbox files as a :class:`PropertyGroup`.

    :ivar file_properties.PropertyField.name: Key of the property field
        associated with a file and template. Keys can be up to 256 bytes.
    :ivar file_properties.PropertyField.value: Value of the property field
        associated with a file and template. Values can be up to 1024 bytes.
    rU   _value_valueTNc                 C   r	   r
   )r   r   rU   r   rY   value)r   rY   r   r   r   r   r   J  r   zPropertyField.__init__rY   r   c                    r   r
   )r   r   r   r   r   r   r   r   Z  r   z)PropertyField._process_custom_annotationsr   )r    r!   r"   r#   r$   r%   r   r   r&   rY   r   r   r'   r   r   r   r   r   8      


r   c                       s^   e Zd ZdZg dZdZ			dddZedZ	edZ
ejd	dd
Z fddZ  ZS )PropertyFieldTemplateae  
    Defines how a single property field may be structured. Used exclusively by
    :class:`PropertyGroupTemplate`.

    :ivar file_properties.PropertyFieldTemplate.name: Key of the property field
        being described. Property field keys can be up to 256 bytes.
    :ivar file_properties.PropertyFieldTemplate.description: Description of the
        property field. Property field descriptions can be up to 1024 bytes.
    :ivar file_properties.PropertyFieldTemplate.type: Data type of the value of
        this property field. This type will be enforced upon property creation
        and modifications.
    )rU   rV   _type_valueTNc                 C   rX   r
   )r   r   rU   rV   r   rY   rZ   type)r   rY   rZ   r   r   r   r   r   u  r]   zPropertyFieldTemplate.__init__rY   rZ   r   r   c                    r   r
   )r   r   r   r   r   r   r   r     r   z1PropertyFieldTemplate._process_custom_annotationsr^   )r    r!   r"   r#   r$   r%   r   r   r&   rY   rZ   r   r   r'   r   r   r   r   r   _  s    


r   c                       r   )PropertyGroupaC  
    A subset of the property fields described by the corresponding
    :class:`PropertyGroupTemplate`. Properties are always added to a Dropbox
    file as a :class:`PropertyGroup`. The possible key names and value types in
    this group are defined by the corresponding :class:`PropertyGroupTemplate`.

    :ivar file_properties.PropertyGroup.template_id: A unique identifier for the
        associated template.
    :ivar file_properties.PropertyGroup.fields: The actual properties associated
        with the template. There can be up to 32 property types per template.
    rf   rW   TNc                 C   r	   r
   )r   r   rf   rW   ri   r[   )r   ri   r[   r   r   r   r     r   zPropertyGroup.__init__ri   r[   c                    r   r
   )r   r   r   r   r   r   r   r     r   z)PropertyGroup._process_custom_annotationsr   )r    r!   r"   r#   r$   r%   r   r   r&   ri   r[   r   r'   r   r   r   r   r     s    


r   c                       r   )PropertyGroupUpdatea  
    :ivar file_properties.PropertyGroupUpdate.template_id: A unique identifier
        for a property template.
    :ivar file_properties.PropertyGroupUpdate.add_or_update_fields: Property
        fields to update. If the property field already exists, it is updated.
        If the property field doesn't exist, the property group is added.
    :ivar file_properties.PropertyGroupUpdate.remove_fields: Property fields to
        remove (by name), provided they exist.
    )rf   _add_or_update_fields_value_remove_fields_valueTNc                 C   rX   r
   )r   r   rf   r   r   ri   add_or_update_fieldsremove_fields)r   ri   r   r   r   r   r   r     r]   zPropertyGroupUpdate.__init__ri   r   r   r   c                    r   r
   )r   r   r   r   r   r   r   r     r   z/PropertyGroupUpdate._process_custom_annotationsr^   )r    r!   r"   r#   r$   r%   r   r   r&   ri   r   r   r   r'   r   r   r   r   r     s    


r   c                       rs   )
PropertyTypea{  
    Data type of the given property field added.

    This class acts as a tagged union. Only one of the ``is_*`` methods will
    return true. To get the associated value of a tag (if one exists), use the
    corresponding ``get_*`` method.

    :ivar file_properties.PropertyType.string: The associated property field
        will be of type string. Unicode is supported.
    r*   Nc                 C   r1   )zM
        Check if the union tag is ``string``.

        :rtype: bool
        stringr2   r3   r   r   r   	is_string  r5   zPropertyType.is_stringc                 C   r1   r9   r2   r3   r   r   r   r:     r5   zPropertyType.is_otherc                    r   r
   )r   r   r   r   r   r   r   r     r   z(PropertyType._process_custom_annotations)r    r!   r"   r#   r@   r   r*   r   r:   r   r'   r   r   r   r   r     rw   r   c                       r   )RemovePropertiesArga  
    :ivar file_properties.RemovePropertiesArg.path: A unique identifier for the
        file or folder.
    :ivar file_properties.RemovePropertiesArg.property_template_ids: A list of
        identifiers for a template created by
        :meth:`dropbox.dropbox_client.Dropbox.file_properties_templates_add_for_user`
        or
        :meth:`dropbox.dropbox_client.Dropbox.file_properties_templates_add_for_team`.
    r   _property_template_ids_valueTNc                 C   r	   r
   )r   r   r   r   r   property_template_ids)r   r   r   r   r   r   r   "  r   zRemovePropertiesArg.__init__r   r   c                    r   r
   )r   r   r   r   r   r   r   r   2  r   z/RemovePropertiesArg._process_custom_annotationsr   )r    r!   r"   r#   r$   r%   r   r   r&   r   r   r   r'   r   r   r   r   r     r   r   c                       <   e Zd ZdZedd Zdd Zdd Z fdd	Z  Z	S )
RemovePropertiesErrorr   c                 C   r+   )z
        Create an instance of this class set to the ``property_group_lookup``
        tag with value ``val``.

        :param LookUpPropertiesError val:
        :rtype: RemovePropertiesError
        r   r   r-   r   r   r   r   >  r0   z+RemovePropertiesError.property_group_lookupc                 C   r1   r   r2   r3   r   r   r   r   I  r5   z.RemovePropertiesError.is_property_group_lookupc                 C   r;   r   r   r3   r   r   r   r   Q  rG   z/RemovePropertiesError.get_property_group_lookupc                    r   r
   )r   r   r   r   r   r   r   r   [  r   z1RemovePropertiesError._process_custom_annotations
r    r!   r"   r#   rA   r   r   r   r   r'   r   r   r   r   r   7      


r   c                       rd   )RemoveTemplateArga&  
    :ivar file_properties.RemoveTemplateArg.template_id: An identifier for a
        template created by
        :meth:`dropbox.dropbox_client.Dropbox.file_properties_templates_add_for_user`
        or
        :meth:`dropbox.dropbox_client.Dropbox.file_properties_templates_add_for_team`.
    rf   TNc                 C   rg   r
   rh   rj   r   r   r   r   o  rk   zRemoveTemplateArg.__init__ri   c                    r   r
   )r   r   r   r   r   r   r   r   x  r   z-RemoveTemplateArg._process_custom_annotationsr
   rl   r   r   r   r   r   `  rm   r   c                       r   )TemplateFilterBasea  
    This class acts as a tagged union. Only one of the ``is_*`` methods will
    return true. To get the associated value of a tag (if one exists), use the
    corresponding ``get_*`` method.

    :ivar list of [str] file_properties.TemplateFilterBase.filter_some: Only
        templates with an ID in the supplied list will be returned (a subset of
        templates will be returned).
    r*   Nc                 C   r+   )z
        Create an instance of this class set to the ``filter_some`` tag with
        value ``val``.

        :param list of [str] val:
        :rtype: TemplateFilterBase
        filter_somer   r-   r   r   r   r     r0   zTemplateFilterBase.filter_somec                 C   r1   )zR
        Check if the union tag is ``filter_some``.

        :rtype: bool
        r   r2   r3   r   r   r   is_filter_some  r5   z!TemplateFilterBase.is_filter_somec                 C   r1   r9   r2   r3   r   r   r   r:     r5   zTemplateFilterBase.is_otherc                 C   r;   )z
        Only templates with an ID in the supplied list will be returned (a
        subset of templates will be returned).

        Only call this if :meth:`is_filter_some` is true.

        :rtype: list of [str]
        ztag 'filter_some' not set)r   r<   r=   r3   r   r   r   get_filter_some  s   	z"TemplateFilterBase.get_filter_somec                    r   r
   )r   r   r   r   r   r   r   r     r   z.TemplateFilterBase._process_custom_annotations)r    r!   r"   r#   r@   r*   rA   r   r   r:   r   r   r'   r   r   r   r   r   }  s    


r   c                       rO   )TemplateFilteraT  
    This class acts as a tagged union. Only one of the ``is_*`` methods will
    return true. To get the associated value of a tag (if one exists), use the
    corresponding ``get_*`` method.

    :ivar file_properties.TemplateFilter.filter_none: No templates will be
        filtered from the result (all templates will be returned).
    Nc                 C   r1   )zR
        Check if the union tag is ``filter_none``.

        :rtype: bool
        filter_noner2   r3   r   r   r   is_filter_none  r5   zTemplateFilter.is_filter_nonec                    r   r
   )r   r   r   r   r   r   r   r     r   z*TemplateFilter._process_custom_annotations)r    r!   r"   r#   r   r   r   r'   r   r   r   r   r     rS   r   c                       sH   e Zd ZdZdZdZdZdZdd Zdd Z	dd	 Z
 fd
dZ  ZS )TemplateOwnerTypea  
    This class acts as a tagged union. Only one of the ``is_*`` methods will
    return true. To get the associated value of a tag (if one exists), use the
    corresponding ``get_*`` method.

    :ivar file_properties.TemplateOwnerType.user: Template will be associated
        with a user.
    :ivar file_properties.TemplateOwnerType.team: Template will be associated
        with a team.
    r*   Nc                 C   r1   )zK
        Check if the union tag is ``user``.

        :rtype: bool
        userr2   r3   r   r   r   is_user  r5   zTemplateOwnerType.is_userc                 C   r1   )zK
        Check if the union tag is ``team``.

        :rtype: bool
        teamr2   r3   r   r   r   is_team  r5   zTemplateOwnerType.is_teamc                 C   r1   r9   r2   r3   r   r   r   r:     r5   zTemplateOwnerType.is_otherc                    r   r
   )r   r   r   r   r   r   r   r     r   z-TemplateOwnerType._process_custom_annotations)r    r!   r"   r#   r@   r   r   r*   r   r   r:   r   r'   r   r   r   r   r     s    r   c                       r   )UpdatePropertiesArgz
    :ivar file_properties.UpdatePropertiesArg.path: A unique identifier for the
        file or folder.
    :ivar file_properties.UpdatePropertiesArg.update_property_groups: The
        property groups "delta" updates to apply.
    r   _update_property_groups_valueTNc                 C   r	   r
   )r   r   r   r   r   update_property_groups)r   r   r   r   r   r   r     r   zUpdatePropertiesArg.__init__r   r   c                    r   r
   )r   r   r   r   r   r   r   r   #  r   z/UpdatePropertiesArg._process_custom_annotationsr   )r    r!   r"   r#   r$   r%   r   r   r&   r   r   r   r'   r   r   r   r   r     s    


r   c                       r   )
UpdatePropertiesErrorr   c                 C   r+   )z
        Create an instance of this class set to the ``property_group_lookup``
        tag with value ``val``.

        :param LookUpPropertiesError val:
        :rtype: UpdatePropertiesError
        r   r   r-   r   r   r   r   /  r0   z+UpdatePropertiesError.property_group_lookupc                 C   r1   r   r2   r3   r   r   r   r   :  r5   z.UpdatePropertiesError.is_property_group_lookupc                 C   r;   r   r   r3   r   r   r   r   B  rG   z/UpdatePropertiesError.get_property_group_lookupc                    r   r
   )r   r   r   r   r   r   r   r   L  r   z1UpdatePropertiesError._process_custom_annotationsr   r   r   r   r   r   (  r   r   c                       sr   e Zd ZdZg dZdZ				dddZedZ	ejddd	Z
ejd
dd	Zejddd	Z fddZ  ZS )UpdateTemplateArga  
    :ivar file_properties.UpdateTemplateArg.template_id: An identifier for
        template added by  See
        :meth:`dropbox.dropbox_client.Dropbox.file_properties_templates_add_for_user`
        or
        :meth:`dropbox.dropbox_client.Dropbox.file_properties_templates_add_for_team`.
    :ivar file_properties.UpdateTemplateArg.name: A display name for the
        template. template names can be up to 256 bytes.
    :ivar file_properties.UpdateTemplateArg.description: Description for the new
        template. Template descriptions can be up to 1024 bytes.
    :ivar file_properties.UpdateTemplateArg.add_fields: Property field templates
        to be added to the group template. There can be up to 32 properties in a
        single template.
    )rf   rU   rV   _add_fields_valueTNc                 C   r   r
   )
r   r   rf   rU   rV   r   ri   rY   rZ   
add_fields)r   ri   rY   rZ   r   r   r   r   r   j  r   zUpdateTemplateArg.__init__ri   rY   r   rZ   r   c                    r   r
   )r   r   r   r   r   r   r   r     r   z-UpdateTemplateArg._process_custom_annotationsr   )r    r!   r"   r#   r$   r%   r   r   r&   ri   rY   rZ   r   r   r'   r   r   r   r   r   Q  s    

r   c                       rd   )UpdateTemplateResulta0  
    :ivar file_properties.UpdateTemplateResult.template_id: An identifier for
        template added by route  See
        :meth:`dropbox.dropbox_client.Dropbox.file_properties_templates_add_for_user`
        or
        :meth:`dropbox.dropbox_client.Dropbox.file_properties_templates_add_for_team`.
    rf   TNc                 C   rg   r
   rh   rj   r   r   r   r     rk   zUpdateTemplateResult.__init__ri   c                    r   r
   )r   r   r   r   r   r   r   r     r   z0UpdateTemplateResult._process_custom_annotationsr
   rl   r   r   r   r   r     rm   r      )
min_lengthz$/(.|[\r\n])*|id:.*|(ns:[0-9]+(/.*)?))patternz(/|ptid:).*)r   r   r   r   )r,   r7   r*   r7   r*   )r   rD   rD   )rI   rK   rM   rI   rK   rM   rQ   )rY   rZ   r[   rY   rZ   r[   ri   rr   )ru   r*   ru   )ry   r*   ry   )r|   r~   r   r   r7   r*   r~   r   r   )r   r   r   r   r   r   r   r   )Z	min_itemsr   r   r   )r   r*   r   )r   r*   )r   r   r   r   r   r   )r   r*   )r   r   r   r   r   r   r   r   )rY   rZ   r   r   )ri   r   r   r   r   )r   r*   r   r   r   )r   r*   r   )r   r   r*   r   r   r   )ri   rY   rZ   r   r   zproperties/addFapiZrpc)authhoststylezproperties/overwritezproperties/removezproperties/searchzproperties/search/continuezproperties/updateztemplates/add_for_teamztemplates/add_for_userztemplates/get_for_teamztemplates/get_for_userztemplates/list_for_teamztemplates/list_for_userztemplates/remove_for_teamztemplates/remove_for_userztemplates/update_for_teamztemplates/update_for_userN)r#   
__future__r   Zstone.backends.python_rsrcr   r   r   ZbvStructr   ZAddPropertiesArg_validatorUnionr)   ZTemplateError_validatorrB   ZPropertiesError_validatorrH   Z#InvalidPropertyGroupError_validatorrP   ZAddPropertiesError_validatorrT   ZPropertyGroupTemplate_validatorr`   ZAddTemplateArg_validatorre   ZAddTemplateResult_validatorrn   ZGetTemplateArg_validatorro   ZGetTemplateResult_validatorrp   ZListTemplateResult_validatorrt   ZLogicalOperator_validatorrx   ZLookUpPropertiesError_validatorr{   ZLookupError_validatorr   ZModifyTemplateError_validatorr   Z#OverwritePropertyGroupArg_validatorr   ZPropertiesSearchArg_validatorr   Z%PropertiesSearchContinueArg_validatorr   Z'PropertiesSearchContinueError_validatorr   ZPropertiesSearchError_validatorr   ZPropertiesSearchMatch_validatorr   ZPropertiesSearchMode_validatorr   ZPropertiesSearchQuery_validatorr   Z PropertiesSearchResult_validatorr   ZPropertyField_validatorr   ZPropertyFieldTemplate_validatorr   ZPropertyGroup_validatorr   ZPropertyGroupUpdate_validatorr   ZPropertyType_validatorr   ZRemovePropertiesArg_validatorr   ZRemovePropertiesError_validatorr   ZRemoveTemplateArg_validatorr   ZTemplateFilterBase_validatorr   ZTemplateFilter_validatorr   ZTemplateOwnerType_validatorr   ZUpdatePropertiesArg_validatorr   ZUpdatePropertiesError_validatorr   ZUpdateTemplateArg_validatorr   ZUpdateTemplateResult_validatorStringZId_validatorZPathOrId_validatorZ PropertiesSearchCursor_validatorZTemplateId_validatorr   	validatorListr   setZ_all_field_names_Z_all_fields_Z_template_not_found_validatorZVoidZ_restricted_content_validatorZ_other_validatorZ_tagmapr7   r*   Z_path_validatorZ_unsupported_folder_validatorupdaterD   Z#_property_field_too_large_validatorZ _does_not_fit_template_validatorZ$_duplicate_property_groups_validatorrI   rK   rM   Z(_property_group_already_exists_validatorrQ   rY   rZ   r[   unionri   rr   Z_or_operator_validatorru   Z#_property_group_not_found_validatorry   Z_malformed_path_validatorZ_not_found_validatorZ_not_file_validatorZ_not_folder_validatorr~   r   r   Z%_conflicting_property_names_validatorZ_too_many_properties_validatorZ_too_many_templates_validatorZ'_template_attribute_too_large_validatorr   r   r   r   r   r   r   Z_reset_validatorr   Z _property_group_lookup_validatorr   Booleanr   Z_field_name_validatorr   r   r   r   ZNullabler   r   r   r   Z_string_validatorr   r   Z_filter_some_validatorZ_filter_none_validatorr   Z_user_validatorZ_team_validatorr   r   r   r   defaultZRouteZproperties_addZproperties_overwriteZproperties_removeZproperties_searchZproperties_search_continueZproperties_updateZtemplates_add_for_teamZtemplates_add_for_userZtemplates_get_for_teamZtemplates_get_for_userZtemplates_list_for_teamZtemplates_list_for_userZtemplates_remove_for_teamZtemplates_remove_for_userZtemplates_update_for_teamZtemplates_update_for_userZROUTESr   r   r   r   <module>   s  
#
D
5
2

/





%
#
e
>
#
!

%
3
6
8
,
$
%
0
'
-
%
%
'

:

/
"
'
:


































	



































































	
