/*
 * Copyright 2015-2016 Hewlett-Packard Development Company, L.P.
 * Licensed under the MIT License (the "License"); you may not use this file except in compliance with the License.
 */

package com.hp.autonomy.types.requests.idol.actions.tags.params;

public enum GetQueryTagValuesParams {
    AllowNonParametricFields,
    DateOffset,
    DatePeriod,
    DocumentCount,
    FieldDependence,
    FieldDependenceMultiLevel,
    FieldName,
    MaxValues,
    Merge,
    Ranges,
    RestrictedValues,
    Sort,
    Start,
    Synchronous,
    TotalValues,
    ValueDetails;

    public static GetQueryTagValuesParams fromValue(final String value) {
        for (final GetQueryTagValuesParams param : values()) {
            if (param.name().equalsIgnoreCase(value)) {
                return param;
            }
        }

        throw new IllegalArgumentException("Unknown parameter " + value);
    }
}

@@ -316,16 +316,34 @@
 Fields,%0A
+    CustomWeight,%0A
     Date
@@ -350,16 +350,16 @@
 Offset,%0A
-
     Date
@@ -478,16 +478,29 @@
  Merge,%0A
+    Predict,%0A
     Rang
@@ -576,24 +576,24 @@
 otalValues,%0A
-
     ValueDet
@@ -596,16 +596,60 @@
 eDetails
+,%0A    ValuePercentiles,%0A    ValueRestriction
 ;%0A%0A    p

Add support for new ValueRestriction QueryTagValues parameter in HavenSearchComponents (FIND-975)