public Results<Dn> searchDns(String dnType, List<String> dnGroups, SearchParams searchParams) throws ProvisioningApiException {
		return searchDns(
			dnType,
			dnGroups,
			searchParams.getLimit(),
			searchParams.getOffset(),
			searchParams.getSearchTerm(),
			searchParams.getSearchKey(),
			searchParams.getMatchMethod(),
			searchParams.getSortKey(),
			searchParams.getSortAscending(),
			searchParams.getSortMethod()
		);
	}
public Results < Dn > searchDns ( String dnType , List < String > dnGroups , SearchParams searchParams ) throws ProvisioningApiException { return searchDns ( dnType , dnGroups , searchParams . getLimit ( ) , searchParams . getOffset ( ) , searchParams . getSearchTerm ( ) , searchParams . getSearchKey ( ) , searchParams . getMatchMethod ( ) , searchParams . getSortKey ( ) , searchParams . getSortAscending ( ) , searchParams . getSortMethod ( ) ) ; }
Get DNs.
Get DNs (directory numbers) from Configuration Server with the specified filters.
@param dnType the DN type (for example, CFGRoutingPoint). For possible values, see [CfgDNType](https://docs.genesys.com/Documentation/PSDK/9.0.x/ConfigLayerRef/CfgDNType) in the Platform SDK documentation.  (optional)
@param dnGroups may contain a list of DN group names to filter DNs. (optional)
@param searchParams object containing remaining search parameters (limit, offset, searchTerm, searchKey, matchMethod, sortKey, sortAscending, sortMethod).
@return Results object which includes list of Dns and total count.
@throws ProvisioningApiException if the call is unsuccessful.