Class MessageServiceAsyncImpl.WithRawResponseImpl
-
- All Implemented Interfaces:
-
com.openai.services.async.beta.threads.MessageServiceAsync.WithRawResponse
public final class MessageServiceAsyncImpl.WithRawResponseImpl implements MessageServiceAsync.WithRawResponse
-
-
Method Summary
Modifier and Type Method Description CompletableFuture<HttpResponseFor<Message>>
create(BetaThreadMessageCreateParams params, RequestOptions requestOptions)
Returns a raw HTTP response for post /threads/{thread_id}/messages
, but is otherwise the same as MessageServiceAsync.create.CompletableFuture<HttpResponseFor<Message>>
retrieve(BetaThreadMessageRetrieveParams params, RequestOptions requestOptions)
Returns a raw HTTP response for get /threads/{thread_id}/messages/{message_id}
, but is otherwise the same as MessageServiceAsync.retrieve.CompletableFuture<HttpResponseFor<Message>>
update(BetaThreadMessageUpdateParams params, RequestOptions requestOptions)
Returns a raw HTTP response for post /threads/{thread_id}/messages/{message_id}
, but is otherwise the same as MessageServiceAsync.update.CompletableFuture<HttpResponseFor<BetaThreadMessageListPageAsync>>
list(BetaThreadMessageListParams params, RequestOptions requestOptions)
Returns a raw HTTP response for get /threads/{thread_id}/messages
, but is otherwise the same as MessageServiceAsync.list.CompletableFuture<HttpResponseFor<MessageDeleted>>
delete(BetaThreadMessageDeleteParams params, RequestOptions requestOptions)
Returns a raw HTTP response for delete /threads/{thread_id}/messages/{message_id}
, but is otherwise the same as MessageServiceAsync.delete.-
-
Method Detail
-
create
CompletableFuture<HttpResponseFor<Message>> create(BetaThreadMessageCreateParams params, RequestOptions requestOptions)
Returns a raw HTTP response for
post /threads/{thread_id}/messages
, but is otherwise the same as MessageServiceAsync.create.
-
retrieve
CompletableFuture<HttpResponseFor<Message>> retrieve(BetaThreadMessageRetrieveParams params, RequestOptions requestOptions)
Returns a raw HTTP response for
get /threads/{thread_id}/messages/{message_id}
, but is otherwise the same as MessageServiceAsync.retrieve.
-
update
CompletableFuture<HttpResponseFor<Message>> update(BetaThreadMessageUpdateParams params, RequestOptions requestOptions)
Returns a raw HTTP response for
post /threads/{thread_id}/messages/{message_id}
, but is otherwise the same as MessageServiceAsync.update.
-
list
CompletableFuture<HttpResponseFor<BetaThreadMessageListPageAsync>> list(BetaThreadMessageListParams params, RequestOptions requestOptions)
Returns a raw HTTP response for
get /threads/{thread_id}/messages
, but is otherwise the same as MessageServiceAsync.list.
-
delete
CompletableFuture<HttpResponseFor<MessageDeleted>> delete(BetaThreadMessageDeleteParams params, RequestOptions requestOptions)
Returns a raw HTTP response for
delete /threads/{thread_id}/messages/{message_id}
, but is otherwise the same as MessageServiceAsync.delete.
-
-
-
-