Package com.mypurecloud.sdk.v2.api
Class VoicemailApiAsync
java.lang.Object
com.mypurecloud.sdk.v2.api.VoicemailApiAsync
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondeleteVoicemailMessageAsync(DeleteVoicemailMessageRequest request, AsyncApiCallback<Void> callback) Delete a voicemail message.deleteVoicemailMessageAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<Void>> callback) Delete a voicemail message.deleteVoicemailMessagesAsync(DeleteVoicemailMessagesRequest request, AsyncApiCallback<Void> callback) Delete all voicemail messagesdeleteVoicemailMessagesAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<Void>> callback) Delete all voicemail messagesgetVoicemailGroupMailboxAsync(GetVoicemailGroupMailboxRequest request, AsyncApiCallback<VoicemailMailboxInfo> callback) Get the group's mailbox informationgetVoicemailGroupMailboxAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<VoicemailMailboxInfo>> callback) Get the group's mailbox informationgetVoicemailGroupMessagesAsync(GetVoicemailGroupMessagesRequest request, AsyncApiCallback<VoicemailMessageEntityListing> callback) List voicemail messagesgetVoicemailGroupMessagesAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<VoicemailMessageEntityListing>> callback) List voicemail messagesgetVoicemailGroupPolicyAsync(GetVoicemailGroupPolicyRequest request, AsyncApiCallback<VoicemailGroupPolicy> callback) Get a group's voicemail policygetVoicemailGroupPolicyAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<VoicemailGroupPolicy>> callback) Get a group's voicemail policygetVoicemailMailboxAsync(GetVoicemailMailboxRequest request, AsyncApiCallback<VoicemailMailboxInfo> callback) Get the current user's mailbox informationgetVoicemailMailboxAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<VoicemailMailboxInfo>> callback) Get the current user's mailbox informationgetVoicemailMeMailboxAsync(GetVoicemailMeMailboxRequest request, AsyncApiCallback<VoicemailMailboxInfo> callback) Get the current user's mailbox informationgetVoicemailMeMailboxAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<VoicemailMailboxInfo>> callback) Get the current user's mailbox informationgetVoicemailMeMessagesAsync(GetVoicemailMeMessagesRequest request, AsyncApiCallback<VoicemailMessageEntityListing> callback) List voicemail messagesgetVoicemailMeMessagesAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<VoicemailMessageEntityListing>> callback) List voicemail messagesgetVoicemailMePolicyAsync(GetVoicemailMePolicyRequest request, AsyncApiCallback<VoicemailUserPolicy> callback) Get the current user's voicemail policygetVoicemailMePolicyAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<VoicemailUserPolicy>> callback) Get the current user's voicemail policygetVoicemailMessageAsync(GetVoicemailMessageRequest request, AsyncApiCallback<VoicemailMessage> callback) Get a voicemail messagegetVoicemailMessageAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<VoicemailMessage>> callback) Get a voicemail messagegetVoicemailMessageMediaAsync(GetVoicemailMessageMediaRequest request, AsyncApiCallback<VoicemailMediaInfo> callback) Get media playback URI for this voicemail message API should migrate to use GET api/v2/voicemail/messages/{messageId}/downloadsgetVoicemailMessageMediaAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<VoicemailMediaInfo>> callback) Get media playback URI for this voicemail message API should migrate to use GET api/v2/voicemail/messages/{messageId}/downloadsgetVoicemailMessagesAsync(GetVoicemailMessagesRequest request, AsyncApiCallback<VoicemailMessageEntityListing> callback) List voicemail messagesgetVoicemailMessagesAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<VoicemailMessageEntityListing>> callback) List voicemail messagesgetVoicemailPolicyAsync(GetVoicemailPolicyRequest request, AsyncApiCallback<VoicemailOrganizationPolicy> callback) Get a policygetVoicemailPolicyAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<VoicemailOrganizationPolicy>> callback) Get a policygetVoicemailQueueMessagesAsync(GetVoicemailQueueMessagesRequest request, AsyncApiCallback<VoicemailMessageEntityListing> callback) List voicemail messagesgetVoicemailQueueMessagesAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<VoicemailMessageEntityListing>> callback) List voicemail messagesgetVoicemailSearchAsync(GetVoicemailSearchRequest request, AsyncApiCallback<VoicemailsSearchResponse> callback) Search voicemails using the q64 value returned from a previous searchgetVoicemailSearchAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<VoicemailsSearchResponse>> callback) Search voicemails using the q64 value returned from a previous searchgetVoicemailUserMailboxAsync(GetVoicemailUserMailboxRequest request, AsyncApiCallback<VoicemailMailboxInfo> callback) Get a user's mailbox informationgetVoicemailUserMailboxAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<VoicemailMailboxInfo>> callback) Get a user's mailbox informationgetVoicemailUserMessagesAsync(GetVoicemailUserMessagesRequest request, AsyncApiCallback<VoicemailMessageEntityListing> callback) List voicemail messagesgetVoicemailUserMessagesAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<VoicemailMessageEntityListing>> callback) List voicemail messagesgetVoicemailUserpolicyAsync(GetVoicemailUserpolicyRequest request, AsyncApiCallback<VoicemailUserPolicy> callback) Get a user's voicemail policygetVoicemailUserpolicyAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<VoicemailUserPolicy>> callback) Get a user's voicemail policypatchVoicemailGroupPolicyAsync(PatchVoicemailGroupPolicyRequest request, AsyncApiCallback<VoicemailGroupPolicy> callback) Update a group's voicemail policypatchVoicemailGroupPolicyAsync(ApiRequest<VoicemailGroupPolicy> request, AsyncApiCallback<ApiResponse<VoicemailGroupPolicy>> callback) Update a group's voicemail policypatchVoicemailMePolicyAsync(PatchVoicemailMePolicyRequest request, AsyncApiCallback<VoicemailUserPolicy> callback) Update the current user's voicemail policypatchVoicemailMePolicyAsync(ApiRequest<VoicemailUserPolicy> request, AsyncApiCallback<ApiResponse<VoicemailUserPolicy>> callback) Update the current user's voicemail policypatchVoicemailMessageAsync(PatchVoicemailMessageRequest request, AsyncApiCallback<VoicemailMessage> callback) Update a voicemail message A user voicemail can only be modified by its associated user.patchVoicemailMessageAsync(ApiRequest<VoicemailMessage> request, AsyncApiCallback<ApiResponse<VoicemailMessage>> callback) Update a voicemail message A user voicemail can only be modified by its associated user.patchVoicemailUserpolicyAsync(PatchVoicemailUserpolicyRequest request, AsyncApiCallback<VoicemailUserPolicy> callback) Update a user's voicemail policypatchVoicemailUserpolicyAsync(ApiRequest<VoicemailUserPolicy> request, AsyncApiCallback<ApiResponse<VoicemailUserPolicy>> callback) Update a user's voicemail policypostVoicemailMessagesAsync(PostVoicemailMessagesRequest request, AsyncApiCallback<VoicemailMessage> callback) Copy a voicemail message to a user or grouppostVoicemailMessagesAsync(ApiRequest<CopyVoicemailMessage> request, AsyncApiCallback<ApiResponse<VoicemailMessage>> callback) Copy a voicemail message to a user or grouppostVoicemailSearchAsync(PostVoicemailSearchRequest request, AsyncApiCallback<VoicemailsSearchResponse> callback) Search voicemailspostVoicemailSearchAsync(ApiRequest<VoicemailSearchRequest> request, AsyncApiCallback<ApiResponse<VoicemailsSearchResponse>> callback) Search voicemailsputVoicemailMessageAsync(PutVoicemailMessageRequest request, AsyncApiCallback<VoicemailMessage> callback) Update a voicemail message A user voicemail can only be modified by its associated user.putVoicemailMessageAsync(ApiRequest<VoicemailMessage> request, AsyncApiCallback<ApiResponse<VoicemailMessage>> callback) Update a voicemail message A user voicemail can only be modified by its associated user.putVoicemailPolicyAsync(PutVoicemailPolicyRequest request, AsyncApiCallback<VoicemailOrganizationPolicy> callback) Update a policyputVoicemailPolicyAsync(ApiRequest<VoicemailOrganizationPolicy> request, AsyncApiCallback<ApiResponse<VoicemailOrganizationPolicy>> callback) Update a policyputVoicemailUserpolicyAsync(PutVoicemailUserpolicyRequest request, AsyncApiCallback<VoicemailUserPolicy> callback) Update a user's voicemail policyputVoicemailUserpolicyAsync(ApiRequest<VoicemailUserPolicy> request, AsyncApiCallback<ApiResponse<VoicemailUserPolicy>> callback) Update a user's voicemail policy
-
Constructor Details
-
VoicemailApiAsync
public VoicemailApiAsync() -
VoicemailApiAsync
-
-
Method Details
-
deleteVoicemailMessageAsync
public Future<Void> deleteVoicemailMessageAsync(DeleteVoicemailMessageRequest request, AsyncApiCallback<Void> callback) Delete a voicemail message. A user voicemail can only be deleted by its associated user. A group voicemail can only be deleted by a user that is a member of the group. A queue voicemail can only be deleted by a user with the acd voicemail delete permission.- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
deleteVoicemailMessageAsync
public Future<ApiResponse<Void>> deleteVoicemailMessageAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<Void>> callback) Delete a voicemail message. A user voicemail can only be deleted by its associated user. A group voicemail can only be deleted by a user that is a member of the group. A queue voicemail can only be deleted by a user with the acd voicemail delete permission.- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
deleteVoicemailMessagesAsync
public Future<Void> deleteVoicemailMessagesAsync(DeleteVoicemailMessagesRequest request, AsyncApiCallback<Void> callback) Delete all voicemail messages- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
deleteVoicemailMessagesAsync
public Future<ApiResponse<Void>> deleteVoicemailMessagesAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<Void>> callback) Delete all voicemail messages- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
getVoicemailGroupMailboxAsync
public Future<VoicemailMailboxInfo> getVoicemailGroupMailboxAsync(GetVoicemailGroupMailboxRequest request, AsyncApiCallback<VoicemailMailboxInfo> callback) Get the group's mailbox information- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
getVoicemailGroupMailboxAsync
public Future<ApiResponse<VoicemailMailboxInfo>> getVoicemailGroupMailboxAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<VoicemailMailboxInfo>> callback) Get the group's mailbox information- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
getVoicemailGroupMessagesAsync
public Future<VoicemailMessageEntityListing> getVoicemailGroupMessagesAsync(GetVoicemailGroupMessagesRequest request, AsyncApiCallback<VoicemailMessageEntityListing> callback) List voicemail messages- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
getVoicemailGroupMessagesAsync
public Future<ApiResponse<VoicemailMessageEntityListing>> getVoicemailGroupMessagesAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<VoicemailMessageEntityListing>> callback) List voicemail messages- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
getVoicemailGroupPolicyAsync
public Future<VoicemailGroupPolicy> getVoicemailGroupPolicyAsync(GetVoicemailGroupPolicyRequest request, AsyncApiCallback<VoicemailGroupPolicy> callback) Get a group's voicemail policy- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
getVoicemailGroupPolicyAsync
public Future<ApiResponse<VoicemailGroupPolicy>> getVoicemailGroupPolicyAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<VoicemailGroupPolicy>> callback) Get a group's voicemail policy- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
getVoicemailMailboxAsync
public Future<VoicemailMailboxInfo> getVoicemailMailboxAsync(GetVoicemailMailboxRequest request, AsyncApiCallback<VoicemailMailboxInfo> callback) Get the current user's mailbox information- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
getVoicemailMailboxAsync
public Future<ApiResponse<VoicemailMailboxInfo>> getVoicemailMailboxAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<VoicemailMailboxInfo>> callback) Get the current user's mailbox information- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
getVoicemailMeMailboxAsync
public Future<VoicemailMailboxInfo> getVoicemailMeMailboxAsync(GetVoicemailMeMailboxRequest request, AsyncApiCallback<VoicemailMailboxInfo> callback) Get the current user's mailbox information- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
getVoicemailMeMailboxAsync
public Future<ApiResponse<VoicemailMailboxInfo>> getVoicemailMeMailboxAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<VoicemailMailboxInfo>> callback) Get the current user's mailbox information- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
getVoicemailMeMessagesAsync
public Future<VoicemailMessageEntityListing> getVoicemailMeMessagesAsync(GetVoicemailMeMessagesRequest request, AsyncApiCallback<VoicemailMessageEntityListing> callback) List voicemail messages- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
getVoicemailMeMessagesAsync
public Future<ApiResponse<VoicemailMessageEntityListing>> getVoicemailMeMessagesAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<VoicemailMessageEntityListing>> callback) List voicemail messages- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
getVoicemailMePolicyAsync
public Future<VoicemailUserPolicy> getVoicemailMePolicyAsync(GetVoicemailMePolicyRequest request, AsyncApiCallback<VoicemailUserPolicy> callback) Get the current user's voicemail policy- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
getVoicemailMePolicyAsync
public Future<ApiResponse<VoicemailUserPolicy>> getVoicemailMePolicyAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<VoicemailUserPolicy>> callback) Get the current user's voicemail policy- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
getVoicemailMessageAsync
public Future<VoicemailMessage> getVoicemailMessageAsync(GetVoicemailMessageRequest request, AsyncApiCallback<VoicemailMessage> callback) Get a voicemail message- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
getVoicemailMessageAsync
public Future<ApiResponse<VoicemailMessage>> getVoicemailMessageAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<VoicemailMessage>> callback) Get a voicemail message- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
getVoicemailMessageMediaAsync
public Future<VoicemailMediaInfo> getVoicemailMessageMediaAsync(GetVoicemailMessageMediaRequest request, AsyncApiCallback<VoicemailMediaInfo> callback) Get media playback URI for this voicemail message API should migrate to use GET api/v2/voicemail/messages/{messageId}/downloads- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
getVoicemailMessageMediaAsync
public Future<ApiResponse<VoicemailMediaInfo>> getVoicemailMessageMediaAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<VoicemailMediaInfo>> callback) Get media playback URI for this voicemail message API should migrate to use GET api/v2/voicemail/messages/{messageId}/downloads- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
getVoicemailMessagesAsync
public Future<VoicemailMessageEntityListing> getVoicemailMessagesAsync(GetVoicemailMessagesRequest request, AsyncApiCallback<VoicemailMessageEntityListing> callback) List voicemail messages- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
getVoicemailMessagesAsync
public Future<ApiResponse<VoicemailMessageEntityListing>> getVoicemailMessagesAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<VoicemailMessageEntityListing>> callback) List voicemail messages- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
getVoicemailPolicyAsync
public Future<VoicemailOrganizationPolicy> getVoicemailPolicyAsync(GetVoicemailPolicyRequest request, AsyncApiCallback<VoicemailOrganizationPolicy> callback) Get a policy- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
getVoicemailPolicyAsync
public Future<ApiResponse<VoicemailOrganizationPolicy>> getVoicemailPolicyAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<VoicemailOrganizationPolicy>> callback) Get a policy- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
getVoicemailQueueMessagesAsync
public Future<VoicemailMessageEntityListing> getVoicemailQueueMessagesAsync(GetVoicemailQueueMessagesRequest request, AsyncApiCallback<VoicemailMessageEntityListing> callback) List voicemail messages- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
getVoicemailQueueMessagesAsync
public Future<ApiResponse<VoicemailMessageEntityListing>> getVoicemailQueueMessagesAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<VoicemailMessageEntityListing>> callback) List voicemail messages- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
getVoicemailSearchAsync
public Future<VoicemailsSearchResponse> getVoicemailSearchAsync(GetVoicemailSearchRequest request, AsyncApiCallback<VoicemailsSearchResponse> callback) Search voicemails using the q64 value returned from a previous search- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
getVoicemailSearchAsync
public Future<ApiResponse<VoicemailsSearchResponse>> getVoicemailSearchAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<VoicemailsSearchResponse>> callback) Search voicemails using the q64 value returned from a previous search- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
getVoicemailUserMailboxAsync
public Future<VoicemailMailboxInfo> getVoicemailUserMailboxAsync(GetVoicemailUserMailboxRequest request, AsyncApiCallback<VoicemailMailboxInfo> callback) Get a user's mailbox information- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
getVoicemailUserMailboxAsync
public Future<ApiResponse<VoicemailMailboxInfo>> getVoicemailUserMailboxAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<VoicemailMailboxInfo>> callback) Get a user's mailbox information- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
getVoicemailUserMessagesAsync
public Future<VoicemailMessageEntityListing> getVoicemailUserMessagesAsync(GetVoicemailUserMessagesRequest request, AsyncApiCallback<VoicemailMessageEntityListing> callback) List voicemail messages- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
getVoicemailUserMessagesAsync
public Future<ApiResponse<VoicemailMessageEntityListing>> getVoicemailUserMessagesAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<VoicemailMessageEntityListing>> callback) List voicemail messages- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
getVoicemailUserpolicyAsync
public Future<VoicemailUserPolicy> getVoicemailUserpolicyAsync(GetVoicemailUserpolicyRequest request, AsyncApiCallback<VoicemailUserPolicy> callback) Get a user's voicemail policy- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
getVoicemailUserpolicyAsync
public Future<ApiResponse<VoicemailUserPolicy>> getVoicemailUserpolicyAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<VoicemailUserPolicy>> callback) Get a user's voicemail policy- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
patchVoicemailGroupPolicyAsync
public Future<VoicemailGroupPolicy> patchVoicemailGroupPolicyAsync(PatchVoicemailGroupPolicyRequest request, AsyncApiCallback<VoicemailGroupPolicy> callback) Update a group's voicemail policy- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
patchVoicemailGroupPolicyAsync
public Future<ApiResponse<VoicemailGroupPolicy>> patchVoicemailGroupPolicyAsync(ApiRequest<VoicemailGroupPolicy> request, AsyncApiCallback<ApiResponse<VoicemailGroupPolicy>> callback) Update a group's voicemail policy- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
patchVoicemailMePolicyAsync
public Future<VoicemailUserPolicy> patchVoicemailMePolicyAsync(PatchVoicemailMePolicyRequest request, AsyncApiCallback<VoicemailUserPolicy> callback) Update the current user's voicemail policy- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
patchVoicemailMePolicyAsync
public Future<ApiResponse<VoicemailUserPolicy>> patchVoicemailMePolicyAsync(ApiRequest<VoicemailUserPolicy> request, AsyncApiCallback<ApiResponse<VoicemailUserPolicy>> callback) Update the current user's voicemail policy- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
patchVoicemailMessageAsync
public Future<VoicemailMessage> patchVoicemailMessageAsync(PatchVoicemailMessageRequest request, AsyncApiCallback<VoicemailMessage> callback) Update a voicemail message A user voicemail can only be modified by its associated user. A group voicemail can only be modified by a user that is a member of the group. A queue voicemail can only be modified by a participant of the conversation the voicemail is associated with.- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
patchVoicemailMessageAsync
public Future<ApiResponse<VoicemailMessage>> patchVoicemailMessageAsync(ApiRequest<VoicemailMessage> request, AsyncApiCallback<ApiResponse<VoicemailMessage>> callback) Update a voicemail message A user voicemail can only be modified by its associated user. A group voicemail can only be modified by a user that is a member of the group. A queue voicemail can only be modified by a participant of the conversation the voicemail is associated with.- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
patchVoicemailUserpolicyAsync
public Future<VoicemailUserPolicy> patchVoicemailUserpolicyAsync(PatchVoicemailUserpolicyRequest request, AsyncApiCallback<VoicemailUserPolicy> callback) Update a user's voicemail policy- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
patchVoicemailUserpolicyAsync
public Future<ApiResponse<VoicemailUserPolicy>> patchVoicemailUserpolicyAsync(ApiRequest<VoicemailUserPolicy> request, AsyncApiCallback<ApiResponse<VoicemailUserPolicy>> callback) Update a user's voicemail policy- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
postVoicemailMessagesAsync
public Future<VoicemailMessage> postVoicemailMessagesAsync(PostVoicemailMessagesRequest request, AsyncApiCallback<VoicemailMessage> callback) Copy a voicemail message to a user or group- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
postVoicemailMessagesAsync
public Future<ApiResponse<VoicemailMessage>> postVoicemailMessagesAsync(ApiRequest<CopyVoicemailMessage> request, AsyncApiCallback<ApiResponse<VoicemailMessage>> callback) Copy a voicemail message to a user or group- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
postVoicemailSearchAsync
public Future<VoicemailsSearchResponse> postVoicemailSearchAsync(PostVoicemailSearchRequest request, AsyncApiCallback<VoicemailsSearchResponse> callback) Search voicemails- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
postVoicemailSearchAsync
public Future<ApiResponse<VoicemailsSearchResponse>> postVoicemailSearchAsync(ApiRequest<VoicemailSearchRequest> request, AsyncApiCallback<ApiResponse<VoicemailsSearchResponse>> callback) Search voicemails- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
putVoicemailMessageAsync
public Future<VoicemailMessage> putVoicemailMessageAsync(PutVoicemailMessageRequest request, AsyncApiCallback<VoicemailMessage> callback) Update a voicemail message A user voicemail can only be modified by its associated user. A group voicemail can only be modified by a user that is a member of the group. A queue voicemail can only be modified by a participant of the conversation the voicemail is associated with.- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
putVoicemailMessageAsync
public Future<ApiResponse<VoicemailMessage>> putVoicemailMessageAsync(ApiRequest<VoicemailMessage> request, AsyncApiCallback<ApiResponse<VoicemailMessage>> callback) Update a voicemail message A user voicemail can only be modified by its associated user. A group voicemail can only be modified by a user that is a member of the group. A queue voicemail can only be modified by a participant of the conversation the voicemail is associated with.- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
putVoicemailPolicyAsync
public Future<VoicemailOrganizationPolicy> putVoicemailPolicyAsync(PutVoicemailPolicyRequest request, AsyncApiCallback<VoicemailOrganizationPolicy> callback) Update a policy- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
putVoicemailPolicyAsync
public Future<ApiResponse<VoicemailOrganizationPolicy>> putVoicemailPolicyAsync(ApiRequest<VoicemailOrganizationPolicy> request, AsyncApiCallback<ApiResponse<VoicemailOrganizationPolicy>> callback) Update a policy- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
putVoicemailUserpolicyAsync
public Future<VoicemailUserPolicy> putVoicemailUserpolicyAsync(PutVoicemailUserpolicyRequest request, AsyncApiCallback<VoicemailUserPolicy> callback) Update a user's voicemail policy- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
putVoicemailUserpolicyAsync
public Future<ApiResponse<VoicemailUserPolicy>> putVoicemailUserpolicyAsync(ApiRequest<VoicemailUserPolicy> request, AsyncApiCallback<ApiResponse<VoicemailUserPolicy>> callback) Update a user's voicemail policy- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-