Share via


CodeInterpreterOutputImage Class

Definition

The image output from the code interpreter.

public class CodeInterpreterOutputImage : Azure.AI.AgentServer.Contracts.Generated.OpenAI.CodeInterpreterOutput, System.ClientModel.Primitives.IJsonModel<Azure.AI.AgentServer.Contracts.Generated.OpenAI.CodeInterpreterOutputImage>, System.ClientModel.Primitives.IPersistableModel<Azure.AI.AgentServer.Contracts.Generated.OpenAI.CodeInterpreterOutputImage>
type CodeInterpreterOutputImage = class
    inherit CodeInterpreterOutput
    interface IUtf8JsonSerializable
    interface IJsonModel<CodeInterpreterOutputImage>
    interface IPersistableModel<CodeInterpreterOutputImage>
Public Class CodeInterpreterOutputImage
Inherits CodeInterpreterOutput
Implements IJsonModel(Of CodeInterpreterOutputImage), IPersistableModel(Of CodeInterpreterOutputImage)
Inheritance
CodeInterpreterOutputImage
Implements

Constructors

Name Description
CodeInterpreterOutputImage()

Initializes a new instance of CodeInterpreterOutputImage for deserialization.

CodeInterpreterOutputImage(CodeInterpreterOutputType, IDictionary<String,BinaryData>, Uri)

Initializes a new instance of CodeInterpreterOutputImage.

CodeInterpreterOutputImage(Uri)

Initializes a new instance of CodeInterpreterOutputImage.

Properties

Name Description
Type

Gets or sets the type.

(Inherited from CodeInterpreterOutput)
Url

The URL of the image output from the code interpreter.

Methods

Name Description
DeserializeCodeInterpreterOutputImage(JsonElement, ModelReaderWriterOptions)
FromResponse(Response)

Deserializes the model from a raw response.

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)
ToRequestContent()

Convert into a RequestContent.

Explicit Interface Implementations

Name Description
IJsonModel<CodeInterpreterOutput>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

(Inherited from CodeInterpreterOutput)
IJsonModel<CodeInterpreterOutput>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

(Inherited from CodeInterpreterOutput)
IJsonModel<CodeInterpreterOutputImage>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<CodeInterpreterOutputImage>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<CodeInterpreterOutput>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

(Inherited from CodeInterpreterOutput)
IPersistableModel<CodeInterpreterOutput>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

(Inherited from CodeInterpreterOutput)
IPersistableModel<CodeInterpreterOutput>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

(Inherited from CodeInterpreterOutput)
IPersistableModel<CodeInterpreterOutputImage>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<CodeInterpreterOutputImage>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<CodeInterpreterOutputImage>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

IUtf8JsonSerializable.Write(Utf8JsonWriter)

Applies to