class GovernanceEngineOMASResource {

    @GetMapping(path = "/assets", produces = MediaType.APPLICATION_JSON_VALUE)
    public GovernedAssetListResponse getGovernedAssets(@PathVariable String serverName,
                                                       @PathVariable String userId,
                                                       @RequestParam(value = "entityTypes", required = false) List<String> entityTypes,
                                                       @RequestParam(value = "offset", required = false) Integer offset,
                                                       @RequestParam(value = "pageSize", required = false) Integer pageSize) {
        return restAPI.getGovernedAssets(serverName, userId, entityTypes, offset, pageSize);
    }

}