public static interface Correction.Builder extends SdkPojo, CopyableBuilder<Correction.Builder,Correction>
| Modifier and Type | Method and Description |
|---|---|
Correction.Builder |
beginOffset(Integer beginOffset)
The zero-based location in the response string or text where the corrected word starts.
|
Correction.Builder |
correctedTerm(String correctedTerm)
The string or text of a corrected misspelled word in a query.
|
Correction.Builder |
endOffset(Integer endOffset)
The zero-based location in the response string or text where the corrected word ends.
|
Correction.Builder |
term(String term)
The string or text of a misspelled word in a query.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildCorrection.Builder beginOffset(Integer beginOffset)
The zero-based location in the response string or text where the corrected word starts.
beginOffset - The zero-based location in the response string or text where the corrected word starts.Correction.Builder endOffset(Integer endOffset)
The zero-based location in the response string or text where the corrected word ends.
endOffset - The zero-based location in the response string or text where the corrected word ends.Correction.Builder term(String term)
The string or text of a misspelled word in a query.
term - The string or text of a misspelled word in a query.Correction.Builder correctedTerm(String correctedTerm)
The string or text of a corrected misspelled word in a query.
correctedTerm - The string or text of a corrected misspelled word in a query.Copyright © 2023. All rights reserved.