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 HttpResponseFor<Message>
create(MessageCreateParams params)
Returns a raw HTTP response for post /threads/{thread_id}/messages
, but is otherwise the same as MessageService.create.abstract HttpResponseFor<Message>
create(MessageCreateParams params, RequestOptions requestOptions)
HttpResponseFor<Message>
retrieve(MessageRetrieveParams 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>
retrieve(MessageRetrieveParams params, RequestOptions requestOptions)
HttpResponseFor<Message>
update(MessageUpdateParams params)
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(MessageUpdateParams params, RequestOptions requestOptions)
HttpResponseFor<MessageListPage>
list(MessageListParams params)
Returns a raw HTTP response for get /threads/{thread_id}/messages
, but is otherwise the same as MessageService.list.abstract HttpResponseFor<MessageListPage>
list(MessageListParams params, RequestOptions requestOptions)
HttpResponseFor<MessageDeleted>
delete(MessageDeleteParams params)
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(MessageDeleteParams params, RequestOptions requestOptions)
-
-
Method Detail
-
create
@MustBeClosed() HttpResponseFor<Message> create(MessageCreateParams params)
Returns a raw HTTP response for
post /threads/{thread_id}/messages
, but is otherwise the same as MessageService.create.
-
create
@MustBeClosed() abstract HttpResponseFor<Message> create(MessageCreateParams params, RequestOptions requestOptions)
-
retrieve
@MustBeClosed() HttpResponseFor<Message> retrieve(MessageRetrieveParams params)
Returns a raw HTTP response for
get /threads/{thread_id}/messages/{message_id}
, but is otherwise the same as MessageService.retrieve.
-
retrieve
@MustBeClosed() abstract HttpResponseFor<Message> retrieve(MessageRetrieveParams params, RequestOptions requestOptions)
-
update
@MustBeClosed() HttpResponseFor<Message> update(MessageUpdateParams params)
Returns a raw HTTP response for
post /threads/{thread_id}/messages/{message_id}
, but is otherwise the same as MessageService.update.
-
update
@MustBeClosed() abstract HttpResponseFor<Message> update(MessageUpdateParams params, RequestOptions requestOptions)
-
list
@MustBeClosed() HttpResponseFor<MessageListPage> list(MessageListParams params)
Returns a raw HTTP response for
get /threads/{thread_id}/messages
, but is otherwise the same as MessageService.list.
-
list
@MustBeClosed() abstract HttpResponseFor<MessageListPage> list(MessageListParams params, RequestOptions requestOptions)
-
delete
@MustBeClosed() HttpResponseFor<MessageDeleted> delete(MessageDeleteParams params)
Returns a raw HTTP response for
delete /threads/{thread_id}/messages/{message_id}
, but is otherwise the same as MessageService.delete.
-
delete
@MustBeClosed() abstract HttpResponseFor<MessageDeleted> delete(MessageDeleteParams params, RequestOptions requestOptions)
-
-
-
-