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 Summary
ConstructorsConstructorDescriptionCreates an instance of SolutionEvaluatedOutput class. -
Method Summary
Modifier and TypeMethodDescriptionstatic SolutionEvaluatedOutputfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of SolutionEvaluatedOutput from the JsonReader.Get the insightAttachmentResponse property: The insightAttachmentResponse property.Get the insightResponse property: The insightResponse property.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) voidvalidate()Validates the instance.withInsightAttachmentResponse(InsightAttachment insightAttachmentResponse) Set the insightAttachmentResponse property: The insightAttachmentResponse property.withInsightResponse(Insight insightResponse) Set the insightResponse property: The insightResponse property.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
SolutionEvaluatedOutput
public SolutionEvaluatedOutput()Creates an instance of SolutionEvaluatedOutput class.
-
-
Method Details
-
insightResponse
Get the insightResponse property: The insightResponse property.- Returns:
- the insightResponse value.
-
withInsightResponse
Set the insightResponse property: The insightResponse property.- Parameters:
insightResponse- the insightResponse value to set.- Returns:
- the SolutionEvaluatedOutput object itself.
-
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
- Specified by:
toJsonin interfacecom.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.
-