# Generated by ariadne-codegen on 2023-09-25 12:50
# Source: queries

from typing import Any, List, Optional

from pydantic import Field

from .base_model import BaseModel


class GetIPs(BaseModel):
    top_popular_i_ps: "GetIPsTopPopularIPs" = Field(alias="topPopularIPs")


class GetIPsTopPopularIPs(BaseModel):
    popular_i_ps: List["GetIPsTopPopularIPsPopularIPs"] = Field(alias="popularIPs")


class GetIPsTopPopularIPsPopularIPs(BaseModel):
    ip: str
    request_count: int
    users_count: int
    last_requested: Any
    noise: bool
    last_seen: Optional[Any]


GetIPs.model_rebuild()
GetIPsTopPopularIPs.model_rebuild()
GetIPsTopPopularIPsPopularIPs.model_rebuild()
