Class ODataRequestBatch.Changeset

java.lang.Object
com.sap.cloud.sdk.datamodel.odata.client.request.ODataRequestBatch.Changeset
Enclosing class:
ODataRequestBatch

public static final class ODataRequestBatch.Changeset extends Object
The Changeset representation of the OData Batch operation.
  • Method Details

    • addCreate

      @Nonnull public ODataRequestBatch.Changeset addCreate(@Nonnull ODataRequestCreate request)
      Add an OData Create request to the current OData Batch changeset.
      Parameters:
      request - The Create request.
      Returns:
      The Changeset fluent helper instance.
    • addUpdate

      @Nonnull public ODataRequestBatch.Changeset addUpdate(@Nonnull ODataRequestUpdate request)
      Add an OData Update request to the current OData Batch changeset.
      Parameters:
      request - The Update request.
      Returns:
      The Changeset fluent helper instance.
    • addDelete

      @Nonnull public ODataRequestBatch.Changeset addDelete(@Nonnull ODataRequestDelete request)
      Add an OData Delete request to the current OData Batch changeset.
      Parameters:
      request - The Delete request.
      Returns:
      The Changeset fluent helper instance.
    • addAction

      @Nonnull public ODataRequestBatch.Changeset addAction(@Nonnull ODataRequestAction request)
      Add an OData Action request to the current OData Batch changeset.
      Parameters:
      request - The Action request.
      Returns:
      The Changeset fluent helper instance.
    • endChangeset

      @Nonnull public ODataRequestBatch endChangeset()
      Finalizes the current changeset.
      Returns:
      The original Batch request fluent helper instance.