dropbox.contacts – Contacts

class dropbox.contacts.DeleteManualContactsArg(email_addresses=None)

Bases: dropbox.stone_base.Struct

Variables:contacts.DeleteManualContactsArg.email_addresses – List of manually added contacts to be deleted.
__init__(email_addresses=None)

x.__init__(…) initializes x; see help(type(x)) for signature

email_addresses

List of manually added contacts to be deleted.

Return type:list of [str]
class dropbox.contacts.DeleteManualContactsError(tag, value=None)

Bases: dropbox.stone_base.Union

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.

Variables:of [str] contacts.DeleteManualContactsError.contacts_not_found (list) – Can’t delete contacts from this list. Make sure the list only has manually added contacts. The deletion was cancelled.
classmethod contacts_not_found(val)

Create an instance of this class set to the contacts_not_found tag with value val.

Parameters:of [str] val (list) –
Return type:contacts.DeleteManualContactsError
get_contacts_not_found()

Can’t delete contacts from this list. Make sure the list only has manually added contacts. The deletion was cancelled.

Only call this if is_contacts_not_found() is true.

Return type:list of [str]
is_contacts_not_found()

Check if the union tag is contacts_not_found.

Return type:bool
is_other()

Check if the union tag is other.

Return type:bool
other = DeleteManualContactsError('other', None)