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 ParcelChangeValueBuilder
builder()
builder factory method for ParcelChangeValuestatic ParcelChangeValueBuilder
builder
(ParcelChangeValue template) create builder for ParcelChangeValue instancestatic ParcelChangeValue
deepCopy
(ParcelChangeValue template) factory method to create a deep copy of ParcelChangeValue@NotNull String
Date and time (UTC) the Parcel was created.@NotNull String
getId()
id
of the Parcel.static ParcelChangeValue
of()
factory methodstatic ParcelChangeValue
of
(ParcelChangeValue template) factory method to create a shallow copy ParcelChangeValuevoid
setCreatedAt
(String createdAt) Date and time (UTC) the Parcel was created.void
id
of the Parcel.static com.fasterxml.jackson.core.type.TypeReference<ParcelChangeValue>
gives a TypeReference for usage with Jackson DataBinddefault <T> T
withParcelChangeValue
(Function<ParcelChangeValue, T> helper) accessor map function
-
Method Details
-
getId
id
of the Parcel.- Returns:
- id
-
getCreatedAt
Date and time (UTC) the Parcel was created.
- Returns:
- createdAt
-
setId
id
of 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
-
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
-