Class ComputeOperationListResult

java.lang.Object
com.azure.resourcemanager.compute.models.ComputeOperationListResult
All Implemented Interfaces:
com.azure.json.JsonSerializable<ComputeOperationListResult>

public final class ComputeOperationListResult extends Object implements com.azure.json.JsonSerializable<ComputeOperationListResult>
The List Compute Operation operation response.
  • Constructor Details

    • ComputeOperationListResult

      public ComputeOperationListResult()
      Creates an instance of ComputeOperationListResult class.
  • Method Details

    • value

      Get the value property: The list of compute operations.
      Returns:
      the value 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<ComputeOperationListResult>
      Throws:
      IOException
    • fromJson

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