class TemplateFilterBase(bb.Union): (source)
Known subclasses: dropbox.file_properties.TemplateFilter
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 list of [str] file_properties.TemplateFilterBase.filter_some: Only templates with an ID in the supplied list will be returned (a subset of templates will be returned).
Class Method | filter |
Create an instance of this class set to the ``filter_some`` tag with value ``val``. |
Method | get |
Only templates with an ID in the supplied list will be returned (a subset of templates will be returned). |
Method | is |
Check if the union tag is ``filter_some``. |
Method | is |
Check if the union tag is ``other``. |
Class Variable | other |
Undocumented |
Method | _process |
Undocumented |
Class Variable | _catch |
Undocumented |
Create an instance of this class set to the ``filter_some`` tag with value ``val``. :param list of [str] val: :rtype: TemplateFilterBase
Only templates with an ID in the supplied list will be returned (a subset of templates will be returned). Only call this if :meth:`is_filter_some` is true. :rtype: list of [str]