public final class SuggestResult extends Object
Constructor and Description |
---|
SuggestResult(String text)
Constructor of
SuggestResult . |
Modifier and Type | Method and Description |
---|---|
<T> T |
getDocument(Class<T> modelClass)
Get the additionalProperties property: Unmatched properties from the
message are deserialized this collection.
|
String |
getText()
Get the text property: The text of the suggestion result.
|
public SuggestResult(String text)
SuggestResult
.text
- The text of the suggestion result.public <T> T getDocument(Class<T> modelClass)
T
- Convert document to the generic type.modelClass
- The model class converts to.public String getText()
Copyright © 2021 Microsoft Corporation. All rights reserved.