public class RelatedPerson extends Object implements com.github.davidmoten.odata.client.ODataType
| Modifier and Type | Class and Description |
|---|---|
static class |
RelatedPerson.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected com.github.davidmoten.odata.client.ContextPath |
contextPath |
protected String |
displayName |
protected String |
odataType |
protected PersonRelationship |
relationship |
protected com.github.davidmoten.odata.client.internal.UnmappedFields |
unmappedFields |
protected String |
userPrincipalName |
| Modifier | Constructor and Description |
|---|---|
protected |
RelatedPerson() |
| Modifier and Type | Method and Description |
|---|---|
static RelatedPerson.Builder |
builder()
Returns a builder which is used to create a new
instance of this class (given that this class is immutable).
|
Optional<String> |
getDisplayName() |
Optional<PersonRelationship> |
getRelationship() |
com.github.davidmoten.odata.client.internal.UnmappedFields |
getUnmappedFields() |
Optional<String> |
getUserPrincipalName() |
String |
odataTypeName() |
void |
postInject(boolean addKeysToContextPath) |
String |
toString() |
RelatedPerson |
withDisplayName(String displayName) |
RelatedPerson |
withRelationship(PersonRelationship relationship) |
RelatedPerson |
withUserPrincipalName(String userPrincipalName) |
protected com.github.davidmoten.odata.client.ContextPath contextPath
protected com.github.davidmoten.odata.client.internal.UnmappedFields unmappedFields
protected String odataType
protected String displayName
protected PersonRelationship relationship
protected String userPrincipalName
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypepublic RelatedPerson withDisplayName(String displayName)
public Optional<PersonRelationship> getRelationship()
public RelatedPerson withRelationship(PersonRelationship relationship)
public RelatedPerson withUserPrincipalName(String userPrincipalName)
public com.github.davidmoten.odata.client.internal.UnmappedFields getUnmappedFields()
getUnmappedFields in interface com.github.davidmoten.odata.client.ODataTypepublic void postInject(boolean addKeysToContextPath)
postInject in interface com.github.davidmoten.odata.client.ODataTypepublic static RelatedPerson.Builder builder()
Copyright © 2018–2020. All rights reserved.