public final class SpellingCorrection
extends com.google.api.client.json.GenericJson
This is the Java data model class that specifies how to parse/serialize into the JSON that is transmitted over HTTP when working with the Cloud Talent Solution API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
com.google.api.client.util.GenericData.Flags
Constructor and Description |
---|
SpellingCorrection() |
Modifier and Type | Method and Description |
---|---|
SpellingCorrection |
clone() |
java.lang.Boolean |
getCorrected()
Indicates if the query was corrected by the spell checker.
|
java.lang.String |
getCorrectedText()
Correction output consisting of the corrected keyword string.
|
SpellingCorrection |
set(java.lang.String fieldName,
java.lang.Object value) |
SpellingCorrection |
setCorrected(java.lang.Boolean corrected)
Indicates if the query was corrected by the spell checker.
|
SpellingCorrection |
setCorrectedText(java.lang.String correctedText)
Correction output consisting of the corrected keyword string.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public java.lang.Boolean getCorrected()
null
for nonepublic SpellingCorrection setCorrected(java.lang.Boolean corrected)
corrected
- corrected or null
for nonepublic java.lang.String getCorrectedText()
null
for nonepublic SpellingCorrection setCorrectedText(java.lang.String correctedText)
correctedText
- correctedText or null
for nonepublic SpellingCorrection set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public SpellingCorrection clone()
clone
in class com.google.api.client.json.GenericJson