AzureCreateResponseDetails Class

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

Implements

public final class AzureCreateResponseDetails
implements JsonSerializable<AzureCreateResponseDetails>

Azure specific fields returned in a "Response" object.

Method Summary

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

Reads an instance of AzureCreateResponseDetails from the JsonReader.

AgentReference getAgentReference()

Get the agentReference property: The agent used for this response.

ModelSelectionDetails getModelSelectionDetails()

Get the modelSelectionDetails property: Model selection metadata providing visibility into routing decisions.

JsonWriter toJson(JsonWriter jsonWriter)

Methods inherited from java.lang.Object

Method Details

fromJson

public static AzureCreateResponseDetails fromJson(JsonReader jsonReader)

Reads an instance of AzureCreateResponseDetails from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of AzureCreateResponseDetails if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If the deserialized JSON object was missing any required properties.

getAgentReference

public AgentReference getAgentReference()

Get the agentReference property: The agent used for this response.

Returns:

the agentReference value.

getModelSelectionDetails

public ModelSelectionDetails getModelSelectionDetails()

Get the modelSelectionDetails property: Model selection metadata providing visibility into routing decisions. Present when the request was handled by Model Router.

Returns:

the modelSelectionDetails value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

Applies to