Package com.anthropic.services.async
Class ModelServiceAsyncImpl.WithRawResponseImpl
-
- All Implemented Interfaces:
-
com.anthropic.services.async.ModelServiceAsync.WithRawResponse
public final class ModelServiceAsyncImpl.WithRawResponseImpl implements ModelServiceAsync.WithRawResponse
-
-
Method Summary
Modifier and Type Method Description ModelServiceAsync.WithRawResponsewithOptions(Consumer<ClientOptions.Builder> modifier)Returns a view of this service with the given option modifications applied. CompletableFuture<HttpResponseFor<ModelInfo>>retrieve(ModelRetrieveParams params, RequestOptions requestOptions)CompletableFuture<HttpResponseFor<ModelListPageAsync>>list(ModelListParams params, RequestOptions requestOptions)-
-
Method Detail
-
withOptions
ModelServiceAsync.WithRawResponse withOptions(Consumer<ClientOptions.Builder> modifier)
Returns a view of this service with the given option modifications applied.
The original service is not modified.
-
retrieve
CompletableFuture<HttpResponseFor<ModelInfo>> retrieve(ModelRetrieveParams params, RequestOptions requestOptions)
-
list
CompletableFuture<HttpResponseFor<ModelListPageAsync>> list(ModelListParams params, RequestOptions requestOptions)
-
-
-
-