@Deprecated
    public Request<List<ResourceServer>> list() {
        HttpUrl.Builder builder = baseUrl
                .newBuilder()
                .addPathSegments("api/v2/resource-servers");

        String url = builder.build().toString();
        CustomRequest<List<ResourceServer>> request = new CustomRequest<>(client, url, "GET",
                new TypeReference<List<ResourceServer>>() {
                });
        request.addHeader("Authorization", "Bearer " + apiToken);
        return request;
    }
@ Deprecated public Request < List < ResourceServer > > list ( ) { HttpUrl . Builder builder = baseUrl . newBuilder ( ) . addPathSegments ( "api/v2/resource-servers" ) ; String url = builder . build ( ) . toString ( ) ; CustomRequest < List < ResourceServer > > request = new CustomRequest < > ( client , url , "GET" , new TypeReference < List < ResourceServer > > ( ) { } ) ; request . addHeader ( "Authorization" , "Bearer " + apiToken ) ; return request ; }
Creates request to fetch all resource servers.
See <a href=https://auth0.com/docs/api/management/v2#!/Resource_Servers/get_resource_servers>API documentation</a>

@return request to execute
@deprecated Calling this method will soon stop returning the complete list of resource servers and instead, limit to the first page of results.
Please use {@link #list(ResourceServersFilter)} instead as it provides pagination support.