AgentOptimizationTargetConfiguration Class

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

Implements

public class AgentOptimizationTargetConfiguration
implements JsonSerializable<AgentOptimizationTargetConfiguration>

Base target configuration for an optimization job.

Constructor Summary

Modifier Constructor Description
protected AgentOptimizationTargetConfiguration()

Creates an instance of AgentOptimizationTargetConfiguration class.

Method Summary

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

Reads an instance of AgentOptimizationTargetConfiguration from the JsonReader.

AgentOptimizationTargetConfigurationType getType()

Get the type property: Target configuration type.

JsonWriter toJson(JsonWriter jsonWriter)

Methods inherited from java.lang.Object

Constructor Details

AgentOptimizationTargetConfiguration

protected AgentOptimizationTargetConfiguration()

Creates an instance of AgentOptimizationTargetConfiguration class.

Method Details

fromJson

public static AgentOptimizationTargetConfiguration fromJson(JsonReader jsonReader)

Reads an instance of AgentOptimizationTargetConfiguration from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

getType

public AgentOptimizationTargetConfigurationType getType()

Get the type property: Target configuration 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