
    x
h                    /   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 G d d	ej                        Z ej                  e      Z G d
 dej                        Z ej                  e      Z G d dej                        Z ej                  e      Z G d dej                        Z ej                  e      Z G d dej                        Z ej                  e      Z G d dej                        Z ej                  e      Z G d dej                        Z ej                  e      Z G d dej                        Z ej                  e      Z G d dej                        Z ej                  e      Z G d dej                        Z ej                  e      Z G d dej                        Z  ej                  e       Z! G d dej                        Z" ej                  e"      Z# G d  d!ej                        Z$ ej                  e$      Z% G d" d#ej                        Z& ej                  e&      Z' G d$ d%ej                        Z( ej                  e(      Z) G d& d'ej                        Z* ej                  e*      Z+ G d( d)ej                        Z, ej                  e,      Z- G d* d+ej                        Z. ej                  e.      Z/ G d, d-ej                        Z0 ej                  e0      Z1 G d. d/ej                        Z2 ej                  e2      Z3 G d0 d1ej                        Z4 ej                  e4      Z5 G d2 d3ej                        Z6 ej                  e6      Z7 G d4 d5ej                        Z8 ej                  e8      Z9 G d6 d7ej                        Z: ej                  e:      Z; G d8 d9ejx                        Z= ejx                  e=      Z> G d: d;ejx                        Z? ejx                  e?      Z@ G d< d=ej                        ZA ej                  eA      ZB G d> d?ej                        ZC ej                  eC      ZD ej                         e_F         ej                         e_G         ej                         e_H        ej                  ej                  ej                  d@e_I         edA      e_J         edB      e_K         edC      e_L         ej                         e
