Package com.merative.acd.v1.model
Class SpellingCorrection
- java.lang.Object
-
- com.ibm.cloud.sdk.core.service.model.DynamicModel<java.lang.Object>
-
- com.merative.acd.v1.model.SpellingCorrection
-
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class SpellingCorrection extends com.ibm.cloud.sdk.core.service.model.DynamicModel<java.lang.Object>
-
-
Constructor Summary
Constructors Constructor Description SpellingCorrection()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Objectget(java.lang.String key)Returns the value from SpellingCorrection annotation by specified key.java.lang.LonggetBegin()Gets the begin.java.lang.StringgetCoveredText()Gets the coveredText.java.lang.LonggetEnd()Gets the end.java.util.List<Suggestion>getSuggestions()Gets the suggestions.
-
-
-
Method Detail
-
getBegin
public java.lang.Long getBegin()
Gets the begin.- Returns:
- the begin
-
getEnd
public java.lang.Long getEnd()
Gets the end.- Returns:
- the end
-
getCoveredText
public java.lang.String getCoveredText()
Gets the coveredText.- Returns:
- the coveredText
-
getSuggestions
public java.util.List<Suggestion> getSuggestions()
Gets the suggestions.- Returns:
- the suggestions
-
get
public java.lang.Object get(java.lang.String key)
Returns the value from SpellingCorrection annotation by specified key.- Overrides:
getin classcom.ibm.cloud.sdk.core.service.model.DynamicModel<java.lang.Object>- Parameters:
key- the name of the field to get
-
-