AgentOptimizationCandidateOutput Class
- java.
lang. Object - com.
azure. ai. agents. models. AgentOptimizationCandidateOutput
- com.
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 Agent |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Agent |
fromJson(JsonReader jsonReader)
Reads an instance of Agent |
|
Agent |
getType()
Get the type property: Output type matching the parent job's optimization type. |
|
Json |
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:
Returns:
Throws:
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: