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
FieldsModifier and TypeFieldDescriptionstatic final Stringdiscriminator value for ReviewSetAuthorNameAction -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder factory method for ReviewSetAuthorNameActionbuilder(ReviewSetAuthorNameAction template) create builder for ReviewSetAuthorNameAction instancecopyDeep()static ReviewSetAuthorNameActiondeepCopy(ReviewSetAuthorNameAction template) factory method to create a deep copy of ReviewSetAuthorNameActionValue to set.static ReviewSetAuthorNameActionof()factory methodstatic ReviewSetAuthorNameActionof(ReviewSetAuthorNameAction template) factory method to create a shallow copy ReviewSetAuthorNameActionvoidsetAuthorName(String authorName) Value to set.static com.fasterxml.jackson.core.type.TypeReference<ReviewSetAuthorNameAction>gives a TypeReference for usage with Jackson DataBinddefault <T> Taccessor 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_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
-
copyDeep
ReviewSetAuthorNameAction copyDeep()- Specified by:
copyDeepin interfaceReviewUpdateAction
-
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
-