Class OperationStatusInner

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

public final class OperationStatusInner extends Object implements com.azure.json.JsonSerializable<OperationStatusInner>
The status of operation.
  • Method Summary

    Modifier and Type
    Method
    Description
    Get the endTime property: The end time of the operation.
    com.azure.core.management.exception.ManagementError
    Get the error property: The error detail of the operation if any.
    fromJson(com.azure.json.JsonReader jsonReader)
    Reads an instance of OperationStatusInner from the JsonReader.
    id()
    Get the id property: The operation Id.
    Get the name property: The operation name.
    Get the startTime property: The start time of the operation.
    Get the status property: The status of the operation.
    com.azure.json.JsonWriter
    toJson(com.azure.json.JsonWriter jsonWriter)

    Methods inherited from class 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

    • id

      public String id()
      Get the id property: The operation Id.
      Returns:
      the id value.
    • name

      public String name()
      Get the name property: The operation name.
      Returns:
      the name value.
    • startTime

      public String startTime()
      Get the startTime property: The start time of the operation.
      Returns:
      the startTime value.
    • endTime

      public String endTime()
      Get the endTime property: The end time of the operation.
      Returns:
      the endTime value.
    • status

      public String status()
      Get the status property: The status of the operation.
      Returns:
      the status value.
    • error

      public com.azure.core.management.exception.ManagementError error()
      Get the error property: The error detail of the operation if any.
      Returns:
      the error value.
    • toJson

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

      public static OperationStatusInner fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      Reads an instance of OperationStatusInner from the JsonReader.
      Parameters:
      jsonReader - The JsonReader being read.
      Returns:
      An instance of OperationStatusInner if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
      Throws:
      IOException - If an error occurs while reading the OperationStatusInner.