public class TrainingExample
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Modifier and Type | Class and Description |
---|---|
static class |
TrainingExample.Builder
Builder.
|
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
collectionId |
protected java.util.Date |
created |
protected java.lang.String |
documentId |
protected java.lang.Long |
relevance |
protected java.util.Date |
updated |
Modifier | Constructor and Description |
---|---|
protected |
TrainingExample(TrainingExample.Builder builder) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
collectionId()
Gets the collectionId.
|
java.util.Date |
created()
Gets the created.
|
java.lang.String |
documentId()
Gets the documentId.
|
TrainingExample.Builder |
newBuilder()
New builder.
|
java.lang.Long |
relevance()
Gets the relevance.
|
java.util.Date |
updated()
Gets the updated.
|
@SerializedName(value="document_id") protected java.lang.String documentId
@SerializedName(value="collection_id") protected java.lang.String collectionId
protected java.lang.Long relevance
protected java.util.Date created
protected java.util.Date updated
protected TrainingExample(TrainingExample.Builder builder)
public TrainingExample.Builder newBuilder()
public java.lang.String documentId()
The document ID associated with this training example.
public java.lang.String collectionId()
The collection ID associated with this training example.
public java.lang.Long relevance()
The relevance of the training example.
public java.util.Date created()
The date and time the example was created.
public java.util.Date updated()
The date and time the example was updated.