Class DiagnosticsDataApiResponse

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

public final class DiagnosticsDataApiResponse extends Object implements com.azure.json.JsonSerializable<DiagnosticsDataApiResponse>
Diagnostics data returned from a detector.
  • Constructor Details

    • DiagnosticsDataApiResponse

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

    • table

      Get the table property: Table response.
      Returns:
      the table value.
    • withTable

      Set the table property: Table response.
      Parameters:
      table - the table value to set.
      Returns:
      the DiagnosticsDataApiResponse object itself.
    • renderingProperties

      public DiagnosticRendering renderingProperties()
      Get the renderingProperties property: Details of the table response.
      Returns:
      the renderingProperties value.
    • withRenderingProperties

      public DiagnosticsDataApiResponse withRenderingProperties(DiagnosticRendering renderingProperties)
      Set the renderingProperties property: Details of the table response.
      Parameters:
      renderingProperties - the renderingProperties value to set.
      Returns:
      the DiagnosticsDataApiResponse object itself.
    • 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<DiagnosticsDataApiResponse>
      Throws:
      IOException
    • fromJson

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