Class FeedbackDataOutput
java.lang.Object
com.ibm.cloud.sdk.core.service.model.GenericModel
com.ibm.watson.compare_comply.v1.model.FeedbackDataOutput
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class FeedbackDataOutput
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Information returned from the **Add Feedback** method.
-
Constructor Summary
Constructors Constructor Description FeedbackDataOutput() -
Method Summary
Modifier and Type Method Description ShortDocgetDocument()Gets the document.StringgetFeedbackType()Gets the feedbackType.LocationgetLocation()Gets the location.StringgetModelId()Gets the modelId.StringgetModelVersion()Gets the modelVersion.OriginalLabelsOutgetOriginalLabels()Gets the originalLabels.PaginationgetPagination()Gets the pagination.StringgetText()Gets the text.UpdatedLabelsOutgetUpdatedLabels()Gets the updatedLabels.Methods inherited from class com.ibm.cloud.sdk.core.service.model.GenericModel
equals, hashCode, toString
-
Constructor Details
-
FeedbackDataOutput
public FeedbackDataOutput()
-
-
Method Details
-
getFeedbackType
Gets the feedbackType.A string identifying the user adding the feedback. The only permitted value is `element_classification`.
- Returns:
- the feedbackType
-
getDocument
Gets the document.Brief information about the input document.
- Returns:
- the document
-
getModelId
Gets the modelId.An optional string identifying the model ID. The only permitted value is `contracts`.
- Returns:
- the modelId
-
getModelVersion
Gets the modelVersion.An optional string identifying the version of the model used.
- Returns:
- the modelVersion
-
getLocation
Gets the location.The numeric location of the identified element in the document, represented with two integers labeled `begin` and `end`.
- Returns:
- the location
-
getText
Gets the text.The text to which the feedback applies.
- Returns:
- the text
-
getOriginalLabels
Gets the originalLabels.The original labeling from the input document, without the submitted feedback.
- Returns:
- the originalLabels
-
getUpdatedLabels
Gets the updatedLabels.The updated labeling from the input document, accounting for the submitted feedback.
- Returns:
- the updatedLabels
-
getPagination
Gets the pagination.Pagination details, if required by the length of the output.
- Returns:
- the pagination
-