Package com.courier.services.blocking
Interface JourneyService
-
- All Implemented Interfaces:
public interface JourneyService
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public interfaceJourneyService.WithRawResponseA view of JourneyService that provides access to raw HTTP responses for each method.
-
Method Summary
Modifier and Type Method Description abstract JourneyService.WithRawResponsewithRawResponse()Returns a view of this service that provides access to raw HTTP responses for each method. abstract JourneyServicewithOptions(Consumer<ClientOptions.Builder> modifier)Returns a view of this service with the given option modifications applied. JourneysListResponselist()Get the list of journeys. abstract JourneysListResponselist(JourneyListParams params, RequestOptions requestOptions)JourneysListResponselist(JourneyListParams params)JourneysListResponselist(RequestOptions requestOptions)JourneysInvokeResponseinvoke(String templateId, JourneyInvokeParams params)Invoke a journey run from a journey template. JourneysInvokeResponseinvoke(String templateId, JourneyInvokeParams params, RequestOptions requestOptions)JourneysInvokeResponseinvoke(JourneyInvokeParams params)abstract JourneysInvokeResponseinvoke(JourneyInvokeParams params, RequestOptions requestOptions)-
-
Method Detail
-
withRawResponse
abstract JourneyService.WithRawResponse withRawResponse()
Returns a view of this service that provides access to raw HTTP responses for each method.
-
withOptions
abstract JourneyService withOptions(Consumer<ClientOptions.Builder> modifier)
Returns a view of this service with the given option modifications applied.
The original service is not modified.
-
list
JourneysListResponse list()
Get the list of journeys.
-
list
abstract JourneysListResponse list(JourneyListParams params, RequestOptions requestOptions)
-
list
JourneysListResponse list(JourneyListParams params)
-
list
JourneysListResponse list(RequestOptions requestOptions)
-
invoke
JourneysInvokeResponse invoke(String templateId, JourneyInvokeParams params)
Invoke a journey run from a journey template.
-
invoke
JourneysInvokeResponse invoke(String templateId, JourneyInvokeParams params, RequestOptions requestOptions)
-
invoke
JourneysInvokeResponse invoke(JourneyInvokeParams params)
-
invoke
abstract JourneysInvokeResponse invoke(JourneyInvokeParams params, RequestOptions requestOptions)
-
-
-
-