class SharingAllowlistAddError(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.SharingAllowlistAddError.malformed_entry: One of provided values is not valid. :ivar team.SharingAllowlistAddError.no_entries_provided: Neither single domain nor email provided. :ivar team.SharingAllowlistAddError.too_many_entries_provided: Too many entries provided within one call. :ivar team.SharingAllowlistAddError.team_limit_reached: Team entries limit reached. :ivar team.SharingAllowlistAddError.unknown_error: Unknown error. :ivar str team.SharingAllowlistAddError.entries_already_exist: Entries already exists.
Class Method | entries |
Create an instance of this class set to the ``entries_already_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 |
Entries already exists. |
Method | get |
One of provided values is not valid. |
Method | is |
Check if the union tag is ``entries_already_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 ``team_limit_reached``. |
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 | team |
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_already_exist`` tag with value ``val``. :param str val: :rtype: SharingAllowlistAddError
Create an instance of this class set to the ``malformed_entry`` tag with value ``val``. :param str val: :rtype: SharingAllowlistAddError
One of provided values is not valid. Only call this if :meth:`is_malformed_entry` is true. :rtype: str