Interface ImportResponse
public interface ImportResponse
The response of each Import Request.
Example to create an instance using the builder pattern
ImportResponse importResponse = ImportResponse.builder()
.plusOperationStatus(operationStatusBuilder -> operationStatusBuilder)
.build()
-
Method Summary
Modifier and TypeMethodDescriptionstatic ImportResponseBuilderbuilder()builder factory method for ImportResponsestatic ImportResponseBuilderbuilder(ImportResponse template) create builder for ImportResponse instancecopyDeep()static ImportResponsedeepCopy(ImportResponse template) factory method to create a deep copy of ImportResponse@NotNull @Valid List<ImportOperationStatus>The identifiers and status of the ImportOperations created by the ImportRequest.static ImportResponseof()factory methodstatic ImportResponseof(ImportResponse template) factory method to create a shallow copy ImportResponsevoidsetOperationStatus(ImportOperationStatus... operationStatus) The identifiers and status of the ImportOperations created by the ImportRequest.voidsetOperationStatus(List<ImportOperationStatus> operationStatus) The identifiers and status of the ImportOperations created by the ImportRequest.static com.fasterxml.jackson.core.type.TypeReference<ImportResponse>gives a TypeReference for usage with Jackson DataBinddefault <T> TwithImportResponse(Function<ImportResponse, T> helper) accessor map function
-
Method Details
-
getOperationStatus
The identifiers and status of the ImportOperations created by the ImportRequest.
- Returns:
- operationStatus
-
setOperationStatus
The identifiers and status of the ImportOperations created by the ImportRequest.
- Parameters:
operationStatus- values to be set
-
setOperationStatus
The identifiers and status of the ImportOperations created by the ImportRequest.
- Parameters:
operationStatus- values to be set
-
of
factory method- Returns:
- instance of ImportResponse
-
of
factory method to create a shallow copy ImportResponse- Parameters:
template- instance to be copied- Returns:
- copy instance
-
copyDeep
ImportResponse copyDeep() -
deepCopy
factory method to create a deep copy of ImportResponse- Parameters:
template- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for ImportResponse- Returns:
- builder
-
builder
create builder for ImportResponse instance- Parameters:
template- instance with prefilled values for the builder- Returns:
- builder
-
withImportResponse
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
-