Class SolutionEvaluatedOutput

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

public final class SolutionEvaluatedOutput extends Object implements com.azure.json.JsonSerializable<SolutionEvaluatedOutput>
The SolutionEvaluatedOutput model.
  • Constructor Details

    • SolutionEvaluatedOutput

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

    • insightResponse

      public Insight insightResponse()
      Get the insightResponse property: The insightResponse property.
      Returns:
      the insightResponse value.
    • withInsightResponse

      public SolutionEvaluatedOutput withInsightResponse(Insight insightResponse)
      Set the insightResponse property: The insightResponse property.
      Parameters:
      insightResponse - the insightResponse value to set.
      Returns:
      the SolutionEvaluatedOutput object itself.
    • insightAttachmentResponse

      public InsightAttachment insightAttachmentResponse()
      Get the insightAttachmentResponse property: The insightAttachmentResponse property.
      Returns:
      the insightAttachmentResponse value.
    • withInsightAttachmentResponse

      public SolutionEvaluatedOutput withInsightAttachmentResponse(InsightAttachment insightAttachmentResponse)
      Set the insightAttachmentResponse property: The insightAttachmentResponse property.
      Parameters:
      insightAttachmentResponse - the insightAttachmentResponse value to set.
      Returns:
      the SolutionEvaluatedOutput 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<SolutionEvaluatedOutput>
      Throws:
      IOException
    • fromJson

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