Package odata.msgraph.client.beta.entity
Class Person
- java.lang.Object
-
- odata.msgraph.client.beta.entity.Entity
-
- odata.msgraph.client.beta.entity.Person
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class Person extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPerson.Builder
-
Field Summary
Fields Modifier and Type Field Description protected Stringbirthdayprotected StringcompanyNameprotected Stringdepartmentprotected StringdisplayNameprotected List<RankedEmailAddress>emailAddressesprotected StringemailAddressesNextLinkprotected StringgivenNameprotected BooleanisFavoriteprotected StringmailboxTypeprotected StringofficeLocationprotected StringpersonNotesprotected StringpersonTypeprotected List<Phone>phonesprotected StringphonesNextLinkprotected List<Location>postalAddressesprotected StringpostalAddressesNextLinkprotected Stringprofessionprotected List<PersonDataSource>sourcesprotected StringsourcesNextLinkprotected Stringsurnameprotected Stringtitleprotected StringuserPrincipalNameprotected List<Website>websitesprotected StringwebsitesNextLinkprotected StringyomiCompany-
Fields inherited from class odata.msgraph.client.beta.entity.Entity
changedFields, contextPath, id, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedPerson()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Person.BuilderbuilderPerson()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.ChangedFieldsgetChangedFields()Optional<String>getCompanyName()Optional<String>getDepartment()Optional<String>getDisplayName()com.github.davidmoten.odata.client.CollectionPage<RankedEmailAddress>getEmailAddresses()com.github.davidmoten.odata.client.CollectionPage<RankedEmailAddress>getEmailAddresses(com.github.davidmoten.odata.client.HttpRequestOptions options)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<Phone>getPhones(com.github.davidmoten.odata.client.HttpRequestOptions options)com.github.davidmoten.odata.client.CollectionPage<Location>getPostalAddresses()com.github.davidmoten.odata.client.CollectionPage<Location>getPostalAddresses(com.github.davidmoten.odata.client.HttpRequestOptions options)Optional<String>getProfession()com.github.davidmoten.odata.client.CollectionPage<PersonDataSource>getSources()com.github.davidmoten.odata.client.CollectionPage<PersonDataSource>getSources(com.github.davidmoten.odata.client.HttpRequestOptions options)Optional<String>getSurname()Optional<String>getTitle()com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()Optional<String>getUserPrincipalName()com.github.davidmoten.odata.client.CollectionPage<Website>getWebsites()com.github.davidmoten.odata.client.CollectionPage<Website>getWebsites(com.github.davidmoten.odata.client.HttpRequestOptions options)Optional<String>getYomiCompany()StringodataTypeName()Personpatch()Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.voidpostInject(boolean addKeysToContextPath)Personput()Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).StringtoString()PersonwithBirthday(String birthday)PersonwithCompanyName(String companyName)PersonwithDepartment(String department)PersonwithDisplayName(String displayName)PersonwithEmailAddresses(List<RankedEmailAddress> emailAddresses)PersonwithGivenName(String givenName)PersonwithIsFavorite(Boolean isFavorite)PersonwithMailboxType(String mailboxType)PersonwithOfficeLocation(String officeLocation)PersonwithPersonNotes(String personNotes)PersonwithPersonType(String personType)PersonwithPhones(List<Phone> phones)PersonwithPostalAddresses(List<Location> postalAddresses)PersonwithProfession(String profession)PersonwithSources(List<PersonDataSource> sources)PersonwithSurname(String surname)PersonwithTitle(String title)PersonwithUnmappedField(String name, String value)PersonwithUserPrincipalName(String userPrincipalName)PersonwithWebsites(List<Website> websites)PersonwithYomiCompany(String yomiCompany)
-
-
-
Field Detail
-
birthday
protected String birthday
-
companyName
protected String companyName
-
department
protected String department
-
displayName
protected String displayName
-
emailAddresses
protected List<RankedEmailAddress> emailAddresses
-
emailAddressesNextLink
protected String emailAddressesNextLink
-
givenName
protected String givenName
-
isFavorite
protected Boolean isFavorite
-
mailboxType
protected String mailboxType
-
officeLocation
protected String officeLocation
-
personNotes
protected String personNotes
-
personType
protected String personType
-
phonesNextLink
protected String phonesNextLink
-
postalAddressesNextLink
protected String postalAddressesNextLink
-
profession
protected String profession
-
sources
protected List<PersonDataSource> sources
-
sourcesNextLink
protected String sourcesNextLink
-
surname
protected String surname
-
title
protected String title
-
userPrincipalName
protected String userPrincipalName
-
websitesNextLink
protected String websitesNextLink
-
yomiCompany
protected String yomiCompany
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classEntity
-
builderPerson
public static Person.Builder builderPerson()
Returns a builder which is used to create a new instance of this class (given that this class is immutable).- Returns:
- a new Builder for this class
-
getChangedFields
public com.github.davidmoten.odata.client.internal.ChangedFields getChangedFields()
- Specified by:
getChangedFieldsin interfacecom.github.davidmoten.odata.client.ODataEntityType- Overrides:
getChangedFieldsin classEntity
-
postInject
public void postInject(boolean addKeysToContextPath)
- Specified by:
postInjectin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
postInjectin classEntity
-
getEmailAddresses
public com.github.davidmoten.odata.client.CollectionPage<RankedEmailAddress> getEmailAddresses()
-
withEmailAddresses
public Person withEmailAddresses(List<RankedEmailAddress> emailAddresses)
-
getEmailAddresses
public com.github.davidmoten.odata.client.CollectionPage<RankedEmailAddress> getEmailAddresses(com.github.davidmoten.odata.client.HttpRequestOptions options)
-
getPhones
public com.github.davidmoten.odata.client.CollectionPage<Phone> getPhones()
-
getPhones
public com.github.davidmoten.odata.client.CollectionPage<Phone> getPhones(com.github.davidmoten.odata.client.HttpRequestOptions options)
-
getPostalAddresses
public com.github.davidmoten.odata.client.CollectionPage<Location> getPostalAddresses()
-
getPostalAddresses
public com.github.davidmoten.odata.client.CollectionPage<Location> getPostalAddresses(com.github.davidmoten.odata.client.HttpRequestOptions options)
-
getSources
public com.github.davidmoten.odata.client.CollectionPage<PersonDataSource> getSources()
-
withSources
public Person withSources(List<PersonDataSource> sources)
-
getSources
public com.github.davidmoten.odata.client.CollectionPage<PersonDataSource> getSources(com.github.davidmoten.odata.client.HttpRequestOptions options)
-
getWebsites
public com.github.davidmoten.odata.client.CollectionPage<Website> getWebsites()
-
getWebsites
public com.github.davidmoten.odata.client.CollectionPage<Website> getWebsites(com.github.davidmoten.odata.client.HttpRequestOptions options)
-
withUnmappedField
public Person withUnmappedField(String name, String value)
- Overrides:
withUnmappedFieldin classEntity
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classEntity
-
patch
public Person patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.
-
put
public Person put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).
-
-