Class OperationStatusResultInner

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

public final class OperationStatusResultInner extends Object implements com.azure.json.JsonSerializable<OperationStatusResultInner>
The current status of an async 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: If present, details of the operation error.
    fromJson(com.azure.json.JsonReader jsonReader)
    Reads an instance of OperationStatusResultInner from the JsonReader.
    id()
    Get the id property: Fully qualified ID for the async operation.
    Get the name property: Name of the async operation.
    Get the operations property: The operations list.
    Get the percentComplete property: Percent of the operation that is complete.
    Get the resourceId property: Fully qualified ID of the resource against which the original async operation was started.
    Get the startTime property: The start time of the operation.
    Get the status property: Operation status.
    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: Fully qualified ID for the async operation.
      Returns:
      the id value.
    • name

      public String name()
      Get the name property: Name of the async operation.
      Returns:
      the name value.
    • status

      public String status()
      Get the status property: Operation status.
      Returns:
      the status value.
    • percentComplete

      public Double percentComplete()
      Get the percentComplete property: Percent of the operation that is complete.
      Returns:
      the percentComplete value.
    • startTime

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

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

      public List<OperationStatusResultInner> operations()
      Get the operations property: The operations list.
      Returns:
      the operations value.
    • error

      public com.azure.core.management.exception.ManagementError error()
      Get the error property: If present, details of the operation error.
      Returns:
      the error value.
    • resourceId

      public String resourceId()
      Get the resourceId property: Fully qualified ID of the resource against which the original async operation was started.
      Returns:
      the resourceId value.
    • toJson

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

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