from typing import List, Optional
from pydantic import BaseModel, ConfigDict
from ..models.modeling_app_share_links import ModelingAppShareLinks
from ..models.modeling_app_subscription_tier_name import ModelingAppSubscriptionTierName
from ..models.subscription_tier_feature import SubscriptionTierFeature
from ..models.subscription_tier_price import SubscriptionTierPrice
from ..models.subscription_tier_type import SubscriptionTierType
from ..models.subscription_training_data_behavior import (
SubscriptionTrainingDataBehavior,
)
from ..models.support_tier import SupportTier
from ..models.zoo_tool import ZooTool
[docs]
class ZooProductSubscription(BaseModel):
"""A subscription to the modeling app."""
annual_discount: Optional[int] = None
description: str
features: Optional[List[SubscriptionTierFeature]] = None
name: ModelingAppSubscriptionTierName
pay_as_you_go_credits: float
price: SubscriptionTierPrice
share_links: Optional[List[ModelingAppShareLinks]] = None
support_tier: SupportTier
training_data_behavior: SubscriptionTrainingDataBehavior
type: SubscriptionTierType
zoo_tools_included: Optional[List[ZooTool]] = None
model_config = ConfigDict(protected_namespaces=())