# NotificationAction

> **Class** in `deepagents_code`

📖 [View in docs](https://reference.langchain.com/python/deepagents-code/notifications/NotificationAction)

One button/action row in the notification modal.

## Signature

```python
NotificationAction(
    self,
    action_id: ActionId,
    label: str,
    primary: bool = False,
)
```

## Constructors

```python
__init__(
    self,
    action_id: ActionId,
    label: str,
    primary: bool = False,
) -> None
```

| Name | Type |
|------|------|
| `action_id` | `ActionId` |
| `label` | `str` |
| `primary` | `bool` |


## Properties

- `action_id`
- `label`
- `primary`

---

[View source on GitHub](https://github.com/langchain-ai/deepagents/blob/a98f0dfa8d534d8a1885b524632400e52db22ac6/libs/code/deepagents_code/notifications.py#L39)