ComputerActionScroll 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 scroll action.
public class ComputerActionScroll : Azure.AI.AgentServer.Contracts.Generated.OpenAI.ComputerAction, System.ClientModel.Primitives.IJsonModel<Azure.AI.AgentServer.Contracts.Generated.OpenAI.ComputerActionScroll>, System.ClientModel.Primitives.IPersistableModel<Azure.AI.AgentServer.Contracts.Generated.OpenAI.ComputerActionScroll>
type ComputerActionScroll = class
inherit ComputerAction
interface IUtf8JsonSerializable
interface IJsonModel<ComputerActionScroll>
interface IPersistableModel<ComputerActionScroll>
Public Class ComputerActionScroll
Inherits ComputerAction
Implements IJsonModel(Of ComputerActionScroll), IPersistableModel(Of ComputerActionScroll)
- Inheritance
- Implements
Constructors
| Name | Description |
|---|---|
| ComputerActionScroll() |
Initializes a new instance of ComputerActionScroll for deserialization. |
| ComputerActionScroll(ComputerActionType, IDictionary<String,BinaryData>, Int32, Int32, Int32, Int32) |
Initializes a new instance of ComputerActionScroll. |
| ComputerActionScroll(Int32, Int32, Int32, Int32) |
Initializes a new instance of ComputerActionScroll. |
Properties
| Name | Description |
|---|---|
| ScrollX |
The horizontal scroll distance. |
| ScrollY |
The vertical scroll distance. |
| Type |
Gets or sets the type. (Inherited from ComputerAction) |
| X |
The x-coordinate where the scroll occurred. |
| Y |
The y-coordinate where the scroll occurred. |
Methods
| Name | Description |
|---|---|
| DeserializeComputerActionScroll(JsonElement, ModelReaderWriterOptions) | |
| FromResponse(Response) |
Deserializes the model from a raw response. |
| JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) | |
| ToRequestContent() |
Convert into a RequestContent. |