Interface ReviewSetTextAction
- All Superinterfaces:
ResourceUpdateAction<ReviewUpdateAction>
,ReviewUpdateAction
ReviewSetTextAction
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
ReviewSetTextAction reviewSetTextAction = ReviewSetTextAction.builder()
.build()
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic ReviewSetTextActionBuilder
builder()
builder factory method for ReviewSetTextActionstatic ReviewSetTextActionBuilder
builder
(ReviewSetTextAction template) create builder for ReviewSetTextAction instancestatic ReviewSetTextAction
deepCopy
(ReviewSetTextAction template) factory method to create a deep copy of ReviewSetTextActiongetText()
Value to set.static ReviewSetTextAction
of()
factory methodstatic ReviewSetTextAction
of
(ReviewSetTextAction template) factory method to create a shallow copy ReviewSetTextActionvoid
Value to set.static com.fasterxml.jackson.core.type.TypeReference<ReviewSetTextAction>
gives a TypeReference for usage with Jackson DataBinddefault <T> T
withReviewSetTextAction
(Function<ReviewSetTextAction, T> helper) accessor map functionMethods inherited from interface com.commercetools.api.models.ResourceUpdateAction
get
Methods inherited from interface com.commercetools.api.models.review.ReviewUpdateAction
getAction, withReviewUpdateAction
-
Field Details
-
SET_TEXT
discriminator value for ReviewSetTextAction- See Also:
-
-
Method Details
-
getText
String getText()Value to set. If empty, any existing value will be removed.
- Returns:
- text
-
setText
Value to set. If empty, any existing value will be removed.
- Parameters:
text
- value to be set
-
of
factory method- Returns:
- instance of ReviewSetTextAction
-
of
factory method to create a shallow copy ReviewSetTextAction- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
deepCopy
factory method to create a deep copy of ReviewSetTextAction- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for ReviewSetTextAction- Returns:
- builder
-
builder
create builder for ReviewSetTextAction instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-
withReviewSetTextAction
accessor map function- Type Parameters:
T
- mapped type- Parameters:
helper
- function to map the object- Returns:
- mapped value
-
typeReference
gives a TypeReference for usage with Jackson DataBind- Returns:
- TypeReference
-