Share via


WebSearchActionFind Class

Definition

Action type "find": Searches for a pattern within a loaded page.

public class WebSearchActionFind : Azure.AI.AgentServer.Contracts.Generated.OpenAI.WebSearchAction, System.ClientModel.Primitives.IJsonModel<Azure.AI.AgentServer.Contracts.Generated.OpenAI.WebSearchActionFind>, System.ClientModel.Primitives.IPersistableModel<Azure.AI.AgentServer.Contracts.Generated.OpenAI.WebSearchActionFind>
type WebSearchActionFind = class
    inherit WebSearchAction
    interface IUtf8JsonSerializable
    interface IJsonModel<WebSearchActionFind>
    interface IPersistableModel<WebSearchActionFind>
Public Class WebSearchActionFind
Inherits WebSearchAction
Implements IJsonModel(Of WebSearchActionFind), IPersistableModel(Of WebSearchActionFind)
Inheritance
WebSearchActionFind
Implements

Constructors

Name Description
WebSearchActionFind()

Initializes a new instance of WebSearchActionFind for deserialization.

WebSearchActionFind(Uri, String)

Initializes a new instance of WebSearchActionFind.

WebSearchActionFind(WebSearchActionType, IDictionary<String,BinaryData>, Uri, String)

Initializes a new instance of WebSearchActionFind.

Properties

Name Description
Pattern

The pattern or text to search for within the page.

Type

Gets or sets the type.

(Inherited from WebSearchAction)
Url

The URL of the page searched for the pattern.

Methods

Name Description
DeserializeWebSearchActionFind(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<WebSearchAction>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

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

Writes the model to the provided Utf8JsonWriter.

(Inherited from WebSearchAction)
IJsonModel<WebSearchActionFind>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<WebSearchActionFind>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<WebSearchAction>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

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

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

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

Writes the model into a BinaryData.

(Inherited from WebSearchAction)
IPersistableModel<WebSearchActionFind>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<WebSearchActionFind>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<WebSearchActionFind>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

IUtf8JsonSerializable.Write(Utf8JsonWriter)

Applies to