class documentation

class FeatureValue(bb.Union): (source)

View In Hierarchy

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_team_file_events Create an instance of this class set to the ``has_team_file_events`` tag with value ``val``.
Class Method has_team_selective_sync Create an instance of this class set to the ``has_team_selective_sync`` tag with value ``val``.
Class Method has_team_shared_dropbox Create an instance of this class set to the ``has_team_shared_dropbox`` tag with value ``val``.
Class Method upload_api_rate_limit Create an instance of this class set to the ``upload_api_rate_limit`` tag with value ``val``.
Method get_has_team_file_events Only call this if :meth:`is_has_team_file_events` is true.
Method get_has_team_selective_sync Only call this if :meth:`is_has_team_selective_sync` is true.
Method get_has_team_shared_dropbox Only call this if :meth:`is_has_team_shared_dropbox` is true.
Method get_upload_api_rate_limit Only call this if :meth:`is_upload_api_rate_limit` is true.
Method is_has_team_file_events Check if the union tag is ``has_team_file_events``.
Method is_has_team_selective_sync Check if the union tag is ``has_team_selective_sync``.
Method is_has_team_shared_dropbox Check if the union tag is ``has_team_shared_dropbox``.
Method is_other Check if the union tag is ``other``.
Method is_upload_api_rate_limit Check if the union tag is ``upload_api_rate_limit``.
Class Variable other Undocumented
Method _process_custom_annotations Undocumented
Class Variable _catch_all Undocumented
@classmethod
def has_team_file_events(cls, val): (source)

Create an instance of this class set to the ``has_team_file_events`` tag with value ``val``. :param HasTeamFileEventsValue val: :rtype: FeatureValue

@classmethod
def has_team_selective_sync(cls, val): (source)

Create an instance of this class set to the ``has_team_selective_sync`` tag with value ``val``. :param HasTeamSelectiveSyncValue val: :rtype: FeatureValue

@classmethod
def has_team_shared_dropbox(cls, val): (source)

Create an instance of this class set to the ``has_team_shared_dropbox`` tag with value ``val``. :param HasTeamSharedDropboxValue val: :rtype: FeatureValue

@classmethod
def upload_api_rate_limit(cls, val): (source)

Create an instance of this class set to the ``upload_api_rate_limit`` tag with value ``val``. :param UploadApiRateLimitValue val: :rtype: FeatureValue

def get_has_team_file_events(self): (source)

Only call this if :meth:`is_has_team_file_events` is true. :rtype: HasTeamFileEventsValue

def get_has_team_selective_sync(self): (source)

Only call this if :meth:`is_has_team_selective_sync` is true. :rtype: HasTeamSelectiveSyncValue

def get_has_team_shared_dropbox(self): (source)

Only call this if :meth:`is_has_team_shared_dropbox` is true. :rtype: HasTeamSharedDropboxValue

def get_upload_api_rate_limit(self): (source)

Only call this if :meth:`is_upload_api_rate_limit` is true. :rtype: UploadApiRateLimitValue

def is_has_team_file_events(self): (source)

Check if the union tag is ``has_team_file_events``. :rtype: bool

def is_has_team_selective_sync(self): (source)

Check if the union tag is ``has_team_selective_sync``. :rtype: bool

def is_has_team_shared_dropbox(self): (source)

Check if the union tag is ``has_team_shared_dropbox``. :rtype: bool

def is_other(self): (source)

Check if the union tag is ``other``. :rtype: bool

def is_upload_api_rate_limit(self): (source)

Check if the union tag is ``upload_api_rate_limit``. :rtype: bool

Undocumented

def _process_custom_annotations(self, annotation_type, field_path, processor): (source)

Undocumented

_catch_all: str = (source)

Undocumented