o
    È6÷dö  ã                   @   s’   d dl m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eje
j_e ¡ e
j_eddgƒe
_de
jjfde
jjfge
_i Zd	S )
é    )Úunicode_literals)Ú
stone_base)Ústone_validators)Úcommonc                       sN   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 )ÚSecondaryEmailzÜ
    :ivar secondary_emails.SecondaryEmail.email: Secondary email address.
    :ivar secondary_emails.SecondaryEmail.is_verified: Whether or not the
        secondary email address is verified to be owned by a user.
    Ú_email_valueÚ_is_verified_valueTNc                 C   s4   t j| _t j| _|d ur|| _|d ur|| _d S d S ©N)ÚbbZNOT_SETr   r   ÚemailÚis_verified)Úselfr   r   © r   úoC:\Users\jesus\OneDrive\Desktop\erpjis_fastapi\backend\jisbackend\Lib\site-packages\dropbox/secondary_emails.pyÚ__init__   s   
ÿzSecondaryEmail.__init__r   r   c                    s   t t| ƒ |||¡ d S r	   )Úsuperr   Ú_process_custom_annotations)r   Zannotation_typeZ
field_pathÚ	processor©Ú	__class__r   r   r   *   s   z*SecondaryEmail._process_custom_annotations)NN)Ú__name__Ú
__module__Ú__qualname__Ú__doc__Ú	__slots__Z_has_required_fieldsr   r
   Ú	Attributer   r   r   Ú__classcell__r   r   r   r   r      s    þ
þ

r   r   r   N)Ú
__future__r   Zstone.backends.python_rsrcr   r
   r   ZbvZdropboxr   ÚStructr   ZSecondaryEmail_validatorZEmailAddress_validatorr   Ú	validatorÚBooleanr   ÚsetZ_all_field_names_Z_all_fields_ZROUTESr   r   r   r   Ú<module>   s    
!
þ

þ