Interface TranslationService
-
- All Implemented Interfaces:
public interface TranslationService
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public interfaceTranslationService.WithRawResponseA view of TranslationService that provides access to raw HTTP responses for each method.
-
Method Summary
Modifier and Type Method Description abstract TranslationService.WithRawResponsewithRawResponse()Returns a view of this service that provides access to raw HTTP responses for each method. abstract AudioTranslationCreateResponsecreate(AudioTranslationCreateParams params, RequestOptions requestOptions)Translates audio into English. abstract AudioTranslationCreateResponsecreate(AudioTranslationCreateParams params)Translates audio into English. -
-
Method Detail
-
withRawResponse
abstract TranslationService.WithRawResponse withRawResponse()
Returns a view of this service that provides access to raw HTTP responses for each method.
-
create
abstract AudioTranslationCreateResponse create(AudioTranslationCreateParams params, RequestOptions requestOptions)
Translates audio into English.
-
create
abstract AudioTranslationCreateResponse create(AudioTranslationCreateParams params)
Translates audio into English.
-
-
-
-