---
title: ANTA Class Diagram
hide:
  - tags
tags:
  - API
  - Python
---

<!--
  ~ Copyright (c) 2025-2026 Arista Networks, Inc.
  ~ Use of this source code is governed by the Apache License 2.0
  ~ that can be found in the LICENSE file.
  -->

!!! info
    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/).
    The classes colored in green :fontawesome-solid-square-full:{ .dataclass_green } are dataclasses, annotated with `<<Dataclass>>`. Frozen dataclasses are marked with `<<Frozen Dataclass>>` instead.
<textarea hidden class="mermaid-zoom-source" data-title="ANTA Class Diagram">
--8<-- "api/class-diagram.mmd"
</textarea>

``` mermaid
--8<-- "api/class-diagram.mmd"
```
