Freigeben über


RankingRankingItem Class

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

public class RankingRankingItem

Defines a search result item to display.

Constructor Summary

Constructor Description
RankingRankingItem()

Method Summary

Modifier and Type Method and Description
AnswerType answerType()

Get the answerType value.

java.lang.Integer htmlIndex()

Get the htmlIndex value.

java.lang.Integer resultIndex()

Get the resultIndex value.

java.lang.Integer screenshotIndex()

Get the screenshotIndex value.

java.lang.Integer textualIndex()

Get the textualIndex value.

Identifiable value()

Get the value value.

RankingRankingItem withAnswerType(AnswerType answerType)

Set the answerType value.

Methods inherited from java.lang.Object

java.lang.Object.clone java.lang.Object.equals java.lang.Object.finalize java.lang.Object.getClass java.lang.Object.hashCode java.lang.Object.notify java.lang.Object.notifyAll java.lang.Object.toString java.lang.Object.wait java.lang.Object.wait java.lang.Object.wait

Constructor Details

RankingRankingItem

public RankingRankingItem()

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