Share via


ResponseConversation1 Class

Definition

The ResponseConversation1.

public class ResponseConversation1 : Azure.AI.AgentServer.Contracts.Generated.Common.IUtf8JsonSerializable, System.ClientModel.Primitives.IJsonModel<Azure.AI.AgentServer.Contracts.Generated.Conversations.ResponseConversation1>, System.ClientModel.Primitives.IPersistableModel<Azure.AI.AgentServer.Contracts.Generated.Conversations.ResponseConversation1>
type ResponseConversation1 = class
    interface IUtf8JsonSerializable
    interface IJsonModel<ResponseConversation1>
    interface IPersistableModel<ResponseConversation1>
Public Class ResponseConversation1
Implements IJsonModel(Of ResponseConversation1), IPersistableModel(Of ResponseConversation1), IUtf8JsonSerializable
Inheritance
ResponseConversation1
Implements

Constructors

Name Description
ResponseConversation1()

Initializes a new instance of ResponseConversation1 for deserialization.

ResponseConversation1(String, IDictionary<String,BinaryData>)

Initializes a new instance of ResponseConversation1.

ResponseConversation1(String)

Initializes a new instance of ResponseConversation1.

Properties

Name Description
Id

Gets the id.

Methods

Name Description
DeserializeResponseConversation1(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<ResponseConversation1>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<ResponseConversation1>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ResponseConversation1>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ResponseConversation1>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<ResponseConversation1>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

IUtf8JsonSerializable.Write(Utf8JsonWriter)

Applies to