class documentation

class GetTeamEventsError(bb.Union): (source)

View In Hierarchy

Errors that can be raised when calling :meth:`dropbox.dropbox_client.Dropbox.team_log_get_events`. 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_log.GetTeamEventsError.account_id_not_found: No user found matching the provided account_id. :ivar team_log.GetTeamEventsError.invalid_time_range: Invalid time range. :ivar team_log.GetTeamEventsError.invalid_filters: Invalid filters. Do not specify both event_type and category parameters for the same call.

Method is_account_id_not_found Check if the union tag is ``account_id_not_found``.
Method is_invalid_filters Check if the union tag is ``invalid_filters``.
Method is_invalid_time_range Check if the union tag is ``invalid_time_range``.
Method is_other Check if the union tag is ``other``.
Class Variable account_id_not_found Undocumented
Class Variable invalid_filters Undocumented
Class Variable invalid_time_range Undocumented
Class Variable other Undocumented
Method _process_custom_annotations Undocumented
Class Variable _catch_all Undocumented
def is_account_id_not_found(self): (source)

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

def is_invalid_filters(self): (source)

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

def is_invalid_time_range(self): (source)

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

def is_other(self): (source)

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

account_id_not_found = (source)

Undocumented

invalid_filters = (source)

Undocumented

invalid_time_range = (source)

Undocumented

Undocumented

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

Undocumented

_catch_all: str = (source)

Undocumented