RunStepCodeInterpreterImageReference Class

  • java.lang.Object
    • com.azure.ai.agents.persistent.models.RunStepCodeInterpreterImageReference

Implements

public final class RunStepCodeInterpreterImageReference
implements JsonSerializable<RunStepCodeInterpreterImageReference>

An image reference emitted by a code interpreter tool in response to a tool call by the model.

Method Summary

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

Reads an instance of RunStepCodeInterpreterImageReference from the JsonReader.

String getFileId()

Get the fileId property: The ID of the file associated with this image.

JsonWriter toJson(JsonWriter jsonWriter)

Methods inherited from java.lang.Object

Method Details

fromJson

public static RunStepCodeInterpreterImageReference fromJson(JsonReader jsonReader)

Reads an instance of RunStepCodeInterpreterImageReference from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

getFileId

public String getFileId()

Get the fileId property: The ID of the file associated with this image.

Returns:

the fileId value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

Applies to