dropbox.team_policies
– Team Policies
- class dropbox.team_policies.CameraUploadsPolicyState(tag, value=None)
Bases:
Union
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 correspondingget_*
method.- Variables:
team_policies.CameraUploadsPolicyState.disabled – Background camera uploads are disabled.
team_policies.CameraUploadsPolicyState.enabled – Background camera uploads are allowed.
- disabled = CameraUploadsPolicyState('disabled', None)
- enabled = CameraUploadsPolicyState('enabled', None)
- is_disabled()
Check if the union tag is
disabled
.- Return type:
bool
- is_enabled()
Check if the union tag is
enabled
.- Return type:
bool
- is_other()
Check if the union tag is
other
.- Return type:
bool
- other = CameraUploadsPolicyState('other', None)
- class dropbox.team_policies.ComputerBackupPolicyState(tag, value=None)
Bases:
Union
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 correspondingget_*
method.- Variables:
team_policies.ComputerBackupPolicyState.disabled – Computer Backup feature is disabled.
team_policies.ComputerBackupPolicyState.enabled – Computer Backup feature is enabled.
team_policies.ComputerBackupPolicyState.default – Computer Backup defaults to ON for SSB teams, and OFF for Enterprise teams.
- default = ComputerBackupPolicyState('default', None)
- disabled = ComputerBackupPolicyState('disabled', None)
- enabled = ComputerBackupPolicyState('enabled', None)
- is_default()
Check if the union tag is
default
.- Return type:
bool
- is_disabled()
Check if the union tag is
disabled
.- Return type:
bool
- is_enabled()
Check if the union tag is
enabled
.- Return type:
bool
- is_other()
Check if the union tag is
other
.- Return type:
bool
- other = ComputerBackupPolicyState('other', None)
- class dropbox.team_policies.EmmState(tag, value=None)
Bases:
Union
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 correspondingget_*
method.- Variables:
team_policies.EmmState.disabled – Emm token is disabled.
team_policies.EmmState.optional – Emm token is optional.
team_policies.EmmState.required – Emm token is required.
- disabled = EmmState('disabled', None)
- is_disabled()
Check if the union tag is
disabled
.- Return type:
bool
- is_optional()
Check if the union tag is
optional
.- Return type:
bool
- is_other()
Check if the union tag is
other
.- Return type:
bool
- is_required()
Check if the union tag is
required
.- Return type:
bool
- optional = EmmState('optional', None)
- other = EmmState('other', None)
- required = EmmState('required', None)
- class dropbox.team_policies.ExternalDriveBackupPolicyState(tag, value=None)
Bases:
Union
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 correspondingget_*
method.- Variables:
team_policies.ExternalDriveBackupPolicyState.disabled – External Drive Backup feature is disabled.
team_policies.ExternalDriveBackupPolicyState.enabled – External Drive Backup feature is enabled.
team_policies.ExternalDriveBackupPolicyState.default – External Drive Backup default value based on team tier.
- default = ExternalDriveBackupPolicyState('default', None)
- disabled = ExternalDriveBackupPolicyState('disabled', None)
- enabled = ExternalDriveBackupPolicyState('enabled', None)
- is_default()
Check if the union tag is
default
.- Return type:
bool
- is_disabled()
Check if the union tag is
disabled
.- Return type:
bool
- is_enabled()
Check if the union tag is
enabled
.- Return type:
bool
- is_other()
Check if the union tag is
other
.- Return type:
bool
- other = ExternalDriveBackupPolicyState('other', None)
- class dropbox.team_policies.FileLockingPolicyState(tag, value=None)
Bases:
Union
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 correspondingget_*
method.- Variables:
team_policies.FileLockingPolicyState.disabled – File locking feature is disabled.
team_policies.FileLockingPolicyState.enabled – File locking feature is allowed.
- disabled = FileLockingPolicyState('disabled', None)
- enabled = FileLockingPolicyState('enabled', None)
- is_disabled()
Check if the union tag is
disabled
.- Return type:
bool
- is_enabled()
Check if the union tag is
enabled
.- Return type:
bool
- is_other()
Check if the union tag is
other
.- Return type:
bool
- other = FileLockingPolicyState('other', None)
- class dropbox.team_policies.FileProviderMigrationPolicyState(tag, value=None)
Bases:
Union
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 correspondingget_*
method.- Variables:
team_policies.FileProviderMigrationPolicyState.disabled – Team admin has opted out of File Provider Migration for team members.
team_policies.FileProviderMigrationPolicyState.enabled – Team admin has not opted out of File Provider Migration for team members.
team_policies.FileProviderMigrationPolicyState.default – Team admin has default value based on team tier.
- default = FileProviderMigrationPolicyState('default', None)
- disabled = FileProviderMigrationPolicyState('disabled', None)
- enabled = FileProviderMigrationPolicyState('enabled', None)
- is_default()
Check if the union tag is
default
.- Return type:
bool
- is_disabled()
Check if the union tag is
disabled
.- Return type:
bool
- is_enabled()
Check if the union tag is
enabled
.- Return type:
bool
- is_other()
Check if the union tag is
other
.- Return type:
bool
- other = FileProviderMigrationPolicyState('other', None)
- class dropbox.team_policies.GroupCreation(tag, value=None)
Bases:
Union
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 correspondingget_*
method.- Variables:
team_policies.GroupCreation.admins_and_members – Team admins and members can create groups.
team_policies.GroupCreation.admins_only – Only team admins can create groups.
- admins_and_members = GroupCreation('admins_and_members', None)
- admins_only = GroupCreation('admins_only', None)
- is_admins_and_members()
Check if the union tag is
admins_and_members
.- Return type:
bool
- is_admins_only()
Check if the union tag is
admins_only
.- Return type:
bool
- class dropbox.team_policies.OfficeAddInPolicy(tag, value=None)
Bases:
Union
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 correspondingget_*
method.- Variables:
team_policies.OfficeAddInPolicy.disabled – Office Add-In is disabled.
team_policies.OfficeAddInPolicy.enabled – Office Add-In is enabled.
- disabled = OfficeAddInPolicy('disabled', None)
- enabled = OfficeAddInPolicy('enabled', None)
- is_disabled()
Check if the union tag is
disabled
.- Return type:
bool
- is_enabled()
Check if the union tag is
enabled
.- Return type:
bool
- is_other()
Check if the union tag is
other
.- Return type:
bool
- other = OfficeAddInPolicy('other', None)
- class dropbox.team_policies.PaperDefaultFolderPolicy(tag, value=None)
Bases:
Union
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 correspondingget_*
method.- Variables:
team_policies.PaperDefaultFolderPolicy.everyone_in_team – Everyone in team will be the default option when creating a folder in Paper.
team_policies.PaperDefaultFolderPolicy.invite_only – Invite only will be the default option when creating a folder in Paper.
- everyone_in_team = PaperDefaultFolderPolicy('everyone_in_team', None)
- invite_only = PaperDefaultFolderPolicy('invite_only', None)
- is_everyone_in_team()
Check if the union tag is
everyone_in_team
.- Return type:
bool
- is_invite_only()
Check if the union tag is
invite_only
.- Return type:
bool
- is_other()
Check if the union tag is
other
.- Return type:
bool
- other = PaperDefaultFolderPolicy('other', None)
- class dropbox.team_policies.PaperDeploymentPolicy(tag, value=None)
Bases:
Union
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 correspondingget_*
method.- Variables:
team_policies.PaperDeploymentPolicy.full – All team members have access to Paper.
team_policies.PaperDeploymentPolicy.partial – Only whitelisted team members can access Paper. To see which user is whitelisted, check ‘is_paper_whitelisted’ on ‘account/info’.
- full = PaperDeploymentPolicy('full', None)
- is_full()
Check if the union tag is
full
.- Return type:
bool
- is_other()
Check if the union tag is
other
.- Return type:
bool
- is_partial()
Check if the union tag is
partial
.- Return type:
bool
- other = PaperDeploymentPolicy('other', None)
- partial = PaperDeploymentPolicy('partial', None)
- class dropbox.team_policies.PaperDesktopPolicy(tag, value=None)
Bases:
Union
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 correspondingget_*
method.- Variables:
team_policies.PaperDesktopPolicy.disabled – Do not allow team members to use Paper Desktop.
team_policies.PaperDesktopPolicy.enabled – Allow team members to use Paper Desktop.
- disabled = PaperDesktopPolicy('disabled', None)
- enabled = PaperDesktopPolicy('enabled', None)
- is_disabled()
Check if the union tag is
disabled
.- Return type:
bool
- is_enabled()
Check if the union tag is
enabled
.- Return type:
bool
- is_other()
Check if the union tag is
other
.- Return type:
bool
- other = PaperDesktopPolicy('other', None)
- class dropbox.team_policies.PaperEnabledPolicy(tag, value=None)
Bases:
Union
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 correspondingget_*
method.- Variables:
team_policies.PaperEnabledPolicy.disabled – Paper is disabled.
team_policies.PaperEnabledPolicy.enabled – Paper is enabled.
team_policies.PaperEnabledPolicy.unspecified – Unspecified policy.
- disabled = PaperEnabledPolicy('disabled', None)
- enabled = PaperEnabledPolicy('enabled', None)
- is_disabled()
Check if the union tag is
disabled
.- Return type:
bool
- is_enabled()
Check if the union tag is
enabled
.- Return type:
bool
- is_other()
Check if the union tag is
other
.- Return type:
bool
- is_unspecified()
Check if the union tag is
unspecified
.- Return type:
bool
- other = PaperEnabledPolicy('other', None)
- unspecified = PaperEnabledPolicy('unspecified', None)
- class dropbox.team_policies.PasswordControlMode(tag, value=None)
Bases:
Union
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 correspondingget_*
method.- Variables:
team_policies.PasswordControlMode.disabled – Password is disabled.
team_policies.PasswordControlMode.enabled – Password is enabled.
- disabled = PasswordControlMode('disabled', None)
- enabled = PasswordControlMode('enabled', None)
- is_disabled()
Check if the union tag is
disabled
.- Return type:
bool
- is_enabled()
Check if the union tag is
enabled
.- Return type:
bool
- is_other()
Check if the union tag is
other
.- Return type:
bool
- other = PasswordControlMode('other', None)
- class dropbox.team_policies.PasswordStrengthPolicy(tag, value=None)
Bases:
Union
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 correspondingget_*
method.- Variables:
team_policies.PasswordStrengthPolicy.minimal_requirements – User passwords will adhere to the minimal password strength policy.
team_policies.PasswordStrengthPolicy.moderate_password – User passwords will adhere to the moderate password strength policy.
team_policies.PasswordStrengthPolicy.strong_password – User passwords will adhere to the very strong password strength policy.
- is_minimal_requirements()
Check if the union tag is
minimal_requirements
.- Return type:
bool
- is_moderate_password()
Check if the union tag is
moderate_password
.- Return type:
bool
- is_other()
Check if the union tag is
other
.- Return type:
bool
- is_strong_password()
Check if the union tag is
strong_password
.- Return type:
bool
- minimal_requirements = PasswordStrengthPolicy('minimal_requirements', None)
- moderate_password = PasswordStrengthPolicy('moderate_password', None)
- other = PasswordStrengthPolicy('other', None)
- strong_password = PasswordStrengthPolicy('strong_password', None)
- class dropbox.team_policies.RolloutMethod(tag, value=None)
Bases:
Union
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 correspondingget_*
method.- Variables:
team_policies.RolloutMethod.unlink_all – Unlink all.
team_policies.RolloutMethod.unlink_most_inactive – Unlink devices with the most inactivity.
team_policies.RolloutMethod.add_member_to_exceptions – Add member to Exceptions.
- add_member_to_exceptions = RolloutMethod('add_member_to_exceptions', None)
- is_add_member_to_exceptions()
Check if the union tag is
add_member_to_exceptions
.- Return type:
bool
- is_unlink_all()
Check if the union tag is
unlink_all
.- Return type:
bool
- is_unlink_most_inactive()
Check if the union tag is
unlink_most_inactive
.- Return type:
bool
- unlink_all = RolloutMethod('unlink_all', None)
- unlink_most_inactive = RolloutMethod('unlink_most_inactive', None)
Bases:
Union
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 correspondingget_*
method.- Variables:
team_policies.SharedFolderBlanketLinkRestrictionPolicy.members – Only members of shared folders can access folder content via shared link.
team_policies.SharedFolderBlanketLinkRestrictionPolicy.anyone – Anyone can access folder content via shared link.
Check if the union tag is
anyone
.- Return type:
bool
Check if the union tag is
members
.- Return type:
bool
Check if the union tag is
other
.- Return type:
bool
Bases:
Union
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 correspondingget_*
method.- Variables:
team_policies.SharedFolderJoinPolicy.from_team_only – Team members can only join folders shared by teammates.
team_policies.SharedFolderJoinPolicy.from_anyone – Team members can join any shared folder, including those shared by users outside the team.
Check if the union tag is
from_anyone
.- Return type:
bool
Check if the union tag is
from_team_only
.- Return type:
bool
Check if the union tag is
other
.- Return type:
bool
Bases:
Union
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 correspondingget_*
method.- Variables:
team_policies.SharedFolderMemberPolicy.team – Only a teammate can be a member of a folder shared by a team member.
team_policies.SharedFolderMemberPolicy.anyone – Anyone can be a member of a folder shared by a team member.
Check if the union tag is
anyone
.- Return type:
bool
Check if the union tag is
other
.- Return type:
bool
Check if the union tag is
team
.- Return type:
bool
Bases:
Union
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 correspondingget_*
method.- Variables:
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.
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.
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.
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.
Check if the union tag is
default_no_one
.- Return type:
bool
Check if the union tag is
default_public
.- Return type:
bool
Check if the union tag is
default_team_only
.- Return type:
bool
Check if the union tag is
other
.- Return type:
bool
Check if the union tag is
team_only
.- Return type:
bool
- class dropbox.team_policies.ShowcaseDownloadPolicy(tag, value=None)
Bases:
Union
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 correspondingget_*
method.- Variables:
team_policies.ShowcaseDownloadPolicy.disabled – Do not allow files to be downloaded from Showcases.
team_policies.ShowcaseDownloadPolicy.enabled – Allow files to be downloaded from Showcases.
- disabled = ShowcaseDownloadPolicy('disabled', None)
- enabled = ShowcaseDownloadPolicy('enabled', None)
- is_disabled()
Check if the union tag is
disabled
.- Return type:
bool
- is_enabled()
Check if the union tag is
enabled
.- Return type:
bool
- is_other()
Check if the union tag is
other
.- Return type:
bool
- other = ShowcaseDownloadPolicy('other', None)
- class dropbox.team_policies.ShowcaseEnabledPolicy(tag, value=None)
Bases:
Union
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 correspondingget_*
method.- Variables:
team_policies.ShowcaseEnabledPolicy.disabled – Showcase is disabled.
team_policies.ShowcaseEnabledPolicy.enabled – Showcase is enabled.
- disabled = ShowcaseEnabledPolicy('disabled', None)
- enabled = ShowcaseEnabledPolicy('enabled', None)
- is_disabled()
Check if the union tag is
disabled
.- Return type:
bool
- is_enabled()
Check if the union tag is
enabled
.- Return type:
bool
- is_other()
Check if the union tag is
other
.- Return type:
bool
- other = ShowcaseEnabledPolicy('other', None)
- class dropbox.team_policies.ShowcaseExternalSharingPolicy(tag, value=None)
Bases:
Union
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 correspondingget_*
method.- Variables:
team_policies.ShowcaseExternalSharingPolicy.disabled – Do not allow showcases to be shared with people not on the team.
team_policies.ShowcaseExternalSharingPolicy.enabled – Allow showcases to be shared with people not on the team.
- disabled = ShowcaseExternalSharingPolicy('disabled', None)
- enabled = ShowcaseExternalSharingPolicy('enabled', None)
- is_disabled()
Check if the union tag is
disabled
.- Return type:
bool
- is_enabled()
Check if the union tag is
enabled
.- Return type:
bool
- is_other()
Check if the union tag is
other
.- Return type:
bool
- other = ShowcaseExternalSharingPolicy('other', None)
- class dropbox.team_policies.SmartSyncPolicy(tag, value=None)
Bases:
Union
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 correspondingget_*
method.- Variables:
team_policies.SmartSyncPolicy.local – The specified content will be synced as local files by default.
team_policies.SmartSyncPolicy.on_demand – The specified content will be synced as on-demand files by default.
- is_local()
Check if the union tag is
local
.- Return type:
bool
- is_on_demand()
Check if the union tag is
on_demand
.- Return type:
bool
- is_other()
Check if the union tag is
other
.- Return type:
bool
- local = SmartSyncPolicy('local', None)
- on_demand = SmartSyncPolicy('on_demand', None)
- other = SmartSyncPolicy('other', None)
- class dropbox.team_policies.SmarterSmartSyncPolicyState(tag, value=None)
Bases:
Union
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 correspondingget_*
method.- Variables:
team_policies.SmarterSmartSyncPolicyState.disabled – Smarter Smart Sync feature is disabled.
team_policies.SmarterSmartSyncPolicyState.enabled – Smarter Smart Sync feature is enabled.
- disabled = SmarterSmartSyncPolicyState('disabled', None)
- enabled = SmarterSmartSyncPolicyState('enabled', None)
- is_disabled()
Check if the union tag is
disabled
.- Return type:
bool
- is_enabled()
Check if the union tag is
enabled
.- Return type:
bool
- is_other()
Check if the union tag is
other
.- Return type:
bool
- other = SmarterSmartSyncPolicyState('other', None)
- class dropbox.team_policies.SsoPolicy(tag, value=None)
Bases:
Union
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 correspondingget_*
method.- Variables:
team_policies.SsoPolicy.disabled – Users will be able to sign in with their Dropbox credentials.
team_policies.SsoPolicy.optional – Users will be able to sign in with either their Dropbox or single sign-on credentials.
team_policies.SsoPolicy.required – Users will be required to sign in with their single sign-on credentials.
- disabled = SsoPolicy('disabled', None)
- is_disabled()
Check if the union tag is
disabled
.- Return type:
bool
- is_optional()
Check if the union tag is
optional
.- Return type:
bool
- is_other()
Check if the union tag is
other
.- Return type:
bool
- is_required()
Check if the union tag is
required
.- Return type:
bool
- optional = SsoPolicy('optional', None)
- other = SsoPolicy('other', None)
- required = SsoPolicy('required', None)
- class dropbox.team_policies.SuggestMembersPolicy(tag, value=None)
Bases:
Union
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 correspondingget_*
method.- Variables:
team_policies.SuggestMembersPolicy.disabled – Suggest members is disabled.
team_policies.SuggestMembersPolicy.enabled – Suggest members is enabled.
- disabled = SuggestMembersPolicy('disabled', None)
- enabled = SuggestMembersPolicy('enabled', None)
- is_disabled()
Check if the union tag is
disabled
.- Return type:
bool
- is_enabled()
Check if the union tag is
enabled
.- Return type:
bool
- is_other()
Check if the union tag is
other
.- Return type:
bool
- other = SuggestMembersPolicy('other', None)
- class dropbox.team_policies.TeamMemberPolicies(sharing=None, emm_state=None, office_addin=None, suggest_members_policy=None)
Bases:
Struct
Policies governing team members.
- Variables:
team_policies.TeamMemberPolicies.sharing – Policies governing sharing.
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.
team_policies.TeamMemberPolicies.office_addin – The admin policy around the Dropbox Office Add-In for this team.
team_policies.TeamMemberPolicies.suggest_members_policy – The team policy on if teammembers are allowed to suggest users for admins to invite to the team.
- __init__(sharing=None, emm_state=None, office_addin=None, suggest_members_policy=None)
- emm_state
- office_addin
- sharing
- suggest_members_policy
- class dropbox.team_policies.TeamSharingPolicies(shared_folder_member_policy=None, shared_folder_join_policy=None, shared_link_create_policy=None, group_creation_policy=None, shared_folder_link_restriction_policy=None)
Bases:
Struct
Policies governing sharing within and outside of the team.
- Variables:
team_policies.TeamSharingPolicies.shared_folder_member_policy – Who can join folders shared by team members.
team_policies.TeamSharingPolicies.shared_folder_join_policy – Which shared folders team members can join.
team_policies.TeamSharingPolicies.shared_link_create_policy – Who can view shared links owned by team members.
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.
- __init__(shared_folder_member_policy=None, shared_folder_join_policy=None, shared_link_create_policy=None, group_creation_policy=None, shared_folder_link_restriction_policy=None)
- group_creation_policy
- class dropbox.team_policies.TwoStepVerificationPolicy(tag, value=None)
Bases:
Union
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 correspondingget_*
method.- Variables:
team_policies.TwoStepVerificationPolicy.require_tfa_enable – Enabled require two factor authorization.
team_policies.TwoStepVerificationPolicy.require_tfa_disable – Disabled require two factor authorization.
- is_other()
Check if the union tag is
other
.- Return type:
bool
- is_require_tfa_disable()
Check if the union tag is
require_tfa_disable
.- Return type:
bool
- is_require_tfa_enable()
Check if the union tag is
require_tfa_enable
.- Return type:
bool
- other = TwoStepVerificationPolicy('other', None)
- require_tfa_disable = TwoStepVerificationPolicy('require_tfa_disable', None)
- require_tfa_enable = TwoStepVerificationPolicy('require_tfa_enable', None)
- class dropbox.team_policies.TwoStepVerificationState(tag, value=None)
Bases:
Union
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 correspondingget_*
method.- Variables:
team_policies.TwoStepVerificationState.required – Enabled require two factor authorization.
team_policies.TwoStepVerificationState.optional – Optional require two factor authorization.
team_policies.TwoStepVerificationState.disabled – Disabled require two factor authorization.
- disabled = TwoStepVerificationState('disabled', None)
- is_disabled()
Check if the union tag is
disabled
.- Return type:
bool
- is_optional()
Check if the union tag is
optional
.- Return type:
bool
- is_other()
Check if the union tag is
other
.- Return type:
bool
- is_required()
Check if the union tag is
required
.- Return type:
bool
- optional = TwoStepVerificationState('optional', None)
- other = TwoStepVerificationState('other', None)
- required = TwoStepVerificationState('required', None)