Interface Suggestion
Deprecated.
Suggestion
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
Suggestion suggestion = Suggestion.builder()
.text("{text}")
.build()
-
Method Summary
Modifier and TypeMethodDescriptionstatic SuggestionBuilderbuilder()Deprecated.builder factory method for Suggestionstatic SuggestionBuilderbuilder(Suggestion template) Deprecated.create builder for Suggestion instancecopyDeep()Deprecated.static SuggestiondeepCopy(Suggestion template) Deprecated.factory method to create a deep copy of Suggestion@NotNull StringgetText()Deprecated.The suggested text.static Suggestionof()Deprecated.factory methodstatic Suggestionof(Suggestion template) Deprecated.factory method to create a shallow copy SuggestionvoidDeprecated.The suggested text.static tools.jackson.core.type.TypeReference<Suggestion>Deprecated.gives a TypeReference for usage with Jackson DataBinddefault <T> TwithSuggestion(Function<Suggestion, T> helper) Deprecated.accessor map function
-
Method Details
-
getText
Deprecated.The suggested text.
- Returns:
- text
-
setText
Deprecated.The suggested text.
- Parameters:
text- value to be set
-
of
Deprecated.factory method- Returns:
- instance of Suggestion
-
of
Deprecated.factory method to create a shallow copy Suggestion- Parameters:
template- instance to be copied- Returns:
- copy instance
-
copyDeep
Suggestion copyDeep()Deprecated. -
deepCopy
Deprecated.factory method to create a deep copy of Suggestion- Parameters:
template- instance to be copied- Returns:
- copy instance
-
builder
Deprecated.builder factory method for Suggestion- Returns:
- builder
-
builder
Deprecated.create builder for Suggestion instance- Parameters:
template- instance with prefilled values for the builder- Returns:
- builder
-
withSuggestion
Deprecated.accessor map function- Type Parameters:
T- mapped type- Parameters:
helper- function to map the object- Returns:
- mapped value
-
typeReference
Deprecated.gives a TypeReference for usage with Jackson DataBind- Returns:
- TypeReference
-