public class BookingCurrency extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
| Modifier and Type | Class and Description |
|---|---|
static class |
BookingCurrency.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected String |
symbol |
changedFields, contextPath, id, odataType, unmappedFields| Modifier | Constructor and Description |
|---|---|
protected |
BookingCurrency() |
| Modifier and Type | Method and Description |
|---|---|
static BookingCurrency.Builder |
builderBookingCurrency()
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> |
getSymbol()
Org.OData.Core.V1.IsLanguageDependent
|
com.github.davidmoten.odata.client.internal.UnmappedFields |
getUnmappedFields() |
String |
odataTypeName() |
BookingCurrency |
patch()
Submits only changed fields for update and returns an
immutable copy of
this with changed fields reset. |
void |
postInject(boolean addKeysToContextPath) |
BookingCurrency |
put()
Submits all fields for update and returns an immutable copy of
this
with changed fields reset (they were ignored anyway). |
String |
toString() |
BookingCurrency |
withSymbol(String symbol)
Returns an immutable copy of
this with just the symbol field
changed. |
protected String symbol
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypeodataTypeName in class Entitypublic static BookingCurrency.Builder builderBookingCurrency()
public com.github.davidmoten.odata.client.internal.ChangedFields getChangedFields()
getChangedFields in interface com.github.davidmoten.odata.client.ODataEntityTypegetChangedFields in class Entitypublic void postInject(boolean addKeysToContextPath)
postInject in interface com.github.davidmoten.odata.client.ODataTypepostInject in class Entitypublic Optional<String> getSymbol()
Org.OData.Core.V1.IsLanguageDependent
true
public BookingCurrency withSymbol(String symbol)
this with just the symbol 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.
Org.OData.Core.V1.IsLanguageDependent
true
symbol - new value of symbol field (as defined in service metadata)this with just the symbol field changedpublic com.github.davidmoten.odata.client.internal.UnmappedFields getUnmappedFields()
getUnmappedFields in interface com.github.davidmoten.odata.client.ODataTypegetUnmappedFields in class Entitypublic BookingCurrency patch()
this with changed fields reset.public BookingCurrency put()
this
with changed fields reset (they were ignored anyway).Copyright © 2018–2020. All rights reserved.