public interface BatchResponse
Modifier and Type | Method and Description |
---|---|
io.vavr.control.Try<BatchResponseChangeSet> |
get(int index)
Get the result for a single changeset.
|
default <EntityT extends VdmEntity<?>> |
getReadResult(FluentHelperByKey<?,EntityT,?> helper)
Convenience method to get the result for a read-by-key request on the OData batch response.
|
default <EntityT extends VdmEntity<?>> |
getReadResult(FluentHelperRead<?,EntityT,?> helper)
Convenience method to get the result for a read request on the OData batch response.
|
@Nonnull io.vavr.control.Try<BatchResponseChangeSet> get(int index)
index
- The zero-based index of the selected changeset.@Nonnull @Beta default <EntityT extends VdmEntity<?>> List<EntityT> getReadResult(@Nonnull FluentHelperRead<?,EntityT,?> helper)
EntityT
- The generic entity type.helper
- The original fluent helper instance that was used to create the request.@Nonnull @Beta default <EntityT extends VdmEntity<?>> EntityT getReadResult(@Nonnull FluentHelperByKey<?,EntityT,?> helper)
EntityT
- The generic entity type.helper
- The original fluent helper instance that was used to create the request.Copyright © 2021 SAP SE. All rights reserved.