Class WorkspacePurgeStatusResponseInner

java.lang.Object
com.azure.resourcemanager.loganalytics.fluent.models.WorkspacePurgeStatusResponseInner
All Implemented Interfaces:
com.azure.json.JsonSerializable<WorkspacePurgeStatusResponseInner>

public final class WorkspacePurgeStatusResponseInner extends Object implements com.azure.json.JsonSerializable<WorkspacePurgeStatusResponseInner>
Response containing status for a specific purge operation.
  • Method Details

    • status

      public PurgeState status()
      Get the status property: Status of the operation represented by the requested Id.
      Returns:
      the status value.
    • toJson

      public com.azure.json.JsonWriter toJson(com.azure.json.JsonWriter jsonWriter) throws IOException
      Specified by:
      toJson in interface com.azure.json.JsonSerializable<WorkspacePurgeStatusResponseInner>
      Throws:
      IOException
    • fromJson

      public static WorkspacePurgeStatusResponseInner fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      Reads an instance of WorkspacePurgeStatusResponseInner from the JsonReader.
      Parameters:
      jsonReader - The JsonReader being read.
      Returns:
      An instance of WorkspacePurgeStatusResponseInner 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 WorkspacePurgeStatusResponseInner.