Interface ReviewSetKeyAction
- All Superinterfaces:
ResourceUpdateAction<ReviewUpdateAction>,ReviewUpdateAction
ReviewSetKeyAction
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
ReviewSetKeyAction reviewSetKeyAction = ReviewSetKeyAction.builder()
.build()
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic ReviewSetKeyActionBuilderbuilder()builder factory method for ReviewSetKeyActionstatic ReviewSetKeyActionBuilderbuilder(ReviewSetKeyAction template) create builder for ReviewSetKeyAction instancecopyDeep()static ReviewSetKeyActiondeepCopy(ReviewSetKeyAction template) factory method to create a deep copy of ReviewSetKeyActiongetKey()Value to set.static ReviewSetKeyActionof()factory methodstatic ReviewSetKeyActionof(ReviewSetKeyAction template) factory method to create a shallow copy ReviewSetKeyActionstatic ReviewSetKeyActionofUnset()voidValue to set.static com.fasterxml.jackson.core.type.TypeReference<ReviewSetKeyAction>gives a TypeReference for usage with Jackson DataBinddefault <T> TwithReviewSetKeyAction(Function<ReviewSetKeyAction, T> helper) accessor map functionMethods inherited from interface com.commercetools.api.models.ResourceUpdateAction
getMethods inherited from interface com.commercetools.api.models.review.ReviewUpdateAction
getAction, withReviewUpdateAction
-
Field Details
-
SET_KEY
discriminator value for ReviewSetKeyAction- See Also:
-
-
Method Details
-
getKey
String getKey()Value to set. If empty, any existing value will be removed.
- Returns:
- key
-
setKey
Value to set. If empty, any existing value will be removed.
- Parameters:
key- value to be set
-
of
factory method- Returns:
- instance of ReviewSetKeyAction
-
of
factory method to create a shallow copy ReviewSetKeyAction- Parameters:
template- instance to be copied- Returns:
- copy instance
-
copyDeep
ReviewSetKeyAction copyDeep()- Specified by:
copyDeepin interfaceReviewUpdateAction
-
deepCopy
factory method to create a deep copy of ReviewSetKeyAction- Parameters:
template- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for ReviewSetKeyAction- Returns:
- builder
-
builder
create builder for ReviewSetKeyAction instance- Parameters:
template- instance with prefilled values for the builder- Returns:
- builder
-
withReviewSetKeyAction
accessor map function- Type Parameters:
T- mapped type- Parameters:
helper- function to map the object- Returns:
- mapped value
-
ofUnset
-
typeReference
gives a TypeReference for usage with Jackson DataBind- Returns:
- TypeReference
-