public class ManagedDeviceSummarizedAppState extends Object implements com.github.davidmoten.odata.client.ODataType
| Modifier and Type | Class and Description |
|---|---|
static class |
ManagedDeviceSummarizedAppState.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected com.github.davidmoten.odata.client.ContextPath |
contextPath |
protected String |
deviceId |
protected String |
odataType |
protected RunState |
summarizedAppState |
protected com.github.davidmoten.odata.client.internal.UnmappedFields |
unmappedFields |
| Modifier | Constructor and Description |
|---|---|
protected |
ManagedDeviceSummarizedAppState() |
| Modifier and Type | Method and Description |
|---|---|
static ManagedDeviceSummarizedAppState.Builder |
builder()
Returns a builder which is used to create a new
instance of this class (given that this class is immutable).
|
Optional<String> |
getDeviceId()
“DeviceId of device represented by this object”
|
Optional<RunState> |
getSummarizedAppState()
“runState for the object”
|
com.github.davidmoten.odata.client.internal.UnmappedFields |
getUnmappedFields() |
String |
odataTypeName() |
void |
postInject(boolean addKeysToContextPath) |
String |
toString() |
ManagedDeviceSummarizedAppState |
withDeviceId(String deviceId)
Returns an immutable copy of
this with just the deviceId field
changed. |
ManagedDeviceSummarizedAppState |
withSummarizedAppState(RunState summarizedAppState)
Returns an immutable copy of
this with just the summarizedAppState field changed. |
protected com.github.davidmoten.odata.client.ContextPath contextPath
protected com.github.davidmoten.odata.client.internal.UnmappedFields unmappedFields
protected String odataType
protected RunState summarizedAppState
protected String deviceId
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypepublic Optional<RunState> getSummarizedAppState()
public ManagedDeviceSummarizedAppState withSummarizedAppState(RunState summarizedAppState)
this with just the summarizedAppState 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.
“runState for the object”
summarizedAppState - new value of summarizedAppState field (as defined in service metadata)this with just the summarizedAppState field changedpublic Optional<String> getDeviceId()
public ManagedDeviceSummarizedAppState withDeviceId(String deviceId)
this with just the deviceId 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.
“DeviceId of device represented by this object”
deviceId - new value of deviceId field (as defined in service metadata)this with just the deviceId 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 ManagedDeviceSummarizedAppState.Builder builder()
Copyright © 2018–2020. All rights reserved.