public class NumberRange extends Object implements com.github.davidmoten.odata.client.ODataType
| Modifier and Type | Class and Description |
|---|---|
static class |
NumberRange.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected com.github.davidmoten.odata.client.ContextPath |
contextPath |
protected Integer |
lowerNumber |
protected String |
odataType |
protected com.github.davidmoten.odata.client.internal.UnmappedFields |
unmappedFields |
protected Integer |
upperNumber |
| Modifier | Constructor and Description |
|---|---|
protected |
NumberRange() |
| Modifier and Type | Method and Description |
|---|---|
static NumberRange.Builder |
builder()
Returns a builder which is used to create a new
instance of this class (given that this class is immutable).
|
Optional<Integer> |
getLowerNumber()
“Lower number.”
|
com.github.davidmoten.odata.client.internal.UnmappedFields |
getUnmappedFields() |
Optional<Integer> |
getUpperNumber()
“Upper number.”
|
String |
odataTypeName() |
void |
postInject(boolean addKeysToContextPath) |
String |
toString() |
NumberRange |
withLowerNumber(Integer lowerNumber)
Returns an immutable copy of
this with just the lowerNumber
field changed. |
NumberRange |
withUpperNumber(Integer upperNumber)
Returns an immutable copy of
this with just the upperNumber
field changed. |
protected com.github.davidmoten.odata.client.ContextPath contextPath
protected com.github.davidmoten.odata.client.internal.UnmappedFields unmappedFields
protected String odataType
protected Integer lowerNumber
protected Integer upperNumber
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypepublic Optional<Integer> getLowerNumber()
public NumberRange withLowerNumber(Integer lowerNumber)
this with just the lowerNumber
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.
“Lower number.”
lowerNumber - new value of lowerNumber field (as defined in service metadata)this with just the lowerNumber field changedpublic Optional<Integer> getUpperNumber()
public NumberRange withUpperNumber(Integer upperNumber)
this with just the upperNumber
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.
“Upper number.”
upperNumber - new value of upperNumber field (as defined in service metadata)this with just the upperNumber field changedpublic 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 NumberRange.Builder builder()
Copyright © 2018–2020. All rights reserved.