public class SendActionStatusFluentHelper extends SingleValuedFluentHelperFunction<SendActionStatusFluentHelper,SendActionStatusReturn,SendActionStatusReturn>
csrfTokenRetriever, entityCollection
Constructor and Description |
---|
SendActionStatusFluentHelper(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.
|
Modifier and Type | Method and Description |
---|---|
protected org.apache.http.client.methods.HttpUriRequest |
createRequest(URI uri) |
SendActionStatusReturn |
executeRequest(HttpDestinationProperties destination)
Execute this function import.
|
protected Class<SendActionStatusReturn> |
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 SendActionStatusFluentHelper(@Nonnull String servicePath, @Nonnull String sitnActionInstanceID, @Nonnull String sitnActionID, @Nonnull String sitnActionStatus, @Nonnull String sitnInstanceID, @Nonnull String sitnInstceTargetStatus)
executeRequest
method on the fluent
helper object.sitnActionStatus
- Action status: SUCCESS or FAILURE
Constraints: 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 client
Constraints: Not nullable, Maximum length: 36
Original parameter name from the Odata EDM: SitnActionInstanceID
sitnInstanceID
- Situation instance ID for which the action was performed
Constraints: Not nullable, Maximum length: 32
Original parameter name from the Odata EDM: SitnInstanceID
sitnActionID
- ActionID defined by situation template, NO_ACTION or UNKNOWN
Constraints: 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
@Nonnull protected Class<SendActionStatusReturn> getEntityClass()
getEntityClass
in class FluentHelperBasic<SendActionStatusFluentHelper,SendActionStatusReturn,SendActionStatusReturn>
@Nonnull protected String getFunctionName()
getFunctionName
in class FluentHelperFunction<SendActionStatusFluentHelper,SendActionStatusReturn,SendActionStatusReturn>
@Nullable protected com.google.gson.JsonElement refineJsonResponse(@Nullable com.google.gson.JsonElement jsonElement)
@Nonnull protected Map<String,Object> getParameters()
getParameters
in class FluentHelperFunction<SendActionStatusFluentHelper,SendActionStatusReturn,SendActionStatusReturn>
@Nonnull protected org.apache.http.client.methods.HttpUriRequest createRequest(@Nonnull URI uri)
createRequest
in class FluentHelperFunction<SendActionStatusFluentHelper,SendActionStatusReturn,SendActionStatusReturn>
@Nullable public SendActionStatusReturn executeRequest(@Nonnull HttpDestinationProperties destination)
executeRequest
in interface FluentHelperExecutable<Object>
executeRequest
in class FluentHelperBasic<SendActionStatusFluentHelper,SendActionStatusReturn,SendActionStatusReturn>
Copyright © 2022 SAP SE. All rights reserved.