Class TranslationServiceImpl
-
- All Implemented Interfaces:
-
com.openai.services.blocking.audio.TranslationService
public final class TranslationServiceImpl implements TranslationService
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final class
TranslationServiceImpl.WithRawResponseImpl
-
Method Summary
Modifier and Type Method Description TranslationService.WithRawResponse
withRawResponse()
Returns a view of this service that provides access to raw HTTP responses for each method. TranslationService
withOptions(Consumer<ClientOptions.Builder> modifier)
Returns a view of this service with the given option modifications applied. TranslationCreateResponse
create(TranslationCreateParams params, RequestOptions requestOptions)
-
-
Method Detail
-
withRawResponse
TranslationService.WithRawResponse withRawResponse()
Returns a view of this service that provides access to raw HTTP responses for each method.
-
withOptions
TranslationService withOptions(Consumer<ClientOptions.Builder> modifier)
Returns a view of this service with the given option modifications applied.
The original service is not modified.
-
create
TranslationCreateResponse create(TranslationCreateParams params, RequestOptions requestOptions)
-
-
-
-