Package com.courier.services.async
Interface TranslationServiceAsync
-
- All Implemented Interfaces:
public interface TranslationServiceAsync
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public interfaceTranslationServiceAsync.WithRawResponseA view of TranslationServiceAsync that provides access to raw HTTP responses for each method.
-
Method Summary
-
-
Method Detail
-
withRawResponse
abstract TranslationServiceAsync.WithRawResponse withRawResponse()
Returns a view of this service that provides access to raw HTTP responses for each method.
-
withOptions
abstract TranslationServiceAsync withOptions(Consumer<ClientOptions.Builder> modifier)
Returns a view of this service with the given option modifications applied.
The original service is not modified.
-
retrieve
CompletableFuture<String> retrieve(String locale, TranslationRetrieveParams params)
Get translations by locale
-
retrieve
CompletableFuture<String> retrieve(String locale, TranslationRetrieveParams params, RequestOptions requestOptions)
-
retrieve
CompletableFuture<String> retrieve(TranslationRetrieveParams params)
-
retrieve
abstract CompletableFuture<String> retrieve(TranslationRetrieveParams params, RequestOptions requestOptions)
-
update
CompletableFuture<Void> update(String locale, TranslationUpdateParams params)
Update a translation
-
update
CompletableFuture<Void> update(String locale, TranslationUpdateParams params, RequestOptions requestOptions)
-
update
CompletableFuture<Void> update(TranslationUpdateParams params)
-
update
abstract CompletableFuture<Void> update(TranslationUpdateParams params, RequestOptions requestOptions)
-
-
-
-