public class LocateDeviceActionResult extends DeviceActionResult implements com.github.davidmoten.odata.client.ODataType
| Modifier and Type | Class and Description |
|---|---|
static class |
LocateDeviceActionResult.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected DeviceGeoLocation |
deviceLocation |
protected com.github.davidmoten.odata.client.internal.UnmappedFields |
unmappedFields |
actionName, actionState, contextPath, lastUpdatedDateTime, odataType, startDateTime| Modifier | Constructor and Description |
|---|---|
protected |
LocateDeviceActionResult() |
| Modifier and Type | Method and Description |
|---|---|
static LocateDeviceActionResult.Builder |
builderLocateDeviceActionResult()
Returns a builder which is used to create a new
instance of this class (given that this class is immutable).
|
Optional<DeviceGeoLocation> |
getDeviceLocation()
“device location”
|
com.github.davidmoten.odata.client.internal.UnmappedFields |
getUnmappedFields() |
String |
odataTypeName() |
void |
postInject(boolean addKeysToContextPath) |
String |
toString() |
LocateDeviceActionResult |
withDeviceLocation(DeviceGeoLocation deviceLocation)
Returns an immutable copy of
this with just the deviceLocation
field changed. |
builder, getActionName, getActionState, getLastUpdatedDateTime, getStartDateTime, withActionName, withActionState, withLastUpdatedDateTime, withStartDateTimeprotected com.github.davidmoten.odata.client.internal.UnmappedFields unmappedFields
protected DeviceGeoLocation deviceLocation
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypeodataTypeName in class DeviceActionResultpublic Optional<DeviceGeoLocation> getDeviceLocation()
public LocateDeviceActionResult withDeviceLocation(DeviceGeoLocation deviceLocation)
this with just the deviceLocation
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 location”
deviceLocation - new value of deviceLocation field (as defined in service metadata)this with just the deviceLocation field changedpublic com.github.davidmoten.odata.client.internal.UnmappedFields getUnmappedFields()
getUnmappedFields in interface com.github.davidmoten.odata.client.ODataTypegetUnmappedFields in class DeviceActionResultpublic void postInject(boolean addKeysToContextPath)
postInject in interface com.github.davidmoten.odata.client.ODataTypepostInject in class DeviceActionResultpublic static LocateDeviceActionResult.Builder builderLocateDeviceActionResult()
public String toString()
toString in class DeviceActionResultCopyright © 2018–2020. All rights reserved.