RankingRankingItem Class
- java.
lang. Object - com.
microsoft. azure. cognitiveservices. search. websearch. models. RankingRankingItem
- com.
public class RankingRankingItem
Defines a search result item to display.
Constructor Summary
Constructor | Description | |
---|---|---|
RankingRankingItem() |
Method Summary
Modifier and Type | Method and Description |
---|---|
Answer |
answerType()
Get the answer |
java.lang.Integer |
htmlIndex()
Get the html |
java.lang.Integer |
resultIndex()
Get the result |
java.lang.Integer |
screenshotIndex()
Get the screenshot |
java.lang.Integer |
textualIndex()
Get the textual |
Identifiable |
value()
Get the value value. |
Ranking |
withAnswerType(AnswerType answerType)
Set the answer |
Methods inherited from java.lang.Object
Constructor Details
RankingRankingItem
public RankingRankingItem()
Method Details
answerType
public AnswerType answerType()
Get the answerType value.
Returns:
htmlIndex
public Integer htmlIndex()
Get the htmlIndex value.
Returns:
resultIndex
public Integer resultIndex()
Get the resultIndex value.
Returns:
screenshotIndex
public Integer screenshotIndex()
Get the screenshotIndex value.
Returns:
textualIndex
public Integer textualIndex()
Get the textualIndex value.
Returns:
value
public Identifiable value()
Get the value value.
Returns:
withAnswerType
public RankingRankingItem withAnswerType(AnswerType answerType)
Set the answerType value.
Parameters:
Returns:
Applies to
Azure SDK for Java