A2AProtocolConfiguration Class

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

Implements

public final class A2AProtocolConfiguration
implements JsonSerializable<A2AProtocolConfiguration>

Configuration specific to the A2A protocol.

Constructor Summary

Constructor Description
A2AProtocolConfiguration()

Creates an instance of A2AProtocolConfiguration class.

Method Summary

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

Reads an instance of A2AProtocolConfiguration from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)

Methods inherited from java.lang.Object

Constructor Details

A2AProtocolConfiguration

public A2AProtocolConfiguration()

Creates an instance of A2AProtocolConfiguration class.

Method Details

fromJson

public static A2AProtocolConfiguration fromJson(JsonReader jsonReader)

Reads an instance of A2AProtocolConfiguration from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

Applies to