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 IntegererrorCodeprotected 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<Integer>getErrorCode()“RotateBitLockerKeys action error code.Optional<String>getPasscode()“Newly generated passcode for the device”com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()StringodataTypeName()voidpostInject(boolean addKeysToContextPath)StringtoString()ResetPasscodeActionResultwithErrorCode(Integer errorCode)Returns an immutable copy ofthiswith just theerrorCodefield changed.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
-
-
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classDeviceActionResult
-
getErrorCode
public Optional<Integer> getErrorCode()
“RotateBitLockerKeys action error code. Valid values 0 to 2147483647”- Returns:
- property errorCode
-
withErrorCode
public ResetPasscodeActionResult withErrorCode(Integer errorCode)
Returns an immutable copy ofthiswith just theerrorCodefield 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.“RotateBitLockerKeys action error code. Valid values 0 to 2147483647”
- Parameters:
errorCode- new value oferrorCodefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theerrorCodefield changed
-
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
-
-