// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.

package com.azure.communication.callautomation.implementation.models;

import com.azure.core.annotation.Fluent;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.List;

/** The RecognizeChoiceInternal model. */
@Fluent
public final class RecognizeChoiceInternal {
    /*
     * Identifier for a given choice
     */
    @JsonProperty(value = "label", required = true)
    private String label;

    /*
     * List of phrases to recognize
     */
    @JsonProperty(value = "phrases", required = true)
    private List<String> phrases;

    /*
     * The tone property.
     */
    @JsonProperty(value = "tone")
    private DtmfToneInternal tone;

    /**
     * Get the label property: Identifier for a given choice.
     *
     * @return the label value.
     */
    public String getLabel() {
        return this.label;
    }

    /**
     * Set the label property: Identifier for a given choice.
     *
     * @param label the label value to set.
     * @return the RecognizeChoiceInternal object itself.
     */
    public RecognizeChoiceInternal setLabel(String label) {
        this.label = label;
        return this;
    }

    /**
     * Get the phrases property: List of phrases to recognize.
     *
     * @return the phrases value.
     */
    public List<String> getPhrases() {
        return this.phrases;
    }

    /**
     * Set the phrases property: List of phrases to recognize.
     *
     * @param phrases the phrases value to set.
     * @return the RecognizeChoiceInternal object itself.
     */
    public RecognizeChoiceInternal setPhrases(List<String> phrases) {
        this.phrases = phrases;
        return this;
    }

    /**
     * Get the tone property: The tone property.
     *
     * @return the tone value.
     */
    public DtmfToneInternal getTone() {
        return this.tone;
    }

    /**
     * Set the tone property: The tone property.
     *
     * @param tone the tone value to set.
     * @return the RecognizeChoiceInternal object itself.
     */
    public RecognizeChoiceInternal setTone(DtmfToneInternal tone) {
        this.tone = tone;
        return this;
    }
}
