Package odata.msgraph.client.complex
Class IPv6Range
- java.lang.Object
-
- odata.msgraph.client.complex.IpRange
-
- odata.msgraph.client.complex.IPv6Range
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataType
public class IPv6Range extends IpRange implements com.github.davidmoten.odata.client.ODataType
“IPv6 Range definition.”
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classIPv6Range.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 protectedIPv6Range()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static IPv6Range.BuilderbuilderIPv6Range()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()IPv6RangewithLowerAddress(String lowerAddress)Returns an immutable copy ofthiswith just thelowerAddressfield changed.IPv6RangewithUnmappedField(String name, Object value)IPv6RangewithUpperAddress(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 IPv6Range 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 IPv6Range 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 IPv6Range 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
-
builderIPv6Range
public static IPv6Range.Builder builderIPv6Range()
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
-
-