Share via


UnknownWebSearchAction Class

Definition

Unknown version of WebSearchAction.

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

Constructors

Name Description
UnknownWebSearchAction()

Initializes a new instance of UnknownWebSearchAction for deserialization.

UnknownWebSearchAction(WebSearchActionType, IDictionary<String,BinaryData>)

Initializes a new instance of UnknownWebSearchAction.

Properties

Name Description
Type

Gets or sets the type.

(Inherited from WebSearchAction)

Methods

Name Description
DeserializeUnknownWebSearchAction(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.

IJsonModel<WebSearchAction>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<WebSearchAction>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<WebSearchAction>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<WebSearchAction>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

IUtf8JsonSerializable.Write(Utf8JsonWriter)

Applies to