Share via


ResponsesMessageItemResource Constructors

Definition

Overloads

ResponsesMessageItemResource()

Source:
ResponsesMessageItemResource.cs

Initializes a new instance of ResponsesMessageItemResource for deserialization.

public ResponsesMessageItemResource();
Public Sub New ()

Applies to

ResponsesMessageItemResource(String, ResponsesMessageItemResourceStatus)

Source:
ResponsesMessageItemResource.cs

Initializes a new instance of ResponsesMessageItemResource.

public ResponsesMessageItemResource(string id, Azure.AI.AgentServer.Contracts.Generated.OpenAI.ResponsesMessageItemResourceStatus status);
new Azure.AI.AgentServer.Contracts.Generated.OpenAI.ResponsesMessageItemResource : string * Azure.AI.AgentServer.Contracts.Generated.OpenAI.ResponsesMessageItemResourceStatus -> Azure.AI.AgentServer.Contracts.Generated.OpenAI.ResponsesMessageItemResource
Public Sub New (id As String, status As ResponsesMessageItemResourceStatus)

Parameters

id
String
status
ResponsesMessageItemResourceStatus

The status of the item. One of in_progress, completed, or incomplete. Populated when items are returned via API.

Exceptions

id is null.

Applies to

ResponsesMessageItemResource(ItemType, String, CreatedBy, IDictionary<String,BinaryData>, ResponsesMessageItemResourceStatus, ResponsesMessageRole)

Source:
ResponsesMessageItemResource.cs

Initializes a new instance of ResponsesMessageItemResource.

public ResponsesMessageItemResource(Azure.AI.AgentServer.Contracts.Generated.OpenAI.ItemType type, string id, Azure.AI.AgentServer.Contracts.Generated.OpenAI.CreatedBy createdBy, System.Collections.Generic.IDictionary<string,BinaryData> serializedAdditionalRawData, Azure.AI.AgentServer.Contracts.Generated.OpenAI.ResponsesMessageItemResourceStatus status, Azure.AI.AgentServer.Contracts.Generated.OpenAI.ResponsesMessageRole role);
new Azure.AI.AgentServer.Contracts.Generated.OpenAI.ResponsesMessageItemResource : Azure.AI.AgentServer.Contracts.Generated.OpenAI.ItemType * string * Azure.AI.AgentServer.Contracts.Generated.OpenAI.CreatedBy * System.Collections.Generic.IDictionary<string, BinaryData> * Azure.AI.AgentServer.Contracts.Generated.OpenAI.ResponsesMessageItemResourceStatus * Azure.AI.AgentServer.Contracts.Generated.OpenAI.ResponsesMessageRole -> Azure.AI.AgentServer.Contracts.Generated.OpenAI.ResponsesMessageItemResource
Public Sub New (type As ItemType, id As String, createdBy As CreatedBy, serializedAdditionalRawData As IDictionary(Of String, BinaryData), status As ResponsesMessageItemResourceStatus, role As ResponsesMessageRole)

Parameters

type
ItemType
id
String
createdBy
CreatedBy

The information about the creator of the item.

serializedAdditionalRawData
IDictionary<String,BinaryData>

Keeps track of any properties unknown to the library.

status
ResponsesMessageItemResourceStatus

The status of the item. One of in_progress, completed, or incomplete. Populated when items are returned via API.

role
ResponsesMessageRole

The role associated with the message.

Applies to