Interface PromptServiceAsync.WithRawResponse
-
- All Implemented Interfaces:
public interface PromptServiceAsync.WithRawResponseA view of PromptServiceAsync that provides access to raw HTTP responses for each method.
-
-
Method Summary
-
-
Method Detail
-
create
@MustBeClosed() CompletableFuture<HttpResponseFor<Prompt>> create(PromptCreateParams params)
Returns a raw HTTP response for
post /v1/prompt, but is otherwise the same as PromptServiceAsync.create.
-
create
@MustBeClosed() abstract CompletableFuture<HttpResponseFor<Prompt>> create(PromptCreateParams params, RequestOptions requestOptions)
-
retrieve
@MustBeClosed() CompletableFuture<HttpResponseFor<Prompt>> retrieve(PromptRetrieveParams params)
Returns a raw HTTP response for
get /v1/prompt/{prompt_id}, but is otherwise the same as PromptServiceAsync.retrieve.
-
retrieve
@MustBeClosed() abstract CompletableFuture<HttpResponseFor<Prompt>> retrieve(PromptRetrieveParams params, RequestOptions requestOptions)
-
update
@MustBeClosed() CompletableFuture<HttpResponseFor<Prompt>> update(PromptUpdateParams params)
Returns a raw HTTP response for
patch /v1/prompt/{prompt_id}, but is otherwise the same as PromptServiceAsync.update.
-
update
@MustBeClosed() abstract CompletableFuture<HttpResponseFor<Prompt>> update(PromptUpdateParams params, RequestOptions requestOptions)
-
list
@MustBeClosed() CompletableFuture<HttpResponseFor<PromptListPageAsync>> list()
Returns a raw HTTP response for
get /v1/prompt, but is otherwise the same as PromptServiceAsync.list.
-
list
@MustBeClosed() abstract CompletableFuture<HttpResponseFor<PromptListPageAsync>> list(PromptListParams params, RequestOptions requestOptions)
-
list
@MustBeClosed() CompletableFuture<HttpResponseFor<PromptListPageAsync>> list(PromptListParams params)
-
list
@MustBeClosed() CompletableFuture<HttpResponseFor<PromptListPageAsync>> list(RequestOptions requestOptions)
-
delete
@MustBeClosed() CompletableFuture<HttpResponseFor<Prompt>> delete(PromptDeleteParams params)
Returns a raw HTTP response for
delete /v1/prompt/{prompt_id}, but is otherwise the same as PromptServiceAsync.delete.
-
delete
@MustBeClosed() abstract CompletableFuture<HttpResponseFor<Prompt>> delete(PromptDeleteParams params, RequestOptions requestOptions)
-
replace
@MustBeClosed() CompletableFuture<HttpResponseFor<Prompt>> replace(PromptReplaceParams params)
Returns a raw HTTP response for
put /v1/prompt, but is otherwise the same as PromptServiceAsync.replace.
-
replace
@MustBeClosed() abstract CompletableFuture<HttpResponseFor<Prompt>> replace(PromptReplaceParams params, RequestOptions requestOptions)
-
-
-
-