ResponsesMessageItemResource Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
| Name | Description |
|---|---|
| ResponsesMessageItemResource() |
Initializes a new instance of ResponsesMessageItemResource for deserialization. |
| ResponsesMessageItemResource(String, ResponsesMessageItemResourceStatus) |
Initializes a new instance of ResponsesMessageItemResource. |
| ResponsesMessageItemResource(ItemType, String, CreatedBy, IDictionary<String,BinaryData>, ResponsesMessageItemResourceStatus, ResponsesMessageRole) |
Initializes a new instance of ResponsesMessageItemResource. |
ResponsesMessageItemResource()
Initializes a new instance of ResponsesMessageItemResource for deserialization.
public ResponsesMessageItemResource();
Public Sub New ()
Applies to
ResponsesMessageItemResource(String, ResponsesMessageItemResourceStatus)
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
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)
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.
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.