"""
Copyright (c) Microsoft Corporation. All rights reserved.
Licensed under the MIT License.
"""

from typing import Literal

from ...models import FileConsentCardResponse
from ..invoke_activity import InvokeActivity


class FileConsentInvokeActivity(InvokeActivity):
    """
    File consent invoke activity for fileConsent/invoke invokes.

    Represents an invoke activity when a user acts on a file consent card
    (either accepting or declining file upload).
    """

    name: Literal["fileConsent/invoke"] = "fileConsent/invoke"  #
    """The name of the operation associated with an invoke or event activity."""

    value: FileConsentCardResponse
    """A value that is associated with the activity."""
