Share via


WebSearchActionSearch Class

Definition

Action type "search" - Performs a web search query.

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

Constructors

Name Description
WebSearchActionSearch()

Initializes a new instance of WebSearchActionSearch for deserialization.

WebSearchActionSearch(String)

Initializes a new instance of WebSearchActionSearch.

WebSearchActionSearch(WebSearchActionType, IDictionary<String,BinaryData>, String)

Initializes a new instance of WebSearchActionSearch.

Properties

Name Description
Query

The search query.

Type

Gets or sets the type.

(Inherited from WebSearchAction)

Methods

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

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

IJsonModel<WebSearchActionSearch>.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<WebSearchActionSearch>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<WebSearchActionSearch>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<WebSearchActionSearch>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

IUtf8JsonSerializable.Write(Utf8JsonWriter)

Applies to