# coding: utf-8

from typing import Dict, List  # noqa: F401

from fastapi import (  # noqa: F401
    APIRouter,
    Body,
    Cookie,
    Depends,
    Form,
    Header,
    Path,
    Query,
    Response,
    Security,
    status,
)

from ecp4_api_fast.models.extra_models import TokenModel  # noqa: F401
from ecp4_api_fast.models.api_response import ApiResponse
from ecp4_api_fast.models.charge_point import ChargePoint


router = APIRouter(prefix="/v1")


@router.get(
    "/system/actions/reboot",
    responses={
        200: {"model": ApiResponse, "description": "Successful operation"},
        409: {"model": ApiResponse, "description": "Conflicts with current resource state"},
    },
    tags=["system"],
    summary="Reboot the charger",
    response_model_by_alias=True,
)
async def system_actions_reboot_get(
) -> ApiResponse:
    """Triggers a system reboot."""
    ...


@router.get(
    "/system",
    responses={
        200: {"model": ChargePoint, "description": "system information"},
    },
    tags=["system"],
    response_model_by_alias=True,
)
async def system_get(
) -> ChargePoint:
    """Get information about the Charge Point """
    ...
