o
    È6÷dW ã                   @   sX  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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ƒ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ƒ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ƒ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 d0d1„ d1ejƒZ4e e4¡Z5G d2d3„ d3ejƒZ6e e6¡Z7G d4d5„ d5ejƒZ8e e8¡Z9G d6d7„ d7ej:ƒZ;e :e;¡Z<G d8d9„ d9ej:ƒZ=e :e=¡Z>G d:d;„ d;ejƒZ?e e?¡Z@G d<d=„ d=ejƒZAe eA¡ZBe C¡ e_De C¡ e_Ee C¡ e_FejDejEejFd>œe_Ged?ƒe_Hed@ƒe_IedAƒe_Je C¡ e
_De C¡ e
_Ee C¡ e
_Ke C¡ e
_Fe
jDe
jEe
jKe
jFdBœe
_Ge
d?ƒe
_He
d@ƒe
_Ie
dCƒe
_Le
dAƒe
_Je C¡ e_De C¡ e_Me C¡ e_Ne C¡ e_FejDejMejNejFdDœe_Ged?ƒe_HedEƒe_OedFƒe_PedAƒe_Je C¡ e_De C¡ e_Ee C¡ e_Ke C¡ e_FejDejEejKejFdBœe_Ged?ƒe_Hed@ƒe_IedCƒe_LedAƒe_Je C¡ e_De C¡ e_Ee C¡ e_FejDejEejFd>œe_Ged?ƒe_Hed@ƒe_IedAƒe_Je C¡ e_De C¡ e_Ee C¡ e_Ke C¡ e_FejDejEejKejFdBœe_Ged?ƒe_Hed@ƒe_IedCƒe_LedAƒe_Je C¡ e_Qe C¡ e_RejQejRdGœe_GedHƒe_SedIƒe_Te C¡ e_De C¡ e_Ee C¡ e_FejDejEejFd>œe_Ged?ƒe_Hed@ƒe_IedAƒe_Je C¡ e_Ue C¡ e_Ve C¡ e_FejUejVejFdJœe_GedKƒe_WedLƒe_XedAƒe_Je C¡ e_Ye C¡ e_Ze C¡ e_FejYejZejFdMœe_GedNƒe_[edOƒe_\edAƒe_Je C¡ e_De C¡ e_Ee C¡ e_FejDejEejFd>œe_Ged?ƒe_Hed@ƒe_IedAƒe_Je C¡ e_De C¡ e_Ee C¡ e_]e C¡ e_FejDejEej]ejFdPœe_Ged?ƒe_Hed@ƒe_IedQƒe_^edAƒe_Je C¡ e _De C¡ e _Ee C¡ e _Fe jDe jEe jFd>œe _Ge d?ƒe _He d@ƒe _Ie dAƒe _Je C¡ e"__e C¡ e"_`e C¡ e"_ae C¡ e"_Fe"j_e"j`e"jae"jFdRœe"_Ge"dSƒe"_be"dTƒe"_ce"dUƒe"_de"dAƒe"_Je C¡ e$_ee C¡ e$_fe C¡ e$_ge$jee$jfe$jgdVœe$_Ge$dWƒe$_he$dXƒe$_ie$dYƒe$_je C¡ e&_ke C¡ e&_le C¡ e&_Fe&jke&jle&jFdZœe&_Ge&d[ƒe&_me&d\ƒe&_ne&dAƒe&_Je C¡ e(_oe C¡ e(_pe C¡ e(_Fe(joe(jpe(jFd]œe(_Ge(d^ƒe(_qe(d_ƒe(_re(dAƒe(_Je C¡ e*_se C¡ e*_te C¡ e*_ue C¡ e*_ve C¡ e*_Fe*jse*jte*jue*jve*jFd`œe*_Ge*daƒe*_we*dbƒe*_xe*dcƒe*_ye*ddƒe*_ze*dAƒe*_Je C¡ e,_De C¡ e,_Ee C¡ e,_Fe,jDe,jEe,jFd>œe,_Ge,d?ƒe,_He,d@ƒe,_Ie,dAƒe,_Je C¡ e._De C¡ e._Ee C¡ e._Fe.jDe.jEe.jFd>œe._Ge.d?ƒe._He.d@ƒe._Ie.dAƒe._Je C¡ e0_De C¡ e0_Ee C¡ e0_Fe0jDe0jEe0jFd>œe0_Ge0d?ƒe0_He0d@ƒe0_Ie0dAƒe0_Je C¡ e2_{e C¡ e2_|e C¡ e2_Fe2j{e2j|e2jFdeœe2_Ge2dfƒe2_}e2dgƒe2_~e2dAƒe2_Je C¡ e4_De C¡ e4_Ee C¡ e4_Fe4jDe4jEe4jFd>œe4_Ge4d?ƒe4_He4d@ƒe4_Ie4dAƒe4_Je C¡ e6_De C¡ e6_Me C¡ e6_Ne C¡ e6_Fe6jDe6jMe6jNe6jFdDœe6_Ge6d?ƒe6_He6dEƒe6_Oe6dFƒe6_Pe6dAƒe6_Je C¡ e8_De C¡ e8_Ee C¡ e8_Fe8jDe8jEe8jFd>œe8_Ge8d?ƒe8_He8d@ƒe8_Ie8dAƒe8_Je>e;j_€ee;j_€ee;j‚_€e9e;jƒ_€e„g dh¢ƒe;_…die;jj€fdje;jj€fdke;j‚j€fdle;jƒj€fge;_†e)e=j‡_€e'e=jˆ_€e+e=j‰_€ee=jŠ_€e„g dm¢ƒe=_…dne=j‡j€fdoe=jˆj€fdpe=j‰j€fdqe=jŠj€fge=_†e C¡ e?_‹e C¡ e?_Œe C¡ e?_Fe?j‹e?jŒe?jFdrœe?_Ge?dsƒe?_e?dtƒe?_Že?dAƒe?_Je C¡ eA_Ne C¡ eA_Me C¡ eA_De C¡ eA_FeAjNeAjMeAjDeAjFduœeA_GeAdFƒeA_PeAdEƒeA_OeAd?ƒeA_HeAdAƒeA_Ji ZdvS )wé    )Úunicode_literals)Ú
stone_base)Ústone_validatorsc                       óH   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 )ÚCameraUploadsPolicyStateaš  
    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 team_policies.CameraUploadsPolicyState.disabled: Background camera
        uploads are disabled.
    :ivar team_policies.CameraUploadsPolicyState.enabled: Background camera
        uploads are allowed.
    ÚotherNc                 C   ó
   | j dkS ©zO
        Check if the union tag is ``disabled``.

        :rtype: bool
        Údisabled©Z_tag©Úself© r   úlC:\Users\jesus\OneDrive\Desktop\erpjis_fastapi\backend\jisbackend\Lib\site-packages\dropbox/team_policies.pyÚis_disabled   ó   
