Sdílet prostřednictvím


RankingRankingItem Class

  • java.lang.Object
    • com.microsoft.azure.cognitiveservices.search.websearch.models.RankingRankingItem

public class RankingRankingItem

Defines a search result item to display.

Method Summary

Modifier and Type Method and Description
AnswerType answerType()

Get the answerType value.

Integer htmlIndex()

Get the htmlIndex value.

Integer resultIndex()

Get the resultIndex value.

Integer screenshotIndex()

Get the screenshotIndex value.

Integer textualIndex()

Get the textualIndex value.

Identifiable value()

Get the value value.

RankingRankingItem withAnswerType(AnswerType answerType)

Set the answerType value.

Method Details

answerType

public AnswerType answerType()

Get the answerType value.

Returns:

the answerType value

htmlIndex

public Integer htmlIndex()

Get the htmlIndex value.

Returns:

the htmlIndex value

resultIndex

public Integer resultIndex()

Get the resultIndex value.

Returns:

the resultIndex value

screenshotIndex

public Integer screenshotIndex()

Get the screenshotIndex value.

Returns:

the screenshotIndex value

textualIndex

public Integer textualIndex()

Get the textualIndex value.

Returns:

the textualIndex value

value

public Identifiable value()

Get the value value.

Returns:

the value value

withAnswerType

public RankingRankingItem withAnswerType(AnswerType answerType)

Set the answerType value.

Parameters:

answerType - the answerType value to set

Returns:

the RankingRankingItem object itself.

Applies to