Class FeedbackDataInput
java.lang.Object
com.ibm.cloud.sdk.core.service.model.GenericModel
com.ibm.watson.compare_comply.v1.model.FeedbackDataInput
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class FeedbackDataInput
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Feedback data for submission.
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
FeedbackDataInput.Builder
Builder. -
Method Summary
Modifier and Type Method Description ShortDoc
document()
Gets the document.String
feedbackType()
Gets the feedbackType.Location
location()
Gets the location.String
modelId()
Gets the modelId.String
modelVersion()
Gets the modelVersion.FeedbackDataInput.Builder
newBuilder()
New builder.OriginalLabelsIn
originalLabels()
Gets the originalLabels.String
text()
Gets the text.UpdatedLabelsIn
updatedLabels()
Gets the updatedLabels.Methods inherited from class com.ibm.cloud.sdk.core.service.model.GenericModel
equals, hashCode, toString
-
Method Details
-
newBuilder
New builder.- Returns:
- a FeedbackDataInput builder
-
feedbackType
Gets the feedbackType.The type of feedback. The only permitted value is `element_classification`.
- Returns:
- the feedbackType
-
document
Gets the document.Brief information about the input document.
- Returns:
- the document
-
modelId
Gets the modelId.An optional string identifying the model ID. The only permitted value is `contracts`.
- Returns:
- the modelId
-
modelVersion
Gets the modelVersion.An optional string identifying the version of the model used.
- Returns:
- the modelVersion
-
location
Gets the location.The numeric location of the identified element in the document, represented with two integers labeled `begin` and `end`.
- Returns:
- the location
-
text
Gets the text.The text on which to submit feedback.
- Returns:
- the text
-
originalLabels
Gets the originalLabels.The original labeling from the input document, without the submitted feedback.
- Returns:
- the originalLabels
-
updatedLabels
Gets the updatedLabels.The updated labeling from the input document, accounting for the submitted feedback.
- Returns:
- the updatedLabels
-