z$CameraUploadsPolicyState.is_disabledc                 C   r   ©zN
        Check if the union tag is ``enabled``.

        :rtype: bool
        Úenabledr   r   r   r   r   Ú
is_enabled&   r   z#CameraUploadsPolicyState.is_enabledc                 C   r   ©zL
        Check if the union tag is ``other``.

        :rtype: bool
        r   r   r   r   r   r   Úis_other.   r   z!CameraUploadsPolicyState.is_otherc                    ó   t t| ƒ |||¡ d S ©N)Úsuperr   Ú_process_custom_annotations©r   Zannotation_typeZ
field_pathÚ	processor©Ú	__class__r   r   r   6   ó   z4CameraUploadsPolicyState._process_custom_annotations©Ú__name__Ú
__module__Ú__qualname__Ú__doc__Ú
_catch_allr
   r   r   r   r   r   r   Ú__classcell__r   r   r   r   r   
   ó    r   c                       óT   e Zd 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 )ÚComputerBackupPolicyStatea%  
    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 team_policies.ComputerBackupPolicyState.disabled: Computer Backup
        feature is disabled.
    :ivar team_policies.ComputerBackupPolicyState.enabled: Computer Backup
        feature is enabled.
    :ivar team_policies.ComputerBackupPolicyState.default: Computer Backup
        defaults to ON for SSB teams, and OFF for Enterprise teams.
    r   Nc                 C   r   r	   r   r   r   r   r   r   S   r   z%ComputerBackupPolicyState.is_disabledc                 C   r   r   r   r   r   r   r   r   [   r   z$ComputerBackupPolicyState.is_enabledc                 C   r   ©zN
        Check if the union tag is ``default``.

        :rtype: bool
        Údefaultr   r   r   r   r   Ú
is_defaultc   r   z$ComputerBackupPolicyState.is_defaultc                 C   r   r   r   r   r   r   r   r   k   r   z"ComputerBackupPolicyState.is_otherc                    r   r   )r   r)   r   r   r   r   r   r   s   r   z5ComputerBackupPolicyState._process_custom_annotations©r!   r"   r#   r$   r%   r
   r   r+   r   r   r   r,   r   r   r&   r   r   r   r   r)   ;   ó    r)   c                       r(   )ÚEmmStateaŒ  
    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 team_policies.EmmState.disabled: Emm token is disabled.
    :ivar team_policies.EmmState.optional: Emm token is optional.
    :ivar team_policies.EmmState.required: Emm token is required.
    r   Nc                 C   r   r	   r   r   r   r   r   r      r   zEmmState.is_disabledc                 C   r   ©zO
        Check if the union tag is ``optional``.

        :rtype: bool
        Úoptionalr   r   r   r   r   Úis_optional•   r   zEmmState.is_optionalc                 C   r   ©zO
        Check if the union tag is ``required``.

        :rtype: bool
        Úrequiredr   r   r   r   r   Úis_required   r   zEmmState.is_requiredc                 C   r   r   r   r   r   r   r   r   ¥   r   zEmmState.is_otherc                    r   r   )r   r/   r   r   r   r   r   r   ­   r   z$EmmState._process_custom_annotations©r!   r"   r#   r$   r%   r
   r1   r4   r   r   r2   r5   r   r   r&   r   r   r   r   r/   x   ó    
