TextHighlight Class
- java.
lang. Object - com.
microsoft. bot. schema. TextHighlight
- com.
public class TextHighlight
Refers to a substring of content within another field.
Constructor Summary
| Constructor | Description | |
|---|---|---|
| TextHighlight() | ||
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| java.lang.Integer |
getOccurence()
Get the occurence value. |
| java.lang.String |
getText()
Get the text value. |
| void |
setOccurence(Integer withOccurence)
Set the occurence value. |
| void |
setText(String withText)
Set the text value. |
Methods inherited from java.lang.Object
Constructor Details
TextHighlight
public TextHighlight()
Method Details
getOccurence
public Integer getOccurence()
Get the occurence value.
Returns:
getText
public String getText()
Get the text value.
Returns:
setOccurence
public void setOccurence(Integer withOccurence)
Set the occurence value.
Parameters:
setText
public void setText(String withText)
Set the text value.
Parameters: