Package odata.msgraph.client.complex
Class RemoteLockActionResult
- java.lang.Object
-
- odata.msgraph.client.complex.DeviceActionResult
-
- odata.msgraph.client.complex.RemoteLockActionResult
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataType
public class RemoteLockActionResult extends DeviceActionResult implements com.github.davidmoten.odata.client.ODataType
“Lock action result with a pin to unlock”
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classRemoteLockActionResult.Builder
-
Field Summary
Fields Modifier and Type Field Description protected StringunlockPin-
Fields inherited from class odata.msgraph.client.complex.DeviceActionResult
actionName, actionState, contextPath, lastUpdatedDateTime, odataType, startDateTime, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedRemoteLockActionResult()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static RemoteLockActionResult.BuilderbuilderRemoteLockActionResult()Returns a builder which is used to create a new instance of this class (given that this class is immutable).Optional<String>getUnlockPin()“Pin to unlock the client”com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()StringodataTypeName()voidpostInject(boolean addKeysToContextPath)StringtoString()RemoteLockActionResultwithUnlockPin(String unlockPin)Returns an immutable copy ofthiswith just theunlockPinfield changed.RemoteLockActionResultwithUnmappedField(String name, Object value)-
Methods inherited from class odata.msgraph.client.complex.DeviceActionResult
builder, getActionName, getActionState, getLastUpdatedDateTime, getStartDateTime, withActionName, withActionState, withLastUpdatedDateTime, withStartDateTime
-
-
-
-
Field Detail
-
unlockPin
protected String unlockPin
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classDeviceActionResult
-
getUnlockPin
public Optional<String> getUnlockPin()
“Pin to unlock the client”- Returns:
- property unlockPin
-
withUnlockPin
public RemoteLockActionResult withUnlockPin(String unlockPin)
Returns an immutable copy ofthiswith just theunlockPinfield 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.“Pin to unlock the client”
- Parameters:
unlockPin- new value ofunlockPinfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theunlockPinfield changed
-
withUnmappedField
public RemoteLockActionResult withUnmappedField(String name, Object 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
-
builderRemoteLockActionResult
public static RemoteLockActionResult.Builder builderRemoteLockActionResult()
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
-
-