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

    Do not edit the class manually.

    PlugStatistics - a model defined in OpenAPI

        energy_total: The energy_total of this PlugStatistics.
        export_energy_total: The export_energy_total of this PlugStatistics.
        nof_charges: The nof_charges of this PlugStatistics.
        nof_error_charge: The nof_error_charge of this PlugStatistics.
        nof_error_init: The nof_error_init of this PlugStatistics.
        nof_error_standby: The nof_error_standby of this PlugStatistics.
        nof_plugged: The nof_plugged of this PlugStatistics.
        nof_successful: The nof_successful of this PlugStatistics.
    """
    class Config:
        orm_mode = True

    energy_total: float = Field(alias="EnergyTotal")
    export_energy_total: float = Field(alias="ExportEnergyTotal")
    nof_charges: int = Field(alias="NofCharges")
    nof_error_charge: int = Field(alias="NofErrorCharge")
    nof_error_init: int = Field(alias="NofErrorInit")
    nof_error_standby: int = Field(alias="NofErrorStandby")
    nof_plugged: int = Field(alias="NofPlugged")
    nof_successful: int = Field(alias="NofSuccessful")

PlugStatistics.update_forward_refs()
