Interface MessageServiceAsync.WithRawResponse
-
- All Implemented Interfaces:
public interface MessageServiceAsync.WithRawResponse
A view of MessageServiceAsync that provides access to raw HTTP responses for each method.
-
-
Method Summary
-
-
Method Detail
-
create
@MustBeClosed() CompletableFuture<HttpResponseFor<Message>> create(MessageCreateParams params)
Returns a raw HTTP response for
post /threads/{thread_id}/messages
, but is otherwise the same as MessageServiceAsync.create.
-
create
@MustBeClosed() abstract CompletableFuture<HttpResponseFor<Message>> create(MessageCreateParams params, RequestOptions requestOptions)
-
retrieve
@MustBeClosed() CompletableFuture<HttpResponseFor<Message>> retrieve(MessageRetrieveParams params)
Returns a raw HTTP response for
get /threads/{thread_id}/messages/{message_id}
, but is otherwise the same as MessageServiceAsync.retrieve.
-
retrieve
@MustBeClosed() abstract CompletableFuture<HttpResponseFor<Message>> retrieve(MessageRetrieveParams params, RequestOptions requestOptions)
-
update
@MustBeClosed() CompletableFuture<HttpResponseFor<Message>> update(MessageUpdateParams params)
Returns a raw HTTP response for
post /threads/{thread_id}/messages/{message_id}
, but is otherwise the same as MessageServiceAsync.update.
-
update
@MustBeClosed() abstract CompletableFuture<HttpResponseFor<Message>> update(MessageUpdateParams params, RequestOptions requestOptions)
-
list
@MustBeClosed() CompletableFuture<HttpResponseFor<MessageListPageAsync>> list(MessageListParams params)
Returns a raw HTTP response for
get /threads/{thread_id}/messages
, but is otherwise the same as MessageServiceAsync.list.
-
list
@MustBeClosed() abstract CompletableFuture<HttpResponseFor<MessageListPageAsync>> list(MessageListParams params, RequestOptions requestOptions)
-
delete
@MustBeClosed() CompletableFuture<HttpResponseFor<MessageDeleted>> delete(MessageDeleteParams params)
Returns a raw HTTP response for
delete /threads/{thread_id}/messages/{message_id}
, but is otherwise the same as MessageServiceAsync.delete.
-
delete
@MustBeClosed() abstract CompletableFuture<HttpResponseFor<MessageDeleted>> delete(MessageDeleteParams params, RequestOptions requestOptions)
-
-
-
-