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 Details

    • getActionName

      public String getActionName()
      Get the actionName property: The name of the action.
      Returns:
      the actionName value.
    • getAction

      public DevBoxAction 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

      public DevBoxActionDelayStatus getDelayStatus()
      Get the delayStatus property: The result of the delay operation on this action.
      Returns:
      the delayStatus value.
    • toJson

      public com.azure.json.JsonWriter toJson(com.azure.json.JsonWriter jsonWriter) throws IOException
      Specified by:
      toJson in interface com.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.