Package com.openai.services.async.audio
Class TranslationServiceAsyncImpl
-
- All Implemented Interfaces:
-
com.openai.services.async.audio.TranslationServiceAsync
public final class TranslationServiceAsyncImpl implements TranslationServiceAsync
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final class
TranslationServiceAsyncImpl.WithRawResponseImpl
-
Method Summary
Modifier and Type Method Description TranslationServiceAsync.WithRawResponse
withRawResponse()
Returns a view of this service that provides access to raw HTTP responses for each method. TranslationServiceAsync
withOptions(Consumer<ClientOptions.Builder> modifier)
Returns a view of this service with the given option modifications applied. CompletableFuture<TranslationCreateResponse>
create(TranslationCreateParams params, RequestOptions requestOptions)
-
-
Method Detail
-
withRawResponse
TranslationServiceAsync.WithRawResponse withRawResponse()
Returns a view of this service that provides access to raw HTTP responses for each method.
-
withOptions
TranslationServiceAsync 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<TranslationCreateResponse> create(TranslationCreateParams params, RequestOptions requestOptions)
-
-
-
-