class documentation

class ListDocsCursorError(bb.Union): (source)

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.

Class Method cursor_error Create an instance of this class set to the ``cursor_error`` tag with value ``val``.
Method get_cursor_error Only call this if :meth:`is_cursor_error` is true.
Method is_cursor_error Check if the union tag is ``cursor_error``.
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 cursor_error(cls, val): (source)

Create an instance of this class set to the ``cursor_error`` tag with value ``val``. :param PaperApiCursorError val: :rtype: ListDocsCursorError

def get_cursor_error(self): (source)

Only call this if :meth:`is_cursor_error` is true. :rtype: PaperApiCursorError

def is_cursor_error(self): (source)

Check if the union tag is ``cursor_error``. :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