Class ItemServiceAsyncImpl
-
- All Implemented Interfaces:
-
com.openai.services.async.conversations.ItemServiceAsync
public final class ItemServiceAsyncImpl implements ItemServiceAsync
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final class
ItemServiceAsyncImpl.WithRawResponseImpl
-
Method Summary
Modifier and Type Method Description ItemServiceAsync.WithRawResponse
withRawResponse()
Returns a view of this service that provides access to raw HTTP responses for each method. ItemServiceAsync
withOptions(Consumer<ClientOptions.Builder> modifier)
Returns a view of this service with the given option modifications applied. CompletableFuture<ConversationItemList>
create(ItemCreateParams params, RequestOptions requestOptions)
CompletableFuture<ConversationItem>
retrieve(ItemRetrieveParams params, RequestOptions requestOptions)
CompletableFuture<ItemListPageAsync>
list(ItemListParams params, RequestOptions requestOptions)
CompletableFuture<Conversation>
delete(ItemDeleteParams params, RequestOptions requestOptions)
-
Methods inherited from class com.openai.services.async.conversations.ItemServiceAsync
create, create, create, delete, delete, delete, list, list, list, list, list, retrieve, retrieve, retrieve
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
withRawResponse
ItemServiceAsync.WithRawResponse withRawResponse()
Returns a view of this service that provides access to raw HTTP responses for each method.
-
withOptions
ItemServiceAsync 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<ConversationItemList> create(ItemCreateParams params, RequestOptions requestOptions)
-
retrieve
CompletableFuture<ConversationItem> retrieve(ItemRetrieveParams params, RequestOptions requestOptions)
-
list
CompletableFuture<ItemListPageAsync> list(ItemListParams params, RequestOptions requestOptions)
-
delete
CompletableFuture<Conversation> delete(ItemDeleteParams params, RequestOptions requestOptions)
-
-
-
-