# Generated by ariadne-codegen
# Source: operations/

from typing import Any, Optional

from pydantic import Field

from .base_model import BaseModel


class Users(BaseModel):
    users: "UsersUsers"


class UsersUsers(BaseModel):
    page_info: "UsersUsersPageInfo" = Field(alias="pageInfo")
    edges: list[Optional["UsersUsersEdges"]]


class UsersUsersPageInfo(BaseModel):
    total_count: int = Field(alias="totalCount")
    has_next_page: bool = Field(alias="hasNextPage")
    has_previous_page: bool = Field(alias="hasPreviousPage")
    start_cursor: str = Field(alias="startCursor")
    end_cursor: str = Field(alias="endCursor")


class UsersUsersEdges(BaseModel):
    node: "UsersUsersEdgesNode"
    cursor: str


class UsersUsersEdgesNode(BaseModel):
    id: Any = Field(alias="_id")


Users.model_rebuild()
UsersUsers.model_rebuild()
UsersUsersEdges.model_rebuild()
