Share via


DragAction Class

Definition

A drag action.

public class DragAction : Azure.AI.Agents.Persistent.ComputerUseAction, System.ClientModel.Primitives.IJsonModel<Azure.AI.Agents.Persistent.DragAction>, System.ClientModel.Primitives.IPersistableModel<Azure.AI.Agents.Persistent.DragAction>
type DragAction = class
    inherit ComputerUseAction
    interface IJsonModel<DragAction>
    interface IPersistableModel<DragAction>
Public Class DragAction
Inherits ComputerUseAction
Implements IJsonModel(Of DragAction), IPersistableModel(Of DragAction)
Inheritance
Implements

Properties

Name Description
Path

An array of coordinates representing the path of the drag action.

Methods

Name Description
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

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

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

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

Writes the model to the provided Utf8JsonWriter.

(Inherited from ComputerUseAction)
IJsonModel<DragAction>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<DragAction>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ComputerUseAction>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

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

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

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

Writes the model into a BinaryData.

(Inherited from ComputerUseAction)
IPersistableModel<DragAction>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<DragAction>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<DragAction>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to