AgentOptimizationCandidateOutput Class

  • java.lang.Object
    • com.azure.ai.agents.models.AgentOptimizationCandidateOutput

Implements

public class AgentOptimizationCandidateOutput
implements JsonSerializable<AgentOptimizationCandidateOutput>

Base candidate output. Job types define derived output models with their own fields.

Constructor Summary

Modifier Constructor Description
protected AgentOptimizationCandidateOutput()

Creates an instance of AgentOptimizationCandidateOutput class.

Method Summary

Modifier and Type Method and Description
static AgentOptimizationCandidateOutput fromJson(JsonReader jsonReader)

Reads an instance of AgentOptimizationCandidateOutput from the JsonReader.

AgentOptimizationConfigurationType getType()

Get the type property: Output type matching the parent job's optimization type.

JsonWriter toJson(JsonWriter jsonWriter)

Methods inherited from java.lang.Object

Constructor Details

AgentOptimizationCandidateOutput

protected AgentOptimizationCandidateOutput()

Creates an instance of AgentOptimizationCandidateOutput class.

Method Details

fromJson

public static AgentOptimizationCandidateOutput fromJson(JsonReader jsonReader)

Reads an instance of AgentOptimizationCandidateOutput from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of AgentOptimizationCandidateOutput 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 AgentOptimizationCandidateOutput.

getType

public AgentOptimizationConfigurationType getType()

Get the type property: Output type matching the parent job's optimization type. Additional types may be added in future API versions.

Returns:

the type value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

Applies to