dropbox.contacts
– Contacts
- class dropbox.contacts.DeleteManualContactsArg(email_addresses=None)
Bases:
Struct
- Variables:
contacts.DeleteManualContactsArg.email_addresses – List of manually added contacts to be deleted.
- __init__(email_addresses=None)
- email_addresses
- class dropbox.contacts.DeleteManualContactsError(tag, value=None)
Bases:
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 correspondingget_*
method.- Variables:
contacts.DeleteManualContactsError.contacts_not_found (list of [str]) – 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 valueval
.- Parameters:
val (list of [str]) –
- Return type:
- 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)