Class SendActionStatusFluentHelper
- All Implemented Interfaces:
FluentHelperExecutable<Object>
-
Field Summary
Fields inherited from class com.sap.cloud.sdk.datamodel.odata.helper.FluentHelperBasic
csrfTokenRetriever, entityCollection -
Constructor Summary
ConstructorsConstructorDescriptionSendActionStatusFluentHelper(String servicePath, String sitnActionInstanceID, String sitnActionID, String sitnActionStatus, String sitnInstanceID, String sitnInstceTargetStatus) Creates a fluent helper object that will execute the SendActionStatus 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<SendActionStatusReturn>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
-
SendActionStatusFluentHelper
public SendActionStatusFluentHelper(@Nonnull String servicePath, @Nonnull String sitnActionInstanceID, @Nonnull String sitnActionID, @Nonnull String sitnActionStatus, @Nonnull String sitnInstanceID, @Nonnull String sitnInstceTargetStatus) Creates a fluent helper object that will execute the SendActionStatus OData function import with the provided parameters. To perform execution, call theexecuteRequestmethod on the fluent helper object.- Parameters:
sitnActionStatus- Action status: SUCCESS or FAILUREConstraints: Not nullable, Maximum length: 7
Original parameter name from the Odata EDM: SitnActionStatus
servicePath- Service path to be used to call the functions against.sitnActionInstanceID- Unique action instance ID generated by the service clientConstraints: Not nullable, Maximum length: 36
Original parameter name from the Odata EDM: SitnActionInstanceID
sitnInstanceID- Situation instance ID for which the action was performedConstraints: Not nullable, Maximum length: 32
Original parameter name from the Odata EDM: SitnInstanceID
sitnActionID- ActionID defined by situation template, NO_ACTION or UNKNOWNConstraints: Not nullable, Maximum length: 32
Original parameter name from the Odata EDM: SitnActionID
sitnInstceTargetStatus- Target instance status: OP(Open) RE(Resolved) UN(Unchanged)Constraints: Not nullable, Maximum length: 2
Original parameter name from the Odata EDM: SitnInstceTargetStatus
-
-
Method Details
-
getEntityClass
- Specified by:
getEntityClassin classFluentHelperBasic<SendActionStatusFluentHelper,SendActionStatusReturn, SendActionStatusReturn>
-
getFunctionName
- Specified by:
getFunctionNamein classFluentHelperFunction<SendActionStatusFluentHelper,SendActionStatusReturn, SendActionStatusReturn>
-
refineJsonResponse
@Nullable protected com.google.gson.JsonElement refineJsonResponse(@Nullable com.google.gson.JsonElement jsonElement) -
getParameters
- Specified by:
getParametersin classFluentHelperFunction<SendActionStatusFluentHelper,SendActionStatusReturn, SendActionStatusReturn>
-
createRequest
- Specified by:
createRequestin classFluentHelperFunction<SendActionStatusFluentHelper,SendActionStatusReturn, SendActionStatusReturn>
-
executeRequest
@Nullable public SendActionStatusReturn executeRequest(@Nonnull HttpDestinationProperties destination) Execute this function import.- Specified by:
executeRequestin interfaceFluentHelperExecutable<Object>- Specified by:
executeRequestin classFluentHelperBasic<SendActionStatusFluentHelper,SendActionStatusReturn, SendActionStatusReturn>
-