Class OperationInner

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

public final class OperationInner extends Object implements com.azure.json.JsonSerializable<OperationInner>
An operation on a resource.
  • Method Details

    • id

      public String id()
      Get the id property: Operation ID.
      Returns:
      the id value.
    • name

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

      public OperationStatus status()
      Get the status property: The current status of the operation.
      Returns:
      the status value.
    • errors

      public List<ErrorEntity> errors()
      Get the errors property: Any errors associate with the operation.
      Returns:
      the errors value.
    • createdTime

      public OffsetDateTime createdTime()
      Get the createdTime property: Time when operation has started.
      Returns:
      the createdTime value.
    • modifiedTime

      public OffsetDateTime modifiedTime()
      Get the modifiedTime property: Time when operation has been updated.
      Returns:
      the modifiedTime value.
    • expirationTime

      public OffsetDateTime expirationTime()
      Get the expirationTime property: Time when operation will expire.
      Returns:
      the expirationTime value.
    • geoMasterOperationId

      public UUID geoMasterOperationId()
      Get the geoMasterOperationId property: Applicable only for stamp operation ids.
      Returns:
      the geoMasterOperationId value.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.
    • toJson

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

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