// 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.Activities.Invokes;

public partial class Name : StringEnum
{
    public static readonly Name FileConsent = new("fileConsent/invoke");
    public bool IsFileConsent => FileConsent.Equals(Value);
}

public class FileConsentActivity() : InvokeActivity(Name.FileConsent)
{
    /// <summary>
    /// A value that is associated with the activity.
    /// </summary>
    [JsonPropertyName("value")]
    [JsonPropertyOrder(32)]
    public new FileConsentCardResponse? Value { get; set; }
}