class documentation

class GetAccountBatchError(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 str users.GetAccountBatchError.no_account: The value is an account ID specified in :field:`GetAccountBatchArg.account_ids` that does not exist.

Class Method no_account Create an instance of this class set to the ``no_account`` tag with value ``val``.
Method get_no_account The value is an account ID specified in ``GetAccountBatchArg.account_ids`` that does not exist.
Method is_no_account Check if the union tag is ``no_account``.
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 no_account(cls, val): (source)

Create an instance of this class set to the ``no_account`` tag with value ``val``. :param str val: :rtype: GetAccountBatchError

def get_no_account(self): (source)

The value is an account ID specified in ``GetAccountBatchArg.account_ids`` that does not exist. Only call this if :meth:`is_no_account` is true. :rtype: str

def is_no_account(self): (source)

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