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 Details

    • FeedbackDataOutput

      public FeedbackDataOutput()
  • Method Details

    • getFeedbackType

      public String getFeedbackType()
      Gets the feedbackType.

      A string identifying the user adding the feedback. The only permitted value is `element_classification`.

      Returns:
      the feedbackType
    • getDocument

      public ShortDoc getDocument()
      Gets the document.

      Brief information about the input document.

      Returns:
      the document
    • getModelId

      public String getModelId()
      Gets the modelId.

      An optional string identifying the model ID. The only permitted value is `contracts`.

      Returns:
      the modelId
    • getModelVersion

      public String getModelVersion()
      Gets the modelVersion.

      An optional string identifying the version of the model used.

      Returns:
      the modelVersion
    • getLocation

      public Location 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

      public String getText()
      Gets the text.

      The text to which the feedback applies.

      Returns:
      the text
    • getOriginalLabels

      public OriginalLabelsOut getOriginalLabels()
      Gets the originalLabels.

      The original labeling from the input document, without the submitted feedback.

      Returns:
      the originalLabels
    • getUpdatedLabels

      public UpdatedLabelsOut getUpdatedLabels()
      Gets the updatedLabels.

      The updated labeling from the input document, accounting for the submitted feedback.

      Returns:
      the updatedLabels
    • getPagination

      public Pagination getPagination()
      Gets the pagination.

      Pagination details, if required by the length of the output.

      Returns:
      the pagination