class RemoveCustomQuotaResult(bb.Union): (source)
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 |
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 (not in team). |
Method | get |
Successfully removed user. |
Method | is |
Check if the union tag is ``invalid_user``. |
Method | is |
Check if the union tag is ``other``. |
Method | is |
Check if the union tag is ``success``. |
Class Variable | other |
Undocumented |
Method | _process |
Undocumented |
Class Variable | _catch |
Undocumented |
Create an instance of this class set to the ``invalid_user`` tag with value ``val``. :param UserSelectorArg val: :rtype: RemoveCustomQuotaResult
Create an instance of this class set to the ``success`` tag with value ``val``. :param UserSelectorArg val: :rtype: RemoveCustomQuotaResult
Invalid user (not in team). Only call this if :meth:`is_invalid_user` is true. :rtype: UserSelectorArg