Class ODataRequestBatch.Changeset
java.lang.Object
com.sap.cloud.sdk.datamodel.odata.client.request.ODataRequestBatch.Changeset
- Enclosing class:
- ODataRequestBatch
The Changeset representation of the OData Batch operation.
-
Method Summary
Modifier and TypeMethodDescriptionaddAction
(ODataRequestAction request) Add an OData Action request to the current OData Batch changeset.addCreate
(ODataRequestCreate request) Add an OData Create request to the current OData Batch changeset.addDelete
(ODataRequestDelete request) Add an OData Delete request to the current OData Batch changeset.addUpdate
(ODataRequestUpdate request) Add an OData Update request to the current OData Batch changeset.Finalizes the current changeset.
-
Method Details
-
addCreate
Add an OData Create request to the current OData Batch changeset.- Parameters:
request
- The Create request.- Returns:
- The Changeset fluent helper instance.
-
addUpdate
Add an OData Update request to the current OData Batch changeset.- Parameters:
request
- The Update request.- Returns:
- The Changeset fluent helper instance.
-
addDelete
Add an OData Delete request to the current OData Batch changeset.- Parameters:
request
- The Delete request.- Returns:
- The Changeset fluent helper instance.
-
addAction
Add an OData Action request to the current OData Batch changeset.- Parameters:
request
- The Action request.- Returns:
- The Changeset fluent helper instance.
-
endChangeset
Finalizes the current changeset.- Returns:
- The original Batch request fluent helper instance.
-