Class MessageServiceAsyncImpl
-
- All Implemented Interfaces:
-
com.openai.services.async.beta.threads.MessageServiceAsync
@Deprecated(message = "The Assistants API is deprecated in favor of the Responses API") public final class MessageServiceAsyncImpl implements MessageServiceAsync
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classMessageServiceAsyncImpl.WithRawResponseImpl
-
Method Summary
Modifier and Type Method Description MessageServiceAsync.WithRawResponsewithRawResponse()Returns a view of this service that provides access to raw HTTP responses for each method. MessageServiceAsyncwithOptions(Consumer<ClientOptions.Builder> modifier)Returns a view of this service with the given option modifications applied. CompletableFuture<Message>create(MessageCreateParams params, RequestOptions requestOptions)CompletableFuture<Message>retrieve(MessageRetrieveParams params, RequestOptions requestOptions)CompletableFuture<Message>update(MessageUpdateParams params, RequestOptions requestOptions)CompletableFuture<MessageListPageAsync>list(MessageListParams params, RequestOptions requestOptions)CompletableFuture<MessageDeleted>delete(MessageDeleteParams params, RequestOptions requestOptions)-
Methods inherited from class com.openai.services.async.beta.threads.MessageServiceAsync
create, create, create, delete, delete, delete, list, list, list, list, list, retrieve, retrieve, retrieve, update, update, update -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
withRawResponse
MessageServiceAsync.WithRawResponse withRawResponse()
Returns a view of this service that provides access to raw HTTP responses for each method.
-
withOptions
MessageServiceAsync withOptions(Consumer<ClientOptions.Builder> modifier)
Returns a view of this service with the given option modifications applied.
The original service is not modified.
-
create
@Deprecated(message = "The Assistants API is deprecated in favor of the Responses API") CompletableFuture<Message> create(MessageCreateParams params, RequestOptions requestOptions)
-
retrieve
@Deprecated(message = "The Assistants API is deprecated in favor of the Responses API") CompletableFuture<Message> retrieve(MessageRetrieveParams params, RequestOptions requestOptions)
-
update
@Deprecated(message = "The Assistants API is deprecated in favor of the Responses API") CompletableFuture<Message> update(MessageUpdateParams params, RequestOptions requestOptions)
-
list
@Deprecated(message = "The Assistants API is deprecated in favor of the Responses API") CompletableFuture<MessageListPageAsync> list(MessageListParams params, RequestOptions requestOptions)
-
delete
@Deprecated(message = "The Assistants API is deprecated in favor of the Responses API") CompletableFuture<MessageDeleted> delete(MessageDeleteParams params, RequestOptions requestOptions)
-
-
-
-