algoliasearch/src/main/java/com/algolia/search/saas/Query.java
@Deprecated
    public @NonNull
    Query setAttributesToRetrieve(List<String> attributes) {
        return set(KEY_ATTRIBUTES_TO_RETRIEVE, buildJSONArray((String[]) attributes.toArray()));
    }
@Deprecated
    public @NonNull
    Query setAttributesToRetrieve(List<String> attributes) {
        return set(KEY_ATTRIBUTES_TO_RETRIEVE, buildJSONArray((String[]) attributes.toArray()));
    }
Deprecated, use {@link #setAttributesToRetrieve(String...)}