class FeatureValue(bb.Union): (source)
The values correspond to entries in :class:`Feature`. You may get different value according to your Dropbox Business plan. 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.
Class Method | has |
Create an instance of this class set to the ``has_team_file_events`` tag with value ``val``. |
Class Method | has |
Create an instance of this class set to the ``has_team_selective_sync`` tag with value ``val``. |
Class Method | has |
Create an instance of this class set to the ``has_team_shared_dropbox`` tag with value ``val``. |
Class Method | upload |
Create an instance of this class set to the ``upload_api_rate_limit`` tag with value ``val``. |
Method | get |
Only call this if :meth:`is_has_team_file_events` is true. |
Method | get |
Only call this if :meth:`is_has_team_selective_sync` is true. |
Method | get |
Only call this if :meth:`is_has_team_shared_dropbox` is true. |
Method | get |
Only call this if :meth:`is_upload_api_rate_limit` is true. |
Method | is |
Check if the union tag is ``has_team_file_events``. |
Method | is |
Check if the union tag is ``has_team_selective_sync``. |
Method | is |
Check if the union tag is ``has_team_shared_dropbox``. |
Method | is |
Check if the union tag is ``other``. |
Method | is |
Check if the union tag is ``upload_api_rate_limit``. |
Class Variable | other |
Undocumented |
Method | _process |
Undocumented |
Class Variable | _catch |
Undocumented |
Create an instance of this class set to the ``has_team_file_events`` tag with value ``val``. :param HasTeamFileEventsValue val: :rtype: FeatureValue
Create an instance of this class set to the ``has_team_selective_sync`` tag with value ``val``. :param HasTeamSelectiveSyncValue val: :rtype: FeatureValue
Create an instance of this class set to the ``has_team_shared_dropbox`` tag with value ``val``. :param HasTeamSharedDropboxValue val: :rtype: FeatureValue
Create an instance of this class set to the ``upload_api_rate_limit`` tag with value ``val``. :param UploadApiRateLimitValue val: :rtype: FeatureValue