public class KeyBooleanValuePair extends KeyTypedValuePair implements com.github.davidmoten.odata.client.ODataType
| Modifier and Type | Class and Description |
|---|---|
static class |
KeyBooleanValuePair.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected com.github.davidmoten.odata.client.internal.UnmappedFields |
unmappedFields |
protected Boolean |
value |
contextPath, key, odataType| Modifier | Constructor and Description |
|---|---|
protected |
KeyBooleanValuePair() |
| Modifier and Type | Method and Description |
|---|---|
static KeyBooleanValuePair.Builder |
builderKeyBooleanValuePair()
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.UnmappedFields |
getUnmappedFields() |
Optional<Boolean> |
getValue()
“The Boolean value of the key-value pair.”
|
String |
odataTypeName() |
void |
postInject(boolean addKeysToContextPath) |
String |
toString() |
KeyBooleanValuePair |
withValue(Boolean value)
Returns an immutable copy of
this with just the value field
changed. |
getKey, withKeyprotected com.github.davidmoten.odata.client.internal.UnmappedFields unmappedFields
protected Boolean value
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypeodataTypeName in class KeyTypedValuePairpublic Optional<Boolean> getValue()
public KeyBooleanValuePair withValue(Boolean value)
this with just the value 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 Boolean value of the key-value pair.”
value - new value of value field (as defined in service metadata)this with just the value field changedpublic com.github.davidmoten.odata.client.internal.UnmappedFields getUnmappedFields()
getUnmappedFields in interface com.github.davidmoten.odata.client.ODataTypegetUnmappedFields in class KeyTypedValuePairpublic void postInject(boolean addKeysToContextPath)
postInject in interface com.github.davidmoten.odata.client.ODataTypepostInject in class KeyTypedValuePairpublic static KeyBooleanValuePair.Builder builderKeyBooleanValuePair()
public String toString()
toString in class KeyTypedValuePairCopyright © 2018–2020. All rights reserved.