
    x
h                     4   d dl m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 G d dej                        Z ej                  e      Z ej                  ej                         e
j"                  _         ed	g      e
_        d	e
j"                  j$                  fge
_         ej                  ej                         e_         ej.                         e_        ej,                  ej0                  d
e_         ed      e_         ej6                  ddd ej.                          ej.                          ej.                         dddd      Z ej6                  ddde ej.                         edddd      ZeedZy)    )unicode_literals)
stone_base)stone_validators)commonc                   Z     e Zd ZdZdgZdZ	 ddZ ej                  d      Z	 fdZ
 xZS )DeleteManualContactsArgzx
    :ivar contacts.DeleteManualContactsArg.email_addresses: List of manually
        added contacts to be deleted.
    _email_addresses_valueTc                 B    t         j                  | _        ||| _        y y N)bbNOT_SETr	   email_addresses)selfr   s     U/var/www/html/lionshead-backend/venv/lib/python3.12/site-packages/dropbox/contacts.py__init__z DeleteManualContactsArg.__init__   s!    &(jj#&#2D  '    r   c                 0    t         t        |   |||       y r   )superr   _process_custom_annotationsr   annotation_type
field_path	processor	__class__s       r   r   z3DeleteManualContactsArg._process_custom_annotations!   s    %tHZdfopr   r   )__name__
__module____qualname____doc__	__slots___has_required_fieldsr   r   	Attributer   r   __classcell__r   s   @r   r   r      sE     	!I   "&3 #bll#45Oq qr   r   c                   L     e Zd ZdZdZdZed        Zd Zd Z	d Z
 fdZ xZS )	DeleteManualContactsErrora  
    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] contacts.DeleteManualContactsError.contacts_not_found:
        Can't delete contacts from this list. Make sure the list only has
        manually added contacts. The deletion was cancelled.
    otherNc                      | d|      S )z
        Create an instance of this class set to the ``contacts_not_found`` tag
        with value ``val``.

        :param list of [str] val:
        :rtype: DeleteManualContactsError
        contacts_not_found )clsvals     r   r(   z,DeleteManualContactsError.contacts_not_found5   s     '--r   c                      | j                   dk(  S )zY
        Check if the union tag is ``contacts_not_found``.

        :rtype: bool
        r(   _tagr   s    r   is_contacts_not_foundz/DeleteManualContactsError.is_contacts_not_found@   s     yy000r   c                      | j                   dk(  S )zL
        Check if the union tag is ``other``.

        :rtype: bool
        r&   r-   r/   s    r   is_otherz"DeleteManualContactsError.is_otherH   s     yyG##r   c                 P    | j                         st        d      | j                  S )z
        Can't delete contacts from this list. Make sure the list only has
        manually added contacts. The deletion was cancelled.

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

        :rtype: list of [str]
        z tag 'contacts_not_found' not set)r0   AttributeError_valuer/   s    r   get_contacts_not_foundz0DeleteManualContactsError.get_contacts_not_foundP   s&     ))+ !CDD{{r   c                 0    t         t        |   |||       y r   )r   r%   r   r   s       r   r   z5DeleteManualContactsError._process_custom_annotations]   s    'J?\fhqrr   )r   r   r   r   
_catch_allr&   classmethodr(   r0   r2   r6   r   r"   r#   s   @r   r%   r%   &   sA     JE. .1$s sr   r%   r   )r(   r&   r&   delete_manual_contacts   Fuserapirpc)authhoststyledelete_manual_contacts_batch)r:   rB   N)
__future__r   stone.backends.python_rsrcr   r   r   bvdropboxr   Structr   !DeleteManualContactsArg_validatorUnionr%   #DeleteManualContactsError_validatorListEmailAddress_validatorr   	validatorset_all_field_names__all_fields__contacts_not_found_validatorVoid_other_validator_tagmapr&   Router:   rB   ROUTESr)   r   r   <module>rW      s   ( 7 = qbii q0 %.BII.E$F !8s 8st '/bhh/H&I #4;BGGF<Y<Y4Z  ' ' 1,/1B0C,D  )):<S<c<c<m<m(n'o  $:A"''&B_B_:`  7-4RWWY  *3QQ&77%  !
 #<G"D  !	BGGIBGGIBGGI
   (rxx"	%BGGI'
   5$@
r   