Class RoleServiceAsyncImpl
-
- All Implemented Interfaces:
-
com.openai.services.async.admin.organization.projects.groups.RoleServiceAsync
public final class RoleServiceAsyncImpl implements RoleServiceAsync
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classRoleServiceAsyncImpl.WithRawResponseImpl
-
Method Summary
Modifier and Type Method Description RoleServiceAsync.WithRawResponsewithRawResponse()Returns a view of this service that provides access to raw HTTP responses for each method. RoleServiceAsyncwithOptions(Consumer<ClientOptions.Builder> modifier)Returns a view of this service with the given option modifications applied. CompletableFuture<RoleCreateResponse>create(RoleCreateParams params, RequestOptions requestOptions)CompletableFuture<RoleRetrieveResponse>retrieve(RoleRetrieveParams params, RequestOptions requestOptions)CompletableFuture<RoleListPageAsync>list(RoleListParams params, RequestOptions requestOptions)CompletableFuture<RoleDeleteResponse>delete(RoleDeleteParams params, RequestOptions requestOptions)-
Methods inherited from class com.openai.services.async.admin.organization.projects.groups.RoleServiceAsync
create, create, create, delete, delete, delete, 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
RoleServiceAsync.WithRawResponse withRawResponse()
Returns a view of this service that provides access to raw HTTP responses for each method.
-
withOptions
RoleServiceAsync 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<RoleCreateResponse> create(RoleCreateParams params, RequestOptions requestOptions)
-
retrieve
CompletableFuture<RoleRetrieveResponse> retrieve(RoleRetrieveParams params, RequestOptions requestOptions)
-
list
CompletableFuture<RoleListPageAsync> list(RoleListParams params, RequestOptions requestOptions)
-
delete
CompletableFuture<RoleDeleteResponse> delete(RoleDeleteParams params, RequestOptions requestOptions)
-
-
-
-