// Path: src/main/com/sailthru/client/ApiAction.java
// public enum ApiAction {
//     event,
//     settings,
//     email,
//     send,
//     blast,
//     blast_repeat,
//     preview,
//     template,
//     list,
//     content,
//     alert,
//     stats,
//     purchase,
//     horizon,
//     job,
//     trigger,
//     inbox,
//     user,
//     RETURN, // the case is inconsistent, but "return" is a reserved keyword
//     content_watch { public String toString() { return "content/watch"; } },
//     content_watch_profile { public String toString() { return "content/watch/profile"; } },
// }


import com.google.gson.reflect.TypeToken;
import com.sailthru.client.ApiAction;
import java.util.List;
import java.util.Map;
import java.lang.reflect.Type;
        this.min = min;
        return this;
    }

    public Alert setMaxQuery(Map<String, Number> max) {
        this.max = max;
        return this;
    }

    public Alert setTagsQuery(List<String> tags) {
        this.tags = tags;
        return this;
    }

    public Alert setType(TypeMode mode) {
        this.type = mode.toString();
        return this;
    }

    public Alert setWhen(String when) {
        this.when = when;
        return this;
    }

    public Type getType() {
        java.lang.reflect.Type _type = new TypeToken<Alert>() {}.getType();
        return _type;
    }
    
    @Override
// Path: src/main/com/sailthru/client/ApiAction.java
// public enum ApiAction {
//     event,
//     settings,
//     email,
//     send,
//     blast,
//     blast_repeat,
//     preview,
//     template,
//     list,
//     content,
//     alert,
//     stats,
//     purchase,
//     horizon,
//     job,
//     trigger,
//     inbox,
//     user,
//     RETURN, // the case is inconsistent, but "return" is a reserved keyword
//     content_watch { public String toString() { return "content/watch"; } },
//     content_watch_profile { public String toString() { return "content/watch/profile"; } },
// }


// Path: src/main/com/sailthru/client/params/Alert.java
import com.google.gson.reflect.TypeToken;
import com.sailthru.client.ApiAction;
import java.util.List;
import java.util.Map;
import java.lang.reflect.Type;

        this.min = min;
        return this;
    }

    public Alert setMaxQuery(Map<String, Number> max) {
        this.max = max;
        return this;
    }

    public Alert setTagsQuery(List<String> tags) {
        this.tags = tags;
        return this;
    }

    public Alert setType(TypeMode mode) {
        this.type = mode.toString();
        return this;
    }

    public Alert setWhen(String when) {
        this.when = when;
        return this;
    }

    public Type getType() {
        java.lang.reflect.Type _type = new TypeToken<Alert>() {}.getType();
        return _type;
    }
    
    @Override
    public ApiAction getApiCall() {