public class FeedbackDataOutput
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Constructor and Description |
---|
FeedbackDataOutput() |
Modifier and Type | Method and Description |
---|---|
ShortDoc |
getDocument()
Gets the document.
|
String |
getFeedbackType()
Gets the feedbackType.
|
Location |
getLocation()
Gets the location.
|
String |
getModelId()
Gets the modelId.
|
String |
getModelVersion()
Gets the modelVersion.
|
OriginalLabelsOut |
getOriginalLabels()
Gets the originalLabels.
|
Pagination |
getPagination()
Gets the pagination.
|
String |
getText()
Gets the text.
|
UpdatedLabelsOut |
getUpdatedLabels()
Gets the updatedLabels.
|
public String getFeedbackType()
A string identifying the user adding the feedback. The only permitted value is `element_classification`.
public ShortDoc getDocument()
Brief information about the input document.
public String getModelId()
An optional string identifying the model ID. The only permitted value is `contracts`.
public String getModelVersion()
An optional string identifying the version of the model used.
public Location getLocation()
The numeric location of the identified element in the document, represented with two integers labeled `begin` and `end`.
public String getText()
The text to which the feedback applies.
public OriginalLabelsOut getOriginalLabels()
The original labeling from the input document, without the submitted feedback.
public UpdatedLabelsOut getUpdatedLabels()
The updated labeling from the input document, accounting for the submitted feedback.
public Pagination getPagination()
Pagination details, if required by the length of the output.
Copyright © 2021 IBM Cloud. All rights reserved.