Share via


ScrollAction Class

Definition

A scroll action.

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

Properties

Name Description
ScrollX

The horizontal scroll distance.

ScrollY

The vertical scroll distance.

X

The x-coordinate where the scroll occurred.

Y

The y-coordinate where the scroll occurred.

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

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

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

Converts the provided BinaryData into a model.

IPersistableModel<ScrollAction>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<ScrollAction>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to