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