Interface ReviewSetAuthorNameAction
- All Superinterfaces:
ResourceUpdateAction<ReviewUpdateAction>
,ReviewUpdateAction
ReviewSetAuthorNameAction
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
ReviewSetAuthorNameAction reviewSetAuthorNameAction = ReviewSetAuthorNameAction.builder()
.build()
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
discriminator value for ReviewSetAuthorNameAction -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
builder factory method for ReviewSetAuthorNameActionbuilder
(ReviewSetAuthorNameAction template) create builder for ReviewSetAuthorNameAction instancestatic ReviewSetAuthorNameAction
deepCopy
(ReviewSetAuthorNameAction template) factory method to create a deep copy of ReviewSetAuthorNameActionValue to set.static ReviewSetAuthorNameAction
of()
factory methodstatic ReviewSetAuthorNameAction
of
(ReviewSetAuthorNameAction template) factory method to create a shallow copy ReviewSetAuthorNameActionvoid
setAuthorName
(String authorName) Value to set.static com.fasterxml.jackson.core.type.TypeReference<ReviewSetAuthorNameAction>
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_AUTHOR_NAME
discriminator value for ReviewSetAuthorNameAction- See Also:
-
-
Method Details
-
getAuthorName
String getAuthorName()Value to set. If empty, any existing value will be removed.
- Returns:
- authorName
-
setAuthorName
Value to set. If empty, any existing value will be removed.
- Parameters:
authorName
- value to be set
-
of
factory method- Returns:
- instance of ReviewSetAuthorNameAction
-
of
factory method to create a shallow copy ReviewSetAuthorNameAction- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
deepCopy
factory method to create a deep copy of ReviewSetAuthorNameAction- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for ReviewSetAuthorNameAction- Returns:
- builder
-
builder
create builder for ReviewSetAuthorNameAction instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-
withReviewSetAuthorNameAction
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
-