r/   c                       r(   )ÚExternalDriveBackupPolicyStatea,  
    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 team_policies.ExternalDriveBackupPolicyState.disabled: External Drive
        Backup feature is disabled.
    :ivar team_policies.ExternalDriveBackupPolicyState.enabled: External Drive
        Backup feature is enabled.
    :ivar team_policies.ExternalDriveBackupPolicyState.default: External Drive
        Backup default value based on team tier.
    r   Nc                 C   r   r	   r   r   r   r   r   r   Ê   r   z*ExternalDriveBackupPolicyState.is_disabledc                 C   r   r   r   r   r   r   r   r   Ò   r   z)ExternalDriveBackupPolicyState.is_enabledc                 C   r   r*   r   r   r   r   r   r,   Ú   r   z)ExternalDriveBackupPolicyState.is_defaultc                 C   r   r   r   r   r   r   r   r   â   r   z'ExternalDriveBackupPolicyState.is_otherc                    r   r   )r   r8   r   r   r   r   r   r   ê   r   z:ExternalDriveBackupPolicyState._process_custom_annotationsr-   r   r   r   r   r8   ²   r.   r8   c                       r   )ÚFileLockingPolicyStateaŠ  
    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 team_policies.FileLockingPolicyState.disabled: File locking feature is
        disabled.
    :ivar team_policies.FileLockingPolicyState.enabled: File locking feature is
        allowed.
    r   Nc                 C   r   r	   r   r   r   r   r   r     r   z"FileLockingPolicyState.is_disabledc                 C   r   r   r   r   r   r   r   r     r   z!FileLockingPolicyState.is_enabledc                 C   r   r   r   r   r   r   r   r     r   zFileLockingPolicyState.is_otherc                    r   r   )r   r9   r   r   r   r   r   r     r   z2FileLockingPolicyState._process_custom_annotationsr    r   r   r   r   r9   ï   r'   r9   c                       r(   )Ú FileProviderMigrationPolicyStateaf  
    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 team_policies.FileProviderMigrationPolicyState.disabled: Team admin
        has opted out of File Provider Migration for team members.
    :ivar team_policies.FileProviderMigrationPolicyState.enabled: Team admin has
        not opted out of File Provider Migration for team members.
    :ivar team_policies.FileProviderMigrationPolicyState.default: Team admin has
        default value based on team tier.
    r   Nc                 C   r   r	   r   r   r   r   r   r   8  r   z,FileProviderMigrationPolicyState.is_disabledc                 C   r   r   r   r   r   r   r   r   @  r   z+FileProviderMigrationPolicyState.is_enabledc                 C   r   r*   r   r   r   r   r   r,   H  r   z+FileProviderMigrationPolicyState.is_defaultc                 C   r   r   r   r   r   r   r   r   P  r   z)FileProviderMigrationPolicyState.is_otherc                    r   r   )r   r:   r   r   r   r   r   r   X  r   z<FileProviderMigrationPolicyState._process_custom_annotationsr-   r   r   r   r   r:      r.   r:   c                       s<   e Zd ZdZdZdZdZdd„ Zdd„ Z‡ fdd„Z	‡  Z
S )	ÚGroupCreationa’  
    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 team_policies.GroupCreation.admins_and_members: Team admins and
        members can create groups.
    :ivar team_policies.GroupCreation.admins_only: Only team admins can create
        groups.
    Nc                 C   r   )zY
        Check if the union tag is ``admins_and_members``.

        :rtype: bool
        Úadmins_and_membersr   r   r   r   r   Úis_admins_and_memberso  r   z#GroupCreation.is_admins_and_membersc                 C   r   )zR
        Check if the union tag is ``admins_only``.

        :rtype: bool
        Úadmins_onlyr   r   r   r   r   Úis_admins_onlyw  r   zGroupCreation.is_admins_onlyc                    r   r   )r   r;   r   r   r   r   r   r     r   z)GroupCreation._process_custom_annotations)r!   r"   r#   r$   r%   r<   r>   r=   r?   r   r&   r   r   r   r   r;   ]  s    r;   c                       r   )ÚOfficeAddInPolicyab  
    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 team_policies.OfficeAddInPolicy.disabled: Office Add-In is disabled.
    :ivar team_policies.OfficeAddInPolicy.enabled: Office Add-In is enabled.
    r   Nc                 C   r   r	   r   r   r   r   r   r   –  r   zOfficeAddInPolicy.is_disabledc                 C   r   r   r   r   r   r   r   r   ž  r   zOfficeAddInPolicy.is_enabledc                 C   r   r   r   r   r   r   r   r   ¦  r   zOfficeAddInPolicy.is_otherc                    r   r   )r   r@   r   r   r   r   r   r   ®  r   z-OfficeAddInPolicy._process_custom_annotationsr    r   r   r   r   r@   „  ó    	r@   c                       r   )ÚPaperDefaultFolderPolicyaì  
    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 team_policies.PaperDefaultFolderPolicy.everyone_in_team: Everyone in
        team will be the default option when creating a folder in Paper.
    :ivar team_policies.PaperDefaultFolderPolicy.invite_only: Invite only will
        be the default option when creating a folder in Paper.
    r   Nc                 C   r   )zW
        Check if the union tag is ``everyone_in_team``.

        :rtype: bool
        Úeveryone_in_teamr   r   r   r   r   Úis_everyone_in_teamÇ  r   z,PaperDefaultFolderPolicy.is_everyone_in_teamc                 C   r   )zR
        Check if the union tag is ``invite_only``.

        :rtype: bool
        Úinvite_onlyr   r   r   r   r   Úis_invite_onlyÏ  r   z'PaperDefaultFolderPolicy.is_invite_onlyc                 C   r   r   r   r   r   r   r   r   ×  r   z!PaperDefaultFolderPolicy.is_otherc                    r   r   )r   rB   r   r   r   r   r   r   ß  r   z4PaperDefaultFolderPolicy._process_custom_annotations)r!   r"   r#   r$   r%   rC   rE   r   rD   rF   r   r   r&   r   r   r   r   rB   ³  r'   rB   c                       r   )ÚPaperDeploymentPolicyaò  
    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 team_policies.PaperDeploymentPolicy.full: All team members have access
        to Paper.
    :ivar team_policies.PaperDeploymentPolicy.partial: Only whitelisted team
        members can access Paper. To see which user is whitelisted, check
        'is_paper_whitelisted' on 'account/info'.
    r   Nc                 C   r   )zK
        Check if the union tag is ``full``.

        :rtype: bool
        Úfullr   r   r   r   r   Úis_fullù  r   zPaperDeploymentPolicy.is_fullc                 C   r   )zN
        Check if the union tag is ``partial``.

        :rtype: bool
        Úpartialr   r   r   r   r   Ú
