Package odata.msgraph.client.complex
Class IPv4Range
- java.lang.Object
-
- odata.msgraph.client.complex.IpRange
-
- odata.msgraph.client.complex.IPv4Range
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataType
public class IPv4Range extends IpRange implements com.github.davidmoten.odata.client.ODataType
“IPv4 Range definition.”
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classIPv4Range.Builder
-
Field Summary
Fields Modifier and Type Field Description protected StringlowerAddressprotected StringupperAddress-
Fields inherited from class odata.msgraph.client.complex.IpRange
contextPath, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedIPv4Range()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static IPv4Range.BuilderbuilderIPv4Range()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.UnmappedFieldsgetUnmappedFields()Optional<String>getUpperAddress()“Upper address.”StringodataTypeName()voidpostInject(boolean addKeysToContextPath)StringtoString()IPv4RangewithLowerAddress(String lowerAddress)Returns an immutable copy ofthiswith just thelowerAddressfield changed.IPv4RangewithUnmappedField(String name, Object value)IPv4RangewithUpperAddress(String upperAddress)Returns an immutable copy ofthiswith just theupperAddressfield changed.
-
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classIpRange
-
getLowerAddress
public Optional<String> getLowerAddress()
“Lower address.”- Returns:
- property lowerAddress
-
withLowerAddress
public IPv4Range withLowerAddress(String lowerAddress)
Returns an immutable copy ofthiswith just thelowerAddressfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis. patch()is called (if available)on the returned object only the changed fields are submitted.“Lower address.”
- Parameters:
lowerAddress- new value oflowerAddressfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thelowerAddressfield changed
-
getUpperAddress
public Optional<String> getUpperAddress()
“Upper address.”- Returns:
- property upperAddress
-
withUpperAddress
public IPv4Range withUpperAddress(String upperAddress)
Returns an immutable copy ofthiswith just theupperAddressfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis. patch()is called (if available)on the returned object only the changed fields are submitted.“Upper address.”
- Parameters:
upperAddress- new value ofupperAddressfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theupperAddressfield changed
-
withUnmappedField
public IPv4Range withUnmappedField(String name, Object value)
- Overrides:
withUnmappedFieldin classIpRange
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classIpRange
-
postInject
public void postInject(boolean addKeysToContextPath)
- Specified by:
postInjectin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
postInjectin classIpRange
-
builderIPv4Range
public static IPv4Range.Builder builderIPv4Range()
Returns a builder which is used to create a new instance of this class (given that this class is immutable).- Returns:
- a new Builder for this class
-
-