// 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;

/** The Hangup model. */
@Fluent
public final class Hangup {
    /*
     * The reason property.
     */
    @JsonProperty(value = "reason")
    private String reason;

    /**
     * Get the reason property: The reason property.
     *
     * @return the reason value.
     */
    public String getReason() {
        return this.reason;
    }

    /**
     * Set the reason property: The reason property.
     *
     * @param reason the reason value to set.
     * @return the Hangup object itself.
     */
    public Hangup setReason(String reason) {
        this.reason = reason;
        return this;
    }
}
