Contact

public final class Contact

Class representation of a Nylas contact object

Constructors

Link copied to clipboard
public Contact Contact(@Json(name = "id") String id, @Json(name = "grant_id") String grantId, @Json(name = "object") String obj, @Json(name = "birthday") String birthday, @Json(name = "company_name") String companyName, @Json(name = "display_name") String displayName, @Json(name = "emails") List<ContactEmail> emails, @Json(name = "im_addresses") List<InstantMessagingAddress> imAddresses, @Json(name = "given_name") String givenName, @Json(name = "job_title") String jobTitle, @Json(name = "manager_name") String managerName, @Json(name = "middle_name") String middleName, @Json(name = "nickname") String nickname, @Json(name = "notes") String notes, @Json(name = "office_location") String officeLocation, @Json(name = "picture_url") String pictureUrl, @Json(name = "picture") String picture, @Json(name = "suffix") String suffix, @Json(name = "surname") String surname, @Json(name = "source") SourceType source, @Json(name = "phone_numbers") List<PhoneNumber> phoneNumbers, @Json(name = "physical_addresses") List<PhysicalAddress> physicalAddresses, @Json(name = "web_pages") List<WebPage> webPages, @Json(name = "groups") List<ContactGroupId> groups)

Properties

Link copied to clipboard
private final String birthday
Link copied to clipboard
private final String companyName
Link copied to clipboard
private final String displayName
Link copied to clipboard
private final List<ContactEmail> emails
Link copied to clipboard
private final String givenName
Link copied to clipboard
private final String grantId
Link copied to clipboard
private final List<ContactGroupId> groups
Link copied to clipboard
private final String id
Link copied to clipboard
Link copied to clipboard
private final String jobTitle
Link copied to clipboard
private final String managerName
Link copied to clipboard
private final String middleName
Link copied to clipboard
private final String nickname
Link copied to clipboard
private final String notes
Link copied to clipboard
private final String officeLocation
Link copied to clipboard
private final List<PhoneNumber> phoneNumbers
Link copied to clipboard
Link copied to clipboard
private final String picture
Link copied to clipboard
private final String pictureUrl
Link copied to clipboard
private final SourceType source
Link copied to clipboard
private final String suffix
Link copied to clipboard
private final String surname
Link copied to clipboard
private final List<WebPage> webPages

Functions

Link copied to clipboard
public final String getBirthday()
Link copied to clipboard
public final String getCompanyName()
Link copied to clipboard
public final String getDisplayName()
Link copied to clipboard
public final List<ContactEmail> getEmails()
Link copied to clipboard
public final String getGivenName()
Link copied to clipboard
public final String getGrantId()
Link copied to clipboard
public final List<ContactGroupId> getGroups()
Link copied to clipboard
public final String getId()
Link copied to clipboard
Link copied to clipboard
public final String getJobTitle()
Link copied to clipboard
public final String getManagerName()
Link copied to clipboard
public final String getMiddleName()
Link copied to clipboard
public final String getNickname()
Link copied to clipboard
public final String getNotes()
Link copied to clipboard
public final String getObject()
Link copied to clipboard
public final String getOfficeLocation()
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
public final String getPicture()
Link copied to clipboard
public final String getPictureUrl()
Link copied to clipboard
public final SourceType getSource()
Link copied to clipboard
public final String getSuffix()
Link copied to clipboard
public final String getSurname()
Link copied to clipboard
public final List<WebPage> getWebPages()