code: public GetPermissionsSuccessResponse getPermissions(String objectType, String dbids, String dnType, String folderType) throws ApiException {
          ApiResponse<GetPermissionsSuccessResponse> resp = getPermissionsWithHttpInfo(objectType, dbids, dnType, folderType);
          return resp.getData();
      }
docs: Get permissions for a list of objects.
  Get permissions from Configuration Server for objects identified by their type and DBIDs.
  @param objectType The type of object. Any type supported by the Config server (folders, business-attributes etc). (required)
  @param dbids Comma-separated list of object DBIDs to query permissions.  (required)
  @param dnType If the object_type is &#39;dns&#39;, then you may specify the DN type (for example, CFGRoutingPoint). This parameter does not affect request results but may increase performance For possible values, see [CfgDNType](https://docs.genesys.com/Documentation/PSDK/9.0.x/ConfigLayerRef/CfgDNType) in the Platform SDK documentation.  (optional)
  @param folderType If the object_type is &#39;folders&#39;, then you may specify the object type of the folders  (for example, CFGPerson). This parameter does not affect request results but may increase performance For possible values, see [CfgObjectType](https://docs.genesys.com/Documentation/PSDK/9.0.x/ConfigLayerRef/CfgObjectType) in the Platform SDK documentation.  (optional)
  @return GetPermissionsSuccessResponse
  @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body