Class DevBoxActionDelayResult
java.lang.Object
com.azure.developer.devcenter.models.DevBoxActionDelayResult
- All Implemented Interfaces:
com.azure.json.JsonSerializable<DevBoxActionDelayResult>
public final class DevBoxActionDelayResult
extends Object
implements com.azure.json.JsonSerializable<DevBoxActionDelayResult>
The action delay result.
-
Method Summary
Modifier and TypeMethodDescriptionstatic DevBoxActionDelayResult
fromJson
(com.azure.json.JsonReader jsonReader) Reads an instance of DevBoxActionDelayResult from the JsonReader.Get the action property: The delayed action.Get the actionName property: The name of the action.Get the delayStatus property: The result of the delay operation on this action.com.azure.core.models.ResponseError
getError()
Get the error property: Information about the error that occurred.com.azure.json.JsonWriter
toJson
(com.azure.json.JsonWriter jsonWriter) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Method Details
-
getActionName
Get the actionName property: The name of the action.- Returns:
- the actionName value.
-
getAction
Get the action property: The delayed action.- Returns:
- the action value.
-
getError
public com.azure.core.models.ResponseError getError()Get the error property: Information about the error that occurred. Only populated on error.- Returns:
- the error value.
-
getDelayStatus
Get the delayStatus property: The result of the delay operation on this action.- Returns:
- the delayStatus value.
-
toJson
- Specified by:
toJson
in interfacecom.azure.json.JsonSerializable<DevBoxActionDelayResult>
- Throws:
IOException
-
fromJson
public static DevBoxActionDelayResult fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of DevBoxActionDelayResult from the JsonReader.- Parameters:
jsonReader
- The JsonReader being read.- Returns:
- An instance of DevBoxActionDelayResult if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
- Throws:
IllegalStateException
- If the deserialized JSON object was missing any required properties.IOException
- If an error occurs while reading the DevBoxActionDelayResult.
-