class documentation

class SharingAllowlistRemoveError(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 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_do_not_exist Create an instance of this class set to the ``entries_do_not_exist`` tag with value ``val``.
Class Method malformed_entry Create an instance of this class set to the ``malformed_entry`` tag with value ``val``.
Method get_entries_do_not_exist One or more provided values do not exist.
Method get_malformed_entry One of provided values is not valid.
Method is_entries_do_not_exist Check if the union tag is ``entries_do_not_exist``.
Method is_malformed_entry Check if the union tag is ``malformed_entry``.
Method is_no_entries_provided Check if the union tag is ``no_entries_provided``.
Method is_other Check if the union tag is ``other``.
Method is_too_many_entries_provided Check if the union tag is ``too_many_entries_provided``.
Method is_unknown_error Check if the union tag is ``unknown_error``.
Class Variable no_entries_provided Undocumented
Class Variable other Undocumented
Class Variable too_many_entries_provided Undocumented
Class Variable unknown_error Undocumented
Method _process_custom_annotations Undocumented
Class Variable _catch_all Undocumented
@classmethod
def entries_do_not_exist(cls, val): (source)

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

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

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

def get_entries_do_not_exist(self): (source)

One or more provided values do not exist. Only call this if :meth:`is_entries_do_not_exist` is true. :rtype: str

def get_malformed_entry(self): (source)

One of provided values is not valid. Only call this if :meth:`is_malformed_entry` is true. :rtype: str

def is_entries_do_not_exist(self): (source)

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

def is_malformed_entry(self): (source)

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

def is_no_entries_provided(self): (source)

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

def is_other(self): (source)

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

def is_too_many_entries_provided(self): (source)

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

def is_unknown_error(self): (source)

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

no_entries_provided = (source)

Undocumented

Undocumented

too_many_entries_provided = (source)

Undocumented

unknown_error = (source)

Undocumented

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

Undocumented

_catch_all: str = (source)

Undocumented