package com.auth0.client.mgmt.filter;

import com.auth0.json.mgmt.jobs.UsersExportField;

import java.util.List;

@SuppressWarnings("UnusedReturnValue")
public class UsersExportFilter extends BaseFilter {

    public static final String KEY_FIELDS = "fields";
    public static final String KEY_FORMAT = "format";
    public static final String KEY_LIMIT = "limit";

    /**
     * Changes the output format of the exports file
     *
     * @param format the format of the exports file. Typically 'csv' or 'json'.
     * @return this filter instance
     */
    public UsersExportFilter withFormat(String format) {
        parameters.put(KEY_FORMAT, format);
        return this;
    }

    /**
     * Limits the amount of results
     *
     * @param limit the amount of results to include
     * @return this filter instance
     */
    public UsersExportFilter withLimit(int limit) {
        parameters.put(KEY_LIMIT, limit);
        return this;
    }

    /**
     * Selects the fields to include in each user export
     *
     * @param fields the list of fields to include in each user export
     * @return this filter instance
     */
    public UsersExportFilter withFields(List<UsersExportField> fields) {
        parameters.put(KEY_FIELDS, fields);
        return this;
    }

}

@@ -111,259 +111,254 @@
 t;%0A%0A
-@SuppressWarnings(%22UnusedReturnValue%22)%0Apublic class UsersExportFilter extends BaseFilter %7B%0A%0A    public static final String KEY_FIELDS = %22fields%22;%0A    public static final String KEY_FORMAT = %22format%22;%0A    public static final String KEY_LIMIT = %22limit%22;
+/**%0A * Class used to filter the results received when a Users Exports Job is completed. Related to the %7B@link com.auth0.client.mgmt.JobsEntity%7D entity.%0A */%0A@SuppressWarnings(%22UnusedReturnValue%22)%0Apublic class UsersExportFilter extends BaseFilter %7B
 %0A%0A  
@@ -631,18 +631,16 @@
 put(
-KEY_FORMAT
+%22format%22
 , fo
@@ -901,17 +901,15 @@
 put(
-KEY_LIMIT
+%22limit%22
 , li
@@ -1229,18 +1229,16 @@
 put(
-KEY_FIELDS
+%22fields%22
 , fi

Remove use of constants.