Class TrainingExample
java.lang.Object
com.ibm.cloud.sdk.core.service.model.GenericModel
com.ibm.watson.discovery.v2.model.TrainingExample
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class TrainingExample
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Object containing example response details for a training query.
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
TrainingExample.Builder
Builder. -
Method Summary
Modifier and Type Method Description String
collectionId()
Gets the collectionId.Date
created()
Gets the created.String
documentId()
Gets the documentId.TrainingExample.Builder
newBuilder()
New builder.Long
relevance()
Gets the relevance.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 TrainingExample builder
-
documentId
Gets the documentId.The document ID associated with this training example.
- Returns:
- the documentId
-
collectionId
Gets the collectionId.The collection ID associated with this training example.
- Returns:
- the collectionId
-
relevance
Gets the relevance.The relevance of the training example.
- Returns:
- the relevance
-
created
Gets the created.The date and time the example was created.
- Returns:
- the created
-
updated
Gets the updated.The date and time the example was updated.
- Returns:
- the updated
-