Share via


WebSearchActionOpenPage Class

Definition

Action type "open_page" - Opens a specific URL from search results.

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

Constructors

Name Description
WebSearchActionOpenPage()

Initializes a new instance of WebSearchActionOpenPage for deserialization.

WebSearchActionOpenPage(Uri)

Initializes a new instance of WebSearchActionOpenPage.

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

Initializes a new instance of WebSearchActionOpenPage.

Properties

Name Description
Type

Gets or sets the type.

(Inherited from WebSearchAction)
Url

The URL opened by the model.

Methods

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

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

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

Converts the provided BinaryData into a model.

IPersistableModel<WebSearchActionOpenPage>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<WebSearchActionOpenPage>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

IUtf8JsonSerializable.Write(Utf8JsonWriter)

Applies to