Class SchedulePlannedOrderOperationFluentHelper
- All Implemented Interfaces:
FluentHelperExecutable<Object>
-
Field Summary
Fields inherited from class com.sap.cloud.sdk.datamodel.odata.helper.FluentHelperBasic
csrfTokenRetriever, entityCollection -
Constructor Summary
ConstructorsConstructorDescriptionSchedulePlannedOrderOperationFluentHelper(String servicePath, String plannedOrder, String capacityRequirement, String capacityRequirementItem, String capacityRqmtItemCapacity, LocalDateTime opSchedldStartDate, LocalTime opSchedldStartTime, LocalDateTime opSchedldEndDate, LocalTime opSchedldEndTime, String opSchedulingMode, String opSchedulingStatus, String opSchedulingStrategy) Creates a fluent helper object that will execute the SchedulePlannedOrderOperation 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<SchedldProdOrdOpMessage>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
-
SchedulePlannedOrderOperationFluentHelper
public SchedulePlannedOrderOperationFluentHelper(@Nonnull String servicePath, @Nonnull String plannedOrder, @Nonnull String capacityRequirement, @Nonnull String capacityRequirementItem, @Nonnull String capacityRqmtItemCapacity, @Nullable LocalDateTime opSchedldStartDate, @Nullable LocalTime opSchedldStartTime, @Nullable LocalDateTime opSchedldEndDate, @Nullable LocalTime opSchedldEndTime, @Nonnull String opSchedulingMode, @Nullable String opSchedulingStatus, @Nonnull String opSchedulingStrategy) Creates a fluent helper object that will execute the SchedulePlannedOrderOperation OData function import with the provided parameters. To perform execution, call theexecuteRequestmethod on the fluent helper object.- Parameters:
capacityRequirementItem- CounterConstraints: Not nullable, Maximum length: 8
Original parameter name from the Odata EDM: CapacityRequirementItem
opSchedldStartDate- Latest Start DateConstraints: Nullable, Precision: 0
Original parameter name from the Odata EDM: OpSchedldStartDate
capacityRequirement- Capacity RequirementConstraints: Not nullable, Maximum length: 12
Original parameter name from the Odata EDM: CapacityRequirement
plannedOrder- Planned OrderConstraints: Not nullable, Maximum length: 10
Original parameter name from the Odata EDM: PlannedOrder
capacityRqmtItemCapacity- CounterConstraints: Not nullable, Maximum length: 4
Original parameter name from the Odata EDM: CapacityRqmtItemCapacity
opSchedulingStrategy- Component of the Version NumberConstraints: Not nullable, Maximum length: 4
Original parameter name from the Odata EDM: OpSchedulingStrategy
servicePath- Service path to be used to call the functions against.opSchedulingStatus- StatusConstraints: Nullable, Maximum length: 4
Original parameter name from the Odata EDM: OpSchedulingStatus
opSchedulingMode- Scheduling typeConstraints: Not nullable, Maximum length: 1
Original parameter name from the Odata EDM: OpSchedulingMode
opSchedldStartTime- Latest Start TimeConstraints: Nullable, Precision: 0
Original parameter name from the Odata EDM: OpSchedldStartTime
opSchedldEndDate- Latest End DateConstraints: Nullable, Precision: 0
Original parameter name from the Odata EDM: OpSchedldEndDate
opSchedldEndTime- Latest End TimeConstraints: Nullable, Precision: 0
Original parameter name from the Odata EDM: OpSchedldEndTime
-
-
Method Details
-
getEntityClass
-
getFunctionName
-
refineJsonResponse
@Nullable protected com.google.gson.JsonElement refineJsonResponse(@Nullable com.google.gson.JsonElement jsonElement) -
getParameters
-
createRequest
-
executeRequest
@Nullable public SchedldProdOrdOpMessage executeRequest(@Nonnull HttpDestinationProperties destination) Execute this function import.- Specified by:
executeRequestin interfaceFluentHelperExecutable<Object>- Specified by:
executeRequestin classFluentHelperBasic<SchedulePlannedOrderOperationFluentHelper,SchedldProdOrdOpMessage, SchedldProdOrdOpMessage>
-