Interface ProfileServiceAsync
-
- All Implemented Interfaces:
public interface ProfileServiceAsync
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public interfaceProfileServiceAsync.WithRawResponseA view of ProfileServiceAsync that provides access to raw HTTP responses for each method.
-
Method Summary
-
-
Method Detail
-
withRawResponse
abstract ProfileServiceAsync.WithRawResponse withRawResponse()
Returns a view of this service that provides access to raw HTTP responses for each method.
-
withOptions
abstract 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
abstract ListServiceAsync lists()
-
create
CompletableFuture<ProfileCreateResponse> create(String userId, ProfileCreateParams params)
Merge the supplied values with an existing profile or create a new profile if one doesn't already exist.
-
create
CompletableFuture<ProfileCreateResponse> create(String userId, ProfileCreateParams params, RequestOptions requestOptions)
-
create
CompletableFuture<ProfileCreateResponse> create(ProfileCreateParams params)
-
create
abstract CompletableFuture<ProfileCreateResponse> create(ProfileCreateParams params, RequestOptions requestOptions)
-
retrieve
CompletableFuture<ProfileRetrieveResponse> retrieve(String userId)
Returns the specified user profile.
-
retrieve
CompletableFuture<ProfileRetrieveResponse> retrieve(String userId, ProfileRetrieveParams params, RequestOptions requestOptions)
-
retrieve
CompletableFuture<ProfileRetrieveResponse> retrieve(String userId, ProfileRetrieveParams params)
-
retrieve
abstract CompletableFuture<ProfileRetrieveResponse> retrieve(ProfileRetrieveParams params, RequestOptions requestOptions)
-
retrieve
CompletableFuture<ProfileRetrieveResponse> retrieve(ProfileRetrieveParams params)
-
retrieve
CompletableFuture<ProfileRetrieveResponse> retrieve(String userId, RequestOptions requestOptions)
-
update
CompletableFuture<Void> update(String userId, ProfileUpdateParams params)
Update a profile
-
update
CompletableFuture<Void> update(String userId, ProfileUpdateParams params, RequestOptions requestOptions)
-
update
CompletableFuture<Void> update(ProfileUpdateParams params)
-
update
abstract CompletableFuture<Void> update(ProfileUpdateParams params, RequestOptions requestOptions)
-
delete
CompletableFuture<Void> delete(String userId)
Deletes the specified user profile.
-
delete
CompletableFuture<Void> delete(String userId, ProfileDeleteParams params, RequestOptions requestOptions)
-
delete
CompletableFuture<Void> delete(String userId, ProfileDeleteParams params)
-
delete
abstract CompletableFuture<Void> delete(ProfileDeleteParams params, RequestOptions requestOptions)
-
delete
CompletableFuture<Void> delete(ProfileDeleteParams params)
-
delete
CompletableFuture<Void> delete(String userId, RequestOptions requestOptions)
-
replace
CompletableFuture<ProfileReplaceResponse> replace(String userId, ProfileReplaceParams params)
When using
PUT, be sure to include all the key-value pairs required by the recipient's profile. Any key-value pairs that exist in the profile but fail to be included in thePUTrequest will be removed from the profile. Remember, aPUTupdate is a full replacement of the data. For partial updates, use the Patch request.
-
replace
CompletableFuture<ProfileReplaceResponse> replace(String userId, ProfileReplaceParams params, RequestOptions requestOptions)
-
replace
CompletableFuture<ProfileReplaceResponse> replace(ProfileReplaceParams params)
-
replace
abstract CompletableFuture<ProfileReplaceResponse> replace(ProfileReplaceParams params, RequestOptions requestOptions)
-
-
-
-