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
Modifier and TypeFieldDescriptionstatic final String
discriminator value for ReviewSetTargetAction -
Method Summary
Modifier and TypeMethodDescriptionstatic ReviewSetTargetActionBuilder
builder()
builder factory method for ReviewSetTargetActionstatic ReviewSetTargetActionBuilder
builder
(ReviewSetTargetAction template) create builder for ReviewSetTargetAction instancestatic ReviewSetTargetAction
deepCopy
(ReviewSetTargetAction template) factory method to create a deep copy of ReviewSetTargetAction@NotNull Object
Value to set, specified as ProductResourceIdentifier or ChannelResourceIdentifier, respectively.static ReviewSetTargetAction
of()
factory methodstatic ReviewSetTargetAction
of
(ReviewSetTargetAction template) factory method to create a shallow copy ReviewSetTargetActionvoid
setTarget
(ChannelResourceIdentifier target) Value to set, specified as ProductResourceIdentifier or ChannelResourceIdentifier, respectively.void
setTarget
(ProductResourceIdentifier target) Value to set, specified as ProductResourceIdentifier or ChannelResourceIdentifier, respectively.void
Value 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> 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_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
-
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
-