Class ReviewUpdateImpl
java.lang.Object
com.commercetools.api.models.review.ReviewUpdateImpl
- All Implemented Interfaces:
ResourceUpdate<ReviewUpdate,
,ReviewUpdateAction, ReviewUpdateBuilder> ReviewUpdate
,io.vrap.rmf.base.client.ModelBase
public class ReviewUpdateImpl
extends Object
implements ReviewUpdate, io.vrap.rmf.base.client.ModelBase
ReviewUpdate
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.vrap.rmf.base.client.ModelBase
io.vrap.rmf.base.client.ModelBase.FilteredRecursiveToStringStyle
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
The list of update actions to be performed on the review.The expected version of the review on which the changes should be applied.int
hashCode()
void
setActions
(ReviewUpdateAction... actions) The list of update actions to be performed on the review.void
setActions
(List<ReviewUpdateAction> actions) The list of update actions to be performed on the review.void
setVersion
(Long version) The expected version of the review on which the changes should be applied.toString()
Methods inherited from interface io.vrap.rmf.base.client.ModelBase
reflectionString, reflectionString
Methods inherited from interface com.commercetools.api.models.ResourceUpdate
get
Methods inherited from interface com.commercetools.api.models.review.ReviewUpdate
withReviewUpdate
-
Constructor Details
-
ReviewUpdateImpl
public ReviewUpdateImpl()create empty instance
-
-
Method Details
-
getVersion
The expected version of the review on which the changes should be applied. If the expected version does not match the actual version, a 409 Conflict will be returned.
- Specified by:
getVersion
in interfaceResourceUpdate<ReviewUpdate,
ReviewUpdateAction, ReviewUpdateBuilder> - Specified by:
getVersion
in interfaceReviewUpdate
- Returns:
- version
-
getActions
The list of update actions to be performed on the review.
- Specified by:
getActions
in interfaceResourceUpdate<ReviewUpdate,
ReviewUpdateAction, ReviewUpdateBuilder> - Specified by:
getActions
in interfaceReviewUpdate
- Returns:
- actions
-
setVersion
Description copied from interface:ReviewUpdate
The expected version of the review on which the changes should be applied. If the expected version does not match the actual version, a 409 Conflict will be returned.
- Specified by:
setVersion
in interfaceResourceUpdate<ReviewUpdate,
ReviewUpdateAction, ReviewUpdateBuilder> - Specified by:
setVersion
in interfaceReviewUpdate
- Parameters:
version
- value to be set
-
setActions
Description copied from interface:ReviewUpdate
The list of update actions to be performed on the review.
- Specified by:
setActions
in interfaceReviewUpdate
- Parameters:
actions
- values to be set
-
setActions
Description copied from interface:ReviewUpdate
The list of update actions to be performed on the review.
- Specified by:
setActions
in interfaceResourceUpdate<ReviewUpdate,
ReviewUpdateAction, ReviewUpdateBuilder> - Specified by:
setActions
in interfaceReviewUpdate
- Parameters:
actions
- values to be set
-
equals
-
hashCode
public int hashCode() -
toString
-