public class SearchResultHighlight
extends com.ibm.cloud.sdk.core.service.model.DynamicModel<java.util.List<java.lang.String>>
Modifier and Type | Field and Description |
---|---|
protected java.util.List<java.lang.String> |
body |
protected java.util.List<java.lang.String> |
title |
protected java.util.List<java.lang.String> |
url |
Constructor and Description |
---|
SearchResultHighlight() |
Modifier and Type | Method and Description |
---|---|
java.util.List<java.lang.String> |
getBody()
Gets the body.
|
java.util.List<java.lang.String> |
getTitle()
Gets the title.
|
java.util.List<java.lang.String> |
getUrl()
Gets the url.
|
@SerializedName(value="body") protected java.util.List<java.lang.String> body
@SerializedName(value="title") protected java.util.List<java.lang.String> title
@SerializedName(value="url") protected java.util.List<java.lang.String> url
public java.util.List<java.lang.String> getBody()
An array of strings containing segments taken from body text in the search results, with query-matching substrings highlighted.
public java.util.List<java.lang.String> getTitle()
An array of strings containing segments taken from title text in the search results, with query-matching substrings highlighted.
public java.util.List<java.lang.String> getUrl()
An array of strings containing segments taken from URLs in the search results, with query-matching substrings highlighted.