RankingRankingItem Class
- java.
lang. Object - com.
microsoft. azure. cognitiveservices. search. websearch. models. RankingRankingItem
- com.
public class RankingRankingItem
Defines a search result item to display.
Method Summary
Modifier and Type | Method and Description |
---|---|
Answer |
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. |
Ranking |
withAnswerType(AnswerType answerType)
Set the answerType value. |
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