Class RestartMaintPlnScheduleFluentHelper
- All Implemented Interfaces:
FluentHelperExecutable<Object>
-
Field Summary
Fields inherited from class com.sap.cloud.sdk.datamodel.odata.helper.FluentHelperBasic
csrfTokenRetriever, entityCollection -
Constructor Summary
ConstructorsConstructorDescriptionRestartMaintPlnScheduleFluentHelper(String servicePath, String maintenancePlan, LocalDateTime schedulingStartDate, LocalTime schedulingStartTime, String maintPlanStartCntrReadingValue, Boolean maintPlanSchedFutrCallsAreKept) Creates a fluent helper object that will execute the RestartMaintPlnSchedule 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<MaintenancePlan>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
-
RestartMaintPlnScheduleFluentHelper
public RestartMaintPlnScheduleFluentHelper(@Nonnull String servicePath, @Nonnull String maintenancePlan, @Nullable LocalDateTime schedulingStartDate, @Nullable LocalTime schedulingStartTime, @Nullable String maintPlanStartCntrReadingValue, @Nullable Boolean maintPlanSchedFutrCallsAreKept) Creates a fluent helper object that will execute the RestartMaintPlnSchedule OData function import with the provided parameters. To perform execution, call theexecuteRequestmethod on the fluent helper object.- Parameters:
maintPlanSchedFutrCallsAreKept- Boolean Variable (X = True, - = False, Space = Unknown)Constraints: Nullable
Original parameter name from the Odata EDM: MaintPlanSchedFutrCallsAreKept
maintenancePlan- Maintenance PlanConstraints: Not nullable, Maximum length: 12
Original parameter name from the Odata EDM: MaintenancePlan
schedulingStartDate- Start of cycleConstraints: Nullable, Precision: 0
Original parameter name from the Odata EDM: SchedulingStartDate
servicePath- Service path to be used to call the functions against.schedulingStartTime- Start TimeConstraints: Nullable, Precision: 0
Original parameter name from the Odata EDM: SchedulingStartTime
maintPlanStartCntrReadingValue- StartCounterReadingConstraints: Nullable, Maximum length: 22
Original parameter name from the Odata EDM: MaintPlanStartCntrReadingValue
-
-
Method Details
-
getEntityClass
- Specified by:
getEntityClassin classFluentHelperBasic<RestartMaintPlnScheduleFluentHelper,MaintenancePlan, MaintenancePlan>
-
getFunctionName
- Specified by:
getFunctionNamein classFluentHelperFunction<RestartMaintPlnScheduleFluentHelper,MaintenancePlan, MaintenancePlan>
-
refineJsonResponse
@Nullable protected com.google.gson.JsonElement refineJsonResponse(@Nullable com.google.gson.JsonElement jsonElement) -
getParameters
- Specified by:
getParametersin classFluentHelperFunction<RestartMaintPlnScheduleFluentHelper,MaintenancePlan, MaintenancePlan>
-
createRequest
- Specified by:
createRequestin classFluentHelperFunction<RestartMaintPlnScheduleFluentHelper,MaintenancePlan, MaintenancePlan>
-
executeRequest
Execute this function import.- Specified by:
executeRequestin interfaceFluentHelperExecutable<Object>- Specified by:
executeRequestin classFluentHelperBasic<RestartMaintPlnScheduleFluentHelper,MaintenancePlan, MaintenancePlan>
-