is_partial  r   z PaperDeploymentPolicy.is_partialc                 C   r   r   r   r   r   r   r   r   	  r   zPaperDeploymentPolicy.is_otherc                    r   r   )r   rG   r   r   r   r   r   r     r   z1PaperDeploymentPolicy._process_custom_annotations)r!   r"   r#   r$   r%   rH   rJ   r   rI   rK   r   r   r&   r   r   r   r   rG   ä  ó    rG   c                       r   )ÚPaperDesktopPolicya˜  
    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 team_policies.PaperDesktopPolicy.disabled: Do not allow team members
        to use Paper Desktop.
    :ivar team_policies.PaperDesktopPolicy.enabled: Allow team members to use
        Paper Desktop.
    r   Nc                 C   r   r	   r   r   r   r   r   r   *  r   zPaperDesktopPolicy.is_disabledc                 C   r   r   r   r   r   r   r   r   2  r   zPaperDesktopPolicy.is_enabledc                 C   r   r   r   r   r   r   r   r   :  r   zPaperDesktopPolicy.is_otherc                    r   r   )r   rM   r   r   r   r   r   r   B  r   z.PaperDesktopPolicy._process_custom_annotationsr    r   r   r   r   rM     r'   rM   c                       r(   )ÚPaperEnabledPolicya   
    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 team_policies.PaperEnabledPolicy.disabled: Paper is disabled.
    :ivar team_policies.PaperEnabledPolicy.enabled: Paper is enabled.
    :ivar team_policies.PaperEnabledPolicy.unspecified: Unspecified policy.
    r   Nc                 C   r   r	   r   r   r   r   r   r   \  r   zPaperEnabledPolicy.is_disabledc                 C   r   r   r   r   r   r   r   r   d  r   zPaperEnabledPolicy.is_enabledc                 C   r   )zR
        Check if the union tag is ``unspecified``.

        :rtype: bool
        Úunspecifiedr   r   r   r   r   Úis_unspecifiedl  r   z!PaperEnabledPolicy.is_unspecifiedc                 C   r   r   r   r   r   r   r   r   t  r   zPaperEnabledPolicy.is_otherc                    r   r   )r   rN   r   r   r   r   r   r   |  r   z.PaperEnabledPolicy._process_custom_annotations)r!   r"   r#   r$   r%   r
   r   rO   r   r   r   rP   r   r   r&   r   r   r   r   rN   G  r7   rN   c                       r   )ÚPasswordControlModea\  
    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 team_policies.PasswordControlMode.disabled: Password is disabled.
    :ivar team_policies.PasswordControlMode.enabled: Password is enabled.
    r   Nc                 C   r   r	   r   r   r   r   r   r   “  r   zPasswordControlMode.is_disabledc                 C   r   r   r   r   r   r   r   r   ›  r   zPasswordControlMode.is_enabledc                 C   r   r   r   r   r   r   r   r   £  r   zPasswordControlMode.is_otherc                    r   r   )r   rQ   r   r   r   r   r   r   «  r   z/PasswordControlMode._process_custom_annotationsr    r   r   r   r   rQ     rA   rQ   c                       r(   )ÚPasswordStrengthPolicyav  
    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 team_policies.PasswordStrengthPolicy.minimal_requirements: User
        passwords will adhere to the minimal password strength policy.
    :ivar team_policies.PasswordStrengthPolicy.moderate_password: User passwords
        will adhere to the moderate password strength policy.
    :ivar team_policies.PasswordStrengthPolicy.strong_password: User passwords
        will adhere to the very strong password strength policy.
    r   Nc                 C   r   )z[
        Check if the union tag is ``minimal_requirements``.

        :rtype: bool
        Úminimal_requirementsr   r   r   r   r   Úis_minimal_requirementsÈ  r   z.PasswordStrengthPolicy.is_minimal_requirementsc                 C   r   )zX
        Check if the union tag is ``moderate_password``.

        :rtype: bool
        Úmoderate_passwordr   r   r   r   r   Úis_moderate_passwordÐ  r   z+PasswordStrengthPolicy.is_moderate_passwordc                 C   r   )zV
        Check if the union tag is ``strong_password``.

        :rtype: bool
        Ústrong_passwordr   r   r   r   r   Úis_strong_passwordØ  r   z)PasswordStrengthPolicy.is_strong_passwordc                 C   r   r   r   r   r   r   r   r   à  r   zPasswordStrengthPolicy.is_otherc                    r   r   )r   rR   r   r   r   r   r   r   è  r   z2PasswordStrengthPolicy._process_custom_annotations)r!   r"   r#   r$   r%   rS   rU   rW   r   rT   rV   rX   r   r   r&   r   r   r   r   rR   °  r.   rR   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 )ÚRolloutMethodaÓ  
    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 team_policies.RolloutMethod.unlink_all: Unlink all.
    :ivar team_policies.RolloutMethod.unlink_most_inactive: Unlink devices with
        the most inactivity.
    :ivar team_policies.RolloutMethod.add_member_to_exceptions: Add member to
        Exceptions.
    Nc                 C   r   )zQ
        Check if the union tag is ``unlink_all``.

        :rtype: bool
        Ú
