public class ShiftValidityStartDateOfChangeMasterFluentHelper extends FluentHelperFunction<ShiftValidityStartDateOfChangeMasterFluentHelper,ChangeMaster,ChangeMaster>
Constructor and Description |
---|
ShiftValidityStartDateOfChangeMasterFluentHelper(String servicePath,
String changeNumber,
LocalDateTime validityStartDate)
Creates a fluent helper object that will execute the ShiftValidityStartDateOfChangeMaster OData function
import with the provided parameters.
|
Modifier and Type | Method and Description |
---|---|
protected org.apache.http.client.methods.HttpUriRequest |
createRequest(URI uri) |
ChangeMaster |
execute(HttpDestinationProperties destination)
Deprecated.
Use the improved method
executeRequest(HttpDestinationProperties) instead. |
protected Class<ChangeMaster> |
getEntityClass() |
protected String |
getFunctionName() |
protected Map<String,Object> |
getParameters() |
protected com.google.gson.JsonElement |
refineJsonResponse(com.google.gson.JsonElement jsonElement) |
executeMultiple, executeRequest, executeSingle, getJsonResponseObjectName, toRequest
and, cachingMetadata, getHeaders, getHeadersForRequestAndImplicitRequests, getHeadersForRequestOnly, getParametersForRequestOnly, getServicePath, getThis, getVersionIdentifier, isCachingMetadata, onRequestAndImplicitRequests, onRequestOnly, withHeader, withHeaders, withoutCachingMetadata, withQueryParameter
public ShiftValidityStartDateOfChangeMasterFluentHelper(@Nonnull String servicePath, String changeNumber, LocalDateTime validityStartDate)
execute
method on the fluent
helper object.validityStartDate
- Valid From
Constraints: Nullable, Precision: 0
Original parameter name from the Odata EDM: ValidityStartDate
servicePath
- Service path to be used to call the functions against.changeNumber
- Change Number
Constraints: Not nullable, Maximum length: 12
Original parameter name from the Odata EDM: ChangeNumber
@Nonnull protected Class<ChangeMaster> getEntityClass()
getEntityClass
in class FluentHelperBasic<ShiftValidityStartDateOfChangeMasterFluentHelper,ChangeMaster,ChangeMaster>
@Nonnull protected String getFunctionName()
getFunctionName
in class FluentHelperFunction<ShiftValidityStartDateOfChangeMasterFluentHelper,ChangeMaster,ChangeMaster>
@Nullable protected com.google.gson.JsonElement refineJsonResponse(@Nullable com.google.gson.JsonElement jsonElement)
@Nonnull protected Map<String,Object> getParameters()
getParameters
in class FluentHelperFunction<ShiftValidityStartDateOfChangeMasterFluentHelper,ChangeMaster,ChangeMaster>
@Nonnull protected org.apache.http.client.methods.HttpUriRequest createRequest(@Nonnull URI uri)
createRequest
in class FluentHelperFunction<ShiftValidityStartDateOfChangeMasterFluentHelper,ChangeMaster,ChangeMaster>
@Deprecated @Nullable public ChangeMaster execute(@Nonnull HttpDestinationProperties destination) throws com.sap.cloud.sdk.odatav2.connectivity.ODataException
executeRequest(HttpDestinationProperties)
instead.execute
in class FluentHelperBasic<ShiftValidityStartDateOfChangeMasterFluentHelper,ChangeMaster,ChangeMaster>
com.sap.cloud.sdk.odatav2.connectivity.ODataException
Copyright © 2021 SAP SE. All rights reserved.