class documentation

class MembersSetProfileError(MemberSelectorError): (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 team.MembersSetProfileError.external_id_and_new_external_id_unsafe: It is unsafe to use both external_id and new_external_id. :ivar team.MembersSetProfileError.no_new_data_specified: None of new_email, new_given_name, new_surname, or new_external_id are specified. :ivar team.MembersSetProfileError.email_reserved_for_other_user: Email is already reserved for another user. :ivar team.MembersSetProfileError.external_id_used_by_other_user: The external ID is already in use by another team member. :ivar team.MembersSetProfileError.set_profile_disallowed: Modifying deleted users is not allowed. :ivar team.MembersSetProfileError.param_cannot_be_empty: Parameter new_email cannot be empty. :ivar team.MembersSetProfileError.persistent_id_disabled: Persistent ID is only available to teams with persistent ID SAML configuration. Please contact Dropbox for more information. :ivar team.MembersSetProfileError.persistent_id_used_by_other_user: The persistent ID is already in use by another team member. :ivar team.MembersSetProfileError.directory_restricted_off: Directory Restrictions option is not available.

Method is_directory_restricted_off Check if the union tag is ``directory_restricted_off``.
Method is_email_reserved_for_other_user Check if the union tag is ``email_reserved_for_other_user``.
Method is_external_id_and_new_external_id_unsafe Check if the union tag is ``external_id_and_new_external_id_unsafe``.
Method is_external_id_used_by_other_user Check if the union tag is ``external_id_used_by_other_user``.
Method is_no_new_data_specified Check if the union tag is ``no_new_data_specified``.
Method is_other Check if the union tag is ``other``.
Method is_param_cannot_be_empty Check if the union tag is ``param_cannot_be_empty``.
Method is_persistent_id_disabled Check if the union tag is ``persistent_id_disabled``.
Method is_persistent_id_used_by_other_user Check if the union tag is ``persistent_id_used_by_other_user``.
Method is_set_profile_disallowed Check if the union tag is ``set_profile_disallowed``.
Class Variable directory_restricted_off Undocumented
Class Variable email_reserved_for_other_user Undocumented
Class Variable external_id_and_new_external_id_unsafe Undocumented
Class Variable external_id_used_by_other_user Undocumented
Class Variable no_new_data_specified Undocumented
Class Variable other Undocumented
Class Variable param_cannot_be_empty Undocumented
Class Variable persistent_id_disabled Undocumented
Class Variable persistent_id_used_by_other_user Undocumented
Class Variable set_profile_disallowed Undocumented
Method _process_custom_annotations Undocumented
Class Variable _catch_all Undocumented

Inherited from MemberSelectorError:

Method is_user_not_in_team Check if the union tag is ``user_not_in_team``.
Class Variable user_not_in_team Undocumented

Inherited from UserSelectorError (via MemberSelectorError):

Method is_user_not_found Check if the union tag is ``user_not_found``.
Class Variable user_not_found Undocumented
def is_directory_restricted_off(self): (source)

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

def is_email_reserved_for_other_user(self): (source)

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

def is_external_id_and_new_external_id_unsafe(self): (source)

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

def is_external_id_used_by_other_user(self): (source)

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

def is_no_new_data_specified(self): (source)

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

def is_other(self): (source)

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

def is_param_cannot_be_empty(self): (source)

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

def is_persistent_id_disabled(self): (source)

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

def is_persistent_id_used_by_other_user(self): (source)

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

def is_set_profile_disallowed(self): (source)

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

directory_restricted_off = (source)

Undocumented

email_reserved_for_other_user = (source)

Undocumented

external_id_and_new_external_id_unsafe = (source)

Undocumented

external_id_used_by_other_user = (source)

Undocumented

no_new_data_specified = (source)

Undocumented

Undocumented

param_cannot_be_empty = (source)

Undocumented

persistent_id_disabled = (source)

Undocumented

persistent_id_used_by_other_user = (source)

Undocumented

set_profile_disallowed = (source)

Undocumented

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