unlink_allr   r   r   r   r   Úis_unlink_all  r   zRolloutMethod.is_unlink_allc                 C   r   )z[
        Check if the union tag is ``unlink_most_inactive``.

        :rtype: bool
        Úunlink_most_inactiver   r   r   r   r   Úis_unlink_most_inactive
  r   z%RolloutMethod.is_unlink_most_inactivec                 C   r   )z_
        Check if the union tag is ``add_member_to_exceptions``.

        :rtype: bool
        Úadd_member_to_exceptionsr   r   r   r   r   Úis_add_member_to_exceptions  r   z)RolloutMethod.is_add_member_to_exceptionsc                    r   r   )r   rY   r   r   r   r   r   r     r   z)RolloutMethod._process_custom_annotations)r!   r"   r#   r$   r%   rZ   r\   r^   r[   r]   r_   r   r&   r   r   r   r   rY   í  rL   rY   c                       r   )ÚSharedFolderJoinPolicya/  
    Policy governing which shared folders a team member can join.

    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 team_policies.SharedFolderJoinPolicy.from_team_only: Team members can
        only join folders shared by teammates.
    :ivar team_policies.SharedFolderJoinPolicy.from_anyone: Team members can
        join any shared folder, including those shared by users outside the
        team.
    r   Nc                 C   r   )zU
        Check if the union tag is ``from_team_only``.

        :rtype: bool
        Úfrom_team_onlyr   r   r   r   r   Úis_from_team_only6  r   z(SharedFolderJoinPolicy.is_from_team_onlyc                 C   r   )zR
        Check if the union tag is ``from_anyone``.

        :rtype: bool
        Úfrom_anyoner   r   r   r   r   Úis_from_anyone>  r   z%SharedFolderJoinPolicy.is_from_anyonec                 C   r   r   r   r   r   r   r   r   F  r   zSharedFolderJoinPolicy.is_otherc                    r   r   )r   r`   r   r   r   r   r   r   N  r   z2SharedFolderJoinPolicy._process_custom_annotations)r!   r"   r#   r$   r%   ra   rc   r   rb   rd   r   r   r&   r   r   r   r   r`     s    r`   c                       r   )ÚSharedFolderMemberPolicya  
    Policy governing who can be a member of a folder shared by a team member.

    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 team_policies.SharedFolderMemberPolicy.team: Only a teammate can be a
        member of a folder shared by a team member.
    :ivar team_policies.SharedFolderMemberPolicy.anyone: Anyone can be a member
        of a folder shared by a team member.
    r   Nc                 C   r   )zK
        Check if the union tag is ``team``.

        :rtype: bool
        Úteamr   r   r   r   r   Úis_teami  r   z SharedFolderMemberPolicy.is_teamc                 C   r   )zM
        Check if the union tag is ``anyone``.

        :rtype: bool
        Úanyoner   r   r   r   r   Ú	is_anyoneq  r   z"SharedFolderMemberPolicy.is_anyonec                 C   r   r   r   r   r   r   r   r   y  r   z!SharedFolderMemberPolicy.is_otherc                    r   r   )r   re   r   r   r   r   r   r     r   z4SharedFolderMemberPolicy._process_custom_annotations)r!   r"   r#   r$   r%   rf   rh   r   rg   ri   r   r   r&   r   r   r   r   re   S  s    re   c                       s`   e Zd Zd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dd„ Z‡ fdd„Z‡  ZS )ÚSharedLinkCreatePolicyaƒ  
    Policy governing the visibility of shared links. This policy can apply to
    newly created shared links, or all shared links.

    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 team_policies.SharedLinkCreatePolicy.default_public: By default,
        anyone can access newly created shared links. No login will be required
        to access the shared links unless overridden.
    :ivar team_policies.SharedLinkCreatePolicy.default_team_only: By default,
        only members of the same team can access newly created shared links.
        Login will be required to access the shared links unless overridden.
    :ivar team_policies.SharedLinkCreatePolicy.team_only: Only members of the
        same team can access all shared links. Login will be required to access
        all shared links.
    :ivar team_policies.SharedLinkCreatePolicy.default_no_one: Only people
        invited can access newly created links. Login will be required to access
        the shared links unless overridden.
    r   Nc                 C   r   )zU
        Check if the union tag is ``default_public``.

        :rtype: bool
        Údefault_publicr   r   r   r   r   Úis_default_public©  r   z(SharedLinkCreatePolicy.is_default_publicc                 C   r   )zX
        Check if the union tag is ``default_team_only``.

        :rtype: bool
        Údefault_team_onlyr   r   r   r   r   Úis_default_team_only±  r   z+SharedLinkCreatePolicy.is_default_team_onlyc                 C   r   )zP
        Check if the union tag is ``team_only``.

        :rtype: bool
        Ú	team_onlyr   r   r   r   r   Úis_team_only¹  r   z#SharedLinkCreatePolicy.is_team_onlyc                 C   r   )zU
        Check if the union tag is ``default_no_one``.

        :rtype: bool
        Údefault_no_oner   r   r   r   r   Úis_default_no_oneÁ  r   z(SharedLinkCreatePolicy.is_default_no_onec                 C   r   r   r   r   r   r   r   r   É  r   zSharedLinkCreatePolicy.is_otherc                    r   r   )r   rj   r   r   r   r   r   r   Ñ  r   z2SharedLinkCreatePolicy._process_custom_annotations)r!   r"   r#   r$   r%   rk   rm   ro   rq   r   rl   rn   rp   rr   r   r   r&   r   r   r   r   rj   †  s    rj   c                       r   )ÚShowcaseDownloadPolicya¨  
    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 team_policies.ShowcaseDownloadPolicy.disabled: Do not allow files to
        be downloaded from Showcases.
    :ivar team_policies.ShowcaseDownloadPolicy.enabled: Allow files to be
        downloaded from Showcases.
    r   Nc                 C   r   r	   r   r   r   r   r   r   ê  r   z"ShowcaseDownloadPolicy.is_disabledc                 C   r   r   r   r   r   r   r   r   ò  r   z!ShowcaseDownloadPolicy.is_enabledc                 C   r   r   r   r   r   r   r   r   ú  r   zShowcaseDownloadPolicy.is_otherc                    r   r   )r   rs   r   r   r   r   r   r     r   z2ShowcaseDownloadPolicy._process_custom_annotationsr    r   r   r   r   rs   Ö  r'   rs   c                       r   )ÚShowcaseEnabledPolicya`  
    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 team_policies.ShowcaseEnabledPolicy.disabled: Showcase is disabled.
    :ivar team_policies.ShowcaseEnabledPolicy.enabled: Showcase is enabled.
    r   Nc                 C   r   r	   r   r   r   r   r   r     r   z!ShowcaseEnabledPolicy.is_disabledc                 C   r   r   r   r   r   r   r   r   !  r   z ShowcaseEnabledPolicy.is_enabledc                 C   r   r   r   r   r   r   r   r   )  r   zShowcaseEnabledPolicy.is_otherc                    r   r   )r   rt   r   r   r   r   r   r   1  r   z1ShowcaseEnabledPolicy._process_custom_annotationsr    r   r   r   r   rt     rA   rt   c                       r   )ÚShowcaseExternalSharingPolicyaÐ  
    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 team_policies.ShowcaseExternalSharingPolicy.disabled: Do not allow
        showcases to be shared with people not on the team.
    :ivar team_policies.ShowcaseExternalSharingPolicy.enabled: Allow showcases
        to be shared with people not on the team.
    r   Nc                 C   r   r	   r   r   r   r   r   r   J  r   z)ShowcaseExternalSharingPolicy.is_disabledc                 C   r   r   r   r   r   r   r   r   R  r   z(ShowcaseExternalSharingPolicy.is_enabledc                 C   r   r   r   r   r   r   r   r   Z  r   z&ShowcaseExternalSharingPolicy.is_otherc                    r   r   )r   ru   r   r   r   r   r   r   b  r   z9ShowcaseExternalSharingPolicy._process_custom_annotationsr    r   r   r   r   ru   6  r'   ru   c                       r   )ÚSmartSyncPolicya¼  
    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 team_policies.SmartSyncPolicy.local: The specified content will be
        synced as local files by default.
    :ivar team_policies.SmartSyncPolicy.on_demand: The specified content will be
        synced as on-demand files by default.
    r   Nc                 C   r   )zL
        Check if the union tag is ``local``.

        :rtype: bool
        Úlocalr   r   r   r   r   Úis_local{  r   zSmartSyncPolicy.is_localc                 C   r   )zP
        Check if the union tag is ``on_demand``.

        :rtype: bool
        Ú	on_demandr   r   r   r   r   Úis_on_demandƒ  r   zSmartSyncPolicy.is_on_demandc                 C   r   r   r   r   r   r   r   r   ‹  r   zSmartSyncPolicy.is_otherc                    r   r   )r   rv   r   r   r   r   r   r   “  r   z+SmartSyncPolicy._process_custom_annotations)r!   r"   r#   r$   r%   rw   ry   r   rx   rz   r   r   r&   r   r   r   r   rv   g  r'   rv   c                       r   )ÚSmarterSmartSyncPolicyStatea   
    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 team_policies.SmarterSmartSyncPolicyState.disabled: Smarter Smart Sync
        feature is disabled.
    :ivar team_policies.SmarterSmartSyncPolicyState.enabled: Smarter Smart Sync
        feature is enabled.
    r   Nc                 C   r   r	   r   r   r   r   r   r   ¬  r   z'SmarterSmartSyncPolicyState.is_disabledc                 C   r   r   r   r   r   r   r   r   ´  r   z&SmarterSmartSyncPolicyState.is_enabledc                 C   r   r   r   r   r   r   r   r   ¼  r   z$SmarterSmartSyncPolicyState.is_otherc                    r   r   )r   r{   r   r   r   r   r   r   Ä  r   z7SmarterSmartSyncPolicyState._process_custom_annotationsr    r   r   r   r   r{   ˜  r'   r{   c                       r(   )Ú	SsoPolicya@  
    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 team_policies.SsoPolicy.disabled: Users will be able to sign in with
        their Dropbox credentials.
    :ivar team_policies.SsoPolicy.optional: Users will be able to sign in with
        either their Dropbox or single sign-on credentials.
    :ivar team_policies.SsoPolicy.required: Users will be required to sign in
        with their single sign-on credentials.
    r   Nc                 C   r   r	   r   r   r   r   r   r   á  r   zSsoPolicy.is_disabledc                 C   r   r0   r   r   r   r   r   r2   é  r   zSsoPolicy.is_optionalc                 C   r   r3   r   r   r   r   r   r5   ñ  r   zSsoPolicy.is_requiredc                 C   r   r   r   r   r   r   r   r   ù  r   zSsoPolicy.is_otherc                    r   r   )r   r|   r   r   r   r   r   r     r   z%SsoPolicy._process_custom_annotationsr6   r   r   r   r   r|   É  r.   r|   c                       r   )ÚSuggestMembersPolicya|  
    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 team_policies.SuggestMembersPolicy.disabled: Suggest members is
        disabled.
    :ivar team_policies.SuggestMembersPolicy.enabled: Suggest members is
        enabled.
    r   Nc                 C   r   r	   r   r   r   r   r   r     r   z SuggestMembersPolicy.is_disabledc                 C   r   r   r   r   r   r   r   r   "  r   zSuggestMembersPolicy.is_enabledc                 C   r   r   r   r   r   r   r   r   *  r   zSuggestMembersPolicy.is_otherc                    r   r   )r   r}   r   r   r   r   r   r   2  r   z0SuggestMembersPolicy._process_custom_annotationsr    r   r   r   r   r}     r'   r}   c                       óv   e Zd ZdZg d¢ZdZ				ddd„Zejdd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 )ÚTeamMemberPoliciesa  
    Policies governing team members.

    :ivar team_policies.TeamMemberPolicies.sharing: Policies governing sharing.
    :ivar team_policies.TeamMemberPolicies.emm_state: This describes the
        Enterprise Mobility Management (EMM) state for this team. This
        information can be used to understand if an organization is integrating
        with a third-party EMM vendor to further manage and apply restrictions
        upon the team's Dropbox usage on mobile devices. This is a new feature
        and in the future we'll be adding more new fields and additional
        documentation.
    :ivar team_policies.TeamMemberPolicies.office_addin: The admin policy around
        the Dropbox Office Add-In for this team.
    :ivar team_policies.TeamMemberPolicies.suggest_members_policy: The team
        policy on if teammembers are allowed to suggest users for admins to
        invite to the team.
    )Ú_sharing_valueÚ_emm_state_valueÚ_office_addin_valueÚ_suggest_members_policy_valueTNc                 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   )
