Delen via


ResponseCustomToolCallInputDoneEvent Class

Definition

ResponseCustomToolCallInputDone.

public class ResponseCustomToolCallInputDoneEvent : Azure.AI.AgentServer.Responses.Models.ResponseStreamEvent, System.ClientModel.Primitives.IJsonModel<Azure.AI.AgentServer.Responses.Models.ResponseCustomToolCallInputDoneEvent>, System.ClientModel.Primitives.IPersistableModel<Azure.AI.AgentServer.Responses.Models.ResponseCustomToolCallInputDoneEvent>
type ResponseCustomToolCallInputDoneEvent = class
    inherit ResponseStreamEvent
    interface IJsonModel<ResponseCustomToolCallInputDoneEvent>
    interface IPersistableModel<ResponseCustomToolCallInputDoneEvent>
Public Class ResponseCustomToolCallInputDoneEvent
Inherits ResponseStreamEvent
Implements IJsonModel(Of ResponseCustomToolCallInputDoneEvent), IPersistableModel(Of ResponseCustomToolCallInputDoneEvent)
Inheritance
ResponseCustomToolCallInputDoneEvent
Implements

Constructors

Name Description
ResponseCustomToolCallInputDoneEvent(Int64, Int64, String, String)

Initializes a new instance of ResponseCustomToolCallInputDoneEvent.

Properties

Name Description
EventType

Gets the event type discriminator (e.g. response.created, response.completed).

(Inherited from ResponseStreamEvent)
Input

The complete input data for the custom tool call.

ItemId

Unique identifier for the API item associated with this event.

OutputIndex

The index of the output this event applies to.

SequenceNumber

Gets the SequenceNumber.

(Inherited from ResponseStreamEvent)

Methods

Name Description
JsonModelCreateCore(Utf8JsonReader, ModelReaderWriterOptions)
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)
PersistableModelCreateCore(BinaryData, ModelReaderWriterOptions)
PersistableModelWriteCore(ModelReaderWriterOptions)

Operators

Name Description
Explicit(ClientResult to ResponseCustomToolCallInputDoneEvent)

Explicit Interface Implementations

Name Description
IJsonModel<ResponseCustomToolCallInputDoneEvent>.Create(Utf8JsonReader, ModelReaderWriterOptions)
IJsonModel<ResponseCustomToolCallInputDoneEvent>.Write(Utf8JsonWriter, ModelReaderWriterOptions)
IJsonModel<ResponseStreamEvent>.Create(Utf8JsonReader, ModelReaderWriterOptions) (Inherited from ResponseStreamEvent)
IJsonModel<ResponseStreamEvent>.Write(Utf8JsonWriter, ModelReaderWriterOptions) (Inherited from ResponseStreamEvent)
IPersistableModel<ResponseCustomToolCallInputDoneEvent>.Create(BinaryData, ModelReaderWriterOptions)
IPersistableModel<ResponseCustomToolCallInputDoneEvent>.GetFormatFromOptions(ModelReaderWriterOptions)
IPersistableModel<ResponseCustomToolCallInputDoneEvent>.Write(ModelReaderWriterOptions)
IPersistableModel<ResponseStreamEvent>.Create(BinaryData, ModelReaderWriterOptions) (Inherited from ResponseStreamEvent)
IPersistableModel<ResponseStreamEvent>.GetFormatFromOptions(ModelReaderWriterOptions) (Inherited from ResponseStreamEvent)
IPersistableModel<ResponseStreamEvent>.Write(ModelReaderWriterOptions) (Inherited from ResponseStreamEvent)

Extension Methods

Name Description
SnapshotEmbeddedResponse(ResponseStreamEvent, ResponseObject)

If the event is a lifecycle event that embeds a ResponseObject reference, replaces it with an immutable snapshot of the given accumulator. Non-lifecycle events are left unchanged.

Applies to