ResponsesProtocolConfiguration Class

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

Implements

public final class ResponsesProtocolConfiguration
implements JsonSerializable<ResponsesProtocolConfiguration>

Configuration specific to the responses protocol.

Constructor Summary

Constructor Description
ResponsesProtocolConfiguration()

Creates an instance of ResponsesProtocolConfiguration class.

Method Summary

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

Reads an instance of ResponsesProtocolConfiguration from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)

Methods inherited from java.lang.Object

Constructor Details

ResponsesProtocolConfiguration

public ResponsesProtocolConfiguration()

Creates an instance of ResponsesProtocolConfiguration class.

Method Details

fromJson

public static ResponsesProtocolConfiguration fromJson(JsonReader jsonReader)

Reads an instance of ResponsesProtocolConfiguration from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

Applies to