ComputerActionKeyPress 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 collection of keypresses the model would like to perform.
public class ComputerActionKeyPress : Azure.AI.AgentServer.Contracts.Generated.OpenAI.ComputerAction, System.ClientModel.Primitives.IJsonModel<Azure.AI.AgentServer.Contracts.Generated.OpenAI.ComputerActionKeyPress>, System.ClientModel.Primitives.IPersistableModel<Azure.AI.AgentServer.Contracts.Generated.OpenAI.ComputerActionKeyPress>
type ComputerActionKeyPress = class
inherit ComputerAction
interface IUtf8JsonSerializable
interface IJsonModel<ComputerActionKeyPress>
interface IPersistableModel<ComputerActionKeyPress>
Public Class ComputerActionKeyPress
Inherits ComputerAction
Implements IJsonModel(Of ComputerActionKeyPress), IPersistableModel(Of ComputerActionKeyPress)
- Inheritance
- Implements
Constructors
| Name | Description |
|---|---|
| ComputerActionKeyPress() |
Initializes a new instance of ComputerActionKeyPress for deserialization. |
| ComputerActionKeyPress(ComputerActionType, IDictionary<String,BinaryData>, IList<String>) |
Initializes a new instance of ComputerActionKeyPress. |
| ComputerActionKeyPress(IEnumerable<String>) |
Initializes a new instance of ComputerActionKeyPress. |
Properties
| Name | Description |
|---|---|
| Keys |
The combination of keys the model is requesting to be pressed. This is an array of strings, each representing a key. |
| Type |
Gets or sets the type. (Inherited from ComputerAction) |
Methods
| Name | Description |
|---|---|
| DeserializeComputerActionKeyPress(JsonElement, ModelReaderWriterOptions) | |
| FromResponse(Response) |
Deserializes the model from a raw response. |
| JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) | |
| ToRequestContent() |
Convert into a RequestContent. |