Package odata.msgraph.client.beta.entity
Class PersonName
- java.lang.Object
-
- odata.msgraph.client.beta.entity.Entity
-
- odata.msgraph.client.beta.entity.ItemFacet
-
- odata.msgraph.client.beta.entity.PersonName
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class PersonName extends ItemFacet implements com.github.davidmoten.odata.client.ODataEntityType
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPersonName.Builder
-
Field Summary
Fields Modifier and Type Field Description protected StringdisplayNameprotected Stringfirstprotected Stringinitialsprotected StringlanguageTagprotected Stringlastprotected Stringmaidenprotected Stringmiddleprotected Stringnicknameprotected PersonNamePronounciationpronunciationprotected Stringsuffixprotected Stringtitle-
Fields inherited from class odata.msgraph.client.beta.entity.ItemFacet
allowedAudiences, createdBy, createdDateTime, inference, isSearchable, lastModifiedBy, lastModifiedDateTime, source
-
Fields inherited from class odata.msgraph.client.beta.entity.Entity
changedFields, contextPath, id, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedPersonName()
-
Method Summary
-
Methods inherited from class odata.msgraph.client.beta.entity.ItemFacet
getAllowedAudiences, getCreatedBy, getCreatedDateTime, getInference, getIsSearchable, getLastModifiedBy, getLastModifiedDateTime, getSource, withAllowedAudiences, withCreatedBy, withCreatedDateTime, withInference, withIsSearchable, withLastModifiedBy, withLastModifiedDateTime, withSource
-
-
-
-
Field Detail
-
displayName
protected String displayName
-
first
protected String first
-
initials
protected String initials
-
languageTag
protected String languageTag
-
last
protected String last
-
maiden
protected String maiden
-
middle
protected String middle
-
nickname
protected String nickname
-
pronunciation
protected PersonNamePronounciation pronunciation
-
suffix
protected String suffix
-
title
protected String title
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classItemFacet
-
builderPersonName
public static PersonName.Builder builderPersonName()
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 classItemFacet
-
postInject
public void postInject(boolean addKeysToContextPath)
- Specified by:
postInjectin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
postInjectin classItemFacet
-
withDisplayName
public PersonName withDisplayName(String displayName)
-
withFirst
public PersonName withFirst(String first)
-
withInitials
public PersonName withInitials(String initials)
-
withLanguageTag
public PersonName withLanguageTag(String languageTag)
-
withLast
public PersonName withLast(String last)
-
withMaiden
public PersonName withMaiden(String maiden)
-
withMiddle
public PersonName withMiddle(String middle)
-
withNickname
public PersonName withNickname(String nickname)
-
getPronunciation
public Optional<PersonNamePronounciation> getPronunciation()
-
withPronunciation
public PersonName withPronunciation(PersonNamePronounciation pronunciation)
-
withSuffix
public PersonName withSuffix(String suffix)
-
withTitle
public PersonName withTitle(String title)
-
withUnmappedField
public PersonName withUnmappedField(String name, String value)
- Overrides:
withUnmappedFieldin classItemFacet
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classItemFacet
-
patch
public PersonName patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.
-
put
public PersonName put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).
-
-