Share via


AnnotationFilePath Class

Definition

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
AnnotationFilePath
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.

Explicit Interface Implementations

Name Description
IJsonModel<Annotation>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

(Inherited from Annotation)
IJsonModel<Annotation>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

(Inherited from Annotation)
IJsonModel<AnnotationFilePath>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<AnnotationFilePath>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<Annotation>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

(Inherited from Annotation)
IPersistableModel<Annotation>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

(Inherited from Annotation)
IPersistableModel<Annotation>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

(Inherited from Annotation)
IPersistableModel<AnnotationFilePath>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<AnnotationFilePath>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<AnnotationFilePath>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

IUtf8JsonSerializable.Write(Utf8JsonWriter)

Applies to