MicrosoftGraphDeviceActionResult Class
- java.
lang. Object - com.
azure. resourcemanager. authorization. fluent. models. MicrosoftGraphDeviceActionResult
- com.
Implements
public final class MicrosoftGraphDeviceActionResult
implements JsonSerializable<MicrosoftGraphDeviceActionResult>
deviceActionResult Device action result.
Constructor Summary
Constructor | Description |
---|---|
MicrosoftGraphDeviceActionResult() |
Creates an instance of Microsoft |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
actionName()
Get the action |
Microsoft |
actionState()
Get the action |
Map<String,Object> |
additionalProperties()
Get the additional |
static
Microsoft |
fromJson(JsonReader jsonReader)
Reads an instance of Microsoft |
Offset |
lastUpdatedDateTime()
Get the last |
Offset |
startDateTime()
Get the start |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Microsoft |
withActionName(String actionName)
Set the action |
Microsoft |
withActionState(MicrosoftGraphActionState actionState)
Set the action |
Microsoft |
withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additional |
Microsoft |
withLastUpdatedDateTime(OffsetDateTime lastUpdatedDateTime)
Set the last |
Microsoft |
withStartDateTime(OffsetDateTime startDateTime)
Set the start |
Methods inherited from java.lang.Object
Constructor Details
MicrosoftGraphDeviceActionResult
public MicrosoftGraphDeviceActionResult()
Creates an instance of MicrosoftGraphDeviceActionResult class.
Method Details
actionName
public String actionName()
Get the actionName property: Action name.
Returns:
actionState
public MicrosoftGraphActionState actionState()
Get the actionState property: actionState.
Returns:
additionalProperties
public Map
Get the additionalProperties property: Device action result.
Returns:
fromJson
public static MicrosoftGraphDeviceActionResult fromJson(JsonReader jsonReader)
Reads an instance of MicrosoftGraphDeviceActionResult from the JsonReader.
Parameters:
Returns:
Throws:
lastUpdatedDateTime
public OffsetDateTime lastUpdatedDateTime()
Get the lastUpdatedDateTime property: Time the action state was last updated.
Returns:
startDateTime
public OffsetDateTime startDateTime()
Get the startDateTime property: Time the action was initiated.
Returns:
toJson
validate
public void validate()
Validates the instance.
withActionName
public MicrosoftGraphDeviceActionResult withActionName(String actionName)
Set the actionName property: Action name.
Parameters:
Returns:
withActionState
public MicrosoftGraphDeviceActionResult withActionState(MicrosoftGraphActionState actionState)
Set the actionState property: actionState.
Parameters:
Returns:
withAdditionalProperties
public MicrosoftGraphDeviceActionResult withAdditionalProperties(Map
Set the additionalProperties property: Device action result.
Parameters:
Returns:
withLastUpdatedDateTime
public MicrosoftGraphDeviceActionResult withLastUpdatedDateTime(OffsetDateTime lastUpdatedDateTime)
Set the lastUpdatedDateTime property: Time the action state was last updated.
Parameters:
Returns:
withStartDateTime
public MicrosoftGraphDeviceActionResult withStartDateTime(OffsetDateTime startDateTime)
Set the startDateTime property: Time the action was initiated.
Parameters:
Returns:
Applies to
Azure SDK for Java