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 classFeedbackDataInput.BuilderBuilder. -
Method Summary
Modifier and Type Method Description ShortDocdocument()Gets the document.StringfeedbackType()Gets the feedbackType.Locationlocation()Gets the location.StringmodelId()Gets the modelId.StringmodelVersion()Gets the modelVersion.FeedbackDataInput.BuildernewBuilder()New builder.OriginalLabelsInoriginalLabels()Gets the originalLabels.Stringtext()Gets the text.UpdatedLabelsInupdatedLabels()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
-