
    x
h                        d Z ddlmZ ddlmZ ddlmZ  G d dej                        Z	 ej                  e	      Z
 ej                  dd      Z ej                         e	_         ej                         e	_         ej                         e	_        e	j                  e	j                  e	j                   d	e	_         e	d
      e	_         e	d      e	_         e	d      e	_        i Zy)zL
This namespace contains common data types used within the users namespace.
    )unicode_literals)
stone_base)stone_validatorsc                   D     e Zd ZdZdZdZdZdZd Zd Z	d Z
 fdZ xZS )AccountTypea  
    What type of account this user has.

    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 users_common.AccountType.basic: The basic account type.
    :ivar users_common.AccountType.pro: The Dropbox Pro account type.
    :ivar users_common.AccountType.business: The Dropbox Business account type.
    Nc                      | j                   dk(  S )zL
        Check if the union tag is ``basic``.

        :rtype: bool
        basic_tagselfs    Y/var/www/html/lionshead-backend/venv/lib/python3.12/site-packages/dropbox/users_common.pyis_basiczAccountType.is_basic#   s     yyG##    c                      | j                   dk(  S )zJ
        Check if the union tag is ``pro``.

        :rtype: bool
        pror
   r   s    r   is_prozAccountType.is_pro+   s     yyE!!r   c                      | j                   dk(  S )zO
        Check if the union tag is ``business``.

        :rtype: bool
        businessr
   r   s    r   is_businesszAccountType.is_business3   s     yyJ&&r   c                 0    t         t        |   |||       y )N)superr   _process_custom_annotations)r   annotation_type
field_path	processor	__class__s       r   r   z'AccountType._process_custom_annotations;   s    k4<_jZcdr   )__name__
__module____qualname____doc__
_catch_allr	   r   r   r   r   r   r   __classcell__)r   s   @r   r   r      s9    
 JE
CH$"'e er   r   (   )
min_length
max_length)r	   r   r   r	   r   r   N)r!   
__future__r   stone.backends.python_rsrcr   bbr   bvUnionr   AccountType_validatorStringAccountId_validatorVoid_basic_validator_pro_validator_business_validator_tagmapr	   r   r   ROUTES r   r   <module>r6      s    ( 7 =.e"(( .e` !- bii2"= &rwwy $RWWY ")"'') ))%%//   ( e$":. 
r   