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 that contains example response details for a training query.
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTrainingExample.BuilderBuilder. -
Method Summary
Modifier and Type Method Description StringcollectionId()Gets the collectionId.Datecreated()Gets the created.StringdocumentId()Gets the documentId.TrainingExample.BuildernewBuilder()New builder.Longrelevance()Gets the relevance.Dateupdated()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
-