DevBoxActionDelayResult Class

  • java.lang.Object
    • com.azure.developer.devcenter.models.DevBoxActionDelayResult

Implements

public final class DevBoxActionDelayResult
implements JsonSerializable<DevBoxActionDelayResult>

The action delay result.

Method Summary

Modifier and Type Method and Description
static DevBoxActionDelayResult fromJson(JsonReader jsonReader)

Reads an instance of DevBoxActionDelayResult from the JsonReader.

DevBoxAction getAction()

Get the action property: The delayed action.

String getActionName()

Get the actionName property: The name of the action.

DevBoxActionDelayStatus getDelayStatus()

Get the delayStatus property: The result of the delay operation on this action.

ResponseError getError()

Get the error property: Information about the error that occurred.

JsonWriter toJson(JsonWriter jsonWriter)

Methods inherited from java.lang.Object

Method Details

fromJson

public static DevBoxActionDelayResult fromJson(JsonReader jsonReader)

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:

IOException

- If the deserialized JSON object was missing any required properties.

getAction

public DevBoxAction getAction()

Get the action property: The delayed action.

Returns:

the action value.

getActionName

public String getActionName()

Get the actionName property: The name of the action.

Returns:

the actionName value.

getDelayStatus

public DevBoxActionDelayStatus getDelayStatus()

Get the delayStatus property: The result of the delay operation on this action.

Returns:

the delayStatus value.

getError

public ResponseError getError()

Get the error property: Information about the error that occurred. Only populated on error.

Returns:

the error value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

Applies to