次の方法で共有


AutoCompleteConfig Class

Definition

The payload of autocomplete request.

public class AutoCompleteConfig : System.ClientModel.Primitives.IJsonModel<Azure.Analytics.Purview.DataMap.AutoCompleteConfig>, System.ClientModel.Primitives.IPersistableModel<Azure.Analytics.Purview.DataMap.AutoCompleteConfig>
type AutoCompleteConfig = class
    interface IJsonModel<AutoCompleteConfig>
    interface IPersistableModel<AutoCompleteConfig>
Public Class AutoCompleteConfig
Implements IJsonModel(Of AutoCompleteConfig), IPersistableModel(Of AutoCompleteConfig)
Inheritance
AutoCompleteConfig
Implements

Constructors

AutoCompleteConfig()

Initializes a new instance of AutoCompleteConfig.

Properties

Filter

The filter for the autocomplete request.

To assign an object to this property use FromObjectAsJson<T>(T, JsonSerializerOptions).

To assign an already formatted json string to this property use FromString(String).

Examples:

  • BinaryData.FromObjectAsJson("foo"): Creates a payload of "foo".
  • BinaryData.FromString("\"foo\""): Creates a payload of "foo".
  • BinaryData.FromObjectAsJson(new { key = "value" }): Creates a payload of { "key": "value" }.
  • BinaryData.FromString("{\"key\": \"value\"}"): Creates a payload of { "key": "value" }.

Keywords

The keywords applied to all fields that support autocomplete operation. It must be at least 1 character, and no more than 100 characters.

Limit

The number of autocomplete results we hope to return. The default value is 50. The value must be a number between 1 and 100.

Explicit Interface Implementations

IJsonModel<AutoCompleteConfig>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<AutoCompleteConfig>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<AutoCompleteConfig>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<AutoCompleteConfig>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<AutoCompleteConfig>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to