Class GetAttachmentLinksFluentHelper
java.lang.Object
com.sap.cloud.sdk.datamodel.odata.helper.FluentHelperBasic<FluentHelperT,ObjectT,ResultT>
com.sap.cloud.sdk.datamodel.odata.helper.FluentHelperFunction<FluentHelperT,ObjectT,ResultT>
com.sap.cloud.sdk.datamodel.odata.helper.CollectionValuedFluentHelperFunction<GetAttachmentLinksFluentHelper,AttachmentLink,List<AttachmentLink>>
com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.jointventurebilling.GetAttachmentLinksFluentHelper
- All Implemented Interfaces:
FluentHelperExecutable<Object>
public class GetAttachmentLinksFluentHelper
extends CollectionValuedFluentHelperFunction<GetAttachmentLinksFluentHelper,AttachmentLink,List<AttachmentLink>>
Fluent helper for the GetAttachmentLinks OData function import.
-
Field Summary
Fields inherited from class com.sap.cloud.sdk.datamodel.odata.helper.FluentHelperBasic
csrfTokenRetriever, entityCollection -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected org.apache.http.client.methods.HttpUriRequestcreateRequest(URI uri) executeRequest(HttpDestinationProperties destination) Execute this function import.protected Class<AttachmentLink>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
-
GetAttachmentLinksFluentHelper
public GetAttachmentLinksFluentHelper(@Nonnull String servicePath, @Nonnull String companyCode, @Nonnull String fiscalYear, @Nonnull String fiscalPeriod, @Nullable String jointVenturePartner) Creates a fluent helper object that will execute the GetAttachmentLinks OData function import with the provided parameters. To perform execution, call theexecuteRequestmethod on the fluent helper object.- Parameters:
companyCode- Constraints: Not nullable, Maximum length: 4Original parameter name from the Odata EDM: CompanyCode
servicePath- Service path to be used to call the functions against.fiscalPeriod- Constraints: Not nullable, Maximum length: 3Original parameter name from the Odata EDM: FiscalPeriod
fiscalYear- Constraints: Not nullable, Maximum length: 4Original parameter name from the Odata EDM: FiscalYear
jointVenturePartner- Constraints: Nullable, Maximum length: 10Original parameter name from the Odata EDM: JointVenturePartner
-
-
Method Details
-
getEntityClass
- Specified by:
getEntityClassin classFluentHelperBasic<GetAttachmentLinksFluentHelper,AttachmentLink, List<AttachmentLink>>
-
getFunctionName
- Specified by:
getFunctionNamein classFluentHelperFunction<GetAttachmentLinksFluentHelper,AttachmentLink, List<AttachmentLink>>
-
refineJsonResponse
@Nullable protected com.google.gson.JsonElement refineJsonResponse(@Nullable com.google.gson.JsonElement jsonElement) - Overrides:
refineJsonResponsein classFluentHelperFunction<GetAttachmentLinksFluentHelper,AttachmentLink, List<AttachmentLink>>
-
getParameters
- Specified by:
getParametersin classFluentHelperFunction<GetAttachmentLinksFluentHelper,AttachmentLink, List<AttachmentLink>>
-
createRequest
- Specified by:
createRequestin classFluentHelperFunction<GetAttachmentLinksFluentHelper,AttachmentLink, List<AttachmentLink>>
-
executeRequest
Execute this function import.- Specified by:
executeRequestin interfaceFluentHelperExecutable<Object>- Specified by:
executeRequestin classFluentHelperBasic<GetAttachmentLinksFluentHelper,AttachmentLink, List<AttachmentLink>>
-