ToolProjectConnection Class
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.
A project connection resource.
public class ToolProjectConnection : Azure.AI.AgentServer.Contracts.Generated.Common.IUtf8JsonSerializable, System.ClientModel.Primitives.IJsonModel<Azure.AI.AgentServer.Contracts.Generated.OpenAI.ToolProjectConnection>, System.ClientModel.Primitives.IPersistableModel<Azure.AI.AgentServer.Contracts.Generated.OpenAI.ToolProjectConnection>
type ToolProjectConnection = class
interface IUtf8JsonSerializable
interface IJsonModel<ToolProjectConnection>
interface IPersistableModel<ToolProjectConnection>
Public Class ToolProjectConnection
Implements IJsonModel(Of ToolProjectConnection), IPersistableModel(Of ToolProjectConnection), IUtf8JsonSerializable
- Inheritance
-
ToolProjectConnection
- Implements
Constructors
| Name | Description |
|---|---|
| ToolProjectConnection() |
Initializes a new instance of ToolProjectConnection for deserialization. |
| ToolProjectConnection(String, IDictionary<String,BinaryData>) |
Initializes a new instance of ToolProjectConnection. |
| ToolProjectConnection(String) |
Initializes a new instance of ToolProjectConnection. |
Properties
| Name | Description |
|---|---|
| ProjectConnectionId |
A project connection in a ToolProjectConnectionList attached to this tool. |
Methods
| Name | Description |
|---|---|
| DeserializeToolProjectConnection(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<ToolProjectConnection>.Create(Utf8JsonReader, ModelReaderWriterOptions) |
Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model. |
| IJsonModel<ToolProjectConnection>.Write(Utf8JsonWriter, ModelReaderWriterOptions) |
Writes the model to the provided Utf8JsonWriter. |
| IPersistableModel<ToolProjectConnection>.Create(BinaryData, ModelReaderWriterOptions) |
Converts the provided BinaryData into a model. |
| IPersistableModel<ToolProjectConnection>.GetFormatFromOptions(ModelReaderWriterOptions) |
Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service. |
| IPersistableModel<ToolProjectConnection>.Write(ModelReaderWriterOptions) |
Writes the model into a BinaryData. |
| IUtf8JsonSerializable.Write(Utf8JsonWriter) | |