/*
 * Copyright 2015 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.answer.params;

@SuppressWarnings({"WeakerAccess", "unused"})
public enum GetResourcesSortParam {
    ID("id"),
    CREATED_TIME("createdTime"),
    METADATA("metadata"),
    MODIFIED_TIME("modifiedTime"),
    POPULARITY("popularity"),
    RANDOM("random"),
    STATUS("status");

    private final String value;

    GetResourcesSortParam(final String value) {
        this.value = value;
    }

    public String value() {
        return value;
    }
}

/*
 * Copyright 2015 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.answer.params;

@SuppressWarnings({"WeakerAccess", "unused"})
public enum GetResourcesSortParam {
    ID("id"),
    CREATED_TIME("createdTime"),
    LIKELIHOOD("likelihood"),
    METADATA("metadata"),
    MODIFIED_TIME("modifiedTime"),
    POPULARITY("popularity"),
    RANDOM("random"),
    STATUS("status");

    private final String value;

    GetResourcesSortParam(final String value) {
        this.value = value;
    }

    public String value() {
        return value;
    }
}

Add support for AnswerServer likelihood