class SharingAllowlistRemoveError(bb.Union): (source)
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 team.SharingAllowlistRemoveError.malformed_entry: One of provided values is not valid. :ivar str team.SharingAllowlistRemoveError.entries_do_not_exist: One or more provided values do not exist. :ivar team.SharingAllowlistRemoveError.no_entries_provided: Neither single domain nor email provided. :ivar team.SharingAllowlistRemoveError.too_many_entries_provided: Too many entries provided within one call. :ivar team.SharingAllowlistRemoveError.unknown_error: Unknown error.
Class Method | entries |
Create an instance of this class set to the ``entries_do_not_exist`` tag with value ``val``. |
Class Method | malformed |
Create an instance of this class set to the ``malformed_entry`` tag with value ``val``. |
Method | get |
One or more provided values do not exist. |
Method | get |
One of provided values is not valid. |
Method | is |
Check if the union tag is ``entries_do_not_exist``. |
Method | is |
Check if the union tag is ``malformed_entry``. |
Method | is |
Check if the union tag is ``no_entries_provided``. |
Method | is |
Check if the union tag is ``other``. |
Method | is |
Check if the union tag is ``too_many_entries_provided``. |
Method | is |
Check if the union tag is ``unknown_error``. |
Class Variable | no |
Undocumented |
Class Variable | other |
Undocumented |
Class Variable | too |
Undocumented |
Class Variable | unknown |
Undocumented |
Method | _process |
Undocumented |
Class Variable | _catch |
Undocumented |
Create an instance of this class set to the ``entries_do_not_exist`` tag with value ``val``. :param str val: :rtype: SharingAllowlistRemoveError
Create an instance of this class set to the ``malformed_entry`` tag with value ``val``. :param str val: :rtype: SharingAllowlistRemoveError
One or more provided values do not exist. Only call this if :meth:`is_entries_do_not_exist` is true. :rtype: str
One of provided values is not valid. Only call this if :meth:`is_malformed_entry` is true. :rtype: str