public class TrainingQuery
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Modifier and Type | Field and Description |
---|---|
protected java.util.List<TrainingExample> |
examples |
protected java.lang.String |
filter |
protected java.lang.String |
naturalLanguageQuery |
protected java.lang.String |
queryId |
Constructor and Description |
---|
TrainingQuery() |
Modifier and Type | Method and Description |
---|---|
java.util.List<TrainingExample> |
getExamples()
Gets the examples.
|
java.lang.String |
getFilter()
Gets the filter.
|
java.lang.String |
getNaturalLanguageQuery()
Gets the naturalLanguageQuery.
|
java.lang.String |
getQueryId()
Gets the queryId.
|
@SerializedName(value="query_id") protected java.lang.String queryId
@SerializedName(value="natural_language_query") protected java.lang.String naturalLanguageQuery
protected java.lang.String filter
protected java.util.List<TrainingExample> examples
public java.lang.String getQueryId()
The query ID associated with the training query.
public java.lang.String getNaturalLanguageQuery()
The natural text query for the training query.
public java.lang.String getFilter()
The filter used on the collection before the **natural_language_query** is applied.
public java.util.List<TrainingExample> getExamples()
Array of training examples.