# coding: utf-8

from __future__ import annotations
from datetime import date, datetime  # noqa: F401

import re  # noqa: F401
from typing import Any, Dict, List, Optional  # noqa: F401

from pydantic import AnyUrl, BaseModel, EmailStr, Field, validator  # noqa: F401


class SystemApiInfo(BaseModel):
    """NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).

    Do not edit the class manually.

    SystemApiInfo - a model defined in OpenAPI

        ecp_version: The ecp_version of this SystemApiInfo.
        msi_version: The msi_version of this SystemApiInfo.
        device_serial: The device_serial of this SystemApiInfo.
        device_id: The device_id of this SystemApiInfo.
        grid_current: The grid_current of this SystemApiInfo.
        power_units: The power_units of this SystemApiInfo.
    """
    class Config:
        orm_mode = True

    ecp_version: str = Field(alias="ecp_version")
    msi_version: str = Field(alias="msi_version")
    device_serial: str = Field(alias="device_serial")
    device_id: str = Field(alias="device_id")
    grid_current: float = Field(alias="grid_current")
    power_units: List[str] = Field(alias="power_units")

SystemApiInfo.update_forward_refs()
