AgentDetailsVersions Class

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

Implements

public final class AgentDetailsVersions
implements JsonSerializable<AgentDetailsVersions>

The AgentDetailsVersions model.

Method Summary

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

Reads an instance of AgentDetailsVersions from the JsonReader.

AgentVersionDetails getLatest()

Get the latest property: The latest property.

JsonWriter toJson(JsonWriter jsonWriter)

Methods inherited from java.lang.Object

Method Details

fromJson

public static AgentDetailsVersions fromJson(JsonReader jsonReader)

Reads an instance of AgentDetailsVersions from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

getLatest

public AgentVersionDetails getLatest()

Get the latest property: The latest property.

Returns:

the latest value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

Applies to