Class ChatServiceAsyncImpl
-
- All Implemented Interfaces:
-
dev.case.api.services.async.agent.v1.ChatServiceAsync
public final class ChatServiceAsyncImpl implements ChatServiceAsync
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classChatServiceAsyncImpl.WithRawResponseImpl
-
Method Summary
Modifier and Type Method Description ChatServiceAsync.WithRawResponsewithRawResponse()Returns a view of this service that provides access to raw HTTP responses for each method. ChatServiceAsyncwithOptions(Consumer<ClientOptions.Builder> modifier)Returns a view of this service with the given option modifications applied. CompletableFuture<ChatCreateResponse>create(ChatCreateParams params, RequestOptions requestOptions)CompletableFuture<ChatDeleteResponse>delete(ChatDeleteParams params, RequestOptions requestOptions)CompletableFuture<ChatCancelResponse>cancel(ChatCancelParams params, RequestOptions requestOptions)AsyncStreamResponse<String>respondStreaming(ChatRespondParams params, RequestOptions requestOptions)CompletableFuture<Void>sendMessage(ChatSendMessageParams params, RequestOptions requestOptions)AsyncStreamResponse<String>streamStreaming(ChatStreamParams params, RequestOptions requestOptions)-
Methods inherited from class dev.case.api.services.async.agent.v1.ChatServiceAsync
cancel, cancel, cancel, cancel, cancel, create, create, create, delete, delete, delete, delete, delete, respondStreaming, respondStreaming, respondStreaming, sendMessage, sendMessage, sendMessage, streamStreaming, streamStreaming, streamStreaming, streamStreaming, streamStreaming -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
withRawResponse
ChatServiceAsync.WithRawResponse withRawResponse()
Returns a view of this service that provides access to raw HTTP responses for each method.
-
withOptions
ChatServiceAsync withOptions(Consumer<ClientOptions.Builder> modifier)
Returns a view of this service with the given option modifications applied.
The original service is not modified.
-
create
CompletableFuture<ChatCreateResponse> create(ChatCreateParams params, RequestOptions requestOptions)
-
delete
CompletableFuture<ChatDeleteResponse> delete(ChatDeleteParams params, RequestOptions requestOptions)
-
cancel
CompletableFuture<ChatCancelResponse> cancel(ChatCancelParams params, RequestOptions requestOptions)
-
respondStreaming
AsyncStreamResponse<String> respondStreaming(ChatRespondParams params, RequestOptions requestOptions)
-
sendMessage
CompletableFuture<Void> sendMessage(ChatSendMessageParams params, RequestOptions requestOptions)
-
streamStreaming
AsyncStreamResponse<String> streamStreaming(ChatStreamParams params, RequestOptions requestOptions)
-
-
-
-