| 1 | --- |
| 2 | title: ANTA Class Diagram |
| 3 | hide: |
| 4 | - tags |
| 5 | tags: |
| 6 | - API |
| 7 | - Python |
| 8 | --- |
| 9 | |
| 10 | <!-- |
| 11 | ~ Copyright (c) 2025-2026 Arista Networks, Inc. |
| 12 | ~ Use of this source code is governed by the Apache License 2.0 |
| 13 | ~ that can be found in the LICENSE file. |
| 14 | --> |
| 15 | |
| 16 | !!! info |
| 17 | The classes colored in pink :fontawesome-solid-square-full:{ .pydantic_pink } are [:simple-pydantic:{ .pydantic_pink } pydantic models](https://docs.pydantic.dev/latest/concepts/models/). |
| 18 | The classes colored in green :fontawesome-solid-square-full:{ .dataclass_green } are dataclasses, annotated with `<<Dataclass>>`. Frozen dataclasses are marked with `<<Frozen Dataclass>>` instead. |
| 19 | <textarea hidden class="mermaid-zoom-source" data-title="ANTA Class Diagram"> |
| 20 | --8<-- "api/class-diagram.mmd" |
| 21 | </textarea> |
| 22 | |
| 23 | ``` mermaid |
| 24 | --8<-- "api/class-diagram.mmd" |
| 25 | ``` |