public class IPv4Range extends IpRange implements com.github.davidmoten.odata.client.ODataType
| Modifier and Type | Class and Description |
|---|---|
static class |
IPv4Range.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected String |
lowerAddress |
protected com.github.davidmoten.odata.client.internal.UnmappedFields |
unmappedFields |
protected String |
upperAddress |
contextPath, odataType| Modifier | Constructor and Description |
|---|---|
protected |
IPv4Range() |
| Modifier and Type | Method and Description |
|---|---|
static IPv4Range.Builder |
builderIPv4Range()
Returns a builder which is used to create a new
instance of this class (given that this class is immutable).
|
Optional<String> |
getLowerAddress()
“Lower address.”
|
com.github.davidmoten.odata.client.internal.UnmappedFields |
getUnmappedFields() |
Optional<String> |
getUpperAddress()
“Upper address.”
|
String |
odataTypeName() |
void |
postInject(boolean addKeysToContextPath) |
String |
toString() |
IPv4Range |
withLowerAddress(String lowerAddress)
Returns an immutable copy of
this with just the lowerAddress
field changed. |
IPv4Range |
withUpperAddress(String upperAddress)
Returns an immutable copy of
this with just the upperAddress
field changed. |
protected com.github.davidmoten.odata.client.internal.UnmappedFields unmappedFields
protected String lowerAddress
protected String upperAddress
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypeodataTypeName in class IpRangepublic Optional<String> getLowerAddress()
public IPv4Range withLowerAddress(String lowerAddress)
this with just the lowerAddress
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 address.”
lowerAddress - new value of lowerAddress field (as defined in service metadata)this with just the lowerAddress field changedpublic Optional<String> getUpperAddress()
public IPv4Range withUpperAddress(String upperAddress)
this with just the upperAddress
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 address.”
upperAddress - new value of upperAddress field (as defined in service metadata)this with just the upperAddress field changedpublic com.github.davidmoten.odata.client.internal.UnmappedFields getUnmappedFields()
getUnmappedFields in interface com.github.davidmoten.odata.client.ODataTypegetUnmappedFields in class IpRangepublic void postInject(boolean addKeysToContextPath)
postInject in interface com.github.davidmoten.odata.client.ODataTypepostInject in class IpRangepublic static IPv4Range.Builder builderIPv4Range()
Copyright © 2018–2020. All rights reserved.