DragParam Class

Definition

Drag.

public class DragParam : Azure.AI.AgentServer.Responses.Models.ComputerAction, System.ClientModel.Primitives.IJsonModel<Azure.AI.AgentServer.Responses.Models.DragParam>, System.ClientModel.Primitives.IPersistableModel<Azure.AI.AgentServer.Responses.Models.DragParam>
type DragParam = class
    inherit ComputerAction
    interface IJsonModel<DragParam>
    interface IPersistableModel<DragParam>
Public Class DragParam
Inherits ComputerAction
Implements IJsonModel(Of DragParam), IPersistableModel(Of DragParam)
Inheritance
Implements

Constructors

Name Description
DragParam(IEnumerable<CoordParam>)

Initializes a new instance of DragParam.

Properties

Name Description
Path

An array of coordinates representing the path of the drag action. Coordinates will appear as an array of objects, eg

[
  { x: 100, y: 200 },
  { x: 200, y: 300 }
]

Methods

Name Description
JsonModelCreateCore(Utf8JsonReader, ModelReaderWriterOptions)
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)
PersistableModelCreateCore(BinaryData, ModelReaderWriterOptions)
PersistableModelWriteCore(ModelReaderWriterOptions)

Explicit Interface Implementations

Name Description
IJsonModel<ComputerAction>.Create(Utf8JsonReader, ModelReaderWriterOptions) (Inherited from ComputerAction)
IJsonModel<ComputerAction>.Write(Utf8JsonWriter, ModelReaderWriterOptions) (Inherited from ComputerAction)
IJsonModel<DragParam>.Create(Utf8JsonReader, ModelReaderWriterOptions)
IJsonModel<DragParam>.Write(Utf8JsonWriter, ModelReaderWriterOptions)
IPersistableModel<ComputerAction>.Create(BinaryData, ModelReaderWriterOptions) (Inherited from ComputerAction)
IPersistableModel<ComputerAction>.GetFormatFromOptions(ModelReaderWriterOptions) (Inherited from ComputerAction)
IPersistableModel<ComputerAction>.Write(ModelReaderWriterOptions) (Inherited from ComputerAction)
IPersistableModel<DragParam>.Create(BinaryData, ModelReaderWriterOptions)
IPersistableModel<DragParam>.GetFormatFromOptions(ModelReaderWriterOptions)
IPersistableModel<DragParam>.Write(ModelReaderWriterOptions)

Applies to