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

from typing import Dict, Optional

from pydantic import Field as FieldInfo

from .._models import BaseModel
from .execution_ref import ExecutionRef

__all__ = ["WorkflowRunResumeResponse"]


class WorkflowRunResumeResponse(BaseModel):
    run_id: str
    """Workflow run ID"""

    state: Dict[str, Optional[object]]
    """Full workflow state (steps, result, etc.)"""

    status: str
    """Workflow run status"""

    execution: Optional[ExecutionRef] = None
    """Execution reference for tracking"""

    pending_action: Optional[Dict[str, Optional[object]]] = FieldInfo(alias="pendingAction", default=None)
    """Pending action details when paused"""
