Package com.mypurecloud.sdk.v2.api
Class UsersRulesApiAsync
java.lang.Object
com.mypurecloud.sdk.v2.api.UsersRulesApiAsync
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondeleteUsersRuleAsync(DeleteUsersRuleRequest request, AsyncApiCallback<Void> callback) Delete an existing users ruledeleteUsersRuleAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<Void>> callback) Delete an existing users rulegetUsersRuleAsync(GetUsersRuleRequest request, AsyncApiCallback<UsersRulesRule> callback) Get a users rulegetUsersRuleAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<UsersRulesRule>> callback) Get a users rulegetUsersRuleDependentsAsync(GetUsersRuleDependentsRequest request, AsyncApiCallback<UsersRulesDependentList> callback) Get dependents for a users rulegetUsersRuleDependentsAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<UsersRulesDependentList>> callback) Get dependents for a users rulegetUsersRuleDependentTypeIdAsync(GetUsersRuleDependentTypeIdRequest request, AsyncApiCallback<UsersRulesDependent> callback) Get dependent of a users rulegetUsersRuleDependentTypeIdAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<UsersRulesDependent>> callback) Get dependent of a users rulegetUsersRulesAsync(GetUsersRulesRequest request, AsyncApiCallback<UsersRulesRuleList> callback) Get the list of users rulesgetUsersRulesAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<UsersRulesRuleList>> callback) Get the list of users rulesgetUsersRulesSettingAsync(GetUsersRulesSettingRequest request, AsyncApiCallback<UsersRulesRuleSettings> callback) Get the settings for a specific users rule typegetUsersRulesSettingAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<UsersRulesRuleSettings>> callback) Get the settings for a specific users rule typepatchUsersRuleAsync(PatchUsersRuleRequest request, AsyncApiCallback<UsersRulesRule> callback) Update an existing users rule This will update an existing users rule with the specified fields.patchUsersRuleAsync(ApiRequest<UsersRulesUpdateRuleRequest> request, AsyncApiCallback<ApiResponse<UsersRulesRule>> callback) Update an existing users rule This will update an existing users rule with the specified fields.postUsersRulesAsync(PostUsersRulesRequest request, AsyncApiCallback<UsersRulesRule> callback) Create a new rule This will create a new rule with the specified fields.postUsersRulesAsync(ApiRequest<UsersRulesCreateRuleRequest> request, AsyncApiCallback<ApiResponse<UsersRulesRule>> callback) Create a new rule This will create a new rule with the specified fields.postUsersRulesQueryAsync(PostUsersRulesQueryRequest request, AsyncApiCallback<UsersRulesQueryResponse> callback) Query the result of a users rule This will query the result of a rule.postUsersRulesQueryAsync(ApiRequest<UsersRulesQueryRuleRequest> request, AsyncApiCallback<ApiResponse<UsersRulesQueryResponse>> callback) Query the result of a users rule This will query the result of a rule.
-
Constructor Details
-
UsersRulesApiAsync
public UsersRulesApiAsync() -
UsersRulesApiAsync
-
-
Method Details
-
deleteUsersRuleAsync
public Future<Void> deleteUsersRuleAsync(DeleteUsersRuleRequest request, AsyncApiCallback<Void> callback) Delete an existing users rule- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
deleteUsersRuleAsync
public Future<ApiResponse<Void>> deleteUsersRuleAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<Void>> callback) Delete an existing users rule- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
getUsersRuleAsync
public Future<UsersRulesRule> getUsersRuleAsync(GetUsersRuleRequest request, AsyncApiCallback<UsersRulesRule> callback) Get a users rule- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
getUsersRuleAsync
public Future<ApiResponse<UsersRulesRule>> getUsersRuleAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<UsersRulesRule>> callback) Get a users rule- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
getUsersRuleDependentTypeIdAsync
public Future<UsersRulesDependent> getUsersRuleDependentTypeIdAsync(GetUsersRuleDependentTypeIdRequest request, AsyncApiCallback<UsersRulesDependent> callback) Get dependent of a users rule- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
getUsersRuleDependentTypeIdAsync
public Future<ApiResponse<UsersRulesDependent>> getUsersRuleDependentTypeIdAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<UsersRulesDependent>> callback) Get dependent of a users rule- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
getUsersRuleDependentsAsync
public Future<UsersRulesDependentList> getUsersRuleDependentsAsync(GetUsersRuleDependentsRequest request, AsyncApiCallback<UsersRulesDependentList> callback) Get dependents for a users rule- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
getUsersRuleDependentsAsync
public Future<ApiResponse<UsersRulesDependentList>> getUsersRuleDependentsAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<UsersRulesDependentList>> callback) Get dependents for a users rule- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
getUsersRulesAsync
public Future<UsersRulesRuleList> getUsersRulesAsync(GetUsersRulesRequest request, AsyncApiCallback<UsersRulesRuleList> callback) Get the list of users rules- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
getUsersRulesAsync
public Future<ApiResponse<UsersRulesRuleList>> getUsersRulesAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<UsersRulesRuleList>> callback) Get the list of users rules- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
getUsersRulesSettingAsync
public Future<UsersRulesRuleSettings> getUsersRulesSettingAsync(GetUsersRulesSettingRequest request, AsyncApiCallback<UsersRulesRuleSettings> callback) Get the settings for a specific users rule type- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
getUsersRulesSettingAsync
public Future<ApiResponse<UsersRulesRuleSettings>> getUsersRulesSettingAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<UsersRulesRuleSettings>> callback) Get the settings for a specific users rule type- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
patchUsersRuleAsync
public Future<UsersRulesRule> patchUsersRuleAsync(PatchUsersRuleRequest request, AsyncApiCallback<UsersRulesRule> callback) Update an existing users rule This will update an existing users rule with the specified fields.- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
patchUsersRuleAsync
public Future<ApiResponse<UsersRulesRule>> patchUsersRuleAsync(ApiRequest<UsersRulesUpdateRuleRequest> request, AsyncApiCallback<ApiResponse<UsersRulesRule>> callback) Update an existing users rule This will update an existing users rule with the specified fields.- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
postUsersRulesAsync
public Future<UsersRulesRule> postUsersRulesAsync(PostUsersRulesRequest request, AsyncApiCallback<UsersRulesRule> callback) Create a new rule This will create a new rule with the specified fields.- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
postUsersRulesAsync
public Future<ApiResponse<UsersRulesRule>> postUsersRulesAsync(ApiRequest<UsersRulesCreateRuleRequest> request, AsyncApiCallback<ApiResponse<UsersRulesRule>> callback) Create a new rule This will create a new rule with the specified fields.- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
postUsersRulesQueryAsync
public Future<UsersRulesQueryResponse> postUsersRulesQueryAsync(PostUsersRulesQueryRequest request, AsyncApiCallback<UsersRulesQueryResponse> callback) Query the result of a users rule This will query the result of a rule.- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
postUsersRulesQueryAsync
public Future<ApiResponse<UsersRulesQueryResponse>> postUsersRulesQueryAsync(ApiRequest<UsersRulesQueryRuleRequest> request, AsyncApiCallback<ApiResponse<UsersRulesQueryResponse>> callback) Query the result of a users rule This will query the result of a rule.- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-