你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

MicrosoftGraphSearchResult Class

  • java.lang.Object
    • com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphSearchResult

Implements

public final class MicrosoftGraphSearchResult
implements JsonSerializable<MicrosoftGraphSearchResult>

searchResult.

Constructor Summary

Constructor Description
MicrosoftGraphSearchResult()

Creates an instance of MicrosoftGraphSearchResult class.

Method Summary

Modifier and Type Method and Description
Map<String,Object> additionalProperties()

Get the additionalProperties property: searchResult.

static MicrosoftGraphSearchResult fromJson(JsonReader jsonReader)

Reads an instance of MicrosoftGraphSearchResult from the JsonReader.

String onClickTelemetryUrl()

Get the onClickTelemetryUrl property: A callback URL that can be used to record telemetry information.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

MicrosoftGraphSearchResult withAdditionalProperties(Map<String,Object> additionalProperties)

Set the additionalProperties property: searchResult.

MicrosoftGraphSearchResult withOnClickTelemetryUrl(String onClickTelemetryUrl)

Set the onClickTelemetryUrl property: A callback URL that can be used to record telemetry information.

Methods inherited from java.lang.Object

Constructor Details

MicrosoftGraphSearchResult

public MicrosoftGraphSearchResult()

Creates an instance of MicrosoftGraphSearchResult class.

Method Details

additionalProperties

public Map additionalProperties()

Get the additionalProperties property: searchResult.

Returns:

the additionalProperties value.

fromJson

public static MicrosoftGraphSearchResult fromJson(JsonReader jsonReader)

Reads an instance of MicrosoftGraphSearchResult from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of MicrosoftGraphSearchResult if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the MicrosoftGraphSearchResult.

onClickTelemetryUrl

public String onClickTelemetryUrl()

Get the onClickTelemetryUrl property: A callback URL that can be used to record telemetry information. The application should issue a GET on this URL if the user interacts with this item to improve the quality of results.

Returns:

the onClickTelemetryUrl value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withAdditionalProperties

public MicrosoftGraphSearchResult withAdditionalProperties(Map additionalProperties)

Set the additionalProperties property: searchResult.

Parameters:

additionalProperties - the additionalProperties value to set.

Returns:

the MicrosoftGraphSearchResult object itself.

withOnClickTelemetryUrl

public MicrosoftGraphSearchResult withOnClickTelemetryUrl(String onClickTelemetryUrl)

Set the onClickTelemetryUrl property: A callback URL that can be used to record telemetry information. The application should issue a GET on this URL if the user interacts with this item to improve the quality of results.

Parameters:

onClickTelemetryUrl - the onClickTelemetryUrl value to set.

Returns:

the MicrosoftGraphSearchResult object itself.

Applies to