Share via


LocalShellToolCallItemResource Constructors

Definition

Overloads

LocalShellToolCallItemResource()

Source:
LocalShellToolCallItemResource.cs

Initializes a new instance of LocalShellToolCallItemResource for deserialization.

public LocalShellToolCallItemResource();
Public Sub New ()

Applies to

LocalShellToolCallItemResource(String, LocalShellToolCallItemResourceStatus, String, LocalShellExecAction)

Source:
LocalShellToolCallItemResource.cs

Initializes a new instance of LocalShellToolCallItemResource.

public LocalShellToolCallItemResource(string id, Azure.AI.AgentServer.Contracts.Generated.OpenAI.LocalShellToolCallItemResourceStatus status, string callId, Azure.AI.AgentServer.Contracts.Generated.OpenAI.LocalShellExecAction action);
new Azure.AI.AgentServer.Contracts.Generated.OpenAI.LocalShellToolCallItemResource : string * Azure.AI.AgentServer.Contracts.Generated.OpenAI.LocalShellToolCallItemResourceStatus * string * Azure.AI.AgentServer.Contracts.Generated.OpenAI.LocalShellExecAction -> Azure.AI.AgentServer.Contracts.Generated.OpenAI.LocalShellToolCallItemResource
Public Sub New (id As String, status As LocalShellToolCallItemResourceStatus, callId As String, action As LocalShellExecAction)

Parameters

id
String
callId
String

The unique ID of the local shell tool call generated by the model.

Exceptions

id, callId or action is null.

Applies to

LocalShellToolCallItemResource(ItemType, String, CreatedBy, IDictionary<String, BinaryData>, LocalShellToolCallItemResourceStatus, String, LocalShellExecAction)

Source:
LocalShellToolCallItemResource.cs

Initializes a new instance of LocalShellToolCallItemResource.

public LocalShellToolCallItemResource(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.LocalShellToolCallItemResourceStatus status, string callId, Azure.AI.AgentServer.Contracts.Generated.OpenAI.LocalShellExecAction action);
new Azure.AI.AgentServer.Contracts.Generated.OpenAI.LocalShellToolCallItemResource : 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.LocalShellToolCallItemResourceStatus * string * Azure.AI.AgentServer.Contracts.Generated.OpenAI.LocalShellExecAction -> Azure.AI.AgentServer.Contracts.Generated.OpenAI.LocalShellToolCallItemResource
Public Sub New (type As ItemType, id As String, createdBy As CreatedBy, serializedAdditionalRawData As IDictionary(Of String, BinaryData), status As LocalShellToolCallItemResourceStatus, callId As String, action As LocalShellExecAction)

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.

callId
String

The unique ID of the local shell tool call generated by the model.

Applies to