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