from pydantic import BaseModel, ConfigDict, Field


class TickTickActionTaskRequest(BaseModel):
    title: str | None = None
    action: str
    due_hour: int = Field(alias="due_hour")

    model_config = ConfigDict(extra="forbid", populate_by_name=True)