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

    Do not edit the class manually.

    Ev - a model defined in OpenAPI

        soc: The soc of this Ev [Optional].
        plug: The plug of this Ev [Optional].
        max_battery_voltage: The max_battery_voltage of this Ev [Optional].
        capacity: The capacity of this Ev [Optional].
        protocol: The protocol of this Ev [Optional].
        id: The id of this Ev [Optional].
        state: The state of this Ev [Optional].
    """
    class Config:
        orm_mode = True

    soc: Optional[float] = Field(alias="soc", default=None)
    plug: Optional[int] = Field(alias="plug", default=None)
    max_battery_voltage: Optional[float] = Field(alias="maxBatteryVoltage", default=None)
    capacity: Optional[float] = Field(alias="capacity", default=None)
    protocol: Optional[str] = Field(alias="protocol", default=None)
    id: Optional[str] = Field(alias="id", default=None)
    state: Optional[str] = Field(alias="state", default=None)

Ev.update_forward_refs()
