Share via


ComputerActionClick Class

Definition

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
ComputerActionClick
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 left, right, wheel, back, or forward.

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.

Explicit Interface Implementations

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

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

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

Writes the model to the provided Utf8JsonWriter.

(Inherited from ComputerAction)
IJsonModel<ComputerActionClick>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<ComputerActionClick>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ComputerAction>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

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

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

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

Writes the model into a BinaryData.

(Inherited from ComputerAction)
IPersistableModel<ComputerActionClick>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ComputerActionClick>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<ComputerActionClick>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

IUtf8JsonSerializable.Write(Utf8JsonWriter)

Applies to