_F         ej                         e
_G         ej                         e
_M         ej                         e
_H        e
j                  e
j                  e
j                  e
j                  dDe
_I         e
dA      e
_J         e
dB      e
_K         e
dE      e
_N         e
dC      e
_L         ej                         e_F         ej                         e_O         ej                         e_P         ej                         e_H        ej                  ej                  ej                  ej                  dFe_I         edA      e_J         edG      e_Q         edH      e_R         edC      e_L         ej                         e_F         ej                         e_G         ej                         e_M         ej                         e_H        ej                  ej                  ej                  ej                  dDe_I         edA      e_J         edB      e_K         edE      e_N         edC      e_L         ej                         e_F         ej                         e_G         ej                         e_H        ej                  ej                  ej                  d@e_I         edA      e_J         edB      e_K         edC      e_L         ej                         e_F         ej                         e_G         ej                         e_M         ej                         e_H        ej                  ej                  ej                  ej                  dDe_I         edA      e_J         edB      e_K         edE      e_N         edC      e_L         ej                         e_S         ej                         e_T        ej                  ej                  dIe_I         edJ      e_U         edK      e_V         ej                         e_F         ej                         e_G         ej                         e_H        ej                  ej                  ej                  d@e_I         edA      e_J         edB      e_K         edC      e_L         ej                         e_W         ej                         e_X         ej                         e_H        ej                  ej                  ej                  dLe_I         edM      e_Y         edN      e_Z         edC      e_L         ej                         e_[         ej                         e_\         ej                         e_H        ej                  ej                  ej                  dOe_I         edP      e_]         edQ      e_^         edC      e_L         ej                         e_F         ej                         e_G         ej                         e_H        ej                  ej                  ej                  d@e_I         edA      e_J         edB      e_K         edC      e_L         ej                         e_F         ej                         e_G         ej                         e__         ej                         e_H        ej                  ej                  ej                  ej                  dRe_I         edA      e_J         edB      e_K         edS      e_`         edC      e_L         ej                         e _F         ej                         e _G         ej                         e _H        e j                  e j                  e j                  d@e _I         e dA      e _J         e dB      e _K         e dC      e _L         ej                         e"_a         ej                         e"_b         ej                         e"_c         ej                         e"_H        e"j                  e"j                  e"j                  e"j                  dTe"_I         e"dU      e"_d         e"dV      e"_e         e"dW      e"_f         e"dC      e"_L         ej                         e$_g         ej                         e$_h         ej                         e$_i        e$j                  e$j                  e$j                  dXe$_I         e$dY      e$_j         e$dZ      e$_k         e$d[      e$_l         ej                         e&_m         ej                         e&_n         ej                         e&_H        e&j                  e&j                  e&j                  d\e&_I         e&d]      e&_o         e&d^      e&_p         e&dC      e&_L         ej                         e(_q         ej                         e(_r         ej                         e(_H        e(j                  e(j                  e(j                  d_e(_I         e(d`      e(_s         e(da      e(_t         e(dC      e(_L         ej                         e*_u         ej                         e*_n         ej                         e*_H        e*j                  e*j                  e*j                  dbe*_I         e*dc      e*_v         e*d^      e*_p         e*dC      e*_L         ej                         e,_w         ej                         e,_x         ej                         e,_y         ej                         e,_z         ej                         e,_H        e,j                  e,j                  e,j                  e,j                  e,j                  dde,_I         e,de      e,_{         e,df      e,_|         e,dg      e,_}         e,dh      e,_~         e,dC      e,_L         ej                         e._F         ej                         e._G         ej                         e._H        e.j                  e.j                  e.j                  d@e._I         e.dA      e._J         e.dB      e._K         e.dC      e._L         ej                         e0_F         ej                         e0_G         ej                         e0_H        e0j                  e0j                  e0j                  d@e0_I         e0dA      e0_J         e0dB      e0_K         e0dC      e0_L         ej                         e2_F         ej                         e2_G         ej                         e2_H        e2j                  e2j                  e2j                  d@e2_I         e2dA      e2_J         e2dB      e2_K         e2dC      e2_L         ej                         e4_         ej                         e4_         ej                         e4_H        e4j                  e4j                   e4j                  die4_I         e4dj      e4_         e4dk      e4_         e4dC      e4_L         ej                         e6_F         ej                         e6_G         ej                         e6_H        e6j                  e6j                  e6j                  d@e6_I         e6dA      e6_J         e6dB      e6_K         e6dC      e6_L         ej                         e8_F         ej                         e8_O         ej                         e8_P         ej                         e8_H        e8j                  e8j                  e8j                  e8j                  dFe8_I         e8dA      e8_J         e8dG      e8_Q         e8dH      e8_R         e8dC      e8_L         ej                         e:_F         ej                         e:_G         ej                         e:_H        e:j                  e:j                  e:j                  d@e:_I         e:dA      e:_J         e:dB      e:_K         e:dC      e:_L        e@e=j                  _        ee=j
                  _        ee=j                  _        e;e=j                  _         eg dl      e=_        dme=j                  j                  fdne=j
                  j                  fdoe=j                  j                  fdpe=j                  j                  fge=_        e+e?j                  _        e)e?j                  _        e-e?j                  _        ee?j                  _        e'e?j                  _         eg dq      e?_        dre?j                  j                  fdse?j                  j                  fdte?j                  j                  fdue?j                  j                  fdve?j                  j                  fge?_         ej                         eA_         ej                         eA_         ej                         eA_H        eAj                   eAj"                  eAj                  dweA_I         eAdx      eA_         eAdy      eA_         eAdC      eA_L         ej                         eC_P         ej                         eC_O         ej                         eC_F         ej                         eC_H        eCj                  eCj                  eCj                  eCj                  dzeC_I         eCdH      eC_R         eCdG      eC_Q         eCdA      eC_J         eCdC      eC_L        i Zy{)|    )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 )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                      | j                   dk(  S zO
        Check if the union tag is ``disabled``.

        :rtype: bool
        disabled_tagselfs    Z/var/www/html/lionshead-backend/venv/lib/python3.12/site-packages/dropbox/team_policies.pyis_disabledz$CameraUploadsPolicyState.is_disabled        yyJ&&    c                      | j                   dk(  S zN
        Check if the union tag is ``enabled``.

        :rtype: bool
        enabledr   r   s    r   
is_enabledz#CameraUploadsPolicyState.is_enabled&        yyI%%r   c                      | j                   dk(  S zL
        Check if the union tag is ``other``.

        :rtype: bool
        r   r   r   s    r   is_otherz!CameraUploadsPolicyState.is_other.        yyG##r   c                 0    t         t        |   |||       y N)superr   _process_custom_annotationsr   annotation_type
field_path	processor	__class__s       r   r    z4CameraUploadsPolicyState._process_custom_annotations6       &I/[egpqr   __name__
__module____qualname____doc__
_catch_allr   r   r   r   r   r   r    __classcell__r%   s   @r   r   r   
   s9    	 JHGE'&$r rr   r   c                   N     e Zd Zd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 )	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                      | j                   dk(  S r
   r   r   s    r   r   z%ComputerBackupPolicyState.is_disabledS   r   r   c                      | j                   dk(  S r   r   r   s    r   r   z$ComputerBackupPolicyState.is_enabled[   r   r   c                      | j                   dk(  S zN
        Check if the union tag is ``default``.

        :rtype: bool
        defaultr   r   s    r   
is_defaultz$ComputerBackupPolicyState.is_defaultc   r   r   c                      | j                   dk(  S r   r   r   s    r   r   z"ComputerBackupPolicyState.is_otherk   r   r   c                 0    t         t        |   |||       y r   )r   r0   r    r!   s       r   r    z5ComputerBackupPolicyState._process_custom_annotationss       'J?\fhqrr   r(   r)   r*   r+   r,   r   r   r5   r   r   r   r6   r   r    r-   r.   s   @r   r0   r0   ;   sC     JHGGE'&&$s sr   r0   c                   N     e Zd Zd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 )	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                      | j                   dk(  S r
   r   r   s    r   r   zEmmState.is_disabled   r   r   c                      | j                   dk(  S zO
        Check if the union tag is ``optional``.

        :rtype: bool
        optionalr   r   s    r   is_optionalzEmmState.is_optional   r   r   c                      | j                   dk(  S zO
        Check if the union tag is ``required``.

        :rtype: bool
        requiredr   r   s    r   is_requiredzEmmState.is_required   r   r   c                      | j                   dk(  S r   r   r   s    r   r   zEmmState.is_other   r   r   c                 0    t         t        |   |||       y r   )r   r<   r    r!   s       r   r    z$EmmState._process_custom_annotations   s    h9/:W`ar   r(   r)   r*   r+   r,   r   r@   rD   r   r   rA   rE   r   r    r-   r.   s   @r   r<   r<   x   sC     JHHHE'''$b br   r<   c                   N     e Zd Zd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 )	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                      | j                   dk(  S r
   r   r   s    r   r   z*ExternalDriveBackupPolicyState.is_disabled   r   r   c                      | j                   dk(  S r   r   r   s    r   r   z)ExternalDriveBackupPolicyState.is_enabled   r   r   c                      | j                   dk(  S r4   r   r   s    r   r6   z)ExternalDriveBackupPolicyState.is_default   r   r   c                      | j                   dk(  S r   r   r   s    r   r   z'ExternalDriveBackupPolicyState.is_other   r   r   c                 0    t         t        |   |||       y r   )r   rJ   r    r!   s       r   r    z:ExternalDriveBackupPolicyState._process_custom_annotations   s    ,dOP_akmvwr   r:   r.   s   @r   rJ   rJ      sC     JHGGE'&&$x xr   rJ   c                   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 )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                      | j                   dk(  S r
   r   r   s    r   r   z"FileLockingPolicyState.is_disabled  r   r   c                      | j                   dk(  S r   r   r   s    r   r   z!FileLockingPolicyState.is_enabled  r   r   c                      | j                   dk(  S r   r   r   s    r   r   zFileLockingPolicyState.is_other  r   r   c                 0    t         t        |   |||       y r   )r   rQ   r    r!   s       r   r    z2FileLockingPolicyState._process_custom_annotations      $dGYcenor   r'   r.   s   @r   rQ   rQ      9    	 JHGE'&$p pr   rQ   c                   N     e Zd Zd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 )	 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                      | j                   dk(  S r
   r   r   s    r   r   z,FileProviderMigrationPolicyState.is_disabled8  r   r   c                      | j                   dk(  S r   r   r   s    r   r   z+FileProviderMigrationPolicyState.is_enabled@  r   r   c                      | j                   dk(  S r4   r   r   s    r   r6   z+FileProviderMigrationPolicyState.is_defaultH  r   r   c                      | j                   dk(  S r   r   r   s    r   r   z)FileProviderMigrationPolicyState.is_otherP  r   r   c                 0    t         t        |   |||       y r   )r   rY   r    r!   s       r   r    z<FileProviderMigrationPolicyState._process_custom_annotationsX  s    .QRacmoxyr   r:   r.   s   @r   rY   rY      sC     JHGGE'&&$z zr   rY   c                   :     e Zd ZdZdZdZdZd Zd Z fdZ	 x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                      | j                   dk(  S )zY
        Check if the union tag is ``admins_and_members``.

        :rtype: bool
        admins_and_membersr   r   s    r   is_admins_and_membersz#GroupCreation.is_admins_and_memberso       yy000r   c                      | j                   dk(  S )zR
        Check if the union tag is ``admins_only``.

        :rtype: bool
        admins_onlyr   r   s    r   is_admins_onlyzGroupCreation.is_admins_onlyw       yyM))r   c                 0    t         t        |   |||       y r   )r   r`   r    r!   s       r   r    z)GroupCreation._process_custom_annotations      mT>PZ\efr   )r(   r)   r*   r+   r,   rb   rf   rc   rg   r    r-   r.   s   @r   r`   r`   ]  s0    	 JK1*g gr   r`   c                   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 )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                      | j                   dk(  S r
   r   r   s    r   r   zOfficeAddInPolicy.is_disabled  r   r   c                      | j                   dk(  S r   r   r   s    r   r   zOfficeAddInPolicy.is_enabled  r   r   c                      | j                   dk(  S r   r   r   s    r   r   zOfficeAddInPolicy.is_other  r   r   c                 0    t         t        |   |||       y r   )r   rl   r    r!   s       r   r    z-OfficeAddInPolicy._process_custom_annotations  s    B?T^`ijr   r'   r.   s   @r   rl   rl     s9     JHGE'&$k kr   rl   c                   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 )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                      | j                   dk(  S )zW
        Check if the union tag is ``everyone_in_team``.

        :rtype: bool
        everyone_in_teamr   r   s    r   is_everyone_in_teamz,PaperDefaultFolderPolicy.is_everyone_in_team  s     yy...r   c                      | j                   dk(  S )zR
        Check if the union tag is ``invite_only``.

        :rtype: bool
        invite_onlyr   r   s    r   is_invite_onlyz'PaperDefaultFolderPolicy.is_invite_only  rh   r   c                      | j                   dk(  S r   r   r   s    r   r   z!PaperDefaultFolderPolicy.is_other  r   r   c                 0    t         t        |   |||       y r   )r   rr   r    r!   s       r   r    z4PaperDefaultFolderPolicy._process_custom_annotations  r&   r   )r(   r)   r*   r+   r,   rt   rw   r   ru   rx   r   r    r-   r.   s   @r   rr   rr     s:    	 JKE/*$r rr   rr   c                   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 )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                      | j                   dk(  S )zK
        Check if the union tag is ``full``.

        :rtype: bool
        fullr   r   s    r   is_fullzPaperDeploymentPolicy.is_full       yyF""r   c                      | j                   dk(  S )zN
        Check if the union tag is ``partial``.

        :rtype: bool
        partialr   r   s    r   
is_partialz PaperDeploymentPolicy.is_partial  r   r   c                      | j                   dk(  S r   r   r   s    r   r   zPaperDeploymentPolicy.is_other	  r   r   c                 0    t         t        |   |||       y r   )r   r|   r    r!   s       r   r    z1PaperDeploymentPolicy._process_custom_annotations      #TFXbdmnr   )r(   r)   r*   r+   r,   r~   r   r   r   r   r   r    r-   r.   s   @r   r|   r|     s9    
 JDGE#&$o or   r|   c                   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 )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                      | j                   dk(  S r
   r   r   s    r   r   zPaperDesktopPolicy.is_disabled*  r   r   c                      | j                   dk(  S r   r   r   s    r   r   zPaperDesktopPolicy.is_enabled2  r   r   c                      | j                   dk(  S r   r   r   s    r   r   zPaperDesktopPolicy.is_other:  r   r   c                 0    t         t        |   |||       y r   )r   r   r    r!   s       r   r    z.PaperDesktopPolicy._process_custom_annotationsB       $COU_ajkr   r'   r.   s   @r   r   r     s9    	 JHGE'&$l lr   r   c                   N     e Zd Zd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 )	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                      | j                   dk(  S r
   r   r   s    r   r   zPaperEnabledPolicy.is_disabled\  r   r   c                      | j                   dk(  S r   r   r   s    r   r   zPaperEnabledPolicy.is_enabledd  r   r   c                      | j                   dk(  S )zR
        Check if the union tag is ``unspecified``.

        :rtype: bool
        unspecifiedr   r   s    r   is_unspecifiedz!PaperEnabledPolicy.is_unspecifiedl  rh   r   c                      | j                   dk(  S r   r   r   s    r   r   zPaperEnabledPolicy.is_othert  r   r   c                 0    t         t        |   |||       y r   )r   r   r    r!   s       r   r    z.PaperEnabledPolicy._process_custom_annotations|  r   r   )r(   r)   r*   r+   r,   r   r   r   r   r   r   r   r   r    r-   r.   s   @r   r   r   G  sC     JHGKE'&*$l lr   r   c                   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 )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                      | j                   dk(  S r
   r   r   s    r   r   zPasswordControlMode.is_disabled  r   r   c                      | j                   dk(  S r   r   r   s    r   r   zPasswordControlMode.is_enabled  r   r   c                      | j                   dk(  S r   r   r   s    r   r   zPasswordControlMode.is_other  r   r   c                 0    t         t        |   |||       y r   )r   r   r    r!   s       r   r    z/PasswordControlMode._process_custom_annotations      !4D_V`bklr   r'   r.   s   @r   r   r     s9     JHGE'&$m mr   r   c                   N     e Zd Zd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 )	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                      | j                   dk(  S )z[
        Check if the union tag is ``minimal_requirements``.

        :rtype: bool
        minimal_requirementsr   r   s    r   is_minimal_requirementsz.PasswordStrengthPolicy.is_minimal_requirements       yy222r   c                      | j                   dk(  S )zX
        Check if the union tag is ``moderate_password``.

        :rtype: bool
        moderate_passwordr   r   s    r   is_moderate_passwordz+PasswordStrengthPolicy.is_moderate_password       yy///r   c                      | j                   dk(  S )zV
        Check if the union tag is ``strong_password``.

        :rtype: bool
        strong_passwordr   r   s    r   is_strong_passwordz)PasswordStrengthPolicy.is_strong_password  s     yy---r   c                      | j                   dk(  S r   r   r   s    r   r   zPasswordStrengthPolicy.is_other  r   r   c                 0    t         t        |   |||       y r   )r   r   r    r!   s       r   r    z2PasswordStrengthPolicy._process_custom_annotations  rV   r   )r(   r)   r*   r+   r,   r   r   r   r   r   r   r   r   r    r-   r.   s   @r   r   r     sE     JOE30.$p pr   r   c                   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 )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                      | j                   dk(  S )zQ
        Check if the union tag is ``unlink_all``.

        :rtype: bool
        
unlink_allr   r   s    r   is_unlink_allzRolloutMethod.is_unlink_all  s     yyL((r   c                      | j                   dk(  S )z[
        Check if the union tag is ``unlink_most_inactive``.

        :rtype: bool
        unlink_most_inactiver   r   s    r   is_unlink_most_inactivez%RolloutMethod.is_unlink_most_inactive
  r   r   c                      | j                   dk(  S )z_
        Check if the union tag is ``add_member_to_exceptions``.

        :rtype: bool
        add_member_to_exceptionsr   r   s    r   is_add_member_to_exceptionsz)RolloutMethod.is_add_member_to_exceptions  s     yy666r   c                 0    t         t        |   |||       y r   )r   r   r    r!   s       r   r    z)RolloutMethod._process_custom_annotations  rj   r   )r(   r)   r*   r+   r,   r   r   r   r   r   r   r    r-   r.   s   @r   r   r     s;    
 JJ#)37g gr   r   c                   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 )(SharedFolderBlanketLinkRestrictionPolicyaD  
    Policy governing whether shared folder membership is required to access
    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.SharedFolderBlanketLinkRestrictionPolicy.members: Only
        members of shared folders can access folder content via shared link.
    :ivar team_policies.SharedFolderBlanketLinkRestrictionPolicy.anyone: Anyone
        can access folder content via shared link.
    r   Nc                      | j                   dk(  S )zN
        Check if the union tag is ``members``.

        :rtype: bool
        membersr   r   s    r   
is_membersz3SharedFolderBlanketLinkRestrictionPolicy.is_members6  r   r   c                      | j                   dk(  S zM
        Check if the union tag is ``anyone``.

        :rtype: bool
        anyoner   r   s    r   	is_anyonez2SharedFolderBlanketLinkRestrictionPolicy.is_anyone>       yyH$$r   c                      | j                   dk(  S r   r   r   s    r   r   z1SharedFolderBlanketLinkRestrictionPolicy.is_otherF  r   r   c                 0    t         t        |   |||       y r   )r   r   r    r!   s       r   r    zDSharedFolderBlanketLinkRestrictionPolicy._process_custom_annotationsN  s!    6YZiku  xA  	Br   )r(   r)   r*   r+   r,   r   r   r   r   r   r   r    r-   r.   s   @r   r   r     s9     JGFE&%$B Br   r   c                   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 )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                      | j                   dk(  S )zU
        Check if the union tag is ``from_team_only``.

        :rtype: bool
        from_team_onlyr   r   s    r   is_from_team_onlyz(SharedFolderJoinPolicy.is_from_team_onlyj       yy,,,r   c                      | j                   dk(  S )zR
        Check if the union tag is ``from_anyone``.

        :rtype: bool
        from_anyoner   r   s    r   is_from_anyonez%SharedFolderJoinPolicy.is_from_anyoner  rh   r   c                      | j                   dk(  S r   r   r   s    r   r   zSharedFolderJoinPolicy.is_otherz  r   r   c                 0    t         t        |   |||       y r   )r   r   r    r!   s       r   r    z2SharedFolderJoinPolicy._process_custom_annotations  rV   r   )r(   r)   r*   r+   r,   r   r   r   r   r   r   r    r-   r.   s   @r   r   r   S  s9     JNKE-*$p pr   r   c                   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 )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                      | j                   dk(  S )zK
        Check if the union tag is ``team``.

        :rtype: bool
        teamr   r   s    r   is_teamz SharedFolderMemberPolicy.is_team  r   r   c                      | j                   dk(  S r   r   r   s    r   r   z"SharedFolderMemberPolicy.is_anyone  r   r   c                      | j                   dk(  S r   r   r   s    r   r   z!SharedFolderMemberPolicy.is_other  r   r   c                 0    t         t        |   |||       y r   )r   r   r    r!   s       r   r    z4SharedFolderMemberPolicy._process_custom_annotations  r&   r   )r(   r)   r*   r+   r,   r   r   r   r   r   r   r    r-   r.   s   @r   r   r     s9     JDFE#%$r rr   r   c                   X     e Zd ZdZdZd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 )
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                      | j                   dk(  S )zU
        Check if the union tag is ``default_public``.

        :rtype: bool
        default_publicr   r   s    r   is_default_publicz(SharedLinkCreatePolicy.is_default_public  r   r   c                      | j                   dk(  S )zX
        Check if the union tag is ``default_team_only``.

        :rtype: bool
        default_team_onlyr   r   s    r   is_default_team_onlyz+SharedLinkCreatePolicy.is_default_team_only  r   r   c                      | j                   dk(  S )zP
        Check if the union tag is ``team_only``.

        :rtype: bool
        	team_onlyr   r   s    r   is_team_onlyz#SharedLinkCreatePolicy.is_team_only       yyK''r   c                      | j                   dk(  S )zU
        Check if the union tag is ``default_no_one``.

        :rtype: bool
        default_no_oner   r   s    r   is_default_no_onez(SharedLinkCreatePolicy.is_default_no_one  r   r   c                      | j                   dk(  S r   r   r   s    r   r   zSharedLinkCreatePolicy.is_other  r   r   c                 0    t         t        |   |||       y r   )r   r   r    r!   s       r   r    z2SharedLinkCreatePolicy._process_custom_annotations  rV   r   )r(   r)   r*   r+   r,   r   r   r   r   r   r   r   r   r   r   r    r-   r.   s   @r   r   r     sN    , JNINE-0(-$p pr   r   c                   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 )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                      | j                   dk(  S r
   r   r   s    r   r   z"ShowcaseDownloadPolicy.is_disabled  r   r   c                      | j                   dk(  S r   r   r   s    r   r   z!ShowcaseDownloadPolicy.is_enabled&  r   r   c                      | j                   dk(  S r   r   r   s    r   r   zShowcaseDownloadPolicy.is_other.  r   r   c                 0    t         t        |   |||       y r   )r   r   r    r!   s       r   r    z2ShowcaseDownloadPolicy._process_custom_annotations6  rV   r   r'   r.   s   @r   r   r   
  rW   r   r   c                   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 )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                      | j                   dk(  S r
   r   r   s    r   r   z!ShowcaseEnabledPolicy.is_disabledM  r   r   c                      | j                   dk(  S r   r   r   s    r   r   z ShowcaseEnabledPolicy.is_enabledU  r   r   c                      | j                   dk(  S r   r   r   s    r   r   zShowcaseEnabledPolicy.is_other]  r   r   c                 0    t         t        |   |||       y r   )r   r   r    r!   s       r   r    z1ShowcaseEnabledPolicy._process_custom_annotationse  r   r   r'   r.   s   @r   r   r   ;  s9     JHGE'&$o or   r   c                   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 )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                      | j                   dk(  S r
   r   r   s    r   r   z)ShowcaseExternalSharingPolicy.is_disabled~  r   r   c                      | j                   dk(  S r   r   r   s    r   r   z(ShowcaseExternalSharingPolicy.is_enabled  r   r   c                      | j                   dk(  S r   r   r   s    r   r   z&ShowcaseExternalSharingPolicy.is_other  r   r   c                 0    t         t        |   |||       y r   )r   r   r    r!   s       r   r    z9ShowcaseExternalSharingPolicy._process_custom_annotations  s    +TN`jluvr   r'   r.   s   @r   r   r   j  s9    	 JHGE'&$w wr   r   c                   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 )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                      | j                   dk(  S )zL
        Check if the union tag is ``local``.

        :rtype: bool
        localr   r   s    r   is_localzSmartSyncPolicy.is_local  r   r   c                      | j                   dk(  S )zP
        Check if the union tag is ``on_demand``.

        :rtype: bool
        	on_demandr   r   s    r   is_on_demandzSmartSyncPolicy.is_on_demand  r   r   c                      | j                   dk(  S r   r   r   s    r   r   zSmartSyncPolicy.is_other  r   r   c                 0    t         t        |   |||       y r   )r   r   r    r!   s       r   r    z+SmartSyncPolicy._process_custom_annotations  s    ot@R\^ghr   )r(   r)   r*   r+   r,   r   r  r   r   r  r   r    r-   r.   s   @r   r   r     s9    	 JEIE$($i ir   r   c                   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 )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                      | j                   dk(  S r
   r   r   s    r   r   z'SmarterSmartSyncPolicyState.is_disabled  r   r   c                      | j                   dk(  S r   r   r   s    r   r   z&SmarterSmartSyncPolicyState.is_enabled  r   r   c                      | j                   dk(  S r   r   r   s    r   r   z$SmarterSmartSyncPolicyState.is_other  r   r   c                 0    t         t        |   |||       y r   )r   r  r    r!   s       r   r    z7SmarterSmartSyncPolicyState._process_custom_annotations  s    )4L_^hjstr   r'   r.   s   @r   r  r    s9    	 JHGE'&$u ur   r  c                   N     e Zd Zd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 )		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                      | j                   dk(  S r
   r   r   s    r   r   zSsoPolicy.is_disabled  r   r   c                      | j                   dk(  S r?   r   r   s    r   rA   zSsoPolicy.is_optional  r   r   c                      | j                   dk(  S rC   r   r   s    r   rE   zSsoPolicy.is_required%  r   r   c                      | j                   dk(  S r   r   r   s    r   r   zSsoPolicy.is_other-  r   r   c                 0    t         t        |   |||       y r   )r   r  r    r!   s       r   r    z%SsoPolicy._process_custom_annotations5  s    i:?JXabr   rH   r.   s   @r   r  r    sC     JHHHE'''$c cr   r  c                   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 )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                      | j                   dk(  S r
   r   r   s    r   r   z SuggestMembersPolicy.is_disabledN  r   r   c                      | j                   dk(  S r   r   r   s    r   r   zSuggestMembersPolicy.is_enabledV  r   r   c                      | j                   dk(  S r   r   r   s    r   r   zSuggestMembersPolicy.is_other^  r   r   c                 0    t         t        |   |||       y r   )r   r  r    r!   s       r   r    z0SuggestMembersPolicy._process_custom_annotationsf  s    "DEoWaclmr   r'   r.   s   @r   r  r  :  s9    	 JHGE'&$n nr   r  c                        e Zd ZdZg dZdZ	 	 	 	 ddZ ej                  dd      Z	 ej                  dd      Z
 ej                  dd      Z ej                  d	d      Z fd
Z x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_valueTc                     t         j                  | _        t         j                  | _        t         j                  | _        t         j                  | _        ||| _        ||| _        ||| _        ||| _	        y y r   )
bbNOT_SETr  r  r  r  sharing	emm_stateoffice_addinsuggest_members_policy)r   r!  r"  r#  r$  s        r   __init__zTeamMemberPolicies.__init__  so    
 !jj "

#%:: -/ZZ*"DL &DN# ,D!-*@D' .r   r!  user_definedr"  r#  r$  c                 0    t         t        |   |||       y r   )r   r  r    r!   s       r   r    z.TeamMemberPolicies._process_custom_annotations  r   r   )NNNN)r(   r)   r*   r+   	__slots___has_required_fieldsr%  r  	Attributer!  r"  r#  r$  r    r-   r.   s   @r   r  r  k  s    $I   "(,	A& bll948G [t<I  2<<TBL *R\\*BQUVl lr   r  c                       e Zd ZdZg dZdZ	 	 	 	 	 ddZ ej                  dd      Z	 ej                  dd      Z
 ej                  dd      Z ej                  d	d      Z ej                  d
d      Z fdZ xZS )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.
    :ivar
        team_policies.TeamSharingPolicies.shared_folder_link_restriction_policy:
        Who can view links to content in shared folders.
    )"_shared_folder_member_policy_value _shared_folder_join_policy_value _shared_link_create_policy_value_group_creation_policy_value,_shared_folder_link_restriction_policy_valueTc                 2   t         j                  | _        t         j                  | _        t         j                  | _        t         j                  | _        t         j                  | _        ||| _        ||| _        ||| _	        ||| _
        ||| _        y y r   )r  r   r.  r/  r0  r1  r2  shared_folder_member_policyshared_folder_join_policyshared_link_create_policygroup_creation_policy%shared_folder_link_restriction_policy)r   r4  r5  r6  r7  r8  s         r   r%  zTeamSharingPolicies.__init__  s     35**/02

-02

-,.JJ)<>JJ9&2/JD,$0-FD*$0-FD* ,)>D&0<9^D6 =r   r4  r&  r5  r6  r7  r8  c                 0    t         t        |   |||       y r   )r   r-  r    r!   s       r   r    z/TeamSharingPolicies._process_custom_annotations  r   r   )NNNNN)r(   r)   r*   r+   r)  r*  r%  r  r+  r4  r5  r6  r7  r8  r    r-   r.   s   @r   r-  r-    s     I   .2+/+/'+7;_. #/",,/L[_"` !--HW[ \ !--HW[ \ )BLL)@tT -9BLL9`os,t)m mr   r-  c                   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 )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                      | j                   dk(  S )zY
        Check if the union tag is ``require_tfa_enable``.

        :rtype: bool
        require_tfa_enabler   r   s    r   is_require_tfa_enablez/TwoStepVerificationPolicy.is_require_tfa_enable  rd   r   c                      | j                   dk(  S )zZ
        Check if the union tag is ``require_tfa_disable``.

        :rtype: bool
        require_tfa_disabler   r   s    r   is_require_tfa_disablez0TwoStepVerificationPolicy.is_require_tfa_disable  s     yy111r   c                      | j                   dk(  S r   r   r   s    r   r   z"TwoStepVerificationPolicy.is_other  r   r   c                 0    t         t        |   |||       y r   )r   r;  r    r!   s       r   r    z5TwoStepVerificationPolicy._process_custom_annotations  r9   r   )r(   r)   r*   r+   r,   r=  r@  r   r>  rA  r   r    r-   r.   s   @r   r;  r;    s;    	 JE12$s sr   r;  c                   N     e Zd Zd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 )	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                      | j                   dk(  S rC   r   r   s    r   rE   z$TwoStepVerificationState.is_required8  r   r   c                      | j                   dk(  S r?   r   r   s    r   rA   z$TwoStepVerificationState.is_optional@  r   r   c                      | j                   dk(  S r
   r   r   s    r   r   z$TwoStepVerificationState.is_disabledH  r   r   c                      | j                   dk(  S r   r   r   s    r   r   z!TwoStepVerificationState.is_otherP  r   r   c                 0    t         t        |   |||       y r   )r   rE  r    r!   s       r   r    z4TwoStepVerificationState._process_custom_annotationsX  r&   r   )r(   r)   r*   r+   r,   rD   r@   r   r   rE   rA   r   r   r    r-   r.   s   @r   rE  rE     sC     JHHHE'''$r rr   rE  )r   r   r   r   r   r   )r   r   r5   r   r5   )r   r@   rD   r   r@   rD   )rb   rf   rb   rf   )rt   rw   r   rt   rw   )r~   r   r   r~   r   )r   r   r   r   r   )r   r   r   r   r   r   r   )r   r   r   r   r   r   )r   r   r   r   r   )r   r   r   r   r   )r   r   r   r   )r   r   r   r   r   r   r   r   r   )r   r  r   r   r  )r!  r"  r#  r$  r!  r"  r#  r$  )r4  r5  r6  r7  r8  r4  r5  r6  r7  r8  )r=  r@  r   r=  r@  )rD   r@   r   r   N)
