public class DeviceManagementApplicabilityRuleDeviceMode extends Object implements com.github.davidmoten.odata.client.ODataType
| Modifier and Type | Class and Description |
|---|---|
static class |
DeviceManagementApplicabilityRuleDeviceMode.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected com.github.davidmoten.odata.client.ContextPath |
contextPath |
protected Windows10DeviceModeType |
deviceMode |
protected String |
name |
protected String |
odataType |
protected DeviceManagementApplicabilityRuleType |
ruleType |
protected com.github.davidmoten.odata.client.internal.UnmappedFields |
unmappedFields |
| Modifier | Constructor and Description |
|---|---|
protected |
DeviceManagementApplicabilityRuleDeviceMode() |
| Modifier and Type | Method and Description |
|---|---|
static DeviceManagementApplicabilityRuleDeviceMode.Builder |
builder()
Returns a builder which is used to create a new
instance of this class (given that this class is immutable).
|
Optional<Windows10DeviceModeType> |
getDeviceMode()
“Applicability rule for device mode.”
|
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() |
DeviceManagementApplicabilityRuleDeviceMode |
withDeviceMode(Windows10DeviceModeType deviceMode)
Returns an immutable copy of
this with just the deviceMode field
changed. |
DeviceManagementApplicabilityRuleDeviceMode |
withName(String name)
Returns an immutable copy of
this with just the name field
changed. |
DeviceManagementApplicabilityRuleDeviceMode |
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 Windows10DeviceModeType deviceMode
protected String name
protected DeviceManagementApplicabilityRuleType ruleType
protected DeviceManagementApplicabilityRuleDeviceMode()
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypepublic Optional<Windows10DeviceModeType> getDeviceMode()
public DeviceManagementApplicabilityRuleDeviceMode withDeviceMode(Windows10DeviceModeType deviceMode)
this with just the deviceMode 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 for device mode.”
deviceMode - new value of deviceMode field (as defined in service metadata)this with just the deviceMode field changedpublic DeviceManagementApplicabilityRuleDeviceMode 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 DeviceManagementApplicabilityRuleDeviceMode 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 DeviceManagementApplicabilityRuleDeviceMode.Builder builder()
Copyright © 2018–2020. All rights reserved.