Conga Product Documentation

Welcome to the new doc site. Some of your old bookmarks will no longer work. Please use the search bar to find your desired topic.

PermissionResponseDTO

/**
*  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;
    }
}