Class 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.”
    • Field Detail

      • lowerAddress

        protected String lowerAddress
      • upperAddress

        protected String upperAddress
    • Constructor Detail

      • IPv6Range

        protected IPv6Range()
    • Method Detail

      • odataTypeName

        public String odataTypeName()
        Specified by:
        odataTypeName in interface com.github.davidmoten.odata.client.ODataType
        Overrides:
        odataTypeName in class IpRange
      • getLowerAddress

        public Optional<String> getLowerAddress()
        “Lower address.”
        Returns:
        property lowerAddress
      • withLowerAddress

        public IPv6Range withLowerAddress​(String lowerAddress)
        Returns an immutable copy of 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.”

        Parameters:
        lowerAddress - new value of lowerAddress field (as defined in service metadata)
        Returns:
        immutable copy of this with just the lowerAddress field changed
      • getUpperAddress

        public Optional<String> getUpperAddress()
        “Upper address.”
        Returns:
        property upperAddress
      • withUpperAddress

        public IPv6Range withUpperAddress​(String upperAddress)
        Returns an immutable copy of 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.”

        Parameters:
        upperAddress - new value of upperAddress field (as defined in service metadata)
        Returns:
        immutable copy of this with just the upperAddress field changed
      • getUnmappedFields

        public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
        Specified by:
        getUnmappedFields in interface com.github.davidmoten.odata.client.ODataType
        Overrides:
        getUnmappedFields in class IpRange
      • postInject

        public void postInject​(boolean addKeysToContextPath)
        Specified by:
        postInject in interface com.github.davidmoten.odata.client.ODataType
        Overrides:
        postInject in class IpRange
      • 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