Share via


KnowledgeBaseWebActivityArguments Class

Definition

Represents the arguments the web retrieval activity was run with.

public class KnowledgeBaseWebActivityArguments : System.ClientModel.Primitives.IJsonModel<Azure.Search.Documents.KnowledgeBases.Models.KnowledgeBaseWebActivityArguments>, System.ClientModel.Primitives.IPersistableModel<Azure.Search.Documents.KnowledgeBases.Models.KnowledgeBaseWebActivityArguments>
type KnowledgeBaseWebActivityArguments = class
    interface IJsonModel<KnowledgeBaseWebActivityArguments>
    interface IPersistableModel<KnowledgeBaseWebActivityArguments>
Public Class KnowledgeBaseWebActivityArguments
Implements IJsonModel(Of KnowledgeBaseWebActivityArguments), IPersistableModel(Of KnowledgeBaseWebActivityArguments)
Inheritance
KnowledgeBaseWebActivityArguments
Implements

Properties

Name Description
Count

The number of web results returned.

Freshness

The freshness for the retrieval activity.

Language

The language for the retrieval activity.

Market

The market for the retrieval activity.

Search

The search string used to query the web.

Methods

Name Description
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

Name Description
IJsonModel<KnowledgeBaseWebActivityArguments>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<KnowledgeBaseWebActivityArguments>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<KnowledgeBaseWebActivityArguments>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<KnowledgeBaseWebActivityArguments>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<KnowledgeBaseWebActivityArguments>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to