class documentation

class AddMemberSelectorError(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 sharing.AddMemberSelectorError.automatic_group: Automatically created groups can only be added to team folders. :ivar str sharing.AddMemberSelectorError.invalid_dropbox_id: The value is the ID that could not be identified. :ivar str sharing.AddMemberSelectorError.invalid_email: The value is the e-email address that is malformed. :ivar str sharing.AddMemberSelectorError.unverified_dropbox_id: The value is the ID of the Dropbox user with an unverified email address. Invite unverified users by email address instead of by their Dropbox ID. :ivar sharing.AddMemberSelectorError.group_deleted: At least one of the specified groups in ``AddFolderMemberArg.members`` is deleted. :ivar sharing.AddMemberSelectorError.group_not_on_team: Sharing to a group that is not on the current user's team.

Class Method invalid_dropbox_id Create an instance of this class set to the ``invalid_dropbox_id`` tag with value ``val``.
Class Method invalid_email Create an instance of this class set to the ``invalid_email`` tag with value ``val``.
Class Method unverified_dropbox_id Create an instance of this class set to the ``unverified_dropbox_id`` tag with value ``val``.
Method get_invalid_dropbox_id The value is the ID that could not be identified.
Method get_invalid_email The value is the e-email address that is malformed.
Method get_unverified_dropbox_id The value is the ID of the Dropbox user with an unverified email address. Invite unverified users by email address instead of by their Dropbox ID.
Method is_automatic_group Check if the union tag is ``automatic_group``.
Method is_group_deleted Check if the union tag is ``group_deleted``.
Method is_group_not_on_team Check if the union tag is ``group_not_on_team``.
Method is_invalid_dropbox_id Check if the union tag is ``invalid_dropbox_id``.
Method is_invalid_email Check if the union tag is ``invalid_email``.
Method is_other Check if the union tag is ``other``.
Method is_unverified_dropbox_id Check if the union tag is ``unverified_dropbox_id``.
Class Variable automatic_group Undocumented
Class Variable group_deleted Undocumented
Class Variable group_not_on_team Undocumented
Class Variable other Undocumented
Method _process_custom_annotations Undocumented
Class Variable _catch_all Undocumented
@classmethod
def invalid_dropbox_id(cls, val): (source)

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

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

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

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

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

def get_invalid_dropbox_id(self): (source)

The value is the ID that could not be identified. Only call this if :meth:`is_invalid_dropbox_id` is true. :rtype: str

def get_invalid_email(self): (source)

The value is the e-email address that is malformed. Only call this if :meth:`is_invalid_email` is true. :rtype: str

def get_unverified_dropbox_id(self): (source)

The value is the ID of the Dropbox user with an unverified email address. Invite unverified users by email address instead of by their Dropbox ID. Only call this if :meth:`is_unverified_dropbox_id` is true. :rtype: str

def is_automatic_group(self): (source)

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

def is_group_deleted(self): (source)

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

def is_group_not_on_team(self): (source)

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

def is_invalid_dropbox_id(self): (source)

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

def is_invalid_email(self): (source)

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

def is_other(self): (source)

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

def is_unverified_dropbox_id(self): (source)

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

automatic_group = (source)

Undocumented

group_deleted = (source)

Undocumented

group_not_on_team = (source)

Undocumented

Undocumented

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

Undocumented

_catch_all: str = (source)

Undocumented