class documentation

class UpdateFileRequestDeadline(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. :ivar file_requests.UpdateFileRequestDeadline.no_update: Do not change the file request's deadline. :ivar Optional[FileRequestDeadline] file_requests.UpdateFileRequestDeadline.update: If :val:`null`, the file request's deadline is cleared.

Class Method update Create an instance of this class set to the ``update`` tag with value ``val``.
Method get_update If None, the file request's deadline is cleared.
Method is_no_update Check if the union tag is ``no_update``.
Method is_other Check if the union tag is ``other``.
Method is_update Check if the union tag is ``update``.
Class Variable no_update Undocumented
Class Variable other Undocumented
Method _process_custom_annotations Undocumented
Class Variable _catch_all Undocumented
@classmethod
def update(cls, val): (source)

Create an instance of this class set to the ``update`` tag with value ``val``. :param FileRequestDeadline val: :rtype: UpdateFileRequestDeadline

def get_update(self): (source)

If None, the file request's deadline is cleared. Only call this if :meth:`is_update` is true. :rtype: FileRequestDeadline

def is_no_update(self): (source)

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

def is_other(self): (source)

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

def is_update(self): (source)

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

no_update = (source)

Undocumented

Undocumented

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

Undocumented

_catch_all: str = (source)

Undocumented