Class AbstractOpenApiService

java.lang.Object
com.sap.cloud.sdk.services.openapi.core.AbstractOpenApiService
All Implemented Interfaces:
OpenApiService

public abstract class AbstractOpenApiService extends Object implements OpenApiService
Represents an OpenAPI API
  • Field Details

    • apiClient

      protected ApiClient apiClient
      The instance of ApiClient the concrete API class uses to conduct HTTP commmunication.
  • Constructor Details

    • AbstractOpenApiService

      protected AbstractOpenApiService(@Nonnull Destination destination)
      Expects the Destination instance to create the ApiClient from it.
      Parameters:
      destination - The destination which is used to derive the connection details of the target system from.
    • AbstractOpenApiService

      protected AbstractOpenApiService(@Nonnull ApiClient apiClient)
      Constructor for the AbstractOpenApiService.
      Parameters:
      apiClient - The ApiClient that should be used to perform HTTP requests against this AbstractOpenApiService.