public class TrainingQuery
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Modifier and Type | Class and Description |
---|---|
static class |
TrainingQuery.Builder
Builder.
|
Modifier and Type | Field and Description |
---|---|
protected java.util.Date |
created |
protected java.util.List<TrainingExample> |
examples |
protected java.lang.String |
filter |
protected java.lang.String |
naturalLanguageQuery |
protected java.lang.String |
queryId |
protected java.util.Date |
updated |
Modifier | Constructor and Description |
---|---|
protected |
TrainingQuery(TrainingQuery.Builder builder) |
Modifier and Type | Method and Description |
---|---|
java.util.Date |
created()
Gets the created.
|
java.util.List<TrainingExample> |
examples()
Gets the examples.
|
java.lang.String |
filter()
Gets the filter.
|
java.lang.String |
naturalLanguageQuery()
Gets the naturalLanguageQuery.
|
TrainingQuery.Builder |
newBuilder()
New builder.
|
java.lang.String |
queryId()
Gets the queryId.
|
java.util.Date |
updated()
Gets the updated.
|
@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.Date created
protected java.util.Date updated
protected java.util.List<TrainingExample> examples
protected TrainingQuery(TrainingQuery.Builder builder)
public TrainingQuery.Builder newBuilder()
public java.lang.String queryId()
The query ID associated with the training query.
public java.lang.String naturalLanguageQuery()
The natural text query for the training query.
public java.lang.String filter()
The filter used on the collection before the **natural_language_query** is applied.
public java.util.Date created()
The date and time the query was created.
public java.util.Date updated()
The date and time the query was updated.
public java.util.List<TrainingExample> examples()
Array of training examples.