class documentation

class TemplateFilterBase(bb.Union): (source)

Known subclasses: dropbox.file_properties.TemplateFilter

View In Hierarchy

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_some Create an instance of this class set to the ``filter_some`` tag with value ``val``.
Method get_filter_some Only templates with an ID in the supplied list will be returned (a subset of templates will be returned).
Method is_filter_some Check if the union tag is ``filter_some``.
Method is_other Check if the union tag is ``other``.
Class Variable other Undocumented
Method _process_custom_annotations Undocumented
Class Variable _catch_all Undocumented
@classmethod
def filter_some(cls, val): (source)

Create an instance of this class set to the ``filter_some`` tag with value ``val``. :param list of [str] val: :rtype: TemplateFilterBase

def get_filter_some(self): (source)

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]

def is_filter_some(self): (source)

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

def is_other(self): (source)

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

Undocumented

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

Undocumented

_catch_all: str = (source)

Undocumented