Interface ReviewSetLocaleAction
- All Superinterfaces:
ResourceUpdateAction<ReviewUpdateAction>
,ReviewUpdateAction
ReviewSetLocaleAction
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
ReviewSetLocaleAction reviewSetLocaleAction = ReviewSetLocaleAction.builder()
.build()
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
discriminator value for ReviewSetLocaleAction -
Method Summary
Modifier and TypeMethodDescriptionstatic ReviewSetLocaleActionBuilder
builder()
builder factory method for ReviewSetLocaleActionstatic ReviewSetLocaleActionBuilder
builder
(ReviewSetLocaleAction template) create builder for ReviewSetLocaleAction instancestatic ReviewSetLocaleAction
deepCopy
(ReviewSetLocaleAction template) factory method to create a deep copy of ReviewSetLocaleActionValue to set.static ReviewSetLocaleAction
of()
factory methodstatic ReviewSetLocaleAction
of
(ReviewSetLocaleAction template) factory method to create a shallow copy ReviewSetLocaleActionvoid
Value to set.static com.fasterxml.jackson.core.type.TypeReference<ReviewSetLocaleAction>
gives a TypeReference for usage with Jackson DataBinddefault <T> T
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_LOCALE
discriminator value for ReviewSetLocaleAction- See Also:
-
-
Method Details
-
getLocale
String getLocale()Value to set. If empty, any existing value will be removed.
- Returns:
- locale
-
setLocale
Value to set. If empty, any existing value will be removed.
- Parameters:
locale
- value to be set
-
of
factory method- Returns:
- instance of ReviewSetLocaleAction
-
of
factory method to create a shallow copy ReviewSetLocaleAction- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
deepCopy
factory method to create a deep copy of ReviewSetLocaleAction- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for ReviewSetLocaleAction- Returns:
- builder
-
builder
create builder for ReviewSetLocaleAction instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-
withReviewSetLocaleAction
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
-