Package com.openai.services.async.audio
Interface TranslationServiceAsync.WithRawResponse
-
- All Implemented Interfaces:
public interface TranslationServiceAsync.WithRawResponseA view of TranslationServiceAsync that provides access to raw HTTP responses for each method.
-
-
Method Summary
Modifier and Type Method Description abstract TranslationServiceAsync.WithRawResponsewithOptions(Consumer<ClientOptions.Builder> modifier)Returns a view of this service with the given option modifications applied. CompletableFuture<HttpResponseFor<TranslationCreateResponse>>create(TranslationCreateParams params)Returns a raw HTTP response for post /audio/translations, but is otherwise the same as TranslationServiceAsync.create.abstract CompletableFuture<HttpResponseFor<TranslationCreateResponse>>create(TranslationCreateParams params, RequestOptions requestOptions)-
-
Method Detail
-
withOptions
abstract TranslationServiceAsync.WithRawResponse withOptions(Consumer<ClientOptions.Builder> modifier)
Returns a view of this service with the given option modifications applied.
The original service is not modified.
-
create
CompletableFuture<HttpResponseFor<TranslationCreateResponse>> create(TranslationCreateParams params)
Returns a raw HTTP response for
post /audio/translations, but is otherwise the same as TranslationServiceAsync.create.
-
create
abstract CompletableFuture<HttpResponseFor<TranslationCreateResponse>> create(TranslationCreateParams params, RequestOptions requestOptions)
-
-
-
-