public class DeviceManagementExchangeDeviceClass extends Object implements com.github.davidmoten.odata.client.ODataType
| Modifier and Type | Class and Description |
|---|---|
static class |
DeviceManagementExchangeDeviceClass.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected com.github.davidmoten.odata.client.ContextPath |
contextPath |
protected String |
name |
protected String |
odataType |
protected DeviceManagementExchangeAccessRuleType |
type |
protected com.github.davidmoten.odata.client.internal.UnmappedFields |
unmappedFields |
| Modifier | Constructor and Description |
|---|---|
protected |
DeviceManagementExchangeDeviceClass() |
| Modifier and Type | Method and Description |
|---|---|
static DeviceManagementExchangeDeviceClass.Builder |
builder()
Returns a builder which is used to create a new
instance of this class (given that this class is immutable).
|
Optional<String> |
getName()
“Name of the device class which will be impacted by this rule.”
|
Optional<DeviceManagementExchangeAccessRuleType> |
getType()
“Type of device which is impacted by this rule e.g.
|
com.github.davidmoten.odata.client.internal.UnmappedFields |
getUnmappedFields() |
String |
odataTypeName() |
void |
postInject(boolean addKeysToContextPath) |
String |
toString() |
DeviceManagementExchangeDeviceClass |
withName(String name)
Returns an immutable copy of
this with just the name field
changed. |
DeviceManagementExchangeDeviceClass |
withType(DeviceManagementExchangeAccessRuleType type)
Returns an immutable copy of
this with just the type field
changed. |
protected com.github.davidmoten.odata.client.ContextPath contextPath
protected com.github.davidmoten.odata.client.internal.UnmappedFields unmappedFields
protected String odataType
protected String name
protected DeviceManagementExchangeAccessRuleType type
protected DeviceManagementExchangeDeviceClass()
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypepublic Optional<String> getName()
public DeviceManagementExchangeDeviceClass 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 of the device class which will be impacted by this rule.”
name - new value of name field (as defined in service metadata)this with just the name field changedpublic Optional<DeviceManagementExchangeAccessRuleType> getType()
public DeviceManagementExchangeDeviceClass withType(DeviceManagementExchangeAccessRuleType type)
this with just the type 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.
“Type of device which is impacted by this rule e.g. Model, Family”
type - new value of type field (as defined in service metadata)this with just the type 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 DeviceManagementExchangeDeviceClass.Builder builder()
Copyright © 2018–2020. All rights reserved.