ÚbbÚNOT_SETr€   r   r‚   rƒ   ÚsharingÚ	emm_stateÚoffice_addinÚsuggest_members_policy)r   r‡   rˆ   r‰   rŠ   r   r   r   Ú__init__S  ó   
ÿzTeamMemberPolicies.__init__r‡   ©Zuser_definedrˆ   r‰   rŠ   c                    r   r   )r   r   r   r   r   r   r   r   q  r   z.TeamMemberPolicies._process_custom_annotations©NNNN)r!   r"   r#   r$   Ú	__slots__Ú_has_required_fieldsr‹   r…   Ú	Attributer‡   rˆ   r‰   rŠ   r   r&   r   r   r   r   r   7  s    
ür   c                       r~   )ÚTeamSharingPoliciesa   
    Policies governing sharing within and outside of the team.

    :ivar team_policies.TeamSharingPolicies.shared_folder_member_policy: Who can
        join folders shared by team members.
    :ivar team_policies.TeamSharingPolicies.shared_folder_join_policy: Which
        shared folders team members can join.
    :ivar team_policies.TeamSharingPolicies.shared_link_create_policy: Who can
        view shared links owned by team members.
    :ivar team_policies.TeamSharingPolicies.group_creation_policy: Who can
        create groups.
    )Ú"_shared_folder_member_policy_valueÚ _shared_folder_join_policy_valueÚ _shared_link_create_policy_valueÚ_group_creation_policy_valueTNc                 C   r„   r   )
