public class Person extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
| Modifier and Type | Class and Description |
|---|---|
static class |
Person.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected String |
birthday |
protected String |
companyName |
protected String |
department |
protected String |
displayName |
protected List<RankedEmailAddress> |
emailAddresses |
protected String |
emailAddressesNextLink |
protected String |
givenName |
protected Boolean |
isFavorite |
protected String |
mailboxType |
protected String |
officeLocation |
protected String |
personNotes |
protected String |
personType |
protected List<Phone> |
phones |
protected String |
phonesNextLink |
protected List<Location> |
postalAddresses |
protected String |
postalAddressesNextLink |
protected String |
profession |
protected List<PersonDataSource> |
sources |
protected String |
sourcesNextLink |
protected String |
surname |
protected String |
title |
protected String |
userPrincipalName |
protected List<Website> |
websites |
protected String |
websitesNextLink |
protected String |
yomiCompany |
changedFields, contextPath, id, odataType, unmappedFields| Modifier | Constructor and Description |
|---|---|
protected |
Person() |
| Modifier and Type | Method and Description |
|---|---|
static Person.Builder |
builderPerson()
Returns a builder which is used to create a new
instance of this class (given that this class is immutable).
|
Optional<String> |
getBirthday() |
com.github.davidmoten.odata.client.internal.ChangedFields |
getChangedFields() |
Optional<String> |
getCompanyName() |
Optional<String> |
getDepartment() |
Optional<String> |
getDisplayName() |
com.github.davidmoten.odata.client.CollectionPage<RankedEmailAddress> |
getEmailAddresses() |
Optional<String> |
getGivenName() |
Optional<Boolean> |
getIsFavorite() |
Optional<String> |
getMailboxType() |
Optional<String> |
getOfficeLocation() |
Optional<String> |
getPersonNotes() |
Optional<String> |
getPersonType() |
com.github.davidmoten.odata.client.CollectionPage<Phone> |
getPhones() |
com.github.davidmoten.odata.client.CollectionPage<Location> |
getPostalAddresses() |
Optional<String> |
getProfession() |
com.github.davidmoten.odata.client.CollectionPage<PersonDataSource> |
getSources() |
Optional<String> |
getSurname() |
Optional<String> |
getTitle() |
com.github.davidmoten.odata.client.internal.UnmappedFields |
getUnmappedFields() |
Optional<String> |
getUserPrincipalName() |
com.github.davidmoten.odata.client.CollectionPage<Website> |
getWebsites() |
Optional<String> |
getYomiCompany() |
String |
odataTypeName() |
Person |
patch()
Submits only changed fields for update and returns an
immutable copy of
this with changed fields reset. |
void |
postInject(boolean addKeysToContextPath) |
Person |
put()
Submits all fields for update and returns an immutable copy of
this
with changed fields reset (they were ignored anyway). |
String |
toString() |
Person |
withBirthday(String birthday) |
Person |
withCompanyName(String companyName) |
Person |
withDepartment(String department) |
Person |
withDisplayName(String displayName) |
Person |
withGivenName(String givenName) |
Person |
withIsFavorite(Boolean isFavorite) |
Person |
withMailboxType(String mailboxType) |
Person |
withOfficeLocation(String officeLocation) |
Person |
withPersonNotes(String personNotes) |
Person |
withPersonType(String personType) |
Person |
withProfession(String profession) |
Person |
withSurname(String surname) |
Person |
withTitle(String title) |
Person |
withUserPrincipalName(String userPrincipalName) |
Person |
withYomiCompany(String yomiCompany) |
protected String displayName
protected String givenName
protected String surname
protected String birthday
protected String personNotes
protected Boolean isFavorite
protected List<RankedEmailAddress> emailAddresses
protected String emailAddressesNextLink
protected String phonesNextLink
protected String postalAddressesNextLink
protected String websitesNextLink
protected String title
protected String companyName
protected String yomiCompany
protected String department
protected String officeLocation
protected String profession
protected List<PersonDataSource> sources
protected String sourcesNextLink
protected String mailboxType
protected String personType
protected String userPrincipalName
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypeodataTypeName in class Entitypublic static Person.Builder builderPerson()
public com.github.davidmoten.odata.client.internal.ChangedFields getChangedFields()
getChangedFields in interface com.github.davidmoten.odata.client.ODataEntityTypegetChangedFields in class Entitypublic void postInject(boolean addKeysToContextPath)
postInject in interface com.github.davidmoten.odata.client.ODataTypepostInject in class Entitypublic com.github.davidmoten.odata.client.CollectionPage<RankedEmailAddress> getEmailAddresses()
public com.github.davidmoten.odata.client.CollectionPage<Phone> getPhones()
public com.github.davidmoten.odata.client.CollectionPage<Location> getPostalAddresses()
public com.github.davidmoten.odata.client.CollectionPage<Website> getWebsites()
public com.github.davidmoten.odata.client.CollectionPage<PersonDataSource> getSources()
public com.github.davidmoten.odata.client.internal.UnmappedFields getUnmappedFields()
getUnmappedFields in interface com.github.davidmoten.odata.client.ODataTypegetUnmappedFields in class Entitypublic Person patch()
this with changed fields reset.public Person put()
this
with changed fields reset (they were ignored anyway).Copyright © 2018–2020. All rights reserved.