Class DiagnosticData

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

public final class DiagnosticData extends Object implements com.azure.json.JsonSerializable<DiagnosticData>
Set of data with rendering instructions.
  • Constructor Details

    • DiagnosticData

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

    • table

      public DataTableResponseObject table()
      Get the table property: Data in table form.
      Returns:
      the table value.
    • withTable

      public DiagnosticData withTable(DataTableResponseObject table)
      Set the table property: Data in table form.
      Parameters:
      table - the table value to set.
      Returns:
      the DiagnosticData object itself.
    • renderingProperties

      public Rendering renderingProperties()
      Get the renderingProperties property: Properties that describe how the table should be rendered.
      Returns:
      the renderingProperties value.
    • withRenderingProperties

      public DiagnosticData withRenderingProperties(Rendering renderingProperties)
      Set the renderingProperties property: Properties that describe how the table should be rendered.
      Parameters:
      renderingProperties - the renderingProperties value to set.
      Returns:
      the DiagnosticData 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<DiagnosticData>
      Throws:
      IOException
    • fromJson

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