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 |
crossReference |
protected java.lang.String |
documentId |
protected java.lang.Long |
relevance |
Modifier | Constructor and Description |
---|---|
protected |
TrainingExample(TrainingExample.Builder builder) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
crossReference()
Gets the crossReference.
|
java.lang.String |
documentId()
Gets the documentId.
|
TrainingExample.Builder |
newBuilder()
New builder.
|
java.lang.Long |
relevance()
Gets the relevance.
|
@SerializedName(value="document_id") protected java.lang.String documentId
@SerializedName(value="cross_reference") protected java.lang.String crossReference
protected java.lang.Long relevance
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 crossReference()
The cross reference associated with this training example.
public java.lang.Long relevance()
The relevance of the training example.