Package odata.msgraph.client.complex
Class ResetPasscodeActionResult
- java.lang.Object
-
- odata.msgraph.client.complex.DeviceActionResult
-
- odata.msgraph.client.complex.ResetPasscodeActionResult
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataType
public class ResetPasscodeActionResult extends DeviceActionResult implements com.github.davidmoten.odata.client.ODataType
“Reset passcode action result”
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classResetPasscodeActionResult.Builder
-
Field Summary
Fields Modifier and Type Field Description protected Stringpasscode-
Fields inherited from class odata.msgraph.client.complex.DeviceActionResult
actionName, actionState, contextPath, lastUpdatedDateTime, odataType, startDateTime, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedResetPasscodeActionResult()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ResetPasscodeActionResult.BuilderbuilderResetPasscodeActionResult()Returns a builder which is used to create a new instance of this class (given that this class is immutable).Optional<String>getPasscode()“Newly generated passcode for the device”com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()StringodataTypeName()voidpostInject(boolean addKeysToContextPath)StringtoString()ResetPasscodeActionResultwithPasscode(String passcode)Returns an immutable copy ofthiswith just thepasscodefield changed.ResetPasscodeActionResultwithUnmappedField(String name, Object value)-
Methods inherited from class odata.msgraph.client.complex.DeviceActionResult
builder, getActionName, getActionState, getLastUpdatedDateTime, getStartDateTime, withActionName, withActionState, withLastUpdatedDateTime, withStartDateTime
-
-
-
-
Field Detail
-
passcode
protected String passcode
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classDeviceActionResult
-
getPasscode
public Optional<String> getPasscode()
“Newly generated passcode for the device”- Returns:
- property passcode
-
withPasscode
public ResetPasscodeActionResult withPasscode(String passcode)
Returns an immutable copy ofthiswith just thepasscodefield 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.“Newly generated passcode for the device”
- Parameters:
passcode- new value ofpasscodefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thepasscodefield changed
-
withUnmappedField
public ResetPasscodeActionResult 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
-
builderResetPasscodeActionResult
public static ResetPasscodeActionResult.Builder builderResetPasscodeActionResult()
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
-
-