Package com.mypurecloud.sdk.v2.api
Class GeneralDataProtectionRegulationApiAsync
java.lang.Object
com.mypurecloud.sdk.v2.api.GeneralDataProtectionRegulationApiAsync
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetGdprRequestAsync(GetGdprRequestRequest request, AsyncApiCallback<GDPRRequest> callback) Get an existing GDPR requestgetGdprRequestAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<GDPRRequest>> callback) Get an existing GDPR requestgetGdprRequestsAsync(GetGdprRequestsRequest request, AsyncApiCallback<GDPRRequestEntityListing> callback) Get all GDPR requestsgetGdprRequestsAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<GDPRRequestEntityListing>> callback) Get all GDPR requestsgetGdprSubjectsAsync(GetGdprSubjectsRequest request, AsyncApiCallback<GDPRSubjectEntityListing> callback) Get GDPR subjectsgetGdprSubjectsAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<GDPRSubjectEntityListing>> callback) Get GDPR subjectspostGdprRequestsAsync(PostGdprRequestsRequest request, AsyncApiCallback<GDPRRequest> callback) Submit a new GDPR requestpostGdprRequestsAsync(ApiRequest<GDPRRequest> request, AsyncApiCallback<ApiResponse<GDPRRequest>> callback) Submit a new GDPR request
-
Constructor Details
-
GeneralDataProtectionRegulationApiAsync
public GeneralDataProtectionRegulationApiAsync() -
GeneralDataProtectionRegulationApiAsync
-
-
Method Details
-
getGdprRequestAsync
public Future<GDPRRequest> getGdprRequestAsync(GetGdprRequestRequest request, AsyncApiCallback<GDPRRequest> callback) Get an existing GDPR request- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
getGdprRequestAsync
public Future<ApiResponse<GDPRRequest>> getGdprRequestAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<GDPRRequest>> callback) Get an existing GDPR request- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
getGdprRequestsAsync
public Future<GDPRRequestEntityListing> getGdprRequestsAsync(GetGdprRequestsRequest request, AsyncApiCallback<GDPRRequestEntityListing> callback) Get all GDPR requests- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
getGdprRequestsAsync
public Future<ApiResponse<GDPRRequestEntityListing>> getGdprRequestsAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<GDPRRequestEntityListing>> callback) Get all GDPR requests- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
getGdprSubjectsAsync
public Future<GDPRSubjectEntityListing> getGdprSubjectsAsync(GetGdprSubjectsRequest request, AsyncApiCallback<GDPRSubjectEntityListing> callback) Get GDPR subjects- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
getGdprSubjectsAsync
public Future<ApiResponse<GDPRSubjectEntityListing>> getGdprSubjectsAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<GDPRSubjectEntityListing>> callback) Get GDPR subjects- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
postGdprRequestsAsync
public Future<GDPRRequest> postGdprRequestsAsync(PostGdprRequestsRequest request, AsyncApiCallback<GDPRRequest> callback) Submit a new GDPR request- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
postGdprRequestsAsync
public Future<ApiResponse<GDPRRequest>> postGdprRequestsAsync(ApiRequest<GDPRRequest> request, AsyncApiCallback<ApiResponse<GDPRRequest>> callback) Submit a new GDPR request- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-