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 Details

    • getOperationStatus

      @NotNull @Valid @NotNull @Valid List<ImportOperationStatus> getOperationStatus()

      The identifiers and status of the ImportOperations created by the ImportRequest.

      Returns:
      operationStatus
    • setOperationStatus

      void setOperationStatus(ImportOperationStatus... operationStatus)

      The identifiers and status of the ImportOperations created by the ImportRequest.

      Parameters:
      operationStatus - values to be set
    • setOperationStatus

      void setOperationStatus(List<ImportOperationStatus> operationStatus)

      The identifiers and status of the ImportOperations created by the ImportRequest.

      Parameters:
      operationStatus - values to be set
    • of

      static ImportResponse of()
      factory method
      Returns:
      instance of ImportResponse
    • of

      static ImportResponse of(ImportResponse template)
      factory method to create a shallow copy ImportResponse
      Parameters:
      template - instance to be copied
      Returns:
      copy instance
    • copyDeep

      ImportResponse copyDeep()
    • deepCopy

      @Nullable static ImportResponse deepCopy(@Nullable ImportResponse template)
      factory method to create a deep copy of ImportResponse
      Parameters:
      template - instance to be copied
      Returns:
      copy instance
    • builder

      static ImportResponseBuilder builder()
      builder factory method for ImportResponse
      Returns:
      builder
    • builder

      static ImportResponseBuilder builder(ImportResponse template)
      create builder for ImportResponse instance
      Parameters:
      template - instance with prefilled values for the builder
      Returns:
      builder
    • withImportResponse

      default <T> T withImportResponse(Function<ImportResponse,T> helper)
      accessor map function
      Type Parameters:
      T - mapped type
      Parameters:
      helper - function to map the object
      Returns:
      mapped value
    • typeReference

      static com.fasterxml.jackson.core.type.TypeReference<ImportResponse> typeReference()
      gives a TypeReference for usage with Jackson DataBind
      Returns:
      TypeReference