Interface ParcelChangeValue
public interface ParcelChangeValue
ParcelChangeValue
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
ParcelChangeValue parcelChangeValue = ParcelChangeValue.builder()
.id("{id}")
.createdAt("{createdAt}")
.build()
-
Method Summary
Modifier and TypeMethodDescriptionstatic ParcelChangeValueBuilderbuilder()builder factory method for ParcelChangeValuestatic ParcelChangeValueBuilderbuilder(ParcelChangeValue template) create builder for ParcelChangeValue instancecopyDeep()static ParcelChangeValuedeepCopy(ParcelChangeValue template) factory method to create a deep copy of ParcelChangeValue@NotNull StringDate and time (UTC) the Parcel was created.@NotNull StringgetId()idof the Parcel.static ParcelChangeValueof()factory methodstatic ParcelChangeValueof(ParcelChangeValue template) factory method to create a shallow copy ParcelChangeValuevoidsetCreatedAt(String createdAt) Date and time (UTC) the Parcel was created.voididof the Parcel.static com.fasterxml.jackson.core.type.TypeReference<ParcelChangeValue>gives a TypeReference for usage with Jackson DataBinddefault <T> TwithParcelChangeValue(Function<ParcelChangeValue, T> helper) accessor map function
-
Method Details
-
getId
idof the Parcel.- Returns:
- id
-
getCreatedAt
Date and time (UTC) the Parcel was created.
- Returns:
- createdAt
-
setId
idof the Parcel.- Parameters:
id- value to be set
-
setCreatedAt
Date and time (UTC) the Parcel was created.
- Parameters:
createdAt- value to be set
-
of
factory method- Returns:
- instance of ParcelChangeValue
-
of
factory method to create a shallow copy ParcelChangeValue- Parameters:
template- instance to be copied- Returns:
- copy instance
-
copyDeep
ParcelChangeValue copyDeep() -
deepCopy
factory method to create a deep copy of ParcelChangeValue- Parameters:
template- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for ParcelChangeValue- Returns:
- builder
-
builder
create builder for ParcelChangeValue instance- Parameters:
template- instance with prefilled values for the builder- Returns:
- builder
-
withParcelChangeValue
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
-