File: system_information.py

package info (click to toggle)
python-aiounifi 79-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 660 kB
  • sloc: python: 11,124; sh: 5; makefile: 5
file content (12 lines) | stat: -rw-r--r-- 412 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
"""System information of a UniFi network."""

from ..models.system_information import SystemInformation, SystemInformationRequest
from .api_handlers import APIHandler


class SystemInformationHandler(APIHandler[SystemInformation]):
    """Represents system information interface."""

    obj_id_key = "anonymous_controller_id"
    item_cls = SystemInformation
    api_request = SystemInformationRequest.create()