Package com.courier.services.async
Class ProfileServiceAsyncImpl
-
- All Implemented Interfaces:
-
com.courier.services.async.ProfileServiceAsync
public final class ProfileServiceAsyncImpl implements ProfileServiceAsync
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classProfileServiceAsyncImpl.WithRawResponseImpl
-
Method Summary
Modifier and Type Method Description ProfileServiceAsync.WithRawResponsewithRawResponse()Returns a view of this service that provides access to raw HTTP responses for each method. ProfileServiceAsyncwithOptions(Consumer<ClientOptions.Builder> modifier)Returns a view of this service with the given option modifications applied. ListServiceAsynclists()CompletableFuture<ProfileCreateResponse>create(ProfileCreateParams params, RequestOptions requestOptions)CompletableFuture<ProfileRetrieveResponse>retrieve(ProfileRetrieveParams params, RequestOptions requestOptions)CompletableFuture<Void>update(ProfileUpdateParams params, RequestOptions requestOptions)CompletableFuture<Void>delete(ProfileDeleteParams params, RequestOptions requestOptions)CompletableFuture<ProfileReplaceResponse>replace(ProfileReplaceParams params, RequestOptions requestOptions)-
Methods inherited from class com.courier.services.async.ProfileServiceAsync
create, create, create, delete, delete, delete, delete, delete, replace, replace, replace, retrieve, retrieve, retrieve, retrieve, retrieve, update, update, update -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
withRawResponse
ProfileServiceAsync.WithRawResponse withRawResponse()
Returns a view of this service that provides access to raw HTTP responses for each method.
-
withOptions
ProfileServiceAsync withOptions(Consumer<ClientOptions.Builder> modifier)
Returns a view of this service with the given option modifications applied.
The original service is not modified.
-
lists
ListServiceAsync lists()
-
create
CompletableFuture<ProfileCreateResponse> create(ProfileCreateParams params, RequestOptions requestOptions)
-
retrieve
CompletableFuture<ProfileRetrieveResponse> retrieve(ProfileRetrieveParams params, RequestOptions requestOptions)
-
update
CompletableFuture<Void> update(ProfileUpdateParams params, RequestOptions requestOptions)
-
delete
CompletableFuture<Void> delete(ProfileDeleteParams params, RequestOptions requestOptions)
-
replace
CompletableFuture<ProfileReplaceResponse> replace(ProfileReplaceParams params, RequestOptions requestOptions)
-
-
-
-