r…   r†   r“   r”   r•   r–   Úshared_folder_member_policyÚshared_folder_join_policyÚshared_link_create_policyÚgroup_creation_policy)r   r—   r˜   r™   rš   r   r   r   r‹     rŒ   zTeamSharingPolicies.__init__r—   r   r˜   r™   rš   c                    r   r   )r   r’   r   r   r   r   r   r   «  r   z/TeamSharingPolicies._process_custom_annotationsrŽ   )r!   r"   r#   r$   r   r   r‹   r…   r‘   r—   r˜   r™   rš   r   r&   r   r   r   r   r’   v  s    
ür’   c                       r   )ÚTwoStepVerificationPolicya¸  
    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 team_policies.TwoStepVerificationPolicy.require_tfa_enable: Enabled
        require two factor authorization.
    :ivar team_policies.TwoStepVerificationPolicy.require_tfa_disable: Disabled
        require two factor authorization.
    r   Nc                 C   r   )zY
        Check if the union tag is ``require_tfa_enable``.

        :rtype: bool
        Úrequire_tfa_enabler   r   r   r   r   Úis_require_tfa_enableÄ  r   z/TwoStepVerificationPolicy.is_require_tfa_enablec                 C   r   )zZ
        Check if the union tag is ``require_tfa_disable``.

        :rtype: bool
        Úrequire_tfa_disabler   r   r   r   r   Úis_require_tfa_disableÌ  r   z0TwoStepVerificationPolicy.is_require_tfa_disablec                 C   r   r   r   r   r   r   r   r   Ô  r   z"TwoStepVerificationPolicy.is_otherc                    r   r   )r   r›   r   r   r   r   r   r   Ü  r   z5TwoStepVerificationPolicy._process_custom_annotations)r!   r"   r#   r$   r%   rœ   rž   r   r   rŸ   r   r   r&   r   r   r   r   r›   °  r'   r›   c                       r(   )ÚTwoStepVerificationStatea  
    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 team_policies.TwoStepVerificationState.required: Enabled require two
        factor authorization.
    :ivar team_policies.TwoStepVerificationState.optional: Optional require two
        factor authorization.
    :ivar team_policies.TwoStepVerificationState.disabled: Disabled require two
        factor authorization.
    r   Nc                 C   r   r3   r   r   r   r   r   r5   ù  r   z$TwoStepVerificationState.is_requiredc                 C   r   r0   r   r   r   r   r   r2     r   z$TwoStepVerificationState.is_optionalc                 C   r   r	   r   r   r   r   r   r   	  r   z$TwoStepVerificationState.is_disabledc                 C   r   r   r   r   r   r   r   r     r   z!TwoStepVerificationState.is_otherc                    r   r   )r   r    r   r   r   r   r   r     r   z4TwoStepVerificationState._process_custom_annotations)r!   r"   r#   r$   r%   r4   r1   r
   r   r5   r2   r   r   r   r&   r   r   r   r   r    á  r.   r    )r
   r   r   r
   r   r   )r
   r   r+   r   r+   )r
   r1   r4   r   r1   r4   )r<   r>   r<   r>   )rC   rE   r   rC   rE   )rH   rJ   r   rH   rJ   )r
   r   rO   r   rO   )rS   rU   rW   r   rS   rU   rW   )rZ   r\   r^   rZ   r\   r^   )ra   rc   r   ra   rc   )rf   rh   r   rf   rh   )rk   rm   ro   rq   r   rk   rm   ro   rq   )rw   ry   r   rw   ry   )r‡   rˆ   r‰   rŠ   r‡   rˆ   r‰   rŠ   )r—   r˜   r™   rš   r—   r˜   r™   rš   )rœ   rž   r   rœ   rž   )r4   r1   r
   r   N)Ú
__future__r   Zstone.backends.python_rsrcr   r…   r   ZbvÚUnionr   Z"CameraUploadsPolicyState_validatorr)   Z#ComputerBackupPolicyState_validatorr/   ZEmmState_validatorr8   Z(ExternalDriveBackupPolicyState_validatorr9   Z FileLockingPolicyState_validatorr:   Z*FileProviderMigrationPolicyState_validatorr;   ZGroupCreation_validatorr@   ZOfficeAddInPolicy_validatorrB   Z"PaperDefaultFolderPolicy_validatorrG   ZPaperDeploymentPolicy_validatorrM   ZPaperDesktopPolicy_validatorrN   ZPaperEnabledPolicy_validatorrQ   ZPasswordControlMode_validatorrR   Z PasswordStrengthPolicy_validatorrY   ZRolloutMethod_validatorr`   Z SharedFolderJoinPolicy_validatorre   Z"SharedFolderMemberPolicy_validatorrj   Z SharedLinkCreatePolicy_validatorrs   Z ShowcaseDownloadPolicy_validatorrt   ZShowcaseEnabledPolicy_validatorru   Z'ShowcaseExternalSharingPolicy_validatorrv   ZSmartSyncPolicy_validatorr{   Z%SmarterSmartSyncPolicyState_validatorr|   ZSsoPolicy_validatorr}   ZSuggestMembersPolicy_validatorÚStructr   ZTeamMemberPolicies_validatorr’   ZTeamSharingPolicies_validatorr›   Z#TwoStepVerificationPolicy_validatorr    Z"TwoStepVerificationState_validatorZVoidZ_disabled_validatorZ_enabled_validatorZ_other_validatorZ_tagmapr
   r   r   Z_default_validatorr+   Z_optional_validatorZ_required_validatorr1   r4   Z_admins_and_members_validatorZ_admins_only_validatorr<   r>   Z_everyone_in_team_validatorZ_invite_only_validatorrC   rE   Z_full_validatorZ_partial_validatorrH   rJ   Z_unspecified_validatorrO   Z_minimal_requirements_validatorZ_moderate_password_validatorZ_strong_password_validatorrS   rU   rW   Z_unlink_all_validatorZ_unlink_most_inactive_validatorZ#_add_member_to_exceptions_validatorrZ   r\   r^   Z_from_team_only_validatorZ_from_anyone_validatorra   rc   Z_team_validatorZ_anyone_validatorrf   rh   Z_default_public_validatorZ_default_team_only_validatorZ_team_only_validatorZ_default_no_one_validatorrk   rm   ro   rq   Z_local_validatorZ_on_demand_validatorrw   ry   r‡   Ú	validatorrˆ   r‰   rŠ   ÚsetZ_all_field_names_Z_all_fields_r—   r˜   r™   rš   Z_require_tfa_enable_validatorZ_require_tfa_disable_validatorrœ   rž   ZROUTESr   r   r   r   Ú<module>   sö  
/
;
8
;
/
;
%
-
/
0
/
8
-
;
0
2
1
N
/
-
/
/
/
;
/
=
8
/
;


ý






ü







ü







ü






ý






ü





þ




ý





ý





ý





ý






ü






ý






ü






ý





ý





ý







û







ý





ý





ý





ý





ý






ü






ý






ü



ü


ý






ü



