Interface TranslationService.WithRawResponse
-
- All Implemented Interfaces:
public interface TranslationService.WithRawResponse
A view of TranslationService that provides access to raw HTTP responses for each method.
-
-
Method Summary
Modifier and Type Method Description abstract TranslationService.WithRawResponse
withOptions(Consumer<ClientOptions.Builder> modifier)
Returns a view of this service with the given option modifications applied. HttpResponseFor<TranslationCreateResponse>
create(TranslationCreateParams params)
Returns a raw HTTP response for post /audio/translations
, but is otherwise the same as TranslationService.create.abstract HttpResponseFor<TranslationCreateResponse>
create(TranslationCreateParams params, RequestOptions requestOptions)
-
-
Method Detail
-
withOptions
abstract TranslationService.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
@MustBeClosed() HttpResponseFor<TranslationCreateResponse> create(TranslationCreateParams params)
Returns a raw HTTP response for
post /audio/translations
, but is otherwise the same as TranslationService.create.
-
create
@MustBeClosed() abstract HttpResponseFor<TranslationCreateResponse> create(TranslationCreateParams params, RequestOptions requestOptions)
-
-
-
-