public class OperatingSystemVersionRange extends Object implements com.github.davidmoten.odata.client.ODataType
| Modifier and Type | Class and Description |
|---|---|
static class |
OperatingSystemVersionRange.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected com.github.davidmoten.odata.client.ContextPath |
contextPath |
protected String |
description |
protected String |
highestVersion |
protected String |
lowestVersion |
protected String |
odataType |
protected com.github.davidmoten.odata.client.internal.UnmappedFields |
unmappedFields |
| Modifier | Constructor and Description |
|---|---|
protected |
OperatingSystemVersionRange() |
| Modifier and Type | Method and Description |
|---|---|
static OperatingSystemVersionRange.Builder |
builder()
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.internal.UnmappedFields |
getUnmappedFields() |
String |
odataTypeName() |
void |
postInject(boolean addKeysToContextPath) |
String |
toString() |
OperatingSystemVersionRange |
withDescription(String description)
Returns an immutable copy of
this with just the description
field changed. |
OperatingSystemVersionRange |
withHighestVersion(String highestVersion)
Returns an immutable copy of
this with just the highestVersion
field changed. |
OperatingSystemVersionRange |
withLowestVersion(String lowestVersion)
Returns an immutable copy of
this with just the lowestVersion
field changed. |
protected com.github.davidmoten.odata.client.ContextPath contextPath
protected com.github.davidmoten.odata.client.internal.UnmappedFields unmappedFields
protected String odataType
protected String description
protected String lowestVersion
protected String highestVersion
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypepublic Optional<String> getDescription()
public OperatingSystemVersionRange withDescription(String description)
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)”
description - new value of description field (as defined in service metadata)this with just the description field changedpublic Optional<String> getLowestVersion()
public OperatingSystemVersionRange withLowestVersion(String lowestVersion)
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.”
lowestVersion - new value of lowestVersion field (as defined in service metadata)this with just the lowestVersion field changedpublic Optional<String> getHighestVersion()
public OperatingSystemVersionRange withHighestVersion(String highestVersion)
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.”
highestVersion - new value of highestVersion field (as defined in service metadata)this with just the highestVersion field changedpublic com.github.davidmoten.odata.client.internal.UnmappedFields getUnmappedFields()
getUnmappedFields in interface com.github.davidmoten.odata.client.ODataTypepublic void postInject(boolean addKeysToContextPath)
postInject in interface com.github.davidmoten.odata.client.ODataTypepublic static OperatingSystemVersionRange.Builder builder()
Copyright © 2018–2020. All rights reserved.