Package odata.msgraph.client.complex
Class LocateDeviceActionResult
- java.lang.Object
-
- odata.msgraph.client.complex.DeviceActionResult
-
- odata.msgraph.client.complex.LocateDeviceActionResult
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataType
public class LocateDeviceActionResult extends DeviceActionResult implements com.github.davidmoten.odata.client.ODataType
“Locate device action result”
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classLocateDeviceActionResult.Builder
-
Field Summary
Fields Modifier and Type Field Description protected DeviceGeoLocationdeviceLocation-
Fields inherited from class odata.msgraph.client.complex.DeviceActionResult
actionName, actionState, contextPath, lastUpdatedDateTime, odataType, startDateTime, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedLocateDeviceActionResult()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static LocateDeviceActionResult.BuilderbuilderLocateDeviceActionResult()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.UnmappedFieldsgetUnmappedFields()StringodataTypeName()voidpostInject(boolean addKeysToContextPath)StringtoString()LocateDeviceActionResultwithDeviceLocation(DeviceGeoLocation deviceLocation)Returns an immutable copy ofthiswith just thedeviceLocationfield changed.LocateDeviceActionResultwithUnmappedField(String name, String value)-
Methods inherited from class odata.msgraph.client.complex.DeviceActionResult
builder, getActionName, getActionState, getLastUpdatedDateTime, getStartDateTime, withActionName, withActionState, withLastUpdatedDateTime, withStartDateTime
-
-
-
-
Field Detail
-
deviceLocation
protected DeviceGeoLocation deviceLocation
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classDeviceActionResult
-
getDeviceLocation
public Optional<DeviceGeoLocation> getDeviceLocation()
“device location”- Returns:
- property deviceLocation
-
withDeviceLocation
public LocateDeviceActionResult withDeviceLocation(DeviceGeoLocation deviceLocation)
Returns an immutable copy ofthiswith just thedeviceLocationfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis. patch()is called (if available)on the returned object only the changed fields are submitted.“device location”
- Parameters:
deviceLocation- new value ofdeviceLocationfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thedeviceLocationfield changed
-
withUnmappedField
public LocateDeviceActionResult withUnmappedField(String name, String value)
- Overrides:
withUnmappedFieldin classDeviceActionResult
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classDeviceActionResult
-
postInject
public void postInject(boolean addKeysToContextPath)
- Specified by:
postInjectin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
postInjectin classDeviceActionResult
-
builderLocateDeviceActionResult
public static LocateDeviceActionResult.Builder builderLocateDeviceActionResult()
Returns a builder which is used to create a new instance of this class (given that this class is immutable).- Returns:
- a new Builder for this class
-
toString
public String toString()
- Overrides:
toStringin classDeviceActionResult
-
-