public class DeviceManagementExchangeAccessRule extends Object implements com.github.davidmoten.odata.client.ODataType
| Modifier and Type | Class and Description |
|---|---|
static class |
DeviceManagementExchangeAccessRule.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected DeviceManagementExchangeAccessLevel |
accessLevel |
protected com.github.davidmoten.odata.client.ContextPath |
contextPath |
protected DeviceManagementExchangeDeviceClass |
deviceClass |
protected String |
odataType |
protected com.github.davidmoten.odata.client.internal.UnmappedFields |
unmappedFields |
| Modifier | Constructor and Description |
|---|---|
protected |
DeviceManagementExchangeAccessRule() |
| Modifier and Type | Method and Description |
|---|---|
static DeviceManagementExchangeAccessRule.Builder |
builder()
Returns a builder which is used to create a new
instance of this class (given that this class is immutable).
|
Optional<DeviceManagementExchangeAccessLevel> |
getAccessLevel()
“Access Level for Exchange granted by this rule.”
|
Optional<DeviceManagementExchangeDeviceClass> |
getDeviceClass()
“Device Class which will be impacted by this rule.”
|
com.github.davidmoten.odata.client.internal.UnmappedFields |
getUnmappedFields() |
String |
odataTypeName() |
void |
postInject(boolean addKeysToContextPath) |
String |
toString() |
DeviceManagementExchangeAccessRule |
withAccessLevel(DeviceManagementExchangeAccessLevel accessLevel)
Returns an immutable copy of
this with just the accessLevel
field changed. |
DeviceManagementExchangeAccessRule |
withDeviceClass(DeviceManagementExchangeDeviceClass deviceClass)
Returns an immutable copy of
this with just the deviceClass
field changed. |
protected com.github.davidmoten.odata.client.ContextPath contextPath
protected com.github.davidmoten.odata.client.internal.UnmappedFields unmappedFields
protected String odataType
protected DeviceManagementExchangeDeviceClass deviceClass
protected DeviceManagementExchangeAccessLevel accessLevel
protected DeviceManagementExchangeAccessRule()
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypepublic Optional<DeviceManagementExchangeDeviceClass> getDeviceClass()
public DeviceManagementExchangeAccessRule withDeviceClass(DeviceManagementExchangeDeviceClass deviceClass)
this with just the deviceClass
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.
“Device Class which will be impacted by this rule.”
deviceClass - new value of deviceClass field (as defined in service metadata)this with just the deviceClass field changedpublic Optional<DeviceManagementExchangeAccessLevel> getAccessLevel()
public DeviceManagementExchangeAccessRule withAccessLevel(DeviceManagementExchangeAccessLevel accessLevel)
this with just the accessLevel
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.
“Access Level for Exchange granted by this rule.”
accessLevel - new value of accessLevel field (as defined in service metadata)this with just the accessLevel 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 DeviceManagementExchangeAccessRule.Builder builder()
Copyright © 2018–2020. All rights reserved.