// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.

using System.Text.Json.Serialization;

using Microsoft.Teams.Common;

namespace Microsoft.Teams.Api;

[JsonConverter(typeof(JsonConverter<Action>))]
public class Action(string value) : StringEnum(value)
{
    public static readonly Action Accept = new("accept");
    public bool IsAccept => Accept.Equals(Value);

    public static readonly Action Decline = new("decline");
    public bool IsDecline => Decline.Equals(Value);
}