Class OperatingSystemVersionRange

  • All Implemented Interfaces:
    com.github.davidmoten.odata.client.ODataType

    public class OperatingSystemVersionRange
    extends Object
    implements com.github.davidmoten.odata.client.ODataType
    “Operating System version range.”
    • Field Detail

      • contextPath

        protected com.github.davidmoten.odata.client.ContextPath contextPath
      • unmappedFields

        protected com.github.davidmoten.odata.client.internal.UnmappedFieldsImpl unmappedFields
      • odataType

        protected String odataType
      • description

        protected String description
      • highestVersion

        protected String highestVersion
      • lowestVersion

        protected String lowestVersion
    • Constructor Detail

      • OperatingSystemVersionRange

        protected OperatingSystemVersionRange()
    • Method Detail

      • odataTypeName

        public String odataTypeName()
        Specified by:
        odataTypeName in interface com.github.davidmoten.odata.client.ODataType
      • getDescription

        public Optional<String> getDescription()
        “The description of this range (e.g. Valid 1702 builds)”
        Returns:
        property description
      • withDescription

        public OperatingSystemVersionRange withDescription​(String description)
        Returns an immutable copy of this with just the description 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.

        “The description of this range (e.g. Valid 1702 builds)”

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

        public Optional<String> getHighestVersion()
        “The highest inclusive version that this range contains.”
        Returns:
        property highestVersion
      • withHighestVersion

        public OperatingSystemVersionRange withHighestVersion​(String highestVersion)
        Returns an immutable copy of this with just the highestVersion 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.

        “The highest inclusive version that this range contains.”

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

        public Optional<String> getLowestVersion()
        “The lowest inclusive version that this range contains.”
        Returns:
        property lowestVersion
      • withLowestVersion

        public OperatingSystemVersionRange withLowestVersion​(String lowestVersion)
        Returns an immutable copy of this with just the lowestVersion 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.

        “The lowest inclusive version that this range contains.”

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

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

        public void postInject​(boolean addKeysToContextPath)
        Specified by:
        postInject in interface com.github.davidmoten.odata.client.ODataType
      • builder

        public static OperatingSystemVersionRange.Builder builder()
        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