public class BookingPerson extends BookingNamedEntity implements com.github.davidmoten.odata.client.ODataEntityType
| Modifier and Type | Class and Description |
|---|---|
static class |
BookingPerson.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected String |
emailAddress |
displayNamechangedFields, contextPath, id, odataType, unmappedFields| Modifier | Constructor and Description |
|---|---|
protected |
BookingPerson() |
| Modifier and Type | Method and Description |
|---|---|
static BookingPerson.Builder |
builderBookingPerson()
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> |
getEmailAddress()
“The e-mail address of this person.”
|
com.github.davidmoten.odata.client.internal.UnmappedFields |
getUnmappedFields() |
String |
odataTypeName() |
BookingPerson |
patch()
Submits only changed fields for update and returns an
immutable copy of
this with changed fields reset. |
void |
postInject(boolean addKeysToContextPath) |
BookingPerson |
put()
Submits all fields for update and returns an immutable copy of
this
with changed fields reset (they were ignored anyway). |
String |
toString() |
BookingPerson |
withEmailAddress(String emailAddress)
Returns an immutable copy of
this with just the emailAddress
field changed. |
getDisplayName, withDisplayNameprotected String emailAddress
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypeodataTypeName in class BookingNamedEntitypublic static BookingPerson.Builder builderBookingPerson()
public com.github.davidmoten.odata.client.internal.ChangedFields getChangedFields()
getChangedFields in interface com.github.davidmoten.odata.client.ODataEntityTypegetChangedFields in class BookingNamedEntitypublic void postInject(boolean addKeysToContextPath)
postInject in interface com.github.davidmoten.odata.client.ODataTypepostInject in class BookingNamedEntitypublic Optional<String> getEmailAddress()
public BookingPerson withEmailAddress(String emailAddress)
this with just the emailAddress
field changed. Field description below. The field name is also added to an
internal map of changed fields in the returned object so that when this.
patch() is called (if available)on the returned object only the changed fields
are submitted.
“The e-mail address of this person.”
emailAddress - new value of emailAddress field (as defined in service metadata)this with just the emailAddress field changedpublic com.github.davidmoten.odata.client.internal.UnmappedFields getUnmappedFields()
getUnmappedFields in interface com.github.davidmoten.odata.client.ODataTypegetUnmappedFields in class BookingNamedEntitypublic BookingPerson patch()
this with changed fields reset.patch in class BookingNamedEntitythis with changed fields resetcom.github.davidmoten.odata.client.ClientException - if HTTP response is not as expectedpublic BookingPerson put()
this
with changed fields reset (they were ignored anyway).put in class BookingNamedEntitythis with changed fields resetcom.github.davidmoten.odata.client.ClientException - if HTTP response is not as expectedpublic String toString()
toString in class BookingNamedEntityCopyright © 2018–2020. All rights reserved.