Interface VariantBulkUpdateFailResult
- All Superinterfaces:
VariantBulkUpdateResult
Result for a Variant that failed to update in a bulk update request.
Example to create an instance using the builder pattern
VariantBulkUpdateFailResult variantBulkUpdateFailResult = VariantBulkUpdateFailResult.builder()
.plusErrors(errorsBuilder -> errorsBuilder)
.build()
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder factory method for VariantBulkUpdateFailResultbuilder(VariantBulkUpdateFailResult template) create builder for VariantBulkUpdateFailResult instancecopyDeep()static VariantBulkUpdateFailResultdeepCopy(VariantBulkUpdateFailResult template) factory method to create a deep copy of VariantBulkUpdateFailResult@NotNull @Valid List<ErrorObject>Errors that caused the update to fail for this Variant.static VariantBulkUpdateFailResultof()factory methodstatic VariantBulkUpdateFailResultof(VariantBulkUpdateFailResult template) factory method to create a shallow copy VariantBulkUpdateFailResultvoidsetErrors(ErrorObject... errors) Errors that caused the update to fail for this Variant.voidsetErrors(List<ErrorObject> errors) Errors that caused the update to fail for this Variant.static tools.jackson.core.type.TypeReference<VariantBulkUpdateFailResult>gives a TypeReference for usage with Jackson DataBinddefault <T> Taccessor map functionMethods inherited from interface com.commercetools.api.models.variant.VariantBulkUpdateResult
getId, getKey, getStatus, setId, setKey, withVariantBulkUpdateResult
-
Field Details
-
FAIL
discriminator value for VariantBulkUpdateFailResult- See Also:
-
-
Method Details
-
getErrors
Errors that caused the update to fail for this Variant.
- Returns:
- errors
-
setErrors
Errors that caused the update to fail for this Variant.
- Parameters:
errors- values to be set
-
setErrors
Errors that caused the update to fail for this Variant.
- Parameters:
errors- values to be set
-
of
factory method- Returns:
- instance of VariantBulkUpdateFailResult
-
of
factory method to create a shallow copy VariantBulkUpdateFailResult- Parameters:
template- instance to be copied- Returns:
- copy instance
-
copyDeep
VariantBulkUpdateFailResult copyDeep()- Specified by:
copyDeepin interfaceVariantBulkUpdateResult
-
deepCopy
@Nullable static VariantBulkUpdateFailResult deepCopy(@Nullable VariantBulkUpdateFailResult template) factory method to create a deep copy of VariantBulkUpdateFailResult- Parameters:
template- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for VariantBulkUpdateFailResult- Returns:
- builder
-
builder
create builder for VariantBulkUpdateFailResult instance- Parameters:
template- instance with prefilled values for the builder- Returns:
- builder
-
withVariantBulkUpdateFailResult
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
-