/**
 * Copyright (c) Microsoft Corporation. All rights reserved.
 * Licensed under the MIT License. See License.txt in the project root for
 * license information.
 *
 * Code generated by Microsoft (R) AutoRest Code Generator.
 */

package com.microsoft.azure.cognitiveservices.language.luis.runtime.models;

import com.fasterxml.jackson.annotation.JsonProperty;

/**
 * The EntityWithScore model.
 */
public class EntityWithScore extends EntityModel {
    /**
     * Associated prediction score for the intent (float).
     */
    @JsonProperty(value = "score", required = true)
    private double score;

    /**
     * Get the score value.
     *
     * @return the score value
     */
    public double score() {
        return this.score;
    }

    /**
     * Set the score value.
     *
     * @param score the score value to set
     * @return the EntityWithScore object itself.
     */
    public EntityWithScore withScore(double score) {
        this.score = score;
        return this;
    }

}
