Class InvokeServiceAsyncImpl
-
- All Implemented Interfaces:
-
com.courier.services.async.automations.InvokeServiceAsync
public final class InvokeServiceAsyncImpl implements InvokeServiceAsync
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classInvokeServiceAsyncImpl.WithRawResponseImpl
-
Method Summary
Modifier and Type Method Description InvokeServiceAsync.WithRawResponsewithRawResponse()Returns a view of this service that provides access to raw HTTP responses for each method. InvokeServiceAsyncwithOptions(Consumer<ClientOptions.Builder> modifier)Returns a view of this service with the given option modifications applied. CompletableFuture<AutomationInvokeResponse>invokeAdHoc(InvokeInvokeAdHocParams params, RequestOptions requestOptions)CompletableFuture<AutomationInvokeResponse>invokeByTemplate(InvokeInvokeByTemplateParams params, RequestOptions requestOptions)-
-
Method Detail
-
withRawResponse
InvokeServiceAsync.WithRawResponse withRawResponse()
Returns a view of this service that provides access to raw HTTP responses for each method.
-
withOptions
InvokeServiceAsync withOptions(Consumer<ClientOptions.Builder> modifier)
Returns a view of this service with the given option modifications applied.
The original service is not modified.
-
invokeAdHoc
CompletableFuture<AutomationInvokeResponse> invokeAdHoc(InvokeInvokeAdHocParams params, RequestOptions requestOptions)
-
invokeByTemplate
CompletableFuture<AutomationInvokeResponse> invokeByTemplate(InvokeInvokeByTemplateParams params, RequestOptions requestOptions)
-
-
-
-