Share via


MoveAction Class

Definition

A mouse move action.

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

Properties

Name Description
X

The x-coordinate to move to.

Y

The y-coordinate to move to.

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<MoveAction>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<MoveAction>.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<MoveAction>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<MoveAction>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<MoveAction>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to