Class TrainingQuery
java.lang.Object
com.ibm.cloud.sdk.core.service.model.GenericModel
com.ibm.watson.discovery.v2.model.TrainingQuery
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class TrainingQuery
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Object containing training query details.
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
TrainingQuery.Builder
Builder. -
Method Summary
Modifier and Type Method Description Date
created()
Gets the created.List<TrainingExample>
examples()
Gets the examples.String
filter()
Gets the filter.String
naturalLanguageQuery()
Gets the naturalLanguageQuery.TrainingQuery.Builder
newBuilder()
New builder.String
queryId()
Gets the queryId.Date
updated()
Gets the updated.Methods inherited from class com.ibm.cloud.sdk.core.service.model.GenericModel
equals, hashCode, toString
-
Method Details
-
newBuilder
New builder.- Returns:
- a TrainingQuery builder
-
queryId
Gets the queryId.The query ID associated with the training query.
- Returns:
- the queryId
-
naturalLanguageQuery
Gets the naturalLanguageQuery.The natural text query for the training query.
- Returns:
- the naturalLanguageQuery
-
filter
Gets the filter.The filter used on the collection before the **natural_language_query** is applied.
- Returns:
- the filter
-
created
Gets the created.The date and time the query was created.
- Returns:
- the created
-
updated
Gets the updated.The date and time the query was updated.
- Returns:
- the updated
-
examples
Gets the examples.Array of training examples.
- Returns:
- the examples
-