# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.

from typing import Optional
from typing_extensions import Literal

from pydantic import Field as FieldInfo

from ...._models import BaseModel

__all__ = ["Rewards"]


class Rewards(BaseModel):
    max_amount: Optional[float] = FieldInfo(alias="maxAmount", default=None)
    """
    The maximum rewards amount (percentage) among all showtimes, represented as
    BigDecimal value rounded to scale 2.
    """

    type: Optional[Literal["BOOSTED", "DEFAULT"]] = None
    """Types of rewards depending on the way the rewards amount was set."""
