# 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 PowerUnit(BaseModel):
    """NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).

    Do not edit the class manually.

    PowerUnit - a model defined in OpenAPI

        power_unit_id: The power_unit_id of this PowerUnit [Optional].
        modules_type: The modules_type of this PowerUnit [Optional].
        module_temperatures: The module_temperatures of this PowerUnit [Optional].
        module_dc_currents: The module_dc_currents of this PowerUnit [Optional].
        module_dc_voltages: The module_dc_voltages of this PowerUnit [Optional].
        module_errors: The module_errors of this PowerUnit [Optional].
    """
    class Config:
        orm_mode = True

    power_unit_id: Optional[str] = Field(alias="powerUnitId", default=None)
    modules_type: Optional[str] = Field(alias="modulesType", default=None)
    module_temperatures: Optional[List[List[float]]] = Field(alias="moduleTemperatures", default=None)
    module_dc_currents: Optional[List[List[float]]] = Field(alias="moduleDCCurrents", default=None)
    module_dc_voltages: Optional[List[List[float]]] = Field(alias="moduleDCVoltages", default=None)
    module_errors: Optional[List[str]] = Field(alias="moduleErrors", default=None)

PowerUnit.update_forward_refs()
