AnnotationFilePath 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 path to a file.
public class AnnotationFilePath : Azure.AI.AgentServer.Contracts.Generated.OpenAI.Annotation, System.ClientModel.Primitives.IJsonModel<Azure.AI.AgentServer.Contracts.Generated.OpenAI.AnnotationFilePath>, System.ClientModel.Primitives.IPersistableModel<Azure.AI.AgentServer.Contracts.Generated.OpenAI.AnnotationFilePath>
type AnnotationFilePath = class
inherit Annotation
interface IUtf8JsonSerializable
interface IJsonModel<AnnotationFilePath>
interface IPersistableModel<AnnotationFilePath>
Public Class AnnotationFilePath
Inherits Annotation
Implements IJsonModel(Of AnnotationFilePath), IPersistableModel(Of AnnotationFilePath)
- Inheritance
- Implements
Constructors
| Name | Description |
|---|---|
| AnnotationFilePath() |
Initializes a new instance of AnnotationFilePath for deserialization. |
| AnnotationFilePath(AnnotationType, IDictionary<String,BinaryData>, String, Int32) |
Initializes a new instance of AnnotationFilePath. |
| AnnotationFilePath(String, Int32) |
Initializes a new instance of AnnotationFilePath. |
Properties
| Name | Description |
|---|---|
| FileId |
The ID of the file. |
| Index |
The index of the file in the list of files. |
| Type |
Gets or sets the type. (Inherited from Annotation) |
Methods
| Name | Description |
|---|---|
| DeserializeAnnotationFilePath(JsonElement, ModelReaderWriterOptions) | |
| FromResponse(Response) |
Deserializes the model from a raw response. |
| JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) | |
| ToRequestContent() |
Convert into a RequestContent. |