/**
* Conga Approvals
* PermissionResponseDTO
*
* @2021 Conga Inc. All rights reserved.
*/
global with sharing class PermissionResponseDTO {
// request id
Webservice ID requestId;
// permission
Webservice Boolean hasPermission;
/**
* Class constructor
*/
global PermissionResponseDTO() {
}
/**
* Class Constructor specifying initial values
* @param requestId the request id
* @param permission true if the request has permission, false otherwise
*/
global PermissionResponseDTO(ID requestId, Boolean hasPermission) {
this();
this.requestId = requestId;
this.hasPermission = hasPermission;
}
}