public class SetMaintNotifToInProcessFluentHelper extends SingleValuedFluentHelperFunction<SetMaintNotifToInProcessFluentHelper,MaintenanceNotification,MaintenanceNotification>
csrfTokenRetriever, entityCollection
Constructor and Description |
---|
SetMaintNotifToInProcessFluentHelper(String servicePath,
String maintenanceNotification)
Creates a fluent helper object that will execute the SetMaintNotifToInProcess OData function import with
the provided parameters.
|
Modifier and Type | Method and Description |
---|---|
protected org.apache.http.client.methods.HttpUriRequest |
createRequest(URI uri) |
MaintenanceNotification |
executeRequest(HttpDestinationProperties destination)
Execute this function import.
|
protected Class<MaintenanceNotification> |
getEntityClass() |
protected String |
getFunctionName() |
protected Map<String,Object> |
getParameters() |
protected com.google.gson.JsonElement |
refineJsonResponse(com.google.gson.JsonElement jsonElement) |
executeMultiple, executeSingle, getCsrfTokenRetriever, toRequest, withCsrfToken, withoutCsrfToken
getHeaders, getParametersForRequestOnly, getServicePath, getThis, withHeader, withHeaders, withQueryParameter
public SetMaintNotifToInProcessFluentHelper(@Nonnull String servicePath, @Nonnull String maintenanceNotification)
executeRequest
method on the
fluent helper object.servicePath
- Service path to be used to call the functions against.maintenanceNotification
- Notification
Constraints: Not nullable, Maximum length: 12
Original parameter name from the Odata EDM: MaintenanceNotification
@Nonnull protected Class<MaintenanceNotification> getEntityClass()
@Nullable protected com.google.gson.JsonElement refineJsonResponse(@Nullable com.google.gson.JsonElement jsonElement)
@Nonnull protected org.apache.http.client.methods.HttpUriRequest createRequest(@Nonnull URI uri)
@Nullable public MaintenanceNotification executeRequest(@Nonnull HttpDestinationProperties destination)
executeRequest
in interface FluentHelperExecutable<Object>
executeRequest
in class FluentHelperBasic<SetMaintNotifToInProcessFluentHelper,MaintenanceNotification,MaintenanceNotification>
Copyright © 2022 SAP SE. All rights reserved.