Class MessageServiceImpl
-
- All Implemented Interfaces:
-
com.openai.services.blocking.beta.threads.MessageService
@Deprecated(message = "The Assistants API is deprecated in favor of the Responses API") public final class MessageServiceImpl implements MessageService
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final class
MessageServiceImpl.WithRawResponseImpl
-
Method Summary
Modifier and Type Method Description MessageService.WithRawResponse
withRawResponse()
Returns a view of this service that provides access to raw HTTP responses for each method. MessageService
withOptions(Consumer<ClientOptions.Builder> modifier)
Returns a view of this service with the given option modifications applied. Message
create(MessageCreateParams params, RequestOptions requestOptions)
Message
retrieve(MessageRetrieveParams params, RequestOptions requestOptions)
Message
update(MessageUpdateParams params, RequestOptions requestOptions)
MessageListPage
list(MessageListParams params, RequestOptions requestOptions)
MessageDeleted
delete(MessageDeleteParams params, RequestOptions requestOptions)
-
Methods inherited from class com.openai.services.blocking.beta.threads.MessageService
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
MessageService.WithRawResponse withRawResponse()
Returns a view of this service that provides access to raw HTTP responses for each method.
-
withOptions
MessageService 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") Message create(MessageCreateParams params, RequestOptions requestOptions)
-
retrieve
@Deprecated(message = "The Assistants API is deprecated in favor of the Responses API") Message retrieve(MessageRetrieveParams params, RequestOptions requestOptions)
-
update
@Deprecated(message = "The Assistants API is deprecated in favor of the Responses API") Message update(MessageUpdateParams params, RequestOptions requestOptions)
-
list
@Deprecated(message = "The Assistants API is deprecated in favor of the Responses API") MessageListPage list(MessageListParams params, RequestOptions requestOptions)
-
delete
@Deprecated(message = "The Assistants API is deprecated in favor of the Responses API") MessageDeleted delete(MessageDeleteParams params, RequestOptions requestOptions)
-
-
-
-