Package com.mypurecloud.sdk.v2.api
Class GreetingsApiAsync
java.lang.Object
com.mypurecloud.sdk.v2.api.GreetingsApiAsync
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondeleteGreetingAsync(DeleteGreetingRequest request, AsyncApiCallback<Void> callback) Deletes a Greeting with the given GreetingIddeleteGreetingAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<Void>> callback) Deletes a Greeting with the given GreetingIdgetGreetingAsync(GetGreetingRequest request, AsyncApiCallback<Greeting> callback) Get a Greeting with the given GreetingIdgetGreetingAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<Greeting>> callback) Get a Greeting with the given GreetingIdgetGreetingDownloadsAsync(GetGreetingDownloadsRequest request, AsyncApiCallback<GreetingMediaInfo> callback) Download a organization greeting recordinggetGreetingDownloadsAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<GreetingMediaInfo>> callback) Download a organization greeting recordinggetGreetingGroupsDownloadsAsync(GetGreetingGroupsDownloadsRequest request, AsyncApiCallback<GreetingMediaInfo> callback) Download a group greeting recordinggetGreetingGroupsDownloadsAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<GreetingMediaInfo>> callback) Download a group greeting recordinggetGreetingMediaAsync(GetGreetingMediaRequest request, AsyncApiCallback<GreetingMediaInfo> callback) Get media playback URI for this greeting API should migrate to use GET api/v2/greetings/{greetingId}/downloadsgetGreetingMediaAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<GreetingMediaInfo>> callback) Get media playback URI for this greeting API should migrate to use GET api/v2/greetings/{greetingId}/downloadsgetGreetingsAsync(GetGreetingsRequest request, AsyncApiCallback<DomainEntityListing> callback) Gets an Organization's GreetingsgetGreetingsAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<DomainEntityListing>> callback) Gets an Organization's GreetingsgetGreetingsDefaultsAsync(GetGreetingsDefaultsRequest request, AsyncApiCallback<DefaultGreetingList> callback) Get an Organization's DefaultGreetingListgetGreetingsDefaultsAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<DefaultGreetingList>> callback) Get an Organization's DefaultGreetingListgetGreetingUsersDownloadsAsync(GetGreetingUsersDownloadsRequest request, AsyncApiCallback<GreetingMediaInfo> callback) Download a user greeting recordinggetGreetingUsersDownloadsAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<GreetingMediaInfo>> callback) Download a user greeting recordinggetGroupGreetingsAsync(GetGroupGreetingsRequest request, AsyncApiCallback<GreetingListing> callback) Get a list of the Group's GreetingsgetGroupGreetingsAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<GreetingListing>> callback) Get a list of the Group's GreetingsgetGroupGreetingsDefaultsAsync(GetGroupGreetingsDefaultsRequest request, AsyncApiCallback<DefaultGreetingList> callback) Grabs the list of Default Greetings given a Group's IDgetGroupGreetingsDefaultsAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<DefaultGreetingList>> callback) Grabs the list of Default Greetings given a Group's IDgetUserGreetingsAsync(GetUserGreetingsRequest request, AsyncApiCallback<DomainEntityListing> callback) Get a list of the User's GreetingsgetUserGreetingsAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<DomainEntityListing>> callback) Get a list of the User's GreetingsgetUserGreetingsDefaultsAsync(GetUserGreetingsDefaultsRequest request, AsyncApiCallback<DefaultGreetingList> callback) Grabs the list of Default Greetings given a User's IDgetUserGreetingsDefaultsAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<DefaultGreetingList>> callback) Grabs the list of Default Greetings given a User's IDpostGreetingsAsync(PostGreetingsRequest request, AsyncApiCallback<Greeting> callback) Create a Greeting for an OrganizationpostGreetingsAsync(ApiRequest<Greeting> request, AsyncApiCallback<ApiResponse<Greeting>> callback) Create a Greeting for an OrganizationpostGroupGreetingsAsync(PostGroupGreetingsRequest request, AsyncApiCallback<Greeting> callback) Creates a Greeting for a GrouppostGroupGreetingsAsync(ApiRequest<Greeting> request, AsyncApiCallback<ApiResponse<Greeting>> callback) Creates a Greeting for a GrouppostUserGreetingsAsync(PostUserGreetingsRequest request, AsyncApiCallback<Greeting> callback) Creates a Greeting for a UserpostUserGreetingsAsync(ApiRequest<Greeting> request, AsyncApiCallback<ApiResponse<Greeting>> callback) Creates a Greeting for a UserputGreetingAsync(PutGreetingRequest request, AsyncApiCallback<Greeting> callback) Updates the Greeting with the given GreetingIdputGreetingAsync(ApiRequest<Greeting> request, AsyncApiCallback<ApiResponse<Greeting>> callback) Updates the Greeting with the given GreetingIdputGreetingsDefaultsAsync(PutGreetingsDefaultsRequest request, AsyncApiCallback<DefaultGreetingList> callback) Update an Organization's DefaultGreetingListputGreetingsDefaultsAsync(ApiRequest<DefaultGreetingList> request, AsyncApiCallback<ApiResponse<DefaultGreetingList>> callback) Update an Organization's DefaultGreetingListputGroupGreetingsDefaultsAsync(PutGroupGreetingsDefaultsRequest request, AsyncApiCallback<DefaultGreetingList> callback) Updates the DefaultGreetingList of the specified GroupputGroupGreetingsDefaultsAsync(ApiRequest<DefaultGreetingList> request, AsyncApiCallback<ApiResponse<DefaultGreetingList>> callback) Updates the DefaultGreetingList of the specified GroupputUserGreetingsDefaultsAsync(PutUserGreetingsDefaultsRequest request, AsyncApiCallback<DefaultGreetingList> callback) Updates the DefaultGreetingList of the specified UserputUserGreetingsDefaultsAsync(ApiRequest<DefaultGreetingList> request, AsyncApiCallback<ApiResponse<DefaultGreetingList>> callback) Updates the DefaultGreetingList of the specified User
-
Constructor Details
-
GreetingsApiAsync
public GreetingsApiAsync() -
GreetingsApiAsync
-
-
Method Details
-
deleteGreetingAsync
public Future<Void> deleteGreetingAsync(DeleteGreetingRequest request, AsyncApiCallback<Void> callback) Deletes a Greeting with the given GreetingId- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
deleteGreetingAsync
public Future<ApiResponse<Void>> deleteGreetingAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<Void>> callback) Deletes a Greeting with the given GreetingId- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
getGreetingAsync
public Future<Greeting> getGreetingAsync(GetGreetingRequest request, AsyncApiCallback<Greeting> callback) Get a Greeting with the given GreetingId- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
getGreetingAsync
public Future<ApiResponse<Greeting>> getGreetingAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<Greeting>> callback) Get a Greeting with the given GreetingId- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
getGreetingDownloadsAsync
public Future<GreetingMediaInfo> getGreetingDownloadsAsync(GetGreetingDownloadsRequest request, AsyncApiCallback<GreetingMediaInfo> callback) Download a organization greeting recording- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
getGreetingDownloadsAsync
public Future<ApiResponse<GreetingMediaInfo>> getGreetingDownloadsAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<GreetingMediaInfo>> callback) Download a organization greeting recording- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
getGreetingGroupsDownloadsAsync
public Future<GreetingMediaInfo> getGreetingGroupsDownloadsAsync(GetGreetingGroupsDownloadsRequest request, AsyncApiCallback<GreetingMediaInfo> callback) Download a group greeting recording- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
getGreetingGroupsDownloadsAsync
public Future<ApiResponse<GreetingMediaInfo>> getGreetingGroupsDownloadsAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<GreetingMediaInfo>> callback) Download a group greeting recording- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
getGreetingMediaAsync
public Future<GreetingMediaInfo> getGreetingMediaAsync(GetGreetingMediaRequest request, AsyncApiCallback<GreetingMediaInfo> callback) Get media playback URI for this greeting API should migrate to use GET api/v2/greetings/{greetingId}/downloads- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
getGreetingMediaAsync
public Future<ApiResponse<GreetingMediaInfo>> getGreetingMediaAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<GreetingMediaInfo>> callback) Get media playback URI for this greeting API should migrate to use GET api/v2/greetings/{greetingId}/downloads- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
getGreetingUsersDownloadsAsync
public Future<GreetingMediaInfo> getGreetingUsersDownloadsAsync(GetGreetingUsersDownloadsRequest request, AsyncApiCallback<GreetingMediaInfo> callback) Download a user greeting recording- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
getGreetingUsersDownloadsAsync
public Future<ApiResponse<GreetingMediaInfo>> getGreetingUsersDownloadsAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<GreetingMediaInfo>> callback) Download a user greeting recording- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
getGreetingsAsync
public Future<DomainEntityListing> getGreetingsAsync(GetGreetingsRequest request, AsyncApiCallback<DomainEntityListing> callback) Gets an Organization's Greetings- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
getGreetingsAsync
public Future<ApiResponse<DomainEntityListing>> getGreetingsAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<DomainEntityListing>> callback) Gets an Organization's Greetings- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
getGreetingsDefaultsAsync
public Future<DefaultGreetingList> getGreetingsDefaultsAsync(GetGreetingsDefaultsRequest request, AsyncApiCallback<DefaultGreetingList> callback) Get an Organization's DefaultGreetingList- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
getGreetingsDefaultsAsync
public Future<ApiResponse<DefaultGreetingList>> getGreetingsDefaultsAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<DefaultGreetingList>> callback) Get an Organization's DefaultGreetingList- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
getGroupGreetingsAsync
public Future<GreetingListing> getGroupGreetingsAsync(GetGroupGreetingsRequest request, AsyncApiCallback<GreetingListing> callback) Get a list of the Group's Greetings- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
getGroupGreetingsAsync
public Future<ApiResponse<GreetingListing>> getGroupGreetingsAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<GreetingListing>> callback) Get a list of the Group's Greetings- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
getGroupGreetingsDefaultsAsync
public Future<DefaultGreetingList> getGroupGreetingsDefaultsAsync(GetGroupGreetingsDefaultsRequest request, AsyncApiCallback<DefaultGreetingList> callback) Grabs the list of Default Greetings given a Group's ID- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
getGroupGreetingsDefaultsAsync
public Future<ApiResponse<DefaultGreetingList>> getGroupGreetingsDefaultsAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<DefaultGreetingList>> callback) Grabs the list of Default Greetings given a Group's ID- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
getUserGreetingsAsync
public Future<DomainEntityListing> getUserGreetingsAsync(GetUserGreetingsRequest request, AsyncApiCallback<DomainEntityListing> callback) Get a list of the User's Greetings- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
getUserGreetingsAsync
public Future<ApiResponse<DomainEntityListing>> getUserGreetingsAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<DomainEntityListing>> callback) Get a list of the User's Greetings- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
getUserGreetingsDefaultsAsync
public Future<DefaultGreetingList> getUserGreetingsDefaultsAsync(GetUserGreetingsDefaultsRequest request, AsyncApiCallback<DefaultGreetingList> callback) Grabs the list of Default Greetings given a User's ID- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
getUserGreetingsDefaultsAsync
public Future<ApiResponse<DefaultGreetingList>> getUserGreetingsDefaultsAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<DefaultGreetingList>> callback) Grabs the list of Default Greetings given a User's ID- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
postGreetingsAsync
public Future<Greeting> postGreetingsAsync(PostGreetingsRequest request, AsyncApiCallback<Greeting> callback) Create a Greeting for an Organization- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
postGreetingsAsync
public Future<ApiResponse<Greeting>> postGreetingsAsync(ApiRequest<Greeting> request, AsyncApiCallback<ApiResponse<Greeting>> callback) Create a Greeting for an Organization- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
postGroupGreetingsAsync
public Future<Greeting> postGroupGreetingsAsync(PostGroupGreetingsRequest request, AsyncApiCallback<Greeting> callback) Creates a Greeting for a Group- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
postGroupGreetingsAsync
public Future<ApiResponse<Greeting>> postGroupGreetingsAsync(ApiRequest<Greeting> request, AsyncApiCallback<ApiResponse<Greeting>> callback) Creates a Greeting for a Group- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
postUserGreetingsAsync
public Future<Greeting> postUserGreetingsAsync(PostUserGreetingsRequest request, AsyncApiCallback<Greeting> callback) Creates a Greeting for a User- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
postUserGreetingsAsync
public Future<ApiResponse<Greeting>> postUserGreetingsAsync(ApiRequest<Greeting> request, AsyncApiCallback<ApiResponse<Greeting>> callback) Creates a Greeting for a User- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
putGreetingAsync
public Future<Greeting> putGreetingAsync(PutGreetingRequest request, AsyncApiCallback<Greeting> callback) Updates the Greeting with the given GreetingId- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
putGreetingAsync
public Future<ApiResponse<Greeting>> putGreetingAsync(ApiRequest<Greeting> request, AsyncApiCallback<ApiResponse<Greeting>> callback) Updates the Greeting with the given GreetingId- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
putGreetingsDefaultsAsync
public Future<DefaultGreetingList> putGreetingsDefaultsAsync(PutGreetingsDefaultsRequest request, AsyncApiCallback<DefaultGreetingList> callback) Update an Organization's DefaultGreetingList- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
putGreetingsDefaultsAsync
public Future<ApiResponse<DefaultGreetingList>> putGreetingsDefaultsAsync(ApiRequest<DefaultGreetingList> request, AsyncApiCallback<ApiResponse<DefaultGreetingList>> callback) Update an Organization's DefaultGreetingList- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
putGroupGreetingsDefaultsAsync
public Future<DefaultGreetingList> putGroupGreetingsDefaultsAsync(PutGroupGreetingsDefaultsRequest request, AsyncApiCallback<DefaultGreetingList> callback) Updates the DefaultGreetingList of the specified Group- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
putGroupGreetingsDefaultsAsync
public Future<ApiResponse<DefaultGreetingList>> putGroupGreetingsDefaultsAsync(ApiRequest<DefaultGreetingList> request, AsyncApiCallback<ApiResponse<DefaultGreetingList>> callback) Updates the DefaultGreetingList of the specified Group- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
putUserGreetingsDefaultsAsync
public Future<DefaultGreetingList> putUserGreetingsDefaultsAsync(PutUserGreetingsDefaultsRequest request, AsyncApiCallback<DefaultGreetingList> callback) Updates the DefaultGreetingList of the specified User- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
putUserGreetingsDefaultsAsync
public Future<ApiResponse<DefaultGreetingList>> putUserGreetingsDefaultsAsync(ApiRequest<DefaultGreetingList> request, AsyncApiCallback<ApiResponse<DefaultGreetingList>> callback) Updates the DefaultGreetingList of the specified User- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-