Interface RemoveParcelFromDeliveryDraft
- All Superinterfaces:
Draft<RemoveParcelFromDeliveryDraft>
RemoveParcelFromDeliveryDraft
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
RemoveParcelFromDeliveryDraft removeParcelFromDeliveryDraft = RemoveParcelFromDeliveryDraft.builder()
.parcelId("{parcelId}")
.build()
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
builder factory method for RemoveParcelFromDeliveryDraftbuilder
(RemoveParcelFromDeliveryDraft template) create builder for RemoveParcelFromDeliveryDraft instancedeepCopy
(RemoveParcelFromDeliveryDraft template) factory method to create a deep copy of RemoveParcelFromDeliveryDraft@NotNull String
of()
factory methodof
(RemoveParcelFromDeliveryDraft template) factory method to create a shallow copy RemoveParcelFromDeliveryDraftvoid
setParcelId
(String parcelId) set parcelIdstatic com.fasterxml.jackson.core.type.TypeReference<RemoveParcelFromDeliveryDraft>
gives a TypeReference for usage with Jackson DataBinddefault <T> T
accessor map function
-
Method Details
-
getParcelId
- Returns:
- parcelId
-
setParcelId
set parcelId- Parameters:
parcelId
- value to be set
-
of
factory method- Returns:
- instance of RemoveParcelFromDeliveryDraft
-
of
factory method to create a shallow copy RemoveParcelFromDeliveryDraft- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
deepCopy
@Nullable static RemoveParcelFromDeliveryDraft deepCopy(@Nullable RemoveParcelFromDeliveryDraft template) factory method to create a deep copy of RemoveParcelFromDeliveryDraft- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for RemoveParcelFromDeliveryDraft- Returns:
- builder
-
builder
create builder for RemoveParcelFromDeliveryDraft instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-
withRemoveParcelFromDeliveryDraft
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
-