Contacts

public final class Contacts extends Resource<Contact>

Constructors

Link copied to clipboard
public Contacts Contacts(NylasClient client)

Functions

Link copied to clipboard
public final DeleteResponse destroy(String identifier, String contactId)

Delete a Contact

Link copied to clipboard
public final Response<Contact> find(String identifier, String contactId)
public final Response<Contact> find(String identifier, String contactId, FindContactQueryParams queryParams)

Return a contact

Link copied to clipboard
public final ListResponse<Contact> list(String identifier)
public final ListResponse<Contact> list(String identifier, ListContactsQueryParams queryParams)

Return all contacts

Link copied to clipboard

Return all contact groups

Link copied to clipboard
public final Response<Contact> update(String identifier, String contactId, UpdateContactRequest requestBody)

Update a Contact