Package com.openai.services.async.skills
Interface ContentServiceAsync
-
- All Implemented Interfaces:
public interface ContentServiceAsync
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public interfaceContentServiceAsync.WithRawResponseA view of ContentServiceAsync that provides access to raw HTTP responses for each method.
-
Method Summary
Modifier and Type Method Description abstract ContentServiceAsync.WithRawResponsewithRawResponse()Returns a view of this service that provides access to raw HTTP responses for each method. abstract ContentServiceAsyncwithOptions(Consumer<ClientOptions.Builder> modifier)Returns a view of this service with the given option modifications applied. CompletableFuture<HttpResponse>retrieve(String skillId)Download a skill zip bundle by its ID. CompletableFuture<HttpResponse>retrieve(String skillId, ContentRetrieveParams params, RequestOptions requestOptions)CompletableFuture<HttpResponse>retrieve(String skillId, ContentRetrieveParams params)abstract CompletableFuture<HttpResponse>retrieve(ContentRetrieveParams params, RequestOptions requestOptions)CompletableFuture<HttpResponse>retrieve(ContentRetrieveParams params)CompletableFuture<HttpResponse>retrieve(String skillId, RequestOptions requestOptions)-
-
Method Detail
-
withRawResponse
abstract ContentServiceAsync.WithRawResponse withRawResponse()
Returns a view of this service that provides access to raw HTTP responses for each method.
-
withOptions
abstract ContentServiceAsync 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<HttpResponse> retrieve(String skillId)
Download a skill zip bundle by its ID.
-
retrieve
CompletableFuture<HttpResponse> retrieve(String skillId, ContentRetrieveParams params, RequestOptions requestOptions)
-
retrieve
CompletableFuture<HttpResponse> retrieve(String skillId, ContentRetrieveParams params)
-
retrieve
abstract CompletableFuture<HttpResponse> retrieve(ContentRetrieveParams params, RequestOptions requestOptions)
-
retrieve
CompletableFuture<HttpResponse> retrieve(ContentRetrieveParams params)
-
retrieve
CompletableFuture<HttpResponse> retrieve(String skillId, RequestOptions requestOptions)
-
-
-
-