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

    Do not edit the class manually.

    PowerStatusEV - a model defined in OpenAPI

        soc: The soc of this PowerStatusEV [Optional].
        cur_power_range: The cur_power_range of this PowerStatusEV [Optional].
        end_of_charge_time: The end_of_charge_time of this PowerStatusEV [Optional].
        depart_time: The depart_time of this PowerStatusEV [Optional].
        charging_rate: The charging_rate of this PowerStatusEV [Optional].
        ev_led_colour: The ev_led_colour of this PowerStatusEV [Optional].
        ev_led_state: The ev_led_state of this PowerStatusEV [Optional].
        ev_profile: The ev_profile of this PowerStatusEV [Optional].
    """
    class Config:
        orm_mode = True

    soc: Optional[int] = Field(alias="Soc", default=None)
    cur_power_range: Optional[int] = Field(alias="curPowerRange", default=None)
    end_of_charge_time: Optional[datetime] = Field(alias="EndOfChargeTime", default=None)
    depart_time: Optional[datetime] = Field(alias="DepartTime", default=None)
    charging_rate: Optional[int] = Field(alias="ChargingRate", default=None)
    ev_led_colour: Optional[int] = Field(alias="EVLedColour", default=None)
    ev_led_state: Optional[str] = Field(alias="EVLedState", default=None)
    ev_profile: Optional[int] = Field(alias="EVProfile", default=None)

PowerStatusEV.update_forward_refs()
