Class OperatingSystemVersionRange
- java.lang.Object
-
- odata.msgraph.client.beta.complex.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.”
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classOperatingSystemVersionRange.Builder
-
Field Summary
Fields Modifier and Type Field Description protected com.github.davidmoten.odata.client.ContextPathcontextPathprotected Stringdescriptionprotected StringhighestVersionprotected StringlowestVersionprotected StringodataTypeprotected com.github.davidmoten.odata.client.internal.UnmappedFieldsImplunmappedFields
-
Constructor Summary
Constructors Modifier Constructor Description protectedOperatingSystemVersionRange()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static OperatingSystemVersionRange.Builderbuilder()Returns a builder which is used to create a new instance of this class (given that this class is immutable).Optional<String>getDescription()“The description of this range (e.g.Optional<String>getHighestVersion()“The highest inclusive version that this range contains.”Optional<String>getLowestVersion()“The lowest inclusive version that this range contains.”com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()StringodataTypeName()voidpostInject(boolean addKeysToContextPath)StringtoString()OperatingSystemVersionRangewithDescription(String description)Returns an immutable copy ofthiswith just thedescriptionfield changed.OperatingSystemVersionRangewithHighestVersion(String highestVersion)Returns an immutable copy ofthiswith just thehighestVersionfield changed.OperatingSystemVersionRangewithLowestVersion(String lowestVersion)Returns an immutable copy ofthiswith just thelowestVersionfield changed.OperatingSystemVersionRangewithUnmappedField(String name, String value)
-
-
-
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
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.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 ofthiswith just thedescriptionfield 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.“The description of this range (e.g. Valid 1702 builds)”
- Parameters:
description- new value ofdescriptionfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thedescriptionfield 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 ofthiswith just thehighestVersionfield 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.“The highest inclusive version that this range contains.”
- Parameters:
highestVersion- new value ofhighestVersionfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thehighestVersionfield 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 ofthiswith just thelowestVersionfield 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.“The lowest inclusive version that this range contains.”
- Parameters:
lowestVersion- new value oflowestVersionfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thelowestVersionfield changed
-
withUnmappedField
public OperatingSystemVersionRange withUnmappedField(String name, String value)
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType
-
postInject
public void postInject(boolean addKeysToContextPath)
- Specified by:
postInjectin interfacecom.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
-
-