Class ItemReleaseFluentHelper
java.lang.Object
com.sap.cloud.sdk.datamodel.odata.helper.FluentHelperBasic<FluentHelperT,ObjectT,ResultT>
com.sap.cloud.sdk.datamodel.odata.helper.FluentHelperFunction<FluentHelperT,ObjectT,ResultT>
com.sap.cloud.sdk.datamodel.odata.helper.SingleValuedFluentHelperFunction<ItemReleaseFluentHelper,ActionResponse,ActionResponse>
com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.schedulingagreement.ItemReleaseFluentHelper
- All Implemented Interfaces:
FluentHelperExecutable<Object>
public class ItemReleaseFluentHelper
extends SingleValuedFluentHelperFunction<ItemReleaseFluentHelper,ActionResponse,ActionResponse>
Fluent helper for the ItemRelease OData function import.
-
Field Summary
Fields inherited from class com.sap.cloud.sdk.datamodel.odata.helper.FluentHelperBasic
csrfTokenRetriever, entityCollection -
Constructor Summary
ConstructorsConstructorDescriptionItemReleaseFluentHelper(String servicePath, String schedulingAgreement, String schedulingAgreementItem, String schedulingAgreementReleaseType) Creates a fluent helper object that will execute the ItemRelease OData function import with the provided parameters. -
Method Summary
Modifier and TypeMethodDescriptionprotected org.apache.http.client.methods.HttpUriRequestcreateRequest(URI uri) executeRequest(HttpDestinationProperties destination) Execute this function import.protected Class<ActionResponse>protected Stringprotected com.google.gson.JsonElementrefineJsonResponse(com.google.gson.JsonElement jsonElement) Methods inherited from class com.sap.cloud.sdk.datamodel.odata.helper.FluentHelperFunction
executeMultiple, executeSingle, getCsrfTokenRetriever, toRequest, withCsrfToken, withoutCsrfTokenMethods inherited from class com.sap.cloud.sdk.datamodel.odata.helper.FluentHelperBasic
getHeaders, getParametersForRequestOnly, getServicePath, getThis, withHeader, withHeaders, withQueryParameter
-
Constructor Details
-
ItemReleaseFluentHelper
public ItemReleaseFluentHelper(@Nonnull String servicePath, @Nonnull String schedulingAgreement, @Nonnull String schedulingAgreementItem, @Nonnull String schedulingAgreementReleaseType) Creates a fluent helper object that will execute the ItemRelease OData function import with the provided parameters. To perform execution, call theexecuteRequestmethod on the fluent helper object.- Parameters:
schedulingAgreement- Scheduling AgreementConstraints: Not nullable, Maximum length: 10
Original parameter name from the Odata EDM: SchedulingAgreement
servicePath- Service path to be used to call the functions against.schedulingAgreementReleaseType- Scheduling Agreement Release TypeConstraints: Not nullable, Maximum length: 1
Original parameter name from the Odata EDM: SchedulingAgreementReleaseType
schedulingAgreementItem- Scheduling Agreement ItemConstraints: Not nullable, Maximum length: 5
Original parameter name from the Odata EDM: SchedulingAgreementItem
-
-
Method Details
-
getEntityClass
- Specified by:
getEntityClassin classFluentHelperBasic<ItemReleaseFluentHelper,ActionResponse, ActionResponse>
-
getFunctionName
- Specified by:
getFunctionNamein classFluentHelperFunction<ItemReleaseFluentHelper,ActionResponse, ActionResponse>
-
refineJsonResponse
@Nullable protected com.google.gson.JsonElement refineJsonResponse(@Nullable com.google.gson.JsonElement jsonElement) - Overrides:
refineJsonResponsein classFluentHelperFunction<ItemReleaseFluentHelper,ActionResponse, ActionResponse>
-
getParameters
- Specified by:
getParametersin classFluentHelperFunction<ItemReleaseFluentHelper,ActionResponse, ActionResponse>
-
createRequest
- Specified by:
createRequestin classFluentHelperFunction<ItemReleaseFluentHelper,ActionResponse, ActionResponse>
-
executeRequest
Execute this function import.- Specified by:
executeRequestin interfaceFluentHelperExecutable<Object>- Specified by:
executeRequestin classFluentHelperBasic<ItemReleaseFluentHelper,ActionResponse, ActionResponse>
-