Interface MessageService.WithRawResponse
-
- All Implemented Interfaces:
public interface MessageService.WithRawResponseA view of MessageService that provides access to raw HTTP responses for each method.
-
-
Method Summary
Modifier and Type Method Description abstract MessageService.WithRawResponsewithOptions(Consumer<ClientOptions.Builder> modifier)Returns a view of this service with the given option modifications applied. HttpResponseFor<MessageListPage>list(String completionId)Returns a raw HTTP response for get /chat/completions/{completion_id}/messages, but is otherwise the same as MessageService.list.HttpResponseFor<MessageListPage>list(String completionId, MessageListParams params, RequestOptions requestOptions)HttpResponseFor<MessageListPage>list(String completionId, MessageListParams params)abstract HttpResponseFor<MessageListPage>list(MessageListParams params, RequestOptions requestOptions)HttpResponseFor<MessageListPage>list(MessageListParams params)HttpResponseFor<MessageListPage>list(String completionId, RequestOptions requestOptions)-
-
Method Detail
-
withOptions
abstract MessageService.WithRawResponse withOptions(Consumer<ClientOptions.Builder> modifier)
Returns a view of this service with the given option modifications applied.
The original service is not modified.
-
list
@MustBeClosed() HttpResponseFor<MessageListPage> list(String completionId)
Returns a raw HTTP response for
get /chat/completions/{completion_id}/messages, but is otherwise the same as MessageService.list.
-
list
@MustBeClosed() HttpResponseFor<MessageListPage> list(String completionId, MessageListParams params, RequestOptions requestOptions)
-
list
@MustBeClosed() HttpResponseFor<MessageListPage> list(String completionId, MessageListParams params)
-
list
@MustBeClosed() abstract HttpResponseFor<MessageListPage> list(MessageListParams params, RequestOptions requestOptions)
-
list
@MustBeClosed() HttpResponseFor<MessageListPage> list(MessageListParams params)
-
list
@MustBeClosed() HttpResponseFor<MessageListPage> list(String completionId, RequestOptions requestOptions)
-
-
-
-