Interface MessageService.WithRawResponse
-
- All Implemented Interfaces:
public interface MessageService.WithRawResponse
A view of MessageService that provides access to raw HTTP responses for each method.
-
-
Method Summary
Modifier and Type Method Description abstract HttpResponseFor<Message>
create(BetaThreadMessageCreateParams params, RequestOptions requestOptions)
Returns a raw HTTP response for post /threads/{thread_id}/messages
, but is otherwise the same as MessageService.create.abstract HttpResponseFor<Message>
create(BetaThreadMessageCreateParams params)
Returns a raw HTTP response for post /threads/{thread_id}/messages
, but is otherwise the same as MessageService.create.abstract 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 MessageService.retrieve.abstract HttpResponseFor<Message>
retrieve(BetaThreadMessageRetrieveParams params)
Returns a raw HTTP response for get /threads/{thread_id}/messages/{message_id}
, but is otherwise the same as MessageService.retrieve.abstract 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 MessageService.update.abstract HttpResponseFor<Message>
update(BetaThreadMessageUpdateParams params)
Returns a raw HTTP response for post /threads/{thread_id}/messages/{message_id}
, but is otherwise the same as MessageService.update.abstract HttpResponseFor<BetaThreadMessageListPage>
list(BetaThreadMessageListParams params, RequestOptions requestOptions)
Returns a raw HTTP response for get /threads/{thread_id}/messages
, but is otherwise the same as MessageService.list.abstract HttpResponseFor<BetaThreadMessageListPage>
list(BetaThreadMessageListParams params)
Returns a raw HTTP response for get /threads/{thread_id}/messages
, but is otherwise the same as MessageService.list.abstract 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 MessageService.delete.abstract HttpResponseFor<MessageDeleted>
delete(BetaThreadMessageDeleteParams params)
Returns a raw HTTP response for delete /threads/{thread_id}/messages/{message_id}
, but is otherwise the same as MessageService.delete.-
-
Method Detail
-
create
abstract HttpResponseFor<Message> create(BetaThreadMessageCreateParams params, RequestOptions requestOptions)
Returns a raw HTTP response for
post /threads/{thread_id}/messages
, but is otherwise the same as MessageService.create.
-
create
abstract HttpResponseFor<Message> create(BetaThreadMessageCreateParams params)
Returns a raw HTTP response for
post /threads/{thread_id}/messages
, but is otherwise the same as MessageService.create.
-
retrieve
abstract 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 MessageService.retrieve.
-
retrieve
abstract HttpResponseFor<Message> retrieve(BetaThreadMessageRetrieveParams params)
Returns a raw HTTP response for
get /threads/{thread_id}/messages/{message_id}
, but is otherwise the same as MessageService.retrieve.
-
update
abstract 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 MessageService.update.
-
update
abstract HttpResponseFor<Message> update(BetaThreadMessageUpdateParams params)
Returns a raw HTTP response for
post /threads/{thread_id}/messages/{message_id}
, but is otherwise the same as MessageService.update.
-
list
abstract HttpResponseFor<BetaThreadMessageListPage> list(BetaThreadMessageListParams params, RequestOptions requestOptions)
Returns a raw HTTP response for
get /threads/{thread_id}/messages
, but is otherwise the same as MessageService.list.
-
list
abstract HttpResponseFor<BetaThreadMessageListPage> list(BetaThreadMessageListParams params)
Returns a raw HTTP response for
get /threads/{thread_id}/messages
, but is otherwise the same as MessageService.list.
-
delete
abstract 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 MessageService.delete.
-
delete
abstract HttpResponseFor<MessageDeleted> delete(BetaThreadMessageDeleteParams params)
Returns a raw HTTP response for
delete /threads/{thread_id}/messages/{message_id}
, but is otherwise the same as MessageService.delete.
-
-
-
-