/**
 * 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.authoring.models;

import java.util.List;
import com.fasterxml.jackson.annotation.JsonProperty;

/**
 * A labeled example utterance.
 */
public class ExampleLabelObject {
    /**
     * The example utterance.
     */
    @JsonProperty(value = "text")
    private String text;

    /**
     * The identified entities within the example utterance.
     */
    @JsonProperty(value = "entityLabels")
    private List<EntityLabelObject> entityLabels;

    /**
     * The identified intent representing the example utterance.
     */
    @JsonProperty(value = "intentName")
    private String intentName;

    /**
     * Get the text value.
     *
     * @return the text value
     */
    public String text() {
        return this.text;
    }

    /**
     * Set the text value.
     *
     * @param text the text value to set
     * @return the ExampleLabelObject object itself.
     */
    public ExampleLabelObject withText(String text) {
        this.text = text;
        return this;
    }

    /**
     * Get the entityLabels value.
     *
     * @return the entityLabels value
     */
    public List<EntityLabelObject> entityLabels() {
        return this.entityLabels;
    }

    /**
     * Set the entityLabels value.
     *
     * @param entityLabels the entityLabels value to set
     * @return the ExampleLabelObject object itself.
     */
    public ExampleLabelObject withEntityLabels(List<EntityLabelObject> entityLabels) {
        this.entityLabels = entityLabels;
        return this;
    }

    /**
     * Get the intentName value.
     *
     * @return the intentName value
     */
    public String intentName() {
        return this.intentName;
    }

    /**
     * Set the intentName value.
     *
     * @param intentName the intentName value to set
     * @return the ExampleLabelObject object itself.
     */
    public ExampleLabelObject withIntentName(String intentName) {
        this.intentName = intentName;
        return this;
    }

}
