Class Solution

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

public final class Solution extends Object implements com.azure.json.JsonSerializable<Solution>
Class Representing Solution for problems detected.
  • Method Details

    • id

      public Double id()
      Get the id property: Solution Id.
      Returns:
      the id value.
    • displayName

      public String displayName()
      Get the displayName property: Display Name of the solution.
      Returns:
      the displayName value.
    • order

      public Double order()
      Get the order property: Order of the solution.
      Returns:
      the order value.
    • description

      public String description()
      Get the description property: Description of the solution.
      Returns:
      the description value.
    • type

      public SolutionType type()
      Get the type property: Type of Solution.
      Returns:
      the type value.
    • data

      public List<List<NameValuePair>> data()
      Get the data property: Solution Data.
      Returns:
      the data value.
    • metadata

      public List<List<NameValuePair>> metadata()
      Get the metadata property: Solution Metadata.
      Returns:
      the metadata 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<Solution>
      Throws:
      IOException
    • fromJson

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