Class SetDemandStatusToClosedFluentHelper
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<SetDemandStatusToClosedFluentHelper,ProjectDemand,ProjectDemand>
com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.projectdemand.SetDemandStatusToClosedFluentHelper
- All Implemented Interfaces:
FluentHelperExecutable<Object>
public class SetDemandStatusToClosedFluentHelper
extends SingleValuedFluentHelperFunction<SetDemandStatusToClosedFluentHelper,ProjectDemand,ProjectDemand>
Fluent helper for the SetDemandStatusToClosed OData function import.
-
Field Summary
Fields inherited from class com.sap.cloud.sdk.datamodel.odata.helper.FluentHelperBasic
csrfTokenRetriever, entityCollection -
Constructor Summary
ConstructorsConstructorDescriptionSetDemandStatusToClosedFluentHelper(String servicePath, UUID projectDemandUUID) Creates a fluent helper object that will execute the SetDemandStatusToClosed 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<ProjectDemand>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
-
SetDemandStatusToClosedFluentHelper
public SetDemandStatusToClosedFluentHelper(@Nonnull String servicePath, @Nonnull UUID projectDemandUUID) Creates a fluent helper object that will execute the SetDemandStatusToClosed OData function import with the provided parameters. To perform execution, call theexecuteRequestmethod on the fluent helper object.- Parameters:
servicePath- Service path to be used to call the functions against.projectDemandUUID- Demand UUIDConstraints: none
Original parameter name from the Odata EDM: ProjectDemandUUID
-
-
Method Details
-
getEntityClass
- Specified by:
getEntityClassin classFluentHelperBasic<SetDemandStatusToClosedFluentHelper,ProjectDemand, ProjectDemand>
-
getFunctionName
- Specified by:
getFunctionNamein classFluentHelperFunction<SetDemandStatusToClosedFluentHelper,ProjectDemand, ProjectDemand>
-
refineJsonResponse
@Nullable protected com.google.gson.JsonElement refineJsonResponse(@Nullable com.google.gson.JsonElement jsonElement) - Overrides:
refineJsonResponsein classFluentHelperFunction<SetDemandStatusToClosedFluentHelper,ProjectDemand, ProjectDemand>
-
getParameters
- Specified by:
getParametersin classFluentHelperFunction<SetDemandStatusToClosedFluentHelper,ProjectDemand, ProjectDemand>
-
createRequest
- Specified by:
createRequestin classFluentHelperFunction<SetDemandStatusToClosedFluentHelper,ProjectDemand, ProjectDemand>
-
executeRequest
Execute this function import.- Specified by:
executeRequestin interfaceFluentHelperExecutable<Object>- Specified by:
executeRequestin classFluentHelperBasic<SetDemandStatusToClosedFluentHelper,ProjectDemand, ProjectDemand>
-