WebSearchActionOpenPage 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.
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
- 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. |