Class DiagnosticRendering

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

public final class DiagnosticRendering extends Object implements com.azure.json.JsonSerializable<DiagnosticRendering>
Rendering details of a diagnostics table.
  • Constructor Details

    • DiagnosticRendering

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

    • type

      public Integer type()
      Get the type property: Rendering type.
      Returns:
      the type value.
    • withType

      public DiagnosticRendering withType(Integer type)
      Set the type property: Rendering type.
      Parameters:
      type - the type value to set.
      Returns:
      the DiagnosticRendering object itself.
    • title

      public String title()
      Get the title property: Title of the table.
      Returns:
      the title value.
    • withTitle

      public DiagnosticRendering withTitle(String title)
      Set the title property: Title of the table.
      Parameters:
      title - the title value to set.
      Returns:
      the DiagnosticRendering object itself.
    • description

      public String description()
      Get the description property: Description of the table.
      Returns:
      the description value.
    • withDescription

      public DiagnosticRendering withDescription(String description)
      Set the description property: Description of the table.
      Parameters:
      description - the description value to set.
      Returns:
      the DiagnosticRendering object itself.
    • isVisible

      public Boolean isVisible()
      Get the isVisible property: Flag if the table should be rendered.
      Returns:
      the isVisible value.
    • withIsVisible

      public DiagnosticRendering withIsVisible(Boolean isVisible)
      Set the isVisible property: Flag if the table should be rendered.
      Parameters:
      isVisible - the isVisible value to set.
      Returns:
      the DiagnosticRendering 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<DiagnosticRendering>
      Throws:
      IOException
    • fromJson

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