Interface VariantBulkUpdateResource
public interface VariantBulkUpdateResource
A lightweight reference containing the id and updated version of a Variant after a successful bulk update.
Example to create an instance using the builder pattern
VariantBulkUpdateResource variantBulkUpdateResource = VariantBulkUpdateResource.builder()
.id("{id}")
.version(0.3)
.build()
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder factory method for VariantBulkUpdateResourcebuilder(VariantBulkUpdateResource template) create builder for VariantBulkUpdateResource instancecopyDeep()static VariantBulkUpdateResourcedeepCopy(VariantBulkUpdateResource template) factory method to create a deep copy of VariantBulkUpdateResource@NotNull StringgetId()Unique identifier of the updated Variant.@NotNull LongThe new version of the Variant after the update.static VariantBulkUpdateResourceof()factory methodstatic VariantBulkUpdateResourceof(VariantBulkUpdateResource template) factory method to create a shallow copy VariantBulkUpdateResourcevoidUnique identifier of the updated Variant.voidsetVersion(Long version) The new version of the Variant after the update.static tools.jackson.core.type.TypeReference<VariantBulkUpdateResource>gives a TypeReference for usage with Jackson DataBinddefault <T> Taccessor map function
-
Method Details
-
getId
Unique identifier of the updated Variant.
- Returns:
- id
-
getVersion
The new version of the Variant after the update.
- Returns:
- version
-
setId
Unique identifier of the updated Variant.
- Parameters:
id- value to be set
-
setVersion
The new version of the Variant after the update.
- Parameters:
version- value to be set
-
of
factory method- Returns:
- instance of VariantBulkUpdateResource
-
of
factory method to create a shallow copy VariantBulkUpdateResource- Parameters:
template- instance to be copied- Returns:
- copy instance
-
copyDeep
VariantBulkUpdateResource copyDeep() -
deepCopy
factory method to create a deep copy of VariantBulkUpdateResource- Parameters:
template- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for VariantBulkUpdateResource- Returns:
- builder
-
builder
create builder for VariantBulkUpdateResource instance- Parameters:
template- instance with prefilled values for the builder- Returns:
- builder
-
withVariantBulkUpdateResource
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
-