Package com.dropbox.core.v2.contacts
Class DbxUserContactsRequests
- java.lang.Object
-
- com.dropbox.core.v2.contacts.DbxUserContactsRequests
-
public class DbxUserContactsRequests extends java.lang.Object
Routes in namespace "contacts".
-
-
Constructor Summary
Constructors Constructor Description DbxUserContactsRequests(DbxRawClientV2 client)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
deleteManualContacts()
Removes all manually added contacts.void
deleteManualContactsBatch(java.util.List<java.lang.String> emailAddresses)
Removes manually added contacts from the given list.
-
-
-
Constructor Detail
-
DbxUserContactsRequests
public DbxUserContactsRequests(DbxRawClientV2 client)
-
-
Method Detail
-
deleteManualContacts
public void deleteManualContacts() throws DbxApiException, DbxException
Removes all manually added contacts. You'll still keep contacts who are on your team or who you imported. New contacts will be added when you share.- Throws:
DbxApiException
DbxException
-
deleteManualContactsBatch
public void deleteManualContactsBatch(java.util.List<java.lang.String> emailAddresses) throws DeleteManualContactsErrorException, DbxException
Removes manually added contacts from the given list.- Parameters:
emailAddresses
- List of manually added contacts to be deleted. Must not contain anull
item and not benull
.- Throws:
java.lang.IllegalArgumentException
- If any argument does not meet its preconditions.DeleteManualContactsErrorException
DbxException
-
-