__future__r   stone.backends.python_rsrcr   r  r   bvUnionr   "CameraUploadsPolicyState_validatorr0   #ComputerBackupPolicyState_validatorr<   EmmState_validatorrJ   (ExternalDriveBackupPolicyState_validatorrQ    FileLockingPolicyState_validatorrY   *FileProviderMigrationPolicyState_validatorr`   GroupCreation_validatorrl   OfficeAddInPolicy_validatorrr   "PaperDefaultFolderPolicy_validatorr|   PaperDeploymentPolicy_validatorr   PaperDesktopPolicy_validatorr   PaperEnabledPolicy_validatorr   PasswordControlMode_validatorr    PasswordStrengthPolicy_validatorr   RolloutMethod_validatorr   2SharedFolderBlanketLinkRestrictionPolicy_validatorr    SharedFolderJoinPolicy_validatorr   "SharedFolderMemberPolicy_validatorr    SharedLinkCreatePolicy_validatorr    ShowcaseDownloadPolicy_validatorr   ShowcaseEnabledPolicy_validatorr   'ShowcaseExternalSharingPolicy_validatorr   SmartSyncPolicy_validatorr  %SmarterSmartSyncPolicyState_validatorr  SsoPolicy_validatorr  SuggestMembersPolicy_validatorStructr  TeamMemberPolicies_validatorr-  TeamSharingPolicies_validatorr;  #TwoStepVerificationPolicy_validatorrE  "TwoStepVerificationState_validatorVoid_disabled_validator_enabled_validator_other_validator_tagmapr   r   r   _default_validatorr5   _optional_validator_required_validatorr@   rD   _admins_and_members_validator_admins_only_validatorrb   rf   _everyone_in_team_validator_invite_only_validatorrt   rw   _full_validator_partial_validatorr~   r   _unspecified_validatorr   _minimal_requirements_validator_moderate_password_validator_strong_password_validatorr   r   r   _unlink_all_validator_unlink_most_inactive_validator#_add_member_to_exceptions_validatorr   r   r   _members_validator_anyone_validatorr   r   _from_team_only_validator_from_anyone_validatorr   r   _team_validatorr   _default_public_validator_default_team_only_validator_team_only_validator_default_no_one_validatorr   r   r   r   _local_validator_on_demand_validatorr   r  r!  	validatorr"  r#  r$  set_all_field_names__all_fields_r4  r5  r6  r7  r8  _require_tfa_enable_validator_require_tfa_disable_validatorr=  r@  ROUTES r   r   <module>r     s   ( 7 =-rrxx -r^ &.RXX.F%G "9s 9sv '/bhh/H&I #6brxx 6bp RXXh' 9xRXX 9xv ,42884R+S (-pRXX -p^ $,288,B#C  9zrxx 9zv .6RXX6V-W *#gBHH #gJ #"((=1 +k +kZ 'bhh'89 -rrxx -r^ &.RXX.F%G ".oBHH .o` #+"((+@"A -l -l^  (rxx(:; 6l 6lp  (rxx(:; +m"(( +mZ !))< = 9pRXX 9pv $,288,B#C  .gBHH .g` #"((=1 0Brxx 0Bd 6>RXX>f5g 20pRXX 0pd $,288,B#C  /rrxx /rb &.RXX.F%G "LpRXX Lp\ $,288,B#C  -pRXX -p^ $,288,B#C  +oBHH +oZ #+"((+@"A -wBHH -w^ +3"((3P*Q '-ibhh -i^ %BHH_5 -u"(( -u^ )11L(M %9c 9cv bhhy) -n288 -n^ "**>!? ;l ;lz  )ryy);< Am")) AmF !*		*= > -s -s^ '/bhh/H&I #9rrxx 9rv &.RXX.F%G "/6rwwy  ,.5bggi  +,3BGGI  )(<<'::%66$    %=Z$H  !#;I#F   !9'!B  07	  -/6rwwy  ,/6rwwy  ,-4RWWY  *)==(;;(;;&77	%  ! &?z%J  "$=i$H  !$=i$H  !";G"D  &rwwy &rwwy &rwwy #BGGI ,,,,,,&&	  Z( Z( Z( '"5<RWWY  24;BGGI  14;BGGI  129"'')  /.BB-@@-@@+<<	*  & +I*T  ')G	)R  &)G	)R  &'Eg'N  $-4RWWY  *,3BGGI  )*1"'')  '&::%88#44"   #9"D  !7	!B  5g>  7>rwwy   46=bggi   36=bggi   34;BGGI   10DD/BB/BB->>	,   ( -MZ,X   )+KI+V   (+KI+V   ()I')R   &.5bggi +'.rwwy $'EE 77 
 $11E#F  )-8 (/	  %'.rwwy  $%,RWWY  "!55 33//   /z:  -i8  +G4  7>rwwy  429"'')  /,3BGGI  )0LL+BB%66$    -EEW,X  )'?'N  $!9'!B  (/	  %+22779  ()0  &!11$77"33!   36:   5i @  3G<  )0  &(/	  %&-bggi  #"66!4400   1<  /	:  -g6  )0  &(/	  %,3BGGI  )&-bggi  #"66!44%<<00	   1<  /	:  !3M!B  -g6  *1"'')  ')0  &'.rwwy  $#77"55 11    3:>  1)<  /8  9@  66=bggi  34;BGGI  1*1"'')  '2RR/LL-HH#44	"   /EE[.\  ++ABU+V  ()?@Q)R  &5g>  &-bggi #07	 -4;BGGI 155)II - Q Q  )6 %23I%J ")67Q)R &>Ebggi ( ;=DRWWY ( :<CBGGI ( 97JJ6HH5FF4 ( 0 4\\e3f ( 02Z[c2d ( /1YZa1b ( .3:2779  007	  -*1"'')  ',FF)@@#44"   )??O(P  %%;M%J  "5g>  +22779  (-4RWWY  *,3BGGI  )$44&88%66$    !9 @  ":8"D  !9'!B  3:2779  06=bggi  3.5bggi  +3:2779  0*1"'')  ',FF/LL'<<,FF#44"   )??O(P  %+ABU+V  (#9+#F   (>?O(P  %5g>  -4RWWY  *,3BGGI  )*1"'')  '&::%88#44"   #9"D  !7	!B  5g>  ,3BGGI  )+22779  ()0  &%99$77"33!   "7z!B   5i @  3G<  4;BGGI  13:2779  018  .-AA,??*;;)  % *Gz)R  &(Ei(P  %&CG&L  ##*2779  '.rwwy $#*2779  -- 55--  (0 +K8 '0 29"'')  /18  ./6rwwy  ,+??*==(99'  # (C:'N  $&A)&L  #$?$H  ! '		  '		  '		 $RWWY	 ------''		  z*	 z*	 z*	 G$	+22779  (*1"'')  '(/	  %$88#66!22    !5Z @  3I>  1':  'D    $);    &,G    )6T  ) ) 3'* , (  $ "**445$..889'44>>?1HHRRS	#   =_  / / 9:Z  - - 7:Z  - - 76M  ) ) 3Fx  9 9 C(+ - )  % #$7$S$S$]$]^ "5"O"O"Y"YZ "5"O"O"Y"YZ1GGQQR,.A.g.g.q.qr$    ;B"'')  7;B2779  8-4RWWY  *3QQ4SS&77%  ! 0II]/^  ,0IJ_0`  -";G"D  /6rwwy  ,/6rwwy  ,/6rwwy  ,,3BGGI  )(<<(<<(<<%66	$    %=Z$H  !$<Z$H  !$<Z$H  !!9'!B  
r   