class documentation

class RemoveCustomQuotaResult(bb.Union): (source)

View In Hierarchy

User result for setting member custom quota. 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 UserSelectorArg RemoveCustomQuotaResult.success: Successfully removed user. :ivar UserSelectorArg RemoveCustomQuotaResult.invalid_user: Invalid user (not in team).

Class Method invalid_user Create an instance of this class set to the ``invalid_user`` tag with value ``val``.
Class Method success Create an instance of this class set to the ``success`` tag with value ``val``.
Method get_invalid_user Invalid user (not in team).
Method get_success Successfully removed user.
Method is_invalid_user Check if the union tag is ``invalid_user``.
Method is_other Check if the union tag is ``other``.
Method is_success Check if the union tag is ``success``.
Class Variable other Undocumented
Method _process_custom_annotations Undocumented
Class Variable _catch_all Undocumented
@classmethod
def invalid_user(cls, val): (source)

Create an instance of this class set to the ``invalid_user`` tag with value ``val``. :param UserSelectorArg val: :rtype: RemoveCustomQuotaResult

@classmethod
def success(cls, val): (source)

Create an instance of this class set to the ``success`` tag with value ``val``. :param UserSelectorArg val: :rtype: RemoveCustomQuotaResult

def get_invalid_user(self): (source)

Invalid user (not in team). Only call this if :meth:`is_invalid_user` is true. :rtype: UserSelectorArg

def get_success(self): (source)

Successfully removed user. Only call this if :meth:`is_success` is true. :rtype: UserSelectorArg

def is_invalid_user(self): (source)

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

def is_other(self): (source)

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

def is_success(self): (source)

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

Undocumented

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

Undocumented

_catch_all: str = (source)

Undocumented