Interface ReviewSetTargetAction
- All Superinterfaces:
ResourceUpdateAction<ReviewUpdateAction>,ReviewUpdateAction
ReviewSetTargetAction
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
ReviewSetTargetAction reviewSetTargetAction = ReviewSetTargetAction.builder()
.build()
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringdiscriminator value for ReviewSetTargetAction -
Method Summary
Modifier and TypeMethodDescriptionstatic ReviewSetTargetActionBuilderbuilder()builder factory method for ReviewSetTargetActionstatic ReviewSetTargetActionBuilderbuilder(ReviewSetTargetAction template) create builder for ReviewSetTargetAction instancecopyDeep()static ReviewSetTargetActiondeepCopy(ReviewSetTargetAction template) factory method to create a deep copy of ReviewSetTargetAction@NotNull ObjectValue to set, specified as ProductResourceIdentifier or ChannelResourceIdentifier, respectively.static ReviewSetTargetActionof()factory methodstatic ReviewSetTargetActionof(ReviewSetTargetAction template) factory method to create a shallow copy ReviewSetTargetActionvoidsetTarget(ChannelResourceIdentifier target) Value to set, specified as ProductResourceIdentifier or ChannelResourceIdentifier, respectively.voidsetTarget(ProductResourceIdentifier target) Value to set, specified as ProductResourceIdentifier or ChannelResourceIdentifier, respectively.voidValue to set, specified as ProductResourceIdentifier or ChannelResourceIdentifier, respectively.static com.fasterxml.jackson.core.type.TypeReference<ReviewSetTargetAction>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_TARGET
discriminator value for ReviewSetTargetAction- See Also:
-
-
Method Details
-
getTarget
Value to set, specified as ProductResourceIdentifier or ChannelResourceIdentifier, respectively. If empty, any existing value will be removed.
- Returns:
- target
-
setTarget
Value to set, specified as ProductResourceIdentifier or ChannelResourceIdentifier, respectively. If empty, any existing value will be removed.
- Parameters:
target- value to be set
-
setTarget
Value to set, specified as ProductResourceIdentifier or ChannelResourceIdentifier, respectively. If empty, any existing value will be removed.
- Parameters:
target- value to be set
-
setTarget
Value to set, specified as ProductResourceIdentifier or ChannelResourceIdentifier, respectively. If empty, any existing value will be removed.
- Parameters:
target- value to be set
-
of
factory method- Returns:
- instance of ReviewSetTargetAction
-
of
factory method to create a shallow copy ReviewSetTargetAction- Parameters:
template- instance to be copied- Returns:
- copy instance
-
copyDeep
ReviewSetTargetAction copyDeep()- Specified by:
copyDeepin interfaceReviewUpdateAction
-
deepCopy
factory method to create a deep copy of ReviewSetTargetAction- Parameters:
template- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for ReviewSetTargetAction- Returns:
- builder
-
builder
create builder for ReviewSetTargetAction instance- Parameters:
template- instance with prefilled values for the builder- Returns:
- builder
-
withReviewSetTargetAction
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
-