public class ResetPasscodeActionResult extends DeviceActionResult implements com.github.davidmoten.odata.client.ODataType
| Modifier and Type | Class and Description |
|---|---|
static class |
ResetPasscodeActionResult.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected String |
passcode |
protected com.github.davidmoten.odata.client.internal.UnmappedFields |
unmappedFields |
actionName, actionState, contextPath, lastUpdatedDateTime, odataType, startDateTime| Modifier | Constructor and Description |
|---|---|
protected |
ResetPasscodeActionResult() |
| Modifier and Type | Method and Description |
|---|---|
static ResetPasscodeActionResult.Builder |
builderResetPasscodeActionResult()
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.internal.UnmappedFields |
getUnmappedFields() |
String |
odataTypeName() |
void |
postInject(boolean addKeysToContextPath) |
String |
toString() |
ResetPasscodeActionResult |
withPasscode(String passcode)
Returns an immutable copy of
this with just the passcode field
changed. |
builder, getActionName, getActionState, getLastUpdatedDateTime, getStartDateTime, withActionName, withActionState, withLastUpdatedDateTime, withStartDateTimeprotected com.github.davidmoten.odata.client.internal.UnmappedFields unmappedFields
protected String passcode
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypeodataTypeName in class DeviceActionResultpublic Optional<String> getPasscode()
public ResetPasscodeActionResult withPasscode(String passcode)
this with just the passcode 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.
“Newly generated passcode for the device”
passcode - new value of passcode field (as defined in service metadata)this with just the passcode 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 ResetPasscodeActionResult.Builder builderResetPasscodeActionResult()
public String toString()
toString in class DeviceActionResultCopyright © 2018–2020. All rights reserved.