Class SetMaintOrderToDoNotExecuteFluentHelper
- All Implemented Interfaces:
FluentHelperExecutable<Object>
-
Field Summary
Fields inherited from class com.sap.cloud.sdk.datamodel.odata.helper.FluentHelperBasic
csrfTokenRetriever, entityCollection -
Constructor Summary
ConstructorsConstructorDescriptionSetMaintOrderToDoNotExecuteFluentHelper(String servicePath, String maintenanceOrder, ZonedDateTime maintOrderReferenceDateTime, Boolean assignedMaintNotifIsToBeClosed, Boolean assgdMaintNotifIsToBeRsetAlloc) Creates a fluent helper object that will execute the SetMaintOrderToDoNotExecute OData function import with the provided parameters.SetMaintOrderToDoNotExecuteFluentHelper(String servicePath, String maintenanceOrder, ZonedDateTime maintOrderReferenceDateTime, Boolean assignedMaintNotifIsToBeClosed, Boolean assgdMaintNotifIsToBeRsetAlloc, String maintOrdCancellationAction) Creates a fluent helper object that will execute the SetMaintOrderToDoNotExecute 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<DummyFunctionImportResult>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
-
SetMaintOrderToDoNotExecuteFluentHelper
public SetMaintOrderToDoNotExecuteFluentHelper(@Nonnull String servicePath, @Nonnull String maintenanceOrder, @Nullable ZonedDateTime maintOrderReferenceDateTime, @Nullable Boolean assignedMaintNotifIsToBeClosed, @Nullable Boolean assgdMaintNotifIsToBeRsetAlloc) Creates a fluent helper object that will execute the SetMaintOrderToDoNotExecute OData function import with the provided parameters. To perform execution, call theexecuteRequestmethod on the fluent helper object.- Parameters:
maintenanceOrder- OrderConstraints: Not nullable, Maximum length: 12
Original parameter name from the Odata EDM: MaintenanceOrder
assignedMaintNotifIsToBeClosed- Complete All Assigned NotificationsConstraints: Nullable
Original parameter name from the Odata EDM: AssignedMaintNotifIsToBeClosed
servicePath- Service path to be used to call the functions against.assgdMaintNotifIsToBeRsetAlloc- Complete Header Notification and Unassign OthersConstraints: Nullable
Original parameter name from the Odata EDM: AssgdMaintNotifIsToBeRsetAlloc
maintOrderReferenceDateTime- Reference Date/TimeConstraints: Nullable, Precision: 0
Original parameter name from the Odata EDM: MaintOrderReferenceDateTime
-
SetMaintOrderToDoNotExecuteFluentHelper
public SetMaintOrderToDoNotExecuteFluentHelper(@Nonnull String servicePath, @Nonnull String maintenanceOrder, @Nullable ZonedDateTime maintOrderReferenceDateTime, @Nullable Boolean assignedMaintNotifIsToBeClosed, @Nullable Boolean assgdMaintNotifIsToBeRsetAlloc, @Nullable String maintOrdCancellationAction) Creates a fluent helper object that will execute the SetMaintOrderToDoNotExecute OData function import with the provided parameters. To perform execution, call theexecuteRequestmethod on the fluent helper object.- Parameters:
maintenanceOrder- OrderConstraints: Not nullable, Maximum length: 12
Original parameter name from the Odata EDM: MaintenanceOrder
assignedMaintNotifIsToBeClosed- Complete All Assigned NotificationsConstraints: Nullable
Original parameter name from the Odata EDM: AssignedMaintNotifIsToBeClosed
servicePath- Service path to be used to call the functions against.maintOrdCancellationAction- What should happen to assigned notificationsConstraints: Nullable, Maximum length: 1
Original parameter name from the Odata EDM: MaintOrdCancellationAction
assgdMaintNotifIsToBeRsetAlloc- Complete Header Notification and Unassign OthersConstraints: Nullable
Original parameter name from the Odata EDM: AssgdMaintNotifIsToBeRsetAlloc
maintOrderReferenceDateTime- Reference Date/TimeConstraints: Nullable, Precision: 0
Original parameter name from the Odata EDM: MaintOrderReferenceDateTime
-
-
Method Details
-
getEntityClass
-
getFunctionName
-
refineJsonResponse
@Nullable protected com.google.gson.JsonElement refineJsonResponse(@Nullable com.google.gson.JsonElement jsonElement) -
getParameters
-
createRequest
-
executeRequest
@Nullable public DummyFunctionImportResult executeRequest(@Nonnull HttpDestinationProperties destination) Execute this function import.- Specified by:
executeRequestin interfaceFluentHelperExecutable<Object>- Specified by:
executeRequestin classFluentHelperBasic<SetMaintOrderToDoNotExecuteFluentHelper,DummyFunctionImportResult, DummyFunctionImportResult>
-