public class RelatedContact extends Object implements com.github.davidmoten.odata.client.ODataType
| Modifier and Type | Class and Description |
|---|---|
static class |
RelatedContact.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected Boolean |
accessConsent |
protected com.github.davidmoten.odata.client.ContextPath |
contextPath |
protected String |
displayName |
protected String |
emailAddress |
protected String |
id |
protected String |
mobilePhone |
protected String |
odataType |
protected ContactRelationship |
relationship |
protected com.github.davidmoten.odata.client.internal.UnmappedFields |
unmappedFields |
| Modifier | Constructor and Description |
|---|---|
protected |
RelatedContact() |
| Modifier and Type | Method and Description |
|---|---|
static RelatedContact.Builder |
builder()
Returns a builder which is used to create a new
instance of this class (given that this class is immutable).
|
Optional<Boolean> |
getAccessConsent() |
Optional<String> |
getDisplayName() |
Optional<String> |
getEmailAddress() |
Optional<String> |
getId() |
Optional<String> |
getMobilePhone() |
Optional<ContactRelationship> |
getRelationship() |
com.github.davidmoten.odata.client.internal.UnmappedFields |
getUnmappedFields() |
String |
odataTypeName() |
void |
postInject(boolean addKeysToContextPath) |
String |
toString() |
RelatedContact |
withAccessConsent(Boolean accessConsent) |
RelatedContact |
withDisplayName(String displayName) |
RelatedContact |
withEmailAddress(String emailAddress) |
RelatedContact |
withId(String id) |
RelatedContact |
withMobilePhone(String mobilePhone) |
RelatedContact |
withRelationship(ContactRelationship relationship) |
protected com.github.davidmoten.odata.client.ContextPath contextPath
protected com.github.davidmoten.odata.client.internal.UnmappedFields unmappedFields
protected String odataType
protected String id
protected String displayName
protected String emailAddress
protected String mobilePhone
protected ContactRelationship relationship
protected Boolean accessConsent
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypepublic RelatedContact withId(String id)
public RelatedContact withDisplayName(String displayName)
public RelatedContact withEmailAddress(String emailAddress)
public RelatedContact withMobilePhone(String mobilePhone)
public Optional<ContactRelationship> getRelationship()
public RelatedContact withRelationship(ContactRelationship relationship)
public RelatedContact withAccessConsent(Boolean accessConsent)
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 RelatedContact.Builder builder()
Copyright © 2018–2020. All rights reserved.