public class DeviceManagementApplicabilityRuleOsVersion extends Object implements com.github.davidmoten.odata.client.ODataType
| Modifier and Type | Class and Description |
|---|---|
static class |
DeviceManagementApplicabilityRuleOsVersion.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected com.github.davidmoten.odata.client.ContextPath |
contextPath |
protected String |
maxOSVersion |
protected String |
minOSVersion |
protected String |
name |
protected String |
odataType |
protected DeviceManagementApplicabilityRuleType |
ruleType |
protected com.github.davidmoten.odata.client.internal.UnmappedFields |
unmappedFields |
| Modifier | Constructor and Description |
|---|---|
protected |
DeviceManagementApplicabilityRuleOsVersion() |
| Modifier and Type | Method and Description |
|---|---|
static DeviceManagementApplicabilityRuleOsVersion.Builder |
builder()
Returns a builder which is used to create a new
instance of this class (given that this class is immutable).
|
Optional<String> |
getMaxOSVersion()
“Max OS version for Applicability Rule.”
|
Optional<String> |
getMinOSVersion()
“Min OS version for Applicability Rule.”
|
Optional<String> |
getName()
“Name for object.”
|
Optional<DeviceManagementApplicabilityRuleType> |
getRuleType()
“Applicability Rule type.”
|
com.github.davidmoten.odata.client.internal.UnmappedFields |
getUnmappedFields() |
String |
odataTypeName() |
void |
postInject(boolean addKeysToContextPath) |
String |
toString() |
DeviceManagementApplicabilityRuleOsVersion |
withMaxOSVersion(String maxOSVersion)
Returns an immutable copy of
this with just the maxOSVersion
field changed. |
DeviceManagementApplicabilityRuleOsVersion |
withMinOSVersion(String minOSVersion)
Returns an immutable copy of
this with just the minOSVersion
field changed. |
DeviceManagementApplicabilityRuleOsVersion |
withName(String name)
Returns an immutable copy of
this with just the name field
changed. |
DeviceManagementApplicabilityRuleOsVersion |
withRuleType(DeviceManagementApplicabilityRuleType ruleType)
Returns an immutable copy of
this with just the ruleType field
changed. |
protected com.github.davidmoten.odata.client.ContextPath contextPath
protected com.github.davidmoten.odata.client.internal.UnmappedFields unmappedFields
protected String odataType
protected String minOSVersion
protected String maxOSVersion
protected String name
protected DeviceManagementApplicabilityRuleType ruleType
protected DeviceManagementApplicabilityRuleOsVersion()
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypepublic Optional<String> getMinOSVersion()
public DeviceManagementApplicabilityRuleOsVersion withMinOSVersion(String minOSVersion)
this with just the minOSVersion
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.
“Min OS version for Applicability Rule.”
minOSVersion - new value of minOSVersion field (as defined in service metadata)this with just the minOSVersion field changedpublic Optional<String> getMaxOSVersion()
public DeviceManagementApplicabilityRuleOsVersion withMaxOSVersion(String maxOSVersion)
this with just the maxOSVersion
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.
“Max OS version for Applicability Rule.”
maxOSVersion - new value of maxOSVersion field (as defined in service metadata)this with just the maxOSVersion field changedpublic DeviceManagementApplicabilityRuleOsVersion withName(String name)
this with just the name 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.
“Name for object.”
name - new value of name field (as defined in service metadata)this with just the name field changedpublic Optional<DeviceManagementApplicabilityRuleType> getRuleType()
public DeviceManagementApplicabilityRuleOsVersion withRuleType(DeviceManagementApplicabilityRuleType ruleType)
this with just the ruleType 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.
“Applicability Rule type.”
ruleType - new value of ruleType field (as defined in service metadata)this with just the ruleType 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 DeviceManagementApplicabilityRuleOsVersion.Builder builder()
Copyright © 2018–2020. All rights reserved.