Class StartScheduleInCycleFluentHelper
- All Implemented Interfaces:
FluentHelperExecutable<Object>
-
Field Summary
Fields inherited from class com.sap.cloud.sdk.datamodel.odata.helper.FluentHelperBasic
csrfTokenRetriever, entityCollection -
Constructor Summary
ConstructorsConstructorDescriptionStartScheduleInCycleFluentHelper(String servicePath, String maintenancePlan, String maintenancePackage, Integer maintPlanCycleOffsetValue, String maintenanceTaskPerformanceUnit, Boolean maintPlanSchedFutrCallsAreKept, LocalDateTime completionDate, LocalTime completionTime, String maintPlnCallCompltnCntrRdngVal) Creates a fluent helper object that will execute the StartScheduleInCycle 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
-
StartScheduleInCycleFluentHelper
public StartScheduleInCycleFluentHelper(@Nonnull String servicePath, @Nonnull String maintenancePlan, @Nullable String maintenancePackage, @Nullable Integer maintPlanCycleOffsetValue, @Nullable String maintenanceTaskPerformanceUnit, @Nullable Boolean maintPlanSchedFutrCallsAreKept, @Nullable LocalDateTime completionDate, @Nullable LocalTime completionTime, @Nullable String maintPlnCallCompltnCntrRdngVal) Creates a fluent helper object that will execute the StartScheduleInCycle OData function import with the provided parameters. To perform execution, call theexecuteRequestmethod on the fluent helper object.- Parameters:
completionTime- TimeConstraints: Nullable, Precision: 0
Original parameter name from the Odata EDM: CompletionTime
maintPlnCallCompltnCntrRdngVal- Compl.CountRead.Constraints: Nullable, Maximum length: 22
Original parameter name from the Odata EDM: MaintPlnCallCompltnCntrRdngVal
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
servicePath- Service path to be used to call the functions against.maintPlanCycleOffsetValue- OffsetConstraints: Nullable
Original parameter name from the Odata EDM: MaintPlanCycleOffsetValue
completionDate- Completion dateConstraints: Nullable, Precision: 0
Original parameter name from the Odata EDM: CompletionDate
maintenanceTaskPerformanceUnit- UnitConstraints: Nullable, Maximum length: 3
Original parameter name from the Odata EDM: MaintenanceTaskPerformanceUnit
maintenancePackage- PackageConstraints: Nullable, Maximum length: 2
Original parameter name from the Odata EDM: MaintenancePackage
-
-
Method Details
-
getEntityClass
- Specified by:
getEntityClassin classFluentHelperBasic<StartScheduleInCycleFluentHelper,MaintenancePlan, MaintenancePlan>
-
getFunctionName
- Specified by:
getFunctionNamein classFluentHelperFunction<StartScheduleInCycleFluentHelper,MaintenancePlan, MaintenancePlan>
-
refineJsonResponse
@Nullable protected com.google.gson.JsonElement refineJsonResponse(@Nullable com.google.gson.JsonElement jsonElement) - Overrides:
refineJsonResponsein classFluentHelperFunction<StartScheduleInCycleFluentHelper,MaintenancePlan, MaintenancePlan>
-
getParameters
- Specified by:
getParametersin classFluentHelperFunction<StartScheduleInCycleFluentHelper,MaintenancePlan, MaintenancePlan>
-
createRequest
- Specified by:
createRequestin classFluentHelperFunction<StartScheduleInCycleFluentHelper,MaintenancePlan, MaintenancePlan>
-
executeRequest
Execute this function import.- Specified by:
executeRequestin interfaceFluentHelperExecutable<Object>- Specified by:
executeRequestin classFluentHelperBasic<StartScheduleInCycleFluentHelper,MaintenancePlan, MaintenancePlan>
-