public class PersonName extends ItemFacet implements com.github.davidmoten.odata.client.ODataEntityType
| Modifier and Type | Class and Description |
|---|---|
static class |
PersonName.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected String |
displayName |
protected String |
first |
protected String |
initials |
protected String |
languageTag |
protected String |
last |
protected String |
maiden |
protected String |
middle |
protected String |
nickname |
protected YomiPersonName |
pronunciation |
protected String |
suffix |
protected String |
title |
allowedAudiences, createdBy, createdDateTime, inference, lastModifiedBy, lastModifiedDateTime, sourcechangedFields, contextPath, id, odataType, unmappedFields| Modifier | Constructor and Description |
|---|---|
protected |
PersonName() |
| Modifier and Type | Method and Description |
|---|---|
static PersonName.Builder |
builderPersonName()
Returns a builder which is used to create a new
instance of this class (given that this class is immutable).
|
com.github.davidmoten.odata.client.internal.ChangedFields |
getChangedFields() |
Optional<String> |
getDisplayName() |
Optional<String> |
getFirst() |
Optional<String> |
getInitials() |
Optional<String> |
getLanguageTag() |
Optional<String> |
getLast() |
Optional<String> |
getMaiden() |
Optional<String> |
getMiddle() |
Optional<String> |
getNickname() |
Optional<YomiPersonName> |
getPronunciation() |
Optional<String> |
getSuffix() |
Optional<String> |
getTitle() |
com.github.davidmoten.odata.client.internal.UnmappedFields |
getUnmappedFields() |
String |
odataTypeName() |
PersonName |
patch()
Submits only changed fields for update and returns an
immutable copy of
this with changed fields reset. |
void |
postInject(boolean addKeysToContextPath) |
PersonName |
put()
Submits all fields for update and returns an immutable copy of
this
with changed fields reset (they were ignored anyway). |
String |
toString() |
PersonName |
withDisplayName(String displayName) |
PersonName |
withFirst(String first) |
PersonName |
withInitials(String initials) |
PersonName |
withLanguageTag(String languageTag) |
PersonName |
withLast(String last) |
PersonName |
withMaiden(String maiden) |
PersonName |
withMiddle(String middle) |
PersonName |
withNickname(String nickname) |
PersonName |
withPronunciation(YomiPersonName pronunciation) |
PersonName |
withSuffix(String suffix) |
PersonName |
withTitle(String title) |
getAllowedAudiences, getCreatedBy, getCreatedDateTime, getInference, getLastModifiedBy, getLastModifiedDateTime, getSource, withAllowedAudiences, withCreatedBy, withCreatedDateTime, withInference, withLastModifiedBy, withLastModifiedDateTime, withSourceprotected String displayName
protected String first
protected String initials
protected String last
protected String languageTag
protected String maiden
protected String middle
protected String nickname
protected String suffix
protected String title
protected YomiPersonName pronunciation
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypeodataTypeName in class ItemFacetpublic static PersonName.Builder builderPersonName()
public com.github.davidmoten.odata.client.internal.ChangedFields getChangedFields()
getChangedFields in interface com.github.davidmoten.odata.client.ODataEntityTypegetChangedFields in class ItemFacetpublic void postInject(boolean addKeysToContextPath)
postInject in interface com.github.davidmoten.odata.client.ODataTypepostInject in class ItemFacetpublic PersonName withDisplayName(String displayName)
public PersonName withFirst(String first)
public PersonName withInitials(String initials)
public PersonName withLast(String last)
public PersonName withLanguageTag(String languageTag)
public PersonName withMaiden(String maiden)
public PersonName withMiddle(String middle)
public PersonName withNickname(String nickname)
public PersonName withSuffix(String suffix)
public PersonName withTitle(String title)
public Optional<YomiPersonName> getPronunciation()
public PersonName withPronunciation(YomiPersonName pronunciation)
public com.github.davidmoten.odata.client.internal.UnmappedFields getUnmappedFields()
getUnmappedFields in interface com.github.davidmoten.odata.client.ODataTypegetUnmappedFields in class ItemFacetpublic PersonName patch()
this with changed fields reset.public PersonName put()
this
with changed fields reset (they were ignored anyway).Copyright © 2018–2020